Closed jcoyne closed 6 years ago
This seems to work:
"not": {
"anyOf": [
{ "required": ["id"] },
{ "required": ["version"] },
{ "required": ["currentVersion"] }
]
},
Hmmm.. @jcoyne I'm seeing the same problem here, but your fix above isn't working when I put that into DepositDRO.json...
@aaron-collier you need to regenerate validators/maps.go
. This should be fixed by https://github.com/sul-dlss-labs/taco/pull/357
currentVersion: true
: https://github.com/sul-dlss-labs/taco/blob/master/examples/create-bs646cd8717.json#L5It seems like the json schema validator isn't working, or our schema is wrong. Here's a reduced test case: