Skip to content

Commit 00fe6c9

Browse files
committed
Revise metaschemas
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
1 parent a042267 commit 00fe6c9

2 files changed

Lines changed: 16 additions & 17 deletions

File tree

meta/schemas-root.json

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,9 @@
3333
"$schema": {
3434
"const": "https://json-schema.org/draft/2020-12/schema"
3535
},
36-
"$comment": {
37-
"not": {
38-
"$ref": "../schemas/2020-12/ietf/uri/uri-reference.json"
39-
}
40-
},
4136
"x-license": {
4237
"const": "https://github.com/sourcemeta/std/blob/main/LICENSE"
4338
},
44-
"x-symbol": {
45-
"type": "string"
46-
},
47-
"x-links": {
48-
"type": "array",
49-
"minItems": 1,
50-
"uniqueItems": true,
51-
"items": {
52-
"$ref": "../schemas/2020-12/ietf/http/https-url.json"
53-
}
54-
}
39+
"x-links": true
5540
}
5641
}

meta/schemas.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,21 @@
1515
"properties": {
1616
"$id": false,
1717
"$comment": {
18-
"$ref": "../schemas/2020-12/misc/single-line-text.json"
18+
"$ref": "../schemas/2020-12/misc/single-line-text.json",
19+
"not": {
20+
"$ref": "../schemas/2020-12/ietf/uri/uri-reference.json"
21+
}
22+
},
23+
"x-symbol": {
24+
"type": "string"
25+
},
26+
"x-links": {
27+
"type": "array",
28+
"minItems": 1,
29+
"uniqueItems": true,
30+
"items": {
31+
"$ref": "../schemas/2020-12/ietf/http/https-url.json"
32+
}
1933
},
2034
"title": {
2135
"$ref": "../schemas/2020-12/misc/single-line-text.json"

0 commit comments

Comments
 (0)