Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Don't allow created or isDescribedby #407

Closed
jcoyne opened this issue Apr 13, 2018 · 0 comments
Closed

Don't allow created or isDescribedby #407

jcoyne opened this issue Apr 13, 2018 · 0 comments
Assignees

Comments

@jcoyne
Copy link
Contributor

jcoyne commented Apr 13, 2018

presently maps/DepositDRO.json has:

      "not": {"required": ["created", "isDescribedBy"]},

which indicates they are not allowed together. We need to ensure that neither field is set.

We should probably have:

      "not": {
        "anyOf": [
          { "required": ["created"] },
          { "required": ["isDescribedBy"] }
        ]
      },
jcoyne added a commit that referenced this issue Apr 13, 2018
Prevously it was invalid when you had all of them set.

Fixes #407
@jcoyne jcoyne self-assigned this Apr 13, 2018
@jcoyne jcoyne added review and removed in progress labels Apr 13, 2018
cmharlow pushed a commit that referenced this issue Apr 26, 2018
Prevously it was invalid when you had all of them set.

Fixes #407
@cmharlow cmharlow removed the review label Apr 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants