Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit a8b3212

Browse files
garycourtfge
authored andcommitted
* Restored "integer" type.
* Renamed "divisibleBy" to "mod".
1 parent 1f3275e commit a8b3212

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

draft-zyp-json-schema-04.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ Content-Type: application/json;
327327
<t hangText="array">Instance MUST be an array.</t>
328328
<t hangText="string">Instance MUST be a string.</t>
329329
<t hangText="number">Instance MUST be a number, including floating point numbers.</t>
330+
<t hangText="integer">Instance MUST be an integer number (a positive or negative natural number with no fractional or decimal component).</t>
330331
<t hangText="boolean">Instance MUST be the JSON literal "true" or "false".</t>
331332
<t hangText="null">Instance MUST be the JSON literal "null". Note that without this type, null values are not allowed.</t>
332333
<t hangText="any">Instance MAY be of any type, including null.</t>
@@ -491,7 +492,7 @@ Content-Type: application/json;
491492
<t>This attribute is a string that provides a full description of the of purpose the instance property.</t>
492493
</section>
493494

494-
<section title="divisibleBy" anchor="divisibleBy">
495+
<section title="mod" anchor="mod">
495496
<t>This attribute defines what value the number instance must be divisible by with no remainder (the result of the division must be an integer.) The value of this attribute SHOULD NOT be 0.</t>
496497
</section>
497498

@@ -1014,8 +1015,8 @@ Content-Type: application/json; profile=/schema-for-this-data
10141015
<t>Removed irrelevant "Open Issues" section.</t>
10151016
<t>Merged Conventions and Terminology sections.</t>
10161017
<t>Defined terms used in specification.</t>
1017-
<t>Removed "integer" type in favor of {"type":"number", "divisibleBy":1}.</t>
10181018
<t>Restricted "type" to only the core JSON types.</t>
1019+
<t>Renamed "divisibleBy" to "mod".</t>
10191020
<t>Improved wording of many sections.</t>
10201021
</list>
10211022
</t>

0 commit comments

Comments
 (0)