Skip to content

Commit 41bdf65

Browse files
authored
Merge pull request #1481 from notEthan/prefixItems-omitted
Fix `prefixItems` keyword omitted behavior
2 parents a45d267 + 99f57cd commit 41bdf65

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

jsonschema-core.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1837,7 +1837,7 @@ results.
18371837

18381838
##### `prefixItems`
18391839

1840-
The value of "prefixItems` MUST be a non-empty array of valid JSON Schemas.
1840+
The value of `prefixItems` MUST be a non-empty array of valid JSON Schemas.
18411841

18421842
Validation succeeds if each element of the instance validates against the
18431843
subschema at the same position, if any. This keyword does not constrain the
@@ -1849,8 +1849,6 @@ this keyword applied a subschema. The value MAY be a boolean true if a subschema
18491849
was applied to every index of the instance, such as is produced by the `items`
18501850
keyword. This annotation affects the behavior of `items` and `unevaluatedItems`.
18511851

1852-
Omitting this keyword has the same assertion behavior as an empty array.
1853-
18541852
##### `items` {#items}
18551853

18561854
The value of `items` MUST be a valid JSON Schema.

0 commit comments

Comments
 (0)