-
Notifications
You must be signed in to change notification settings - Fork 0
/
open311_georeport_tabular.json
96 lines (96 loc) · 2.15 KB
/
open311_georeport_tabular.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
{
"name": "open311_georeport_tabular",
"title": "Open311 GeoReport Tabular Data Package",
"resources": [
{
"name": "services",
"path": "services.csv",
"format": "csv",
"mediatype": "text/csv",
"schema": {
"fields": [
{
"name": "service_code",
"type": "string"
}
],
"primaryKey": "service_code"
}
},
{
"name": "service_definition_attributes",
"path": "service_definition_attributes.csv",
"format": "csv",
"mediatype": "text/csv",
"schema": {
"fields": [
{
"name": "code",
"type": "string"
}
],
"foreignKeys": [
{
"fields": "service_code",
"reference": {
"datapackage": "",
"resource": "services",
"fields": "service_code"
}
}
],
"primaryKey": "code"
}
},
{
"name": "service_definition_attribute_values",
"path": "service_definition_attribute_values.csv",
"format": "csv",
"mediatype": "text/csv",
"schema": {
"fields": [
{
"name": "code_key",
"type": "string"
}
],
"foreignKeys": [
{
"fields": "attribute_code",
"reference": {
"datapackage": "",
"resource": "service_definition_attributes",
"fields": "code"
}
}
],
"primaryKey": "code_key"
}
},
{
"name": "service_requests",
"path": "service_requests.csv",
"format": "csv",
"mediatype": "text/csv",
"schema": {
"fields": [
{
"name": "service_request_id",
"type": "string"
}
],
"foreignKeys": [
{
"fields": "service_code",
"reference": {
"datapackage": "",
"resource": "services",
"fields": "service_code"
}
}
],
"primaryKey": "service_request_id"
}
}
]
}