Closed
Description
I'm writing a fully-compliant json schema implementation, when running the draft2020-12 test cases it did throw for this reason:
The "$schema" keyword SHOULD be used in the document root schema object, and MAY be used in the root schema objects of embedded schema resources. It MUST NOT appear in non-resource root schema objects. If absent from the document root schema, the resulting behavior is implementation-defined.
tldr; the schemas have the $schema keyword while they are not resource schemas!
would be happy to update the test cases, once this is confirmed to be a non-compliance issue!
Metadata
Metadata
Assignees
Labels
No labels