Skip to content

Commit 62a258d

Browse files
authored
Merge pull request #983 from handrews/emb-base
Initial base URI for embedded objects.
2 parents 16614ea + fcda424 commit 62a258d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

jsonschema-core.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,6 +1612,11 @@
16121612
<xref target="RFC3986"> RFC 3986 Section 5.1.4</xref>. It is RECOMMENDED
16131613
that implementations document any default base URI that they assume.
16141614
</t>
1615+
<t>
1616+
If a schema object is embedded in a document of another media type, then
1617+
the initial base URI is determined according to the rules of that
1618+
media type.
1619+
</t>
16151620
<t>
16161621
Unless the "$id" keyword described in the next section is present in the
16171622
root schema, this base URI SHOULD be considered the canonical URI of the

0 commit comments

Comments
 (0)