-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support uniqueKeys in arrays #60
Comments
If I'm reading correctly, json-schema-org/json-schema-vocabularies#22 was resolved by the independent creation of a vocabulary by the original issue requester. The python None of that means that this can't be done someday, but I don't see the pieces in place today to support doing this. |
All vocabularies are going to require some custom logic to support. The vocab is the document that says what the keywords do. There may be a meta-schema that describes the syntax for the new keywords, but it can't describe the behavior. |
Thanks, that's good to know. I haven't been keeping up with the latest drafts (2019 and 2020), so I'm not that familiar with the vocabularies feature. I'll have to read more about how |
Vocabularies as a concept aren't going away anyone soon. Currently they're still somewhat prototypical, but usable. We're looking into ways we can allow implementations to automate some of their functionality, but for now it's purely declarative, and implementations need to either support a given vocab or refuse to process a schema that requires it. I'm happy to answer questions when you get to that area of support (and so are the other contributors to the spec). A good place to contact us is on the JSON Schema Slack. |
Hi,
It would be very helpful if support for
uniqueKeys
was added, possibly via the following library: https://gregsdennis.github.io/json-everything/usage/vocabs-unique-keys.htmlThe text was updated successfully, but these errors were encountered: