Skip to content

Reunite the meta-schemas #1575

Open
Open
@gregsdennis

Description

@gregsdennis

For 2019-09, the meta-schema was split along the vocab boundaries, and each vocab got its own, and the top-level meta-schema simply referenced these individual ones.

With vocabs being put into the feature life cycle process as a proposal, it doesn't make sense to release the meta-schemas split this way.

Should we reunite them? I don't think that we need to, but the split doesn't really make sense outside of the vocabularies concept.

Our process says that a proposed keyword should be added to the meta-schema with a true value to define it for implementations. (Implementation need to "know about" it.) This would apply to $vocabulary as well. This means that we can leave the $vocabulary keyword in, and implementations that don't support the feature should just ignore it (because they have to "know about" proposal keywords, even if they don't support them).

To be more explicit, the core vocab schema would be updated to

{
  // ...
  "properties": {
    // ...
    "$vocabulary": true,
    // ...
  },
  // ...
}

and the (top-level) meta-schema would remain unchanged, still containing a $vocabulary keyword.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Discussion

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions