From 047953b526c733f5d868375a7cfdf2d18f1c11a9 Mon Sep 17 00:00:00 2001 From: Ethan Date: Fri, 19 Jan 2024 19:19:47 -0800 Subject: [PATCH 1/2] prefixItems: Remove statement on omitting the keyword behaving like a disallowed value --- jsonschema-core.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/jsonschema-core.md b/jsonschema-core.md index 698e2c7e..76a5b447 100644 --- a/jsonschema-core.md +++ b/jsonschema-core.md @@ -1844,8 +1844,6 @@ this keyword applied a subschema. The value MAY be a boolean true if a subschema was applied to every index of the instance, such as is produced by the `items` keyword. This annotation affects the behavior of `items` and `unevaluatedItems`. -Omitting this keyword has the same assertion behavior as an empty array. - ##### `items` {#items} The value of `items` MUST be a valid JSON Schema. From 99f57cd9d0b50f4a03a84bb409c6a32af6cd7824 Mon Sep 17 00:00:00 2001 From: Ethan Date: Fri, 19 Jan 2024 19:20:46 -0800 Subject: [PATCH 2/2] prefixItems: fix minor markdown error --- jsonschema-core.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonschema-core.md b/jsonschema-core.md index 76a5b447..1c813303 100644 --- a/jsonschema-core.md +++ b/jsonschema-core.md @@ -1832,7 +1832,7 @@ results. ##### `prefixItems` -The value of "prefixItems` MUST be a non-empty array of valid JSON Schemas. +The value of `prefixItems` MUST be a non-empty array of valid JSON Schemas. Validation succeeds if each element of the instance validates against the subschema at the same position, if any. This keyword does not constrain the