Skip to content

Commit 386a3b4

Browse files
committed
Make it a plural "examples" instead of singular.
1 parent 8d08b9a commit 386a3b4

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

jsonschema-validation.xml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -627,19 +627,20 @@
627627
</t>
628628
</section>
629629

630-
<section title='"example"'>
630+
<section title='"examples"'>
631631
<t>
632-
There are no restrictions placed on the value of this keyword.
632+
The value of this keyword MUST be an array.
633+
There are no restrictions placed on the values within the array.
633634
</t>
634635
<t>
635-
This keyword can be used to provide a sample JSON value associated with a
636+
This keyword can be used to provide sample JSON values associated with a
636637
particular schema, for the purpose of illustrating usage. It is
637-
RECOMMENDED that this value be valid against the associated schema.
638+
RECOMMENDED that these values be valid against the associated schema.
638639
</t>
639640
<t>
640-
If this keyword is not present, but a "default" is specified,
641-
implementations MAY use the "default" value as if it were given
642-
as an example.
641+
Implementations MAY use the value of "default", if present, as
642+
an additional example. If "examples" is absent, "default"
643+
MAY still be used in this manner.
643644
</t>
644645
<t>
645646
This keyword MAY be used in root schemas, and in any subschemas.

0 commit comments

Comments
 (0)