-
Notifications
You must be signed in to change notification settings - Fork 3
/
schema.json
39 lines (39 loc) · 1.01 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
{
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "array",
"description": "Formatter URLs for OpenStreetMap tags",
"items": {
"$ref": "#/definitions/Tag2LinkElement"
},
"definitions": {
"Tag2LinkElement": {
"type": "object",
"additionalProperties": false,
"properties": {
"key": {
"type": "string",
"description": "OSM tag key"
},
"url": {
"type": "string",
"description": "URL template or formatter URL: replace `$1` with the tag value"
},
"source": {
"type": "string",
"description": "Source of this formatter URL"
},
"rank": {
"$ref": "#/definitions/Rank",
"description": "Rank or relative importance of this formatter URL"
}
},
"required": ["key", "url"],
"title": "Tag2LinkElement"
},
"Rank": {
"type": "string",
"enum": ["preferred", "normal", "deprecated"],
"title": "Rank"
}
}
}