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
This issue occurred because allOf was set but the matching set of schemas were
null, so the union operation failed. This just handles that specific case.
The test is still failing because this schema appears to also use the `const`
keyword which isn't supported per #229
What are you trying to do?
We use this library to automatically generate classes to validate our data format.
Example Schema and code
Error: "NotImplementedError: Unable to parse schema object '{'const': 'RECTANGLE', 'raw_name': 'region_type'}' with no type and no reference"
Is this a currently unsupported jsonschema directive? If so, please link to the documentation
I'd like to be able to use the format validator from v7, as described here: https://json-schema.org/understanding-json-schema/reference/generic.html#constant-values
Do you have an idea about how this should work?
Support of "const" field in schema could be realized in a way similar to "enum".
Last format in my json schema works.
The text was updated successfully, but these errors were encountered: