-
|
Seems like So, this document contains 2 schemas: {
"$id": "https://example.com/Foo",
"$defs": {
"bar": {
"$id": ""
}
}
}Does |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
because resolving |
Beta Was this translation helpful? Give feedback.
""is a relative URI-reference with a path component consisting of an empty string. Setting"$id": ""like this is technically an error in accordance with §9.1.2:because resolving
""against the base URI of""https://example.com/Foo"just produces"https://example.com/Foo"again, meaning that both of these"$id"s attempt to assign the same URI to two different schemas.