Open i-break-codes opened 5 years ago
I know it's a year later, but you could validate your schema against a JSON schema meta-schema (a schema for schemas).
You can validate against the meta-schema, but there really ought to be a built-in way to ensure the schema is valid, before you start testing values against it. I'll leave this open to track that.
For example, consider the following
And I've the following validation object...
The above happily passes the validation, though, it's an issue with the schema rules. Is there any way to validate the validation object itself?