repeated properties in an object #777
Unanswered
arademaker
asked this question in
Q&A
Replies: 1 comment
-
JSON Schema is built (at least historically) on JSON, and repeating a key in JSON is actually undefined (parser-specific behavior). So JSON Schema doesn't really have a way to express that because it isn't even universally describable as JSON. If you have such JSON and are trying to prevent it I think the most obvious place to look would possibly be finding a JSON linter which prevents it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
now to check for repeated properties in an object? I want to avoid to "value" in
Beta Was this translation helpful? Give feedback.
All reactions