Skip to content

Commit 38628b7

Browse files
committed
Make the spec URLs structure a bit easier for internal use.
1 parent 4ebbeaf commit 38628b7

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

bin/specification_urls.json

+22-22
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
{
2-
"draft3": {
3-
"core": "https://json-schema.org/draft-03/draft-zyp-json-schema-03.pdf"
4-
},
5-
"draft4": {
6-
"core": "https://json-schema.org/draft-04/draft-zyp-json-schema-04#rfc.section.{section}",
7-
"validation": "https://json-schema.org/draft-04/draft-fge-json-schema-validation-00#rfc.section.{section}",
8-
"hyper-schema": "https://json-schema.org/draft-04/draft-luff-json-hyper-schema-00#rfc.section.{section}"
2+
"json-schema": {
3+
"draft2020-12": {
4+
"core": "https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-01#section-{section}",
5+
"validation": "https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-validation-01#section-{section}"
96
},
10-
"draft6": {
11-
"core": "https://json-schema.org/draft-06/draft-wright-json-schema-01#rfc.section.{section}",
12-
"validation": "https://json-schema.org/draft-06/draft-wright-json-schema-validation-01#rfc.section.{section}",
13-
"hyper-schema": "https://json-schema.org/draft-06/draft-wright-json-schema-hyperschema-01#rfc.section.{section}"
7+
"draft2019-09": {
8+
"core": "https://json-schema.org/draft/2019-09/draft-handrews-json-schema-02#rfc.section.{section}",
9+
"validation": "https://json-schema.org/draft/2019-09/draft-handrews-json-schema-validation-02#rfc.section.{section}"
1410
},
1511
"draft7": {
16-
"core": "https://json-schema.org/draft-07/draft-handrews-json-schema-01#rfc.section.{section}",
17-
"validation": "https://json-schema.org/draft-07/draft-handrews-json-schema-validation-01#rfc.section.{section}",
18-
"hyper-schema": "https://json-schema.org/draft-07/draft-handrews-json-schema-hyperschema-01#rfc.section.{section}"
12+
"core": "https://json-schema.org/draft-07/draft-handrews-json-schema-01#rfc.section.{section}",
13+
"validation": "https://json-schema.org/draft-07/draft-handrews-json-schema-validation-01#rfc.section.{section}"
1914
},
20-
"draft2019-09": {
21-
"core": "https://json-schema.org/draft/2019-09/draft-handrews-json-schema-02#rfc.section.{section}",
22-
"validation": "https://json-schema.org/draft/2019-09/draft-handrews-json-schema-validation-02#rfc.section.{section}",
23-
"hyper-schema": "https://json-schema.org/draft/2019-09/draft-handrews-json-schema-hyperschema-02#rfc.section.{section}"
15+
"draft6": {
16+
"core": "https://json-schema.org/draft-06/draft-wright-json-schema-01#rfc.section.{section}",
17+
"validation": "https://json-schema.org/draft-06/draft-wright-json-schema-validation-01#rfc.section.{section}"
2418
},
25-
"draft2020-12": {
26-
"core": "https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-01#section-{section}",
27-
"validation": "https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-validation-01#section-{section}",
28-
"hyper-schema": "https://json-schema.org/draft/2019-09/draft-handrews-json-schema-hyperschema-02#rfc.section.{section}"
19+
"draft4": {
20+
"core": "https://json-schema.org/draft-04/draft-zyp-json-schema-04#rfc.section.{section}",
21+
"validation": "https://json-schema.org/draft-04/draft-fge-json-schema-validation-00#rfc.section.{section}"
2922
},
23+
"draft3": {
24+
"core": "https://json-schema.org/draft-03/draft-zyp-json-schema-03.pdf"
25+
}
26+
},
27+
28+
"external": {
3029
"ecma262": "https://262.ecma-international.org/{section}",
3130
"perl5": "https://perldoc.perl.org/perlre#{section}",
3231
"rfc": "https://www.rfc-editor.org/rfc/{spec}.txt#{section}",
3332
"iso": "https://www.iso.org/obp/ui"
33+
}
3434
}

0 commit comments

Comments
 (0)