From 015414b3c0d85c1b180f5d04d9c855ddfffdce4c Mon Sep 17 00:00:00 2001 From: Greg Dennis Date: Thu, 28 Nov 2024 21:18:41 +1300 Subject: [PATCH] contentSchema should not produce an annotation --- specs/jsonschema-validation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/jsonschema-validation.md b/specs/jsonschema-validation.md index be111ea9..733e7faf 100644 --- a/specs/jsonschema-validation.md +++ b/specs/jsonschema-validation.md @@ -543,7 +543,7 @@ The value of this property MUST be a valid JSON schema. The subschema is produced as an annotation. Since `contentMediaType` is required to provide instruction on how to interpret -string content, the annotation schema produced by this keyword has no meaning if +string content, `contentSchema` SHOULD NOT produce an annotation if `contentMediaType` is not present. Note that evaluating the `contentSchema` subschema in-place (i.e. as part of its