Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation: Fix reference to seven primitive types #147

Merged
merged 1 commit into from
Nov 17, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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