Skip to content

Question about section 8.2.4.6. Dereferencing; is the reference to $id incorrect? Should be $anchor? #990

Closed
@jimblackler

Description

@jimblackler

I'm trying to update my validator to 2019-09 and looking for precise info about how to handle new keyword $anchor.

I searched for $ahcnor references in the 2019-09 spec that I have.

"When an implementation encounters the <#/$defs/single> schema, it resolves the "$id" URI reference against the current base URI to form https://example.net/root.json#item."

When an implementation encounters the &lt;#/$defs/single&gt; schema,

However the snippet above does not include an $id property at defs/single; it has an $anchor property.

Is that incorrect or have I misunderstood?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions