forked from datasets/publicbodies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpublic-body-schema.json
99 lines (99 loc) · 2.63 KB
/
public-body-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
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"fields": [
{
"name": "id",
"type": "string",
"primarykey": true,
"description": "Unique key/id for the Body. Should be of form {jurisdiction-code}/{unique-id-for-body-within-jurisdiction} where jurisdiction-code is a per jurisdiction_code field"
},
{
"name": "name",
"type": "string",
"description": "Standard name of the Body"
},
{
"name": "abbreviation",
"type": "string",
"description": "Abbreviation for the body (if any)."
},
{
"name": "other_names",
"type": "string",
"description": "Other, alternate, names for this Body. If there is more than one separate them with semi-colons"
},
{
"name": "description",
"type": "string",
"description": "Description of the Body"
},
{
"name": "classification",
"type": "string",
"description": "Category of Body. There should only be one classification per body."
},
{
"name": "parent_id",
"type": "string",
"description": "If the Body has a parent body this should be the title for that parent body"
},
{
"name": "founding_date",
"type": "date",
"description": "IS0 8601 Date this body was founded / created"
},
{
"name": "dissolution_date",
"type": "date",
"description": "ISO 8601 Date this body was dissolved"
},
{
"name": "image",
"type": "string",
"format": "uri",
"description": "URI of an image for this Body"
},
{
"name": "url",
"type": "string",
"format": "uri",
"description": "URI for the the Body"
},
{
"name": "jurisdiction_code",
"type": "string",
"description": "Short 2-digit code for the Body. Use 2-digit iso-code in case where jurisdiction is a country"
},
{
"name": "phone",
"type": "string",
"description": "Phone number in international format"
},
{
"name": "email",
"type": "string",
"format": "email",
"description": "Contact email for the Body"
},
{
"name": "address",
"type": "string",
"description": "Official address of the Body"
},
{
"name": "contact",
"type": "string",
"description": "Address for correspondence if different from official address"
},
{
"name": "tags",
"type": "string",
"description": "Free text tags, space separated"
},
{
"name": "source_url",
"type": "string",
"format": "uri",
"description": "Source URI for this specific record. Please point to a specific webpage or API not just the base website or API (it is of little value if this attribute is the the same API endpoint for every record (in such circumstances it would be better to put something in the README instead)."
}
]
}