-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.json
More file actions
71 lines (71 loc) · 1.45 KB
/
schema.json
File metadata and controls
71 lines (71 loc) · 1.45 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://example.com/object1638237044.json",
"title": "Root",
"type": "object",
"required": [
"version",
"reset",
"start",
"split",
"igt"
],
"properties": {
"version": {
"$id": "#root/version",
"title": "Version",
"type": "integer",
"examples": [
1
],
"default": 1
},
"reset": {
"$id": "#root/reset",
"title": "Reset",
"type": "string",
"default": "",
"examples": [
"^(§r§9Parkour> §r§7Reset your time for §r§eSnake§r§7\\.§r)|(§r§9Parkour> §r§7Started §r§eSnake§r§7\\.§r)$"
],
"pattern": "^.*$"
},
"start": {
"$id": "#root/start",
"title": "Start",
"type": "string",
"default": "",
"examples": [
"^(§r§9Parkour> §r§7Reset your time for §r§eSnake§r§7\\.§r)|(§r§9Parkour> §r§7Started §r§eSnake§r§7\\.§r)$"
],
"pattern": "^.*$"
},
"split": {
"$id": "#root/split",
"title": "Split",
"type": "array",
"default": [],
"items":{
"$id": "#root/split/items",
"title": "Items",
"type": "string",
"default": "",
"examples": [
"^§r§9Parkour> §r§7You completed §r§eSnake§r§7 in §r§e(?<igts>\\d+(\\.\\d+)?)§r§7 seconds\\.§r$"
],
"pattern": "^.*$"
}
},
"igt": {
"$id": "#root/igt",
"title": "Igt",
"type": "boolean",
"examples": [
false,
true
],
"default": false
}
}
}