Skip to content

Commit 1a85063

Browse files
authored
Merge pull request #147 from awwright/bug-145
Validation: Fix reference to seven primitive types
2 parents 5340c4b + d500f70 commit 1a85063

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jsonschema-validation.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,12 +552,12 @@
552552
an array, elements of the array MUST be strings and MUST be unique.
553553
</t>
554554
<t>
555-
String values MUST be one of the seven primitive types defined by
556-
the core specification.
555+
String values MUST be one of the six primitive types
556+
("number", "string", "boolean", "true", "false", or "null"),
557+
or "integer" which matches any number with a zero fractional part.
557558
</t>
558559
<t>
559-
An instance matches successfully if its primitive type is one of the
560-
types defined by keyword. Recall: "number" includes "integer".
560+
An instance validates if and only if the instance is in any of the sets listed for this keyword.
561561
</t>
562562
</section>
563563

0 commit comments

Comments
 (0)