Skip to content

Add contains keyword #32

Closed
Closed
@BigBlueHat

Description

@BigBlueHat

Just surfacing this proposal from https://github.com/json-schema/json-schema/wiki/contains-%28v5-proposal%29

It would greatly simplify JSON Schemas such as this one:
https://github.com/w3c/web-annotation-tests/blob/master/common/contextValue.json#L15-L26

It has been implemented in ajv.

/cc @awwright @epoberezkin

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions