Skip to content

Commit 13008f9

Browse files
committed
updated schema
1 parent 646c056 commit 13008f9

File tree

3 files changed

+84
-1
lines changed

3 files changed

+84
-1
lines changed

src/schema/compatibilities.json

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"type": "object",
4+
"properties": {
5+
"max_simultaneous": {
6+
"type": "integer",
7+
"minimum": 1
8+
},
9+
"5way": {
10+
"type": "array",
11+
"items": {
12+
"type": "object",
13+
"properties": {
14+
"merge": {
15+
"type": "array",
16+
"items": {}
17+
},
18+
"location": {
19+
"type": "string"
20+
}
21+
},
22+
"required": ["merge", "location"],
23+
"additionalProperties": false
24+
}
25+
},
26+
"4way": {
27+
"type": "array",
28+
"items": {
29+
"type": "object",
30+
"properties": {
31+
"merge": {
32+
"type": "array",
33+
"items": {}
34+
},
35+
"location": {
36+
"type": "string"
37+
}
38+
},
39+
"required": ["merge", "location"],
40+
"additionalProperties": false
41+
}
42+
},
43+
"3way": {
44+
"type": "array",
45+
"items": {
46+
"type": "object",
47+
"properties": {
48+
"merge": {
49+
"type": "array",
50+
"items": {}
51+
},
52+
"location": {
53+
"type": "string"
54+
}
55+
},
56+
"required": ["merge", "location"],
57+
"additionalProperties": false
58+
}
59+
},
60+
"2way": {
61+
"type": "array",
62+
"items": {
63+
"type": "object",
64+
"properties": {
65+
"merge": {
66+
"type": "array",
67+
"items": {}
68+
},
69+
"location": {
70+
"type": "string"
71+
}
72+
},
73+
"required": ["merge", "location"],
74+
"additionalProperties": false
75+
}
76+
}
77+
},
78+
"required": ["max_simultaneous"],
79+
"additionalProperties": false
80+
}

src/schema/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
You might be looking for the schema used in validating [compatibilities](https://becomtweaks.github.io/schema/compatibilities.json) or [packs](https://becomtweaks.github.io/schema/packs.json)
2+
3+
Wrong page? [Head back](https://becomtweaks.github.io)

src/schema.json renamed to src/schema/packs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type": "string"
1010
},
1111
"location": {
12-
"type": "string",
12+
"type": "string"
1313
},
1414
"packs": {
1515
"type": "array",

0 commit comments

Comments
 (0)