json-schema-org/json-schema-linting

Disallow `$schema` unless an object is a resource root (has `$id`)

gregsdennis opened this issue · 0 comments

The specification states that $schema is only valid at resource schema roots. Resource schemas are those which define an $id. These may appear nested within a larger schema as well.