Skip to content

How to create a constraint based on the number of objects in an array with a specific value of one of the properties? #706

Answered by gregsdennis
acanqs asked this question in Q&A
Discussion options

You must be logged in to vote

Your valids and invalids all check out against that schema on my https://json-everything.net. Your schema looks right to me. I'd file a bug on the validator you're using.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@acanqs
Comment options

Answer selected by acanqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants