forked from EmberClient/ServerRepository
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.schema.json
More file actions
44 lines (44 loc) · 790 Bytes
/
server.schema.json
File metadata and controls
44 lines (44 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 24
},
"hosts": {
"type": "array",
"items": {
"type": "string",
"format": "hostname"
}
},
"versions": {
"type": "array",
"items": {
"type": "string",
"enum": ["1.7", "1.8", "1.12", "1.19"]
}
},
"primaryColour": {
"type": "string",
"format": "regex",
"pattern": "^#[A-Fa-f0-9]{6}$"
},
"type": {
"type": "array",
"items": {
"type": "string",
"enum": [
"Vanilla",
"Minigames",
"Skyblock",
"Survival",
"Creative",
"PvP",
"Prison",
"Factions"
]
}
}
}
}