Skip to content

Optionally forbid unsupported keywords in metaschema validation?Β #205

@eapache-opslevel

Description

@eapache-opslevel

Per json-schema-org/json-schema-spec#577, JSON Schema metaschemas generally allow unsupported keywords to be present.

We recently hit a similar issue as the person who filed that ticket, where a typo in our schema silently removed some validations we thought were running.

As an implementation, it would be very handy if json_schemer allowed a flag to validate_schema that "turned on" additionalProperties: false for the metaschema in order to catch such things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions