Skip to content

Interaction of "$ref" with "definitions" #505

Closed
@handrews

Description

@handrews

As discussed in json-schema-org/JSON-Schema-Test-Suite#197 and earlier in json-schema-org/JSON-Schema-Test-Suite#113 and json-schema-org/JSON-Schema-Test-Suite#129, definitions is not like validation keywords and there is a fairly compelling argument that it should not be ignored.

This fits in with the refinements to the theoretical model and processing order that we started to introduce in draft-07: classifying keywords as working with applicability, assertions, and/or annotations. definitions is in its own category, existing solely as a way to organize re-usable schemas as $ref targets.

Arguably, definitions also belongs in core with $ref. It has nothing to do with validation or even annotations (which live in the validation spec, at least for now).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions