Commit 8bebd9c
committed
schema: remove unrecognized keywords
I noticed in passing that some of the entries inside the JSON Schema did
not do anything:
- under 2019-09 `id` does not mean anything (as of draft-06, it's
[spelled `$id`](https://json-schema.org/draft-06/json-schema-release-notes)), and
there's no need to define explicit IDs for internal references.
- there is no recongized "expose" format
- the `constraints` definition is never referenced and has no constraints
(`service` is not a valid keyword).
I've chosen a top level `$id` URI that works, but this is arbitrary and
could be replaced by something less github-specific: although not a
requirement, it's nice if this is a working URL.
I've also added a newline at the end of the file because that's
reasonably standard.
This new schema should be functionally identical to the original.
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>1 parent 77ab539 commit 8bebd9c
1 file changed
+3
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | | - | |
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
| |||
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
49 | | - | |
50 | 47 | | |
51 | 48 | | |
52 | 49 | | |
| |||
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
60 | | - | |
61 | 57 | | |
62 | 58 | | |
63 | 59 | | |
| |||
68 | 64 | | |
69 | 65 | | |
70 | 66 | | |
71 | | - | |
72 | 67 | | |
73 | 68 | | |
74 | 69 | | |
| |||
85 | 80 | | |
86 | 81 | | |
87 | 82 | | |
88 | | - | |
89 | 83 | | |
90 | 84 | | |
91 | 85 | | |
| |||
246 | 240 | | |
247 | 241 | | |
248 | 242 | | |
249 | | - | |
250 | | - | |
| 243 | + | |
251 | 244 | | |
252 | 245 | | |
253 | 246 | | |
| |||
469 | 462 | | |
470 | 463 | | |
471 | 464 | | |
472 | | - | |
473 | 465 | | |
474 | 466 | | |
475 | 467 | | |
| |||
489 | 481 | | |
490 | 482 | | |
491 | 483 | | |
492 | | - | |
493 | 484 | | |
494 | 485 | | |
495 | 486 | | |
| |||
513 | 504 | | |
514 | 505 | | |
515 | 506 | | |
516 | | - | |
517 | 507 | | |
518 | 508 | | |
519 | 509 | | |
| |||
615 | 605 | | |
616 | 606 | | |
617 | 607 | | |
618 | | - | |
619 | 608 | | |
620 | 609 | | |
621 | 610 | | |
| |||
636 | 625 | | |
637 | 626 | | |
638 | 627 | | |
639 | | - | |
640 | 628 | | |
641 | 629 | | |
642 | 630 | | |
| |||
656 | 644 | | |
657 | 645 | | |
658 | 646 | | |
659 | | - | |
660 | 647 | | |
661 | 648 | | |
662 | 649 | | |
| |||
677 | 664 | | |
678 | 665 | | |
679 | 666 | | |
680 | | - | |
681 | 667 | | |
682 | 668 | | |
683 | 669 | | |
| |||
693 | 679 | | |
694 | 680 | | |
695 | 681 | | |
696 | | - | |
697 | 682 | | |
698 | 683 | | |
699 | 684 | | |
| |||
757 | 742 | | |
758 | 743 | | |
759 | 744 | | |
760 | | - | |
761 | 745 | | |
762 | 746 | | |
763 | 747 | | |
| |||
786 | 770 | | |
787 | 771 | | |
788 | 772 | | |
789 | | - | |
790 | 773 | | |
791 | 774 | | |
792 | 775 | | |
| |||
813 | 796 | | |
814 | 797 | | |
815 | 798 | | |
816 | | - | |
817 | 799 | | |
818 | 800 | | |
819 | 801 | | |
| |||
845 | 827 | | |
846 | 828 | | |
847 | 829 | | |
848 | | - | |
849 | 830 | | |
850 | 831 | | |
851 | 832 | | |
| |||
1010 | 991 | | |
1011 | 992 | | |
1012 | 993 | | |
1013 | | - | |
1014 | | - | |
1015 | | - | |
1016 | | - | |
1017 | | - | |
1018 | | - | |
1019 | | - | |
1020 | | - | |
1021 | | - | |
1022 | | - | |
1023 | | - | |
1024 | | - | |
1025 | | - | |
1026 | | - | |
1027 | 994 | | |
1028 | 995 | | |
1029 | 996 | | |
0 commit comments