Skip to content

Commit 7ea79aa

Browse files
committed
Split the dialect and meta-schema.
Allows for better re-use.
1 parent 9213c23 commit 7ea79aa

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

dialect.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$id": "https://python-jsonschema.github.io/vocab-json-seq/dialect.json",
3+
"$schema": "https://json-schema.org/draft/2020-12/schema",
4+
"$vocabulary": {
5+
"https://json-schema.org/draft/2020-12/vocab/core": true,
6+
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
7+
"https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
8+
"https://json-schema.org/draft/2020-12/vocab/validation": true,
9+
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
10+
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
11+
"https://json-schema.org/draft/2020-12/vocab/content": true,
12+
"https://python-jsonschema.github.io/vocab-json-seq/": true
13+
},
14+
"$dynamicAnchor": "meta",
15+
16+
"title": "A JSON Text Sequence vocabulary for JSON Schema",
17+
"allOf": [
18+
{ "$ref": "https://json-schema.org/draft/2020-12/schema" },
19+
{ "$ref": "https://python-jsonschema.github.io/vocab-json-seq/meta.json" }
20+
]
21+
}

meta.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,11 @@
22
"$id": "https://python-jsonschema.github.io/vocab-json-seq/meta.json",
33
"$schema": "https://json-schema.org/draft/2020-12/schema",
44
"$vocabulary": {
5-
"https://json-schema.org/draft/2020-12/vocab/core": true,
6-
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
7-
"https://json-schema.org/draft/2020-12/vocab/validation": true,
8-
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
9-
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
105
"https://python-jsonschema.github.io/vocab-json-seq/": true
116
},
127
"$dynamicAnchor": "meta",
138

149
"title": "A JSON Text Sequence vocabulary for JSON Schema",
15-
"allOf": [
16-
{ "$ref": "https://json-schema.org/draft/2020-12/schema" }
17-
],
1810
"properties": {
1911
"streamType": {
2012
"description": "Validates whether an instance is a stream",

0 commit comments

Comments
 (0)