-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathschema.json
More file actions
31 lines (31 loc) · 1 KB
/
schema.json
File metadata and controls
31 lines (31 loc) · 1 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
{
"$schema": "http://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/ReentryGame/ReentryUDP/main/schema.json",
"title": "ReentryUDP",
"type": "object",
"properties": {
"TargetCraft": {
"type": "integer",
"description": "The ID of the craft that the message is intended for.",
"minimum": 0,
"maximum": 5
},
"MessageType": {
"type": "integer",
"description": "The type of message being sent.",
"enum": [0, 1]
},
"ID": {
"type": "integer",
"description": "The ID of the switch or button targeted.",
"minimum": 0
},
"ToPos": {
"type": "integer",
"description": "The position the switch or button is being moved to.",
"minimum": 0,
"maximum": 5
}
},
"required": ["TargetCraft", "MessageType", "ID", "ToPos"]
}