-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmap.schema.json
More file actions
62 lines (56 loc) · 1.27 KB
/
Copy pathmap.schema.json
File metadata and controls
62 lines (56 loc) · 1.27 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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/lolomap/polwart/refs/heads/master/map.schema.json",
"type": "object",
"title": "Map document",
"properties": {
"id": {"type": "number"},
"layers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"timestampISO": {"type": "string"},
"content": {
"type": "array",
"title": "symbol",
"items": {
"type": "object",
"properties": {
"id": {"type": "number"},
"type": {"type": "number"},
"title": {"type": "string"},
"value": {}
}
}
}
}
}
},
"legend": {
"type": "array",
"items": {
"type": "object",
"title": "symbolType",
"properties": {
"id": {"type": "number"},
"name": {"type": "string"},
"properties": {
"type": "array",
"items": {
"type": "object",
"title": "symbolProperty",
"properties": {
"name": {"type": "string"},
"type": {"enum": ["integer", "float", "string", "boolean"]},
"isEditable": {"type": "boolean"},
"isCombo": {"type": "boolean"},
"comboValues": {"type": "array", "items": {}}
}
}
}
}
}
}
}
}