You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The public-msg.yaml also has the field id that I wanted to override in my internal-msg.yaml. And when loading the schema (as pasted above) - it does seem like it is overridden.
But when I try to validate the json that has the id against the schema, it still does not expect an ID there and complains that it is a readOnly property that cannot be changed.
Why is this happening? I think the schema definition is correct, so probably the validator is not handling the overrides correctly?
The text was updated successfully, but these errors were encountered:
I have the following schema (internal-msg.yaml) that I use to validate using the json-schema-validator :
The public-msg.yaml also has the field
id
that I wanted to override in my internal-msg.yaml. And when loading the schema (as pasted above) - it does seem like it is overridden.But when I try to validate the json that has the id against the schema, it still does not expect an ID there and complains that it is a readOnly property that cannot be changed.
Why is this happening? I think the schema definition is correct, so probably the validator is not handling the overrides correctly?
The text was updated successfully, but these errors were encountered: