Skip to content

Commit 5b995c1

Browse files
authored
Merge pull request #1352 from handrews/contents
Clarify how to use "contentSchema"
2 parents d0c13fd + 29761cc commit 5b995c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

jsonschema-validation.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,10 @@
960960
</t>
961961
<t>
962962
The value of this property MUST be a valid JSON schema. It SHOULD be ignored if
963-
"contentMediaType" is not present.
963+
"contentMediaType" is not present. Accessing the schema through the schema location
964+
IRI included as part of the annotation will ensure that it is correctly processed
965+
as a subschema. Using the extracted annotation value directly is only safe if
966+
the schema is an embedded resource with both "$schema" and an absolute-IRI "$id".
964967
</t>
965968
</section>
966969

0 commit comments

Comments
 (0)