Skip to content

Support extra keywords in a vocabulary #115

Open
@gregsdennis

Description

@gregsdennis

Hello.

I've noticed from the docs that this library supports a multitude of custom keywords. Vocabularies were introduced with draft 2019-09 (which this library supports) to manage custom keywords.

Additionally, many (if not all) of them start with a $ (e.g. $data). This is specifically recommended against.

While the "$" prefix is not formally reserved for the Core vocabulary, it is RECOMMENDED that extension keywords (in vocabularies or otherwise) begin with a character other than "$" to avoid possible future collisions.

Please consider

  • creating one or more vocabularies to formally define your keywords
  • removing the $ from them

For an example of a custom vocabulary, please see my data keyword vocabulary spec.

I realize that this will be a breaking change, but these keywords exist in direct conflict with a recommendation of the specification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions