-
-
Notifications
You must be signed in to change notification settings - Fork 312
Property name restriction based on values of array #102
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
Comments
I don't understand how what you are suggesting is beyond what |
@ASnow Can you please provide an example of how the keyword might work? |
I need to verify |
@ASnow An example of the schema keyword, used in a schema. How would it work? |
And if you want to have dynamic value of enum it is covered by $data proposal: https://github.com/json-schema/json-schema/wiki/$data-(v5-proposal) |
@epoberezkin, thanks. Those features will cover this problem. |
I want get validation schema for something like this:
it should validate
target_validated_collection
properties bybase_keys_collection/*/name
andtarget_validated_collection
property's values bybase_values_collection/*/name
I think it could be done by definitions. We should define
Keys
andValues
and use them as templates for object properties.The text was updated successfully, but these errors were encountered: