File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 627
627
</t >
628
628
</section >
629
629
630
- <section title =' "example "' >
630
+ <section title =' "examples "' >
631
631
<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.
633
634
</t >
634
635
<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
636
637
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.
638
639
</t >
639
640
<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 .
643
644
</t >
644
645
<t >
645
646
This keyword MAY be used in root schemas, and in any subschemas.
You can’t perform that action at this time.
0 commit comments