Commit 60a96e5
committed
Add the "examples" keyword.
This addresses issue #121.
Most of the wording is lifted from "default", which is similar and can serve
the same purpose. This wording explicitly allows for using "default" as an
example, without requiring that implementations do so.
The "MAY be used in a root schema or any subschema" line for all of the
meta-data keywords seems to have been a holdover from an earlier approach
of always specifying where keywords could be used. It is not done anywhere
else and raised a red flag in review of the original version of this
commit, so this version removes it from all meta-data keywords.1 parent 4090d4c commit 60a96e5
1 file changed
+15
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | 670 | | |
674 | 671 | | |
675 | 672 | | |
| |||
681 | 678 | | |
682 | 679 | | |
683 | 680 | | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
684 | 693 | | |
685 | | - | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
686 | 697 | | |
687 | 698 | | |
688 | 699 | | |
| |||
0 commit comments