forked from datasets/publicbodies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
datapackage.json
109 lines (109 loc) · 3.52 KB
/
datapackage.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
100
101
102
103
104
105
106
107
108
109
{
"name": "public-bodies",
"title": "Database of Public Bodies (Government Entities)",
"license": [
{
"url": "http://opendatacommons.org/licenses/pddl/1.0/",
"name": "Public Domain Dedication and License"
}
],
"resources": [
{
"path": "data/gb.csv",
"schema": {
"fields": [
{
"id": "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"
},
{
"id": "name",
"type": "string",
"description": "Standard name of the Body"
},
{
"id": "abbreviation",
"type": "string",
"description": "Abbreviation for the body (if any)."
},
{
"id": "other_names",
"type": "string",
"description": "Other, alternate, names for this Body. If there is more than one separate them with semi-colons"
},
{
"id": "description",
"type": "string",
"description": "Description of the Body"
},
{
"id": "classification",
"type": "string",
"description": "Category of Body. There should only be one classification per body."
},
{
"id": "parent_id",
"type": "string",
"description": "If the Body has a parent body this should be the title for that parent body"
},
{
"id": "founding_date",
"type": "date",
"description": "IS0 8601 Date this body was founded / created"
},
{
"id": "dissolution_date",
"type": "date",
"description": "ISO 8601 Date this body was dissolved"
},
{
"id": "image",
"type": "string",
"format": "url",
"description": "URL of an image for this Body"
},
{
"id": "url",
"type": "string",
"format": "url",
"description": "URL for the the Body"
},
{
"id": "jurisdiction_code",
"type": "string",
"description": "Short 2-digit code for the Body. Use 2-digit iso-code in case where jurisdiction is a country"
},
{
"id": "email",
"type": "string",
"format": "email",
"description": "Contact email for the Body"
},
{
"id": "address",
"type": "string",
"description": "Official address of the Body"
},
{
"id": "contact",
"type": "string",
"description": "Address for correspondence if different from official address"
},
{
"id": "tags",
"type": "string",
"description": "Free text tags, space separated"
},
{
"id": "source_url",
"type": "string",
"format": "url",
"description": "Source URL 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)."
}
]
}
}
]
}