hookercookerman-amee 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +1 -0
- data/LICENSE.txt +20 -0
- data/Manifest.txt +79 -0
- data/README.rdoc +33 -0
- data/Rakefile +29 -0
- data/features/config.feature +22 -0
- data/features/data/data_category.feature +26 -0
- data/features/data/data_item.feature +19 -0
- data/features/data/data_item_value.feature +17 -0
- data/features/data/drill_down.feature +48 -0
- data/features/development.feature +13 -0
- data/features/profile/create.profile.feature +15 -0
- data/features/profile/create.profile_item.feature +12 -0
- data/features/profile/delete.profile.feature +12 -0
- data/features/profile/delete.profile_item.feature +13 -0
- data/features/profile/get.profile.feature +13 -0
- data/features/profile/profile_category.feature +14 -0
- data/features/profile/profile_item.feature +15 -0
- data/features/profile/profiles.feature +15 -0
- data/features/profile/update.profile_item.feature +14 -0
- data/features/session/reauthenticate.feature +16 -0
- data/features/step_definitions/amee_steps.rb +67 -0
- data/features/step_definitions/common_steps.rb +194 -0
- data/features/step_definitions/config_steps.rb +13 -0
- data/features/step_definitions/data_steps.rb +142 -0
- data/features/step_definitions/profile_category_steps.rb +23 -0
- data/features/step_definitions/profile_item_steps.rb +62 -0
- data/features/step_definitions/profile_steps.rb +41 -0
- data/features/support/amee/auth/response.json +11 -0
- data/features/support/amee/data.json +84 -0
- data/features/support/amee/data/transport/car/generic.json +3 -0
- data/features/support/amee/data/transport/car/generic/drill.json +66 -0
- data/features/support/amee/data/transport/car/generic/drill?fuel=diesel&size=large.json +55 -0
- data/features/support/amee/data/transport/car/generic/drill?fuel=diesel.json +59 -0
- data/features/support/amee/data/transport/plane/generic.json +225 -0
- data/features/support/amee/data/transport/plane/generic/FFC7A05D54AD.json +224 -0
- data/features/support/amee/data/transport/plane/generic/FFC7A05D54AD/kgCO2PerPassengerJourney.json +42 -0
- data/features/support/amee/data_category.json +84 -0
- data/features/support/amee/data_category_with_data_items.json +225 -0
- data/features/support/amee/profiles.json +73 -0
- data/features/support/amee/profiles/155DD3C63646/transport/motorcycle/generic/D47C465B8157.json +190 -0
- data/features/support/amee/profiles/155DD3C63646/transport/motorcycle/generic/D47C465B8157?distance=400&representation=true.json +190 -0
- data/features/support/amee/profiles/48B97680BCCF/home/energy/quantity/response.json +9 -0
- data/features/support/amee/profiles/7C7D68C2A7CD/home.json +65 -0
- data/features/support/amee/profiles/BB1BDB4FDD77/home/energy/quantity/920B54ED665B.json +201 -0
- data/features/support/amee/profiles/E0BCB3704D15.json +19 -0
- data/features/support/amee/profiles/E0BCB3704D15/Business.json +6 -0
- data/features/support/amee/profiles/profile.json +27 -0
- data/features/support/env.rb +24 -0
- data/init.rb +4 -0
- data/lib/amee.rb +37 -0
- data/lib/amee/config.rb +59 -0
- data/lib/amee/data_api/data_category.rb +50 -0
- data/lib/amee/data_api/data_item.rb +28 -0
- data/lib/amee/data_api/data_item_value.rb +13 -0
- data/lib/amee/data_api/drill_down.rb +23 -0
- data/lib/amee/data_api/item_definition.rb +11 -0
- data/lib/amee/data_api/item_value_definition.rb +13 -0
- data/lib/amee/data_api/value_definition.rb +10 -0
- data/lib/amee/logging.rb +43 -0
- data/lib/amee/model.rb +128 -0
- data/lib/amee/parser.rb +137 -0
- data/lib/amee/profile_api/profile.rb +39 -0
- data/lib/amee/profile_api/profile_category.rb +42 -0
- data/lib/amee/profile_api/profile_item.rb +47 -0
- data/lib/amee/service.rb +78 -0
- data/lib/amee/session.rb +222 -0
- data/lib/amee/utils/string.rb +11 -0
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/script/txt2html +71 -0
- data/spec/amee_spec.rb +1 -0
- data/spec/service_spec.rb +53 -0
- data/spec/session_spec.rb +45 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +19 -0
- data/tasks/rspec.rake +21 -0
- data/tasks/yard.rake +4 -0
- metadata +184 -0
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path":"/transport/plane/generic/FFC7A05D54AD",
|
|
3
|
+
"userValueChoices":{
|
|
4
|
+
"choices":[
|
|
5
|
+
{
|
|
6
|
+
"name":"distance",
|
|
7
|
+
"value":""
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"name":"IATACode1",
|
|
11
|
+
"value":""
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name":"IATACode2",
|
|
15
|
+
"value":""
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name":"journeys",
|
|
19
|
+
"value":""
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name":"lat1",
|
|
23
|
+
"value":"-999"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name":"lat2",
|
|
27
|
+
"value":"-999"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name":"long1",
|
|
31
|
+
"value":"-999"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name":"long2",
|
|
35
|
+
"value":"-999"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name":"numberOfPassengers",
|
|
39
|
+
"value":""
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name":"passengerClass",
|
|
43
|
+
"value":""
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"name":"userValueChoices"
|
|
47
|
+
},
|
|
48
|
+
"dataItem":{
|
|
49
|
+
"uid":"FFC7A05D54AD",
|
|
50
|
+
"startDate":"2007-08-01T09:00:41+01:00",
|
|
51
|
+
"dataCategory":{
|
|
52
|
+
"uid":"FBA97B70DBDF",
|
|
53
|
+
"name":"Generic",
|
|
54
|
+
"path":"generic"
|
|
55
|
+
},
|
|
56
|
+
"itemValues":[
|
|
57
|
+
{
|
|
58
|
+
"itemValueDefinition":{
|
|
59
|
+
"uid":"C376560CB19F",
|
|
60
|
+
"name":"Type",
|
|
61
|
+
"path":"type",
|
|
62
|
+
"valueDefinition":{
|
|
63
|
+
"uid":"CCEB59CACE1B",
|
|
64
|
+
"environment":{
|
|
65
|
+
"uid":"5F5887BCF726"
|
|
66
|
+
},
|
|
67
|
+
"created":"2007-07-27 09:30:44.0",
|
|
68
|
+
"description":"",
|
|
69
|
+
"name":"text",
|
|
70
|
+
"valueType":"TEXT",
|
|
71
|
+
"modified":"2007-07-27 09:30:44.0"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"perUnit":"",
|
|
75
|
+
"uid":"E459F81B0876",
|
|
76
|
+
"unit":"",
|
|
77
|
+
"name":"Type",
|
|
78
|
+
"value":"domestic",
|
|
79
|
+
"path":"type",
|
|
80
|
+
"displayPath":"type",
|
|
81
|
+
"displayName":"Type"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"itemValueDefinition":{
|
|
85
|
+
"uid":"5D7FB5F552A5",
|
|
86
|
+
"name":"Size",
|
|
87
|
+
"path":"size",
|
|
88
|
+
"valueDefinition":{
|
|
89
|
+
"uid":"CCEB59CACE1B",
|
|
90
|
+
"environment":{
|
|
91
|
+
"uid":"5F5887BCF726"
|
|
92
|
+
},
|
|
93
|
+
"created":"2007-07-27 09:30:44.0",
|
|
94
|
+
"description":"",
|
|
95
|
+
"name":"text",
|
|
96
|
+
"valueType":"TEXT",
|
|
97
|
+
"modified":"2007-07-27 09:30:44.0"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"perUnit":"",
|
|
101
|
+
"uid":"33A729613596",
|
|
102
|
+
"unit":"",
|
|
103
|
+
"name":"Size",
|
|
104
|
+
"value":"one way",
|
|
105
|
+
"path":"size",
|
|
106
|
+
"displayPath":"size",
|
|
107
|
+
"displayName":"Size"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"itemValueDefinition":{
|
|
111
|
+
"uid":"D7B4340D9404",
|
|
112
|
+
"name":"kgCO2 Per Passenger Km",
|
|
113
|
+
"path":"kgCO2PerPassengerKm",
|
|
114
|
+
"valueDefinition":{
|
|
115
|
+
"uid":"996AE5477B3F",
|
|
116
|
+
"environment":{
|
|
117
|
+
"uid":"5F5887BCF726"
|
|
118
|
+
},
|
|
119
|
+
"created":"2007-07-27 09:30:44.0",
|
|
120
|
+
"description":"",
|
|
121
|
+
"name":"kgCO2PerKm",
|
|
122
|
+
"valueType":"DECIMAL",
|
|
123
|
+
"modified":"2007-07-27 09:30:44.0"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"perUnit":"",
|
|
127
|
+
"uid":"19602052C053",
|
|
128
|
+
"unit":"",
|
|
129
|
+
"name":"kgCO2 Per Passenger Km",
|
|
130
|
+
"value":"0.0000",
|
|
131
|
+
"path":"kgCO2PerPassengerKm",
|
|
132
|
+
"displayPath":"kgCO2PerPassengerKm",
|
|
133
|
+
"displayName":"kgCO2 Per Passenger Km"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"itemValueDefinition":{
|
|
137
|
+
"uid":"653828811D42",
|
|
138
|
+
"name":"kgCO2 Per Passenger Journey",
|
|
139
|
+
"path":"kgCO2PerPassengerJourney",
|
|
140
|
+
"valueDefinition":{
|
|
141
|
+
"uid":"8CB8A1789CD6",
|
|
142
|
+
"environment":{
|
|
143
|
+
"uid":"5F5887BCF726"
|
|
144
|
+
},
|
|
145
|
+
"created":"2007-07-27 09:30:44.0",
|
|
146
|
+
"description":"",
|
|
147
|
+
"name":"kgCO2PerJourney",
|
|
148
|
+
"valueType":"DECIMAL",
|
|
149
|
+
"modified":"2007-08-01 08:57:31.0"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"perUnit":"",
|
|
153
|
+
"uid":"C32B6E2EDCB0",
|
|
154
|
+
"unit":"",
|
|
155
|
+
"name":"kgCO2 Per Passenger Journey",
|
|
156
|
+
"value":"81.2000",
|
|
157
|
+
"path":"kgCO2PerPassengerJourney",
|
|
158
|
+
"displayPath":"kgCO2PerPassengerJourney",
|
|
159
|
+
"displayName":"kgCO2 Per Passenger Journey"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"itemValueDefinition":{
|
|
163
|
+
"uid":"0F0592F05AAC",
|
|
164
|
+
"name":"Source",
|
|
165
|
+
"path":"source",
|
|
166
|
+
"valueDefinition":{
|
|
167
|
+
"uid":"CCEB59CACE1B",
|
|
168
|
+
"environment":{
|
|
169
|
+
"uid":"5F5887BCF726"
|
|
170
|
+
},
|
|
171
|
+
"created":"2007-07-27 09:30:44.0",
|
|
172
|
+
"description":"",
|
|
173
|
+
"name":"text",
|
|
174
|
+
"valueType":"TEXT",
|
|
175
|
+
"modified":"2007-07-27 09:30:44.0"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"perUnit":"",
|
|
179
|
+
"uid":"F3C2C8046B54",
|
|
180
|
+
"unit":"",
|
|
181
|
+
"name":"Source",
|
|
182
|
+
"value":"defra/amee 2008",
|
|
183
|
+
"path":"source",
|
|
184
|
+
"displayPath":"source",
|
|
185
|
+
"displayName":"Source"
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"environment":{
|
|
189
|
+
"uid":"5F5887BCF726",
|
|
190
|
+
"itemsPerFeed":10,
|
|
191
|
+
"created":"2007-07-27 09:30:44.0",
|
|
192
|
+
"description":"",
|
|
193
|
+
"name":"AMEE",
|
|
194
|
+
"owner":"",
|
|
195
|
+
"path":"",
|
|
196
|
+
"itemsPerPage":10,
|
|
197
|
+
"modified":"2007-07-27 09:30:44.0"
|
|
198
|
+
},
|
|
199
|
+
"created":"2007-08-01 09:00:41.0",
|
|
200
|
+
"name":"FFC7A05D54AD",
|
|
201
|
+
"path":"",
|
|
202
|
+
"itemDefinition":{
|
|
203
|
+
"uid":"441BF4BEA15B",
|
|
204
|
+
"environment":{
|
|
205
|
+
"uid":"5F5887BCF726"
|
|
206
|
+
},
|
|
207
|
+
"created":"2007-07-27 09:30:44.0",
|
|
208
|
+
"name":"Plane Generic",
|
|
209
|
+
"drillDown":"type,size",
|
|
210
|
+
"modified":"2007-07-27 09:30:44.0"
|
|
211
|
+
},
|
|
212
|
+
"endDate":"",
|
|
213
|
+
"label":"domestic,one way",
|
|
214
|
+
"modified":"2007-08-01 09:00:41.0"
|
|
215
|
+
},
|
|
216
|
+
"actions":{
|
|
217
|
+
"allowCreate":false,
|
|
218
|
+
"allowView":true,
|
|
219
|
+
"allowList":false,
|
|
220
|
+
"allowModify":false,
|
|
221
|
+
"allowDelete":false
|
|
222
|
+
},
|
|
223
|
+
"amountPerMonth":0
|
|
224
|
+
}
|
data/features/support/amee/data/transport/plane/generic/FFC7A05D54AD/kgCO2PerPassengerJourney.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"itemValue":{
|
|
3
|
+
"itemValueDefinition":{
|
|
4
|
+
"uid":"653828811D42",
|
|
5
|
+
"name":"kgCO2 Per Passenger Journey",
|
|
6
|
+
"path":"kgCO2PerPassengerJourney",
|
|
7
|
+
"valueDefinition":{
|
|
8
|
+
"uid":"8CB8A1789CD6",
|
|
9
|
+
"environment":{
|
|
10
|
+
"uid":"5F5887BCF726"
|
|
11
|
+
},
|
|
12
|
+
"created":"2007-07-27 09:30:44.0",
|
|
13
|
+
"description":"",
|
|
14
|
+
"name":"kgCO2PerJourney",
|
|
15
|
+
"valueType":"DECIMAL",
|
|
16
|
+
"modified":"2007-08-01 08:57:31.0"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"perUnit":"",
|
|
20
|
+
"uid":"C32B6E2EDCB0",
|
|
21
|
+
"unit":"",
|
|
22
|
+
"created":"2007-08-01 09:00:41.0",
|
|
23
|
+
"item":{...},
|
|
24
|
+
"name":"kgCO2 Per Passenger Journey",
|
|
25
|
+
"value":"81.2000",
|
|
26
|
+
"path":"kgCO2PerPassengerJourney",
|
|
27
|
+
"displayPath":"kgCO2PerPassengerJourney",
|
|
28
|
+
"displayName":"kgCO2 Per Passenger Journey",
|
|
29
|
+
"modified":"2009-01-18 19:14:54.0"
|
|
30
|
+
},
|
|
31
|
+
"path":"/transport/plane/generic/FFC7A05D54AD/kgCO2PerPassengerJourney",
|
|
32
|
+
"dataItem":{
|
|
33
|
+
"uid":"FFC7A05D54AD"
|
|
34
|
+
},
|
|
35
|
+
"actions":{
|
|
36
|
+
"allowCreate":false,
|
|
37
|
+
"allowView":true,
|
|
38
|
+
"allowList":false,
|
|
39
|
+
"allowModify":false,
|
|
40
|
+
"allowDelete":false
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dataCategory":{
|
|
3
|
+
"uid":"CD310BEBAC52",
|
|
4
|
+
"environment":{
|
|
5
|
+
"uid":"5F5887BCF726",
|
|
6
|
+
"itemsPerFeed":10,
|
|
7
|
+
"description":"",
|
|
8
|
+
"name":"AMEE",
|
|
9
|
+
"owner":"",
|
|
10
|
+
"path":"",
|
|
11
|
+
"itemsPerPage":10
|
|
12
|
+
},
|
|
13
|
+
"created":"2007-07-27 09:30:44.0",
|
|
14
|
+
"name":"Root",
|
|
15
|
+
"path":"",
|
|
16
|
+
"modified":"2007-07-27 09:30:44.0"
|
|
17
|
+
},
|
|
18
|
+
"path":"",
|
|
19
|
+
"children":{
|
|
20
|
+
"pager":{},
|
|
21
|
+
"dataItems":{},
|
|
22
|
+
"dataCategories":[
|
|
23
|
+
{
|
|
24
|
+
"uid":"7E99F5EB43CE",
|
|
25
|
+
"name":"Business",
|
|
26
|
+
"path":"business"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"uid":"BBA3AC3E795E",
|
|
30
|
+
"name":"Home",
|
|
31
|
+
"path":"home"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"uid":"85A9172C31AF",
|
|
35
|
+
"name":"Import",
|
|
36
|
+
"path":"import"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"uid":"9E5362EAB0E7",
|
|
40
|
+
"name":"Metadata",
|
|
41
|
+
"path":"metadata"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"uid":"A0CF90F6C0B9",
|
|
45
|
+
"name":"Personal",
|
|
46
|
+
"path":"personal"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"uid":"304FBDB2F3B1",
|
|
50
|
+
"name":"Planet",
|
|
51
|
+
"path":"planet"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"uid":"6153F468BE05",
|
|
55
|
+
"name":"Test",
|
|
56
|
+
"path":"test"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"uid":"263FC0186834",
|
|
60
|
+
"name":"Transport",
|
|
61
|
+
"path":"transport"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"uid":"2957AE9B6E6B",
|
|
65
|
+
"name":"User",
|
|
66
|
+
"path":"user"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"dataItemActions":{
|
|
71
|
+
"allowCreate":false,
|
|
72
|
+
"allowView":true,
|
|
73
|
+
"allowList":false,
|
|
74
|
+
"allowModify":false,
|
|
75
|
+
"allowDelete":false
|
|
76
|
+
},
|
|
77
|
+
"actions":{
|
|
78
|
+
"allowCreate":false,
|
|
79
|
+
"allowView":true,
|
|
80
|
+
"allowList":false,
|
|
81
|
+
"allowModify":false,
|
|
82
|
+
"allowDelete":false
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dataCategory":{
|
|
3
|
+
"uid":"FBA97B70DBDF",
|
|
4
|
+
"dataCategory":{
|
|
5
|
+
"uid":"6F3692D81CD9",
|
|
6
|
+
"name":"Plane",
|
|
7
|
+
"path":"plane"
|
|
8
|
+
},
|
|
9
|
+
"environment":{
|
|
10
|
+
"uid":"5F5887BCF726",
|
|
11
|
+
"itemsPerFeed":10,
|
|
12
|
+
"description":"",
|
|
13
|
+
"name":"AMEE",
|
|
14
|
+
"owner":"",
|
|
15
|
+
"path":"",
|
|
16
|
+
"itemsPerPage":10
|
|
17
|
+
},
|
|
18
|
+
"created":"2007-08-01 09:00:23.0",
|
|
19
|
+
"name":"Generic",
|
|
20
|
+
"path":"generic",
|
|
21
|
+
"itemDefinition":{
|
|
22
|
+
"uid":"441BF4BEA15B",
|
|
23
|
+
"environment":{
|
|
24
|
+
"uid":"5F5887BCF726"
|
|
25
|
+
},
|
|
26
|
+
"created":"2007-07-27 09:30:44.0",
|
|
27
|
+
"name":"Plane Generic",
|
|
28
|
+
"drillDown":"type,size",
|
|
29
|
+
"modified":"2007-07-27 09:30:44.0"
|
|
30
|
+
},
|
|
31
|
+
"modified":"2007-08-01 09:00:23.0"
|
|
32
|
+
},
|
|
33
|
+
"path":"/transport/plane/generic",
|
|
34
|
+
"children":{
|
|
35
|
+
"pager":{
|
|
36
|
+
"to":10,
|
|
37
|
+
"lastPage":2,
|
|
38
|
+
"nextPage":2,
|
|
39
|
+
"items":11,
|
|
40
|
+
"start":0,
|
|
41
|
+
"itemsFound":10,
|
|
42
|
+
"requestedPage":1,
|
|
43
|
+
"currentPage":1,
|
|
44
|
+
"from":1,
|
|
45
|
+
"itemsPerPage":10,
|
|
46
|
+
"previousPage":-1
|
|
47
|
+
},
|
|
48
|
+
"dataItems":{
|
|
49
|
+
"label":"DataItems",
|
|
50
|
+
"rows":[
|
|
51
|
+
{
|
|
52
|
+
"uid":"E98F73AE9B40",
|
|
53
|
+
"startDate":"2009-01-27T17:35:37Z",
|
|
54
|
+
"kgCO2PerPassengerKm":"-1.",
|
|
55
|
+
"source":"N/A",
|
|
56
|
+
"created":"2009-01-27 17:35:37.0",
|
|
57
|
+
"path":"E98F73AE9B40",
|
|
58
|
+
"endDate":"",
|
|
59
|
+
"label":"auto,one way",
|
|
60
|
+
"kgCO2PerPassengerJourney":"0",
|
|
61
|
+
"type":"auto",
|
|
62
|
+
"modified":"2009-01-27 17:35:37.0",
|
|
63
|
+
"size":"one way"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"uid":"601248F5F793",
|
|
67
|
+
"startDate":"2009-01-27T20:03:26Z",
|
|
68
|
+
"kgCO2PerPassengerKm":"-1.",
|
|
69
|
+
"source":"N/A",
|
|
70
|
+
"created":"2009-01-27 20:03:26.0",
|
|
71
|
+
"path":"601248F5F793",
|
|
72
|
+
"endDate":"",
|
|
73
|
+
"label":"auto,return",
|
|
74
|
+
"kgCO2PerPassengerJourney":"0",
|
|
75
|
+
"type":"auto",
|
|
76
|
+
"modified":"2009-01-27 20:03:26.0",
|
|
77
|
+
"size":"return"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"uid":"AD63A83B4D41",
|
|
81
|
+
"startDate":"2007-08-01T09:00:41+01:00",
|
|
82
|
+
"kgCO2PerPassengerKm":"0.1753",
|
|
83
|
+
"source":"defra/amee 2008",
|
|
84
|
+
"created":"2007-08-01 09:00:41.0",
|
|
85
|
+
"path":"AD63A83B4D41",
|
|
86
|
+
"endDate":"",
|
|
87
|
+
"label":"domestic",
|
|
88
|
+
"kgCO2PerPassengerJourney":"0.0000",
|
|
89
|
+
"type":"domestic",
|
|
90
|
+
"modified":"2007-08-01 09:00:41.0",
|
|
91
|
+
"size":"-"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"uid":"FFC7A05D54AD",
|
|
95
|
+
"startDate":"2007-08-01T09:00:41+01:00",
|
|
96
|
+
"kgCO2PerPassengerKm":"0.0000",
|
|
97
|
+
"source":"defra/amee 2008",
|
|
98
|
+
"created":"2007-08-01 09:00:41.0",
|
|
99
|
+
"path":"FFC7A05D54AD",
|
|
100
|
+
"endDate":"",
|
|
101
|
+
"label":"domestic,one way",
|
|
102
|
+
"kgCO2PerPassengerJourney":"81.2000",
|
|
103
|
+
"type":"domestic",
|
|
104
|
+
"modified":"2007-08-01 09:00:41.0",
|
|
105
|
+
"size":"one way"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"uid":"F5498AD6FC75",
|
|
109
|
+
"startDate":"2007-08-01T09:00:41+01:00",
|
|
110
|
+
"kgCO2PerPassengerKm":"0.0000",
|
|
111
|
+
"source":"defra/amee 2008",
|
|
112
|
+
"created":"2007-08-01 09:00:41.0",
|
|
113
|
+
"path":"F5498AD6FC75",
|
|
114
|
+
"endDate":"",
|
|
115
|
+
"label":"domestic,return",
|
|
116
|
+
"kgCO2PerPassengerJourney":"162.0000",
|
|
117
|
+
"type":"domestic",
|
|
118
|
+
"modified":"2007-08-01 09:00:41.0",
|
|
119
|
+
"size":"return"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"uid":"7D4220DF72F9",
|
|
123
|
+
"startDate":"2007-08-01T09:00:41+01:00",
|
|
124
|
+
"kgCO2PerPassengerKm":"0.1106",
|
|
125
|
+
"source":"defra/amee 2008",
|
|
126
|
+
"created":"2007-08-01 09:00:41.0",
|
|
127
|
+
"path":"7D4220DF72F9",
|
|
128
|
+
"endDate":"",
|
|
129
|
+
"label":"long haul",
|
|
130
|
+
"kgCO2PerPassengerJourney":"0.0000",
|
|
131
|
+
"type":"long haul",
|
|
132
|
+
"modified":"2007-08-01 09:00:41.0",
|
|
133
|
+
"size":"-"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"uid":"46117F6C0B7E",
|
|
137
|
+
"startDate":"2007-08-01T09:00:41+01:00",
|
|
138
|
+
"kgCO2PerPassengerKm":"0.0000",
|
|
139
|
+
"source":"defra/amee 2008",
|
|
140
|
+
"created":"2007-08-01 09:00:41.0",
|
|
141
|
+
"path":"46117F6C0B7E",
|
|
142
|
+
"endDate":"",
|
|
143
|
+
"label":"long haul,one way",
|
|
144
|
+
"kgCO2PerPassengerJourney":"844.0000",
|
|
145
|
+
"type":"long haul",
|
|
146
|
+
"modified":"2007-08-01 09:00:41.0",
|
|
147
|
+
"size":"one way"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"uid":"96D538B1B246",
|
|
151
|
+
"startDate":"2007-08-01T09:00:41+01:00",
|
|
152
|
+
"kgCO2PerPassengerKm":"0.0000",
|
|
153
|
+
"source":"defra/amee 2008",
|
|
154
|
+
"created":"2007-08-01 09:00:41.0",
|
|
155
|
+
"path":"96D538B1B246",
|
|
156
|
+
"endDate":"",
|
|
157
|
+
"label":"long haul,return",
|
|
158
|
+
"kgCO2PerPassengerJourney":"1688.0000",
|
|
159
|
+
"type":"long haul",
|
|
160
|
+
"modified":"2007-08-01 09:00:41.0",
|
|
161
|
+
"size":"return"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"uid":"9DA419052FDF",
|
|
165
|
+
"startDate":"2007-08-01T09:00:41+01:00",
|
|
166
|
+
"kgCO2PerPassengerKm":"0.0983",
|
|
167
|
+
"source":"defra/amee 2008",
|
|
168
|
+
"created":"2007-08-01 09:00:41.0",
|
|
169
|
+
"path":"9DA419052FDF",
|
|
170
|
+
"endDate":"",
|
|
171
|
+
"label":"short haul",
|
|
172
|
+
"kgCO2PerPassengerJourney":"0.0000",
|
|
173
|
+
"type":"short haul",
|
|
174
|
+
"modified":"2007-08-01 09:00:41.0",
|
|
175
|
+
"size":"-"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"uid":"84B4A14C7424",
|
|
179
|
+
"startDate":"2007-08-01T09:00:41+01:00",
|
|
180
|
+
"kgCO2PerPassengerKm":"0.0000",
|
|
181
|
+
"source":"defra/amee 2008",
|
|
182
|
+
"created":"2007-08-01 09:00:41.0",
|
|
183
|
+
"path":"84B4A14C7424",
|
|
184
|
+
"endDate":"",
|
|
185
|
+
"label":"short haul,one way",
|
|
186
|
+
"kgCO2PerPassengerJourney":"129.0000",
|
|
187
|
+
"type":"short haul",
|
|
188
|
+
"modified":"2007-08-01 09:00:41.0",
|
|
189
|
+
"size":"one way"
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
"dataCategories":[
|
|
194
|
+
{
|
|
195
|
+
"uid":"01900C469CDB",
|
|
196
|
+
"name":"Airports",
|
|
197
|
+
"path":"airports"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"uid":"0D4F2C945AA3",
|
|
201
|
+
"name":"Freight",
|
|
202
|
+
"path":"freight"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"uid":"9959AE4168BA",
|
|
206
|
+
"name":"Passenger class",
|
|
207
|
+
"path":"passengerclass"
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
"dataItemActions":{
|
|
212
|
+
"allowCreate":false,
|
|
213
|
+
"allowView":true,
|
|
214
|
+
"allowList":false,
|
|
215
|
+
"allowModify":false,
|
|
216
|
+
"allowDelete":false
|
|
217
|
+
},
|
|
218
|
+
"actions":{
|
|
219
|
+
"allowCreate":false,
|
|
220
|
+
"allowView":true,
|
|
221
|
+
"allowList":false,
|
|
222
|
+
"allowModify":false,
|
|
223
|
+
"allowDelete":false
|
|
224
|
+
}
|
|
225
|
+
}
|