Skip to content

Commit cf472d8

Browse files
committed
Some language corrections
1 parent 7fae0d4 commit cf472d8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

draft-zyp-json-schema-03.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,9 @@ This attribute can take one of two forms:
308308
<t hangText="null">Value MUST be null. Note this is mainly for purpose of being able use union types to define nullability. If this type is not
309309
included in a union, null values are not allowed (the primitives listed above do not allow nulls on their own).</t>
310310
<t hangText="any">Value MAY be of any type including null.
311-
If the property is not defined or is not in this list, than any type of value is acceptable. Other type values MAY be used for custom purposes, but minimal validators of the specification implementation can allow any instance value on unknown type values.</t>
311+
</t>
312312
</list>
313+
If the property is not defined or is not in this list, then any type of value is acceptable. Other type values MAY be used for custom purposes, but minimal validators of the specification implementation can allow any instance value on unknown type values.
313314
</t>
314315
<t hangText="Union Types">An array of two or more simple type definitions. Each item in the array MUST be a simple type definition, a schema, or a URI for a schema. The instance value is valid if it is of the same type as one of the simple type definitions in the array, or if it is valid by one of the schemas (or a schema referenced by a URI) in the array.
315316
</t>
@@ -413,7 +414,7 @@ The dependency value can take one of two forms:
413414
<t>This attribute defines the maximum number of decimal points a number instance can have.</t>
414415
</section>
415416
<section title="disallow">
416-
<t>This attribute takes the same values as the "type" attribute, however if the instance matches the type or if this value is an array and the instance matches any type or schema or a URI referencing a schema in the array, than this instance is not valid.</t>
417+
<t>This attribute takes the same values as the "type" attribute, however if the instance matches the type or if this value is an array and the instance matches any type or schema or a URI referencing a schema in the array, then this instance is not valid.</t>
417418
</section>
418419
<section title="extends">
419420
<t>The value of this property MUST be another schema or a URI referencing a schema which will provide a base schema which the current schema will inherit from. The inheritance rules are such that any instance that is valid according to the current schema MUST be valid according to the referenced schema. This MAY also be an array, in which case, the instance MUST be valid for all the schemas in the array. A schema that extends another schema MAY define additional properties, constrain existing properties, or add other constraints. The schema MUST NOT define a constraint that conflicts with an extended schema such that no instance may satisfy both schemas. An example of using "extends":
@@ -504,7 +505,7 @@ URI would be:
504505
http://somesite.com/45
505506
]]></artwork>
506507
</figure>
507-
If matching braces are found with the string "@" (no quotes) between the braces, than the
508+
If matching braces are found with the string "@" (no quotes) between the braces, then the
508509
actual instance value SHOULD be used to replace the braces, rather than a property value.
509510
This should only be used in situations where the instance is a scalar (string,
510511
boolean, or number), and not for objects or arrays.
@@ -693,7 +694,7 @@ the fragment identifier, as a path reference in the target JSON
693694
structure. The final target value of the fragment can be determined by
694695
starting with the root of the JSON structure from the representation of
695696
the resource identified by the pre-fragment URI. If the target is a JSON
696-
object, than the new target is the value of the property with the name
697+
object, then the new target is the value of the property with the name
697698
identified by the next property reference token in the fragment. If the
698699
target is a JSON array, than the target is determined by finding the
699700
item in array the array with the index defined by the next property

0 commit comments

Comments
 (0)