Skip to content

Upgrade schema-enforcer to use json-schema.org/draft/2020-12/schema or later #174

@vpogrebi

Description

@vpogrebi

Environment

  • Python version: 3.9
  • schema-enforcer version: 1.1.3

Proposed Functionality

Update schema-enforcer to use latest JSON schema to support newer schema definitions that are not supported by draft7.

Use Case

Use of "patternProperties" in schema definition based on draft7 standard - somehow does not work (at least, in case of specific schema configuration I use to define one Nautobot configuration context). Samples that I found that show how to define this type of schema - all list /draft/2020-12/schema (not supported currently by schema-enforcer), while attempts to use draft7 result in unexpected outcome (do not seem to properly validate the schema).

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