-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathoverview.schema.json
More file actions
33 lines (33 loc) · 865 Bytes
/
overview.schema.json
File metadata and controls
33 lines (33 loc) · 865 Bytes
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Election overview",
"description": "Overview and info of an election",
"type": "object",
"properties": {
"title": {
"description": "Election name",
"type": "string"
},
"date": {
"description": "Date the election held place on",
"type": "string",
"format": "date"
},
"info": {
"description": "URL to the Wikipedia page of the election",
"type": "string",
"format": "uri"
},
"slug": {
"description": "Context path / slug of the original Wahl-o-Mat",
"type": "string",
"format": "uri"
},
"data_source": {
"description": "URL to the source of the election data",
"type": "string",
"format": "uri"
}
},
"required": ["title", "date", "info", "slug", "data_source"]
}