Skip to content

Commit

Permalink
Merge pull request #147 from awwright/bug-145
Browse files Browse the repository at this point in the history
Validation: Fix reference to seven primitive types
  • Loading branch information
awwright authored Nov 17, 2016
2 parents 5340c4b + d500f70 commit 1a85063
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jsonschema-validation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -552,12 +552,12 @@
an array, elements of the array MUST be strings and MUST be unique.
</t>
<t>
String values MUST be one of the seven primitive types defined by
the core specification.
String values MUST be one of the six primitive types
("number", "string", "boolean", "true", "false", or "null"),
or "integer" which matches any number with a zero fractional part.
</t>
<t>
An instance matches successfully if its primitive type is one of the
types defined by keyword. Recall: "number" includes "integer".
An instance validates if and only if the instance is in any of the sets listed for this keyword.
</t>
</section>

Expand Down

0 comments on commit 1a85063

Please sign in to comment.