Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I updated the base URI and included a Draft-specific info box section #673

Merged
merged 4 commits into from
Jun 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion pages/understanding-json-schema/structuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ example bundled into a Compound Schema Document.

"$defs": {
"address": {
"$id": "/schemas/address",
"$id": "https://example.com/schemas/customer",
"$schema": "http://json-schema.org/draft-07/schema#",

"type": "object",
Expand Down Expand Up @@ -565,3 +565,8 @@ In Draft 4-7, a subschema `$id` is just a base URI change and not
only allowed at the root of a Schema Resource, all schemas bundled
using subschema `$id` must use the same dialect.
</Infobox>

<Infobox label="Draft-specific info">
In Draft 2020-12, support for changing dialects in an embedded schema
(using `$schema` with a different value than the parent schema) was added.
</Infobox>
Loading