-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
40 lines (40 loc) · 1.41 KB
/
schema.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "https://github.com/simonpoole/osm-area-tags",
"additionalProperties": false,
"type": "object",
"properties": {
"areaKeys": {
"additionalProperties": false,
"type": "object",
"patternProperties": {
"^[a-zA-Z].*": {
"type": "object",
"additionalProperties": false,
"properties": {
"default": {
"description": "true if the key is normally an area",
"type": "boolean"
},
"values": {
"description": "values that have specific different semantics",
"type": "object",
"patternProperties": {
"^[a-zA-Z].*": {
"description": "value of the tag, true if an area, false if not",
"type": "boolean"
}
}
}
},
"required": [
"default"
]
}
}
}
},
"required": [
"areaKeys"
]
}