-
Notifications
You must be signed in to change notification settings - Fork 2
/
MakerNotes.schema.json
50 lines (50 loc) · 1.35 KB
/
MakerNotes.schema.json
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
45
46
47
48
49
50
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"room": {
"type": "object",
"properties": {
"world_id": {
"type": "string",
"pattern": "wrld_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
},
"world_name": {
"type": "string"
},
"permission": {
"type": "string",
"enum": [
"private",
"private+",
"friends",
"hidden",
"group",
"public"
]
},
"organizer": {
"type": "string",
"pattern": "(usr|grp)_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
}
},
"required": [
"world_id",
"world_name",
"permission"
]
},
"players": {
"type": "array",
"items": [
{
"type": "string"
}
]
}
},
"required": [
"room",
"players"
]
}