Skip to content

Validate all required fields are possible to pass #47

@charjr

Description

@charjr

The logic for doing so would look like this:

3.0.X

if any $required is unspecified
   && $additionalProperties is false:
      warn against impossible schema

3.1.X

if any $required is unspecified
   && $additionalProperties is false
   && $patternProperties does not have a match
   || $patternProperties[match] is impossible

patternProperties
additionalProperties

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions