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

Split validation keywords into sections. #357

Merged
merged 1 commit into from
Aug 27, 2017
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
12 changes: 12 additions & 0 deletions jsonschema-validation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@
instance.
</t>

<section title="Validation keywords for numeric instances (number and integer)">
<section title="multipleOf">
<t>
The value of "multipleOf" MUST be a number, strictly greater than 0.
Expand Down Expand Up @@ -304,7 +305,9 @@
strictly greater than (not equal to) "exclusiveMinimum".
</t>
</section>
</section>

<section title="Validation keywords for strings">
<section title="maxLength">
<t>
The value of this keyword MUST be a non-negative integer.</t>
Expand Down Expand Up @@ -348,7 +351,9 @@
expressions are not implicitly anchored.
</t>
</section>
</section>

<section title="Validation keywords for arrays">
<section title="items">
<t>
The value of "items" MUST be either a valid JSON Schema or an array of valid
Expand Down Expand Up @@ -441,7 +446,9 @@
its elements is valid against the given schema.
</t>
</section>
</section>

<section title="Validation keywords for objects">
<section title="maxProperties">
<t>
The value of this keyword MUST be a non-negative integer.
Expand Down Expand Up @@ -584,7 +591,9 @@
Omitting this keyword has the same behavior as an empty schema.
</t>
</section>
</section>

<section title="Validation keywords for any instance type">
<section title="enum">
<t>
The value of this keyword MUST be an array. This array SHOULD have at
Expand Down Expand Up @@ -624,7 +633,9 @@
for this keyword.
</t>
</section>
</section>

<section title="Keywords for applying subschemas with boolean logic">
<section title="allOf">
<t>
This keyword's value MUST be a non-empty array.
Expand Down Expand Up @@ -668,6 +679,7 @@
</t>
</section>
</section>
</section>

<section title="Metadata keywords">
<section title="definitions">
Expand Down