-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreceiverlist-schema-0.2.2.json
71 lines (71 loc) · 1.67 KB
/
receiverlist-schema-0.2.2.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
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
{
"$schema": "http://json-schema.org/draft-03/schema#",
"description": "Parsed list-of-receivers from http://wiki.glidernet.org/list-of-receivers",
"type": "object",
"required" : ["version"],
"properties": {
"version": {
"type": "string",
"enum" : ["0.2.0", "0.2.1", "0.2.2"],
"default" : "0.2.2"
},
"timestamp": {
"type": "string"
},
"receivers": {
"type": "array",
"minItems": 1,
"uniqueItems": false,
"items": {
"type": "object",
"properties": {
"callsign": {
"type": "string"
},
"description": {
"type": "string"
},
"photos": {
"type": "array",
"minItems": 0,
"uniqueItems": false,
"items": {
"type": "string"
}
},
"contact": {
"type": "string"
},
"email": {
"type": "string"
},
"links": {
"type": "array",
"minItems": 0,
"uniqueItems": false,
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"required" : true
},
"href": {
"type": "string",
"required" : true
}
},
"required": ["rel", "href"]
}
},
"country": {
"title": "ISO 3166-1 alpha-2 Code",
"type": "string",
"minLength": 2,
"maxLength": 2
}
}
}
}
}
}