Skip to content

Improper error message for "unevaluatedProperties": false schema always fails #32

@FloriNNic

Description

@FloriNNic

Hi,

I am trying to validate against a schema that does not allow unevaluated properties and I'm getting the following error every single time: false schema always fails. I managed to reproduce the behavior on a smaller schema:

  • Schema: { "$schema": "http://json-schema.org/draft/2020-12/schema#", "type": "object", "properties": { "key2": { "type": "string" } }, "unevaluatedProperties": false }

  • Document to validate: { "key": "val" }

Any thoughts on this?

Thanks in advance,
Florin

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