Skip to content

Unexpected error when validating schema with $dynamicAnchor and unevaluatedProperties #756

@johannes-riecken

Description

@johannes-riecken

Minimal schema.json:

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://example.com/metadata-tree",
  "$dynamicAnchor": "member",
  "unevaluatedProperties": false
}

instance.json can be just {}.

$ jsonschema validate schema.json instance.json
unexpected error: map::at:  key not found
Please report it at https://github.com/sourcemeta/jsonschema
$ jsonschema version
15.6.1

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