forked from glidernet/ogn-ddb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ogn-ddb-schema-1.0.0.json
35 lines (35 loc) · 966 Bytes
/
ogn-ddb-schema-1.0.0.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "The OpenGliderNetwork DeviceDataBase (ogn-ddb)",
"type": "object",
"properties": {
"devices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"device_type": { "type": "string",
"pattern": "^[FIO]$"
},
"device_id": { "type": "string",
"pattern": "^[A-F0-9]{6}$"
},
"aircraft_model": {"type": "string"
},
"registration": {"type": "string"
},
"cn": {"type": "string"
},
"tracked": { "type": "string",
"pattern": "^[YN]$"
},
"identified": { "type": "string",
"pattern": "^[YN]$"
}
},
"required": ["device_type", "device_id", "aircraft_model", "registration", "cn", "tracked", "identified"]
}
}
},
"required" : ["devices"]
}