Skip to content

Can a schema document just be a "$ref"? #174

Closed
@handrews

Description

@handrews

In IRC with @awwright (and related to #167) the question came up as to whether a single JSON reference is a valid schema document. Currently, it is allowed for any subschema but not mentioned for the root schema.

I am in favor of allowing it as a root schema as it doesn't increase the chances of circular references all that much and I can see a situation where an ecosystem of schemas may end up with a schema that degenerates into a reference to a larger packaged schema definition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions