Skip to content

Commit d02e4e3

Browse files
committed
updated schema
1 parent 646c056 commit d02e4e3

File tree

2 files changed

+82
-1
lines changed

2 files changed

+82
-1
lines changed

src/schema/compatibilities.json

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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+
"_comment": "5way will be the max, until 6way is needed",
11+
"type": "array",
12+
"items": {
13+
"type": "object",
14+
"properties": {
15+
"merge": {
16+
"type": "array",
17+
"items": {}
18+
},
19+
"location": {
20+
"type": "string"
21+
}
22+
},
23+
"required": ["merge", "location"],
24+
"additionalProperties": false
25+
}
26+
},
27+
"4way": {
28+
"type": "array",
29+
"items": {
30+
"type": "object",
31+
"properties": {
32+
"merge": {
33+
"type": "array",
34+
"items": {}
35+
},
36+
"location": {
37+
"type": "string"
38+
}
39+
},
40+
"required": ["merge", "location"],
41+
"additionalProperties": false
42+
}
43+
},
44+
"3way": {
45+
"type": "array",
46+
"items": {
47+
"type": "object",
48+
"properties": {
49+
"merge": {
50+
"type": "array",
51+
"items": {}
52+
},
53+
"location": {
54+
"type": "string"
55+
}
56+
},
57+
"required": ["merge", "location"],
58+
"additionalProperties": false
59+
}
60+
},
61+
"2way": {
62+
"type": "array",
63+
"items": {
64+
"type": "object",
65+
"properties": {
66+
"merge": {
67+
"type": "array",
68+
"items": {}
69+
},
70+
"location": {
71+
"type": "string"
72+
}
73+
},
74+
"required": ["merge", "location"],
75+
"additionalProperties": false
76+
}
77+
}
78+
},
79+
"required": ["max_simultaneous"],
80+
"additionalProperties": false
81+
}

src/schema.json renamed to src/schema/pack.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)