json-schema-valid
This rule validates a JSON Schema document against its declared metaschema.
If the document does not declare $schema, vacuum treats it as Draft 2020-12.
Why did this violation appear?
The schema uses a keyword, value shape or dialect feature that is not structurally valid for the selected JSON Schema dialect.
Bad example
{
"type": 42
}
Good example
{
"type": "object"
}
How do I fix this violation?
Fix the schema structure so it conforms to the declared dialect. Check $schema first if the document was written for an older dialect.
