forked from AudunVN/Navmap
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmapObject.json
More file actions
54 lines (54 loc) · 1.83 KB
/
mapObject.json
File metadata and controls
54 lines (54 loc) · 1.83 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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "mapObject",
"description": "Defines a physical, in-game object or objective for rendering on the navmap.",
"type": "object",
"properties": {
"id": {
"description": "Unique identifier for the object.",
"type": "string"
},
"class": {
"type": "array",
"description": "Used for adding default styles to the object (e.g. planet, ship)",
"items": {
"type": "string"
},
"minItems": 0,
"uniqueItems": true
},
"css": {
"description": "Used for adding custom styles to an object, if required.",
"type": "string"
},
"name": {
"description": "Object name; used for the label, depending on the class.",
"type": "string"
},
"nameInfocardNumber": {
"description": "References a pre-defined infocard to use for the name.",
"type": "integer"
},
"infocard": {
"description": "Object name; used for the label, depending on the class.",
"type": "string"
},
"infocardNumber": {
"description": "References a pre-defined infocard to use for the description.",
"type": "integer"
},
"physicalProperties": {
"type": "object",
"properties": {
"xPos": {"type": "number"},
"yPos": {"type": "number"},
"zPos": {"type": "number"},
"xRot": {"type": "number"},
"yRot": {"type": "number"},
"zRot": {"type": "number"}
},
"required": ["xPos", "yPos", "zPos"]
}
},
"required": ["id", "class", "physicalProperties"]
}