amee 2.7.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/{CHANGELOG → CHANGELOG.txt} +11 -0
- data/Gemfile.lock +37 -0
- data/LICENSE.txt +27 -0
- data/{README → README.txt} +6 -4
- data/Rakefile +84 -17
- data/VERSION +1 -1
- data/amee.gemspec +172 -0
- data/bin/ameesh +3 -0
- data/examples/create_profile.rb +3 -0
- data/examples/create_profile_item.rb +3 -0
- data/examples/list_profiles.rb +3 -0
- data/examples/view_data_category.rb +3 -0
- data/examples/view_data_item.rb +3 -0
- data/examples/view_profile_item.rb +3 -0
- data/init.rb +3 -0
- data/lib/amee/collection.rb +3 -0
- data/lib/amee/connection.rb +3 -0
- data/lib/amee/data_category.rb +3 -0
- data/lib/amee/data_item.rb +3 -0
- data/lib/amee/data_item_value.rb +3 -0
- data/lib/amee/data_item_value_history.rb +3 -0
- data/lib/amee/data_object.rb +3 -0
- data/lib/amee/drill_down.rb +3 -0
- data/lib/amee/exceptions.rb +3 -0
- data/lib/amee/item_definition.rb +3 -0
- data/lib/amee/item_value_definition.rb +3 -0
- data/lib/amee/logger.rb +3 -0
- data/lib/amee/object.rb +3 -0
- data/lib/amee/pager.rb +3 -0
- data/lib/amee/parse_helper.rb +3 -0
- data/lib/amee/profile.rb +3 -0
- data/lib/amee/profile_category.rb +3 -0
- data/lib/amee/profile_item.rb +3 -0
- data/lib/amee/profile_item_value.rb +3 -0
- data/lib/amee/profile_object.rb +3 -0
- data/lib/amee/rails.rb +3 -0
- data/lib/amee/shell.rb +3 -0
- data/lib/amee/user.rb +3 -0
- data/lib/amee/v3/collection.rb +61 -0
- data/lib/amee/v3/connection.rb +99 -0
- data/lib/amee/v3/item_definition.rb +73 -0
- data/lib/amee/v3/item_value_definition.rb +99 -0
- data/lib/amee/v3/item_value_definition_list.rb +53 -0
- data/lib/amee/v3/meta_helper.rb +28 -0
- data/lib/amee/v3/return_value_definition.rb +202 -0
- data/lib/amee/v3.rb +12 -0
- data/lib/amee.rb +4 -0
- data/rails/init.rb +3 -0
- data/spec/amee_spec.rb +3 -0
- data/spec/cache_spec.rb +3 -0
- data/spec/connection_spec.rb +3 -0
- data/spec/data_category_spec.rb +4 -1
- data/spec/data_item_spec.rb +3 -0
- data/spec/data_item_value_history_spec.rb +3 -0
- data/spec/data_item_value_spec.rb +3 -0
- data/spec/data_object_spec.rb +3 -0
- data/spec/drill_down_spec.rb +3 -0
- data/spec/fixtures/BD88D30D1214.xml +1 -0
- data/spec/fixtures/empty_return_value_definition_list.xml +6 -0
- data/spec/fixtures/itemdef.xml +20 -0
- data/spec/fixtures/itemdef_441BF4BEA15B.xml +14 -0
- data/spec/fixtures/itemdef_no_usages.xml +10 -0
- data/spec/fixtures/itemdef_one_usage.xml +14 -0
- data/spec/fixtures/ivdlist.xml +605 -0
- data/spec/fixtures/ivdlist_BD88D30D1214.xml +1 -0
- data/spec/fixtures/return_value_definition.xml +18 -0
- data/spec/fixtures/return_value_definition_list.xml +46 -0
- data/spec/item_definition_spec.rb +12 -9
- data/spec/item_value_definition_spec.rb +29 -19
- data/spec/logger_spec.rb +2 -2
- data/spec/object_spec.rb +3 -0
- data/spec/parse_helper_spec.rb +3 -0
- data/spec/profile_category_spec.rb +3 -0
- data/spec/profile_item_spec.rb +3 -0
- data/spec/profile_item_value_spec.rb +3 -0
- data/spec/profile_object_spec.rb +3 -0
- data/spec/profile_spec.rb +3 -0
- data/spec/rails_spec.rb +3 -0
- data/spec/spec_helper.rb +7 -0
- data/spec/user_spec.rb +3 -0
- data/spec/v3/connection_spec.rb +169 -0
- data/spec/v3/item_definition_spec.rb +328 -0
- data/spec/v3/item_value_definition_spec.rb +116 -0
- data/spec/v3/return_value_definition_spec.rb +90 -0
- metadata +38 -10
- data/COPYING +0 -19
@@ -0,0 +1,605 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<Representation>
|
3
|
+
<ItemValueDefinitions>
|
4
|
+
<ItemValueDefinition created="2009-08-31T12:41:21Z" modified="2009-08-31T12:41:21Z" status="ACTIVE" uid="C531CA64DD72">
|
5
|
+
<Name>Past carbon intensity</Name>
|
6
|
+
<Path>pastIntensity</Path>
|
7
|
+
<Value>42</Value>
|
8
|
+
<WikiDoc>wikidoc</WikiDoc>
|
9
|
+
<ItemDefinition uid="472D78F6584E">
|
10
|
+
<Name>Power Stations And Stuff</Name>
|
11
|
+
</ItemDefinition>
|
12
|
+
<ValueDefinition uid="4594CFEC6A20">
|
13
|
+
<Name>amount</Name>
|
14
|
+
<ValueType>DECIMAL</ValueType>
|
15
|
+
</ValueDefinition>
|
16
|
+
<Usages>
|
17
|
+
<Usage>
|
18
|
+
<Name>usageOne</Name>
|
19
|
+
<Type>COMPULSORY</Type>
|
20
|
+
</Usage>
|
21
|
+
<Usage>
|
22
|
+
<Name>usageTwo</Name>
|
23
|
+
<Type>FORBIDDEN</Type>
|
24
|
+
</Usage>
|
25
|
+
</Usages>
|
26
|
+
<Choices>foo,bar</Choices>
|
27
|
+
<Unit>kg</Unit>
|
28
|
+
<PerUnit>MWh</PerUnit>
|
29
|
+
<DrillDown>false</DrillDown>
|
30
|
+
<FromData>true</FromData>
|
31
|
+
<FromProfile>false</FromProfile>
|
32
|
+
<Versions>
|
33
|
+
<Version>
|
34
|
+
<Version>1.0</Version>
|
35
|
+
</Version>
|
36
|
+
<Version>
|
37
|
+
<Version>2.0</Version>
|
38
|
+
</Version>
|
39
|
+
</Versions>
|
40
|
+
</ItemValueDefinition>
|
41
|
+
<ItemValueDefinition created="2009-08-31T12:41:22Z" modified="2009-08-31T12:41:22Z" status="ACTIVE" uid="0A52DE26089C">
|
42
|
+
<Name>State ID</Name>
|
43
|
+
<Path>stateId</Path>
|
44
|
+
<Value/>
|
45
|
+
<WikiDoc/>
|
46
|
+
<ItemDefinition uid="472D78F6584E">
|
47
|
+
<Name>Power Stations And Stuff</Name>
|
48
|
+
</ItemDefinition>
|
49
|
+
<ValueDefinition uid="4594CFEC6A20">
|
50
|
+
<Name>amount</Name>
|
51
|
+
<ValueType>DECIMAL</ValueType>
|
52
|
+
</ValueDefinition>
|
53
|
+
<Usages>
|
54
|
+
<Usage>
|
55
|
+
<Name>usageOne</Name>
|
56
|
+
<Type>OPTIONAL</Type>
|
57
|
+
</Usage>
|
58
|
+
<Usage>
|
59
|
+
<Name>usageTwo</Name>
|
60
|
+
<Type>IGNORED</Type>
|
61
|
+
</Usage>
|
62
|
+
</Usages>
|
63
|
+
<Choices/>
|
64
|
+
<DrillDown>false</DrillDown>
|
65
|
+
<FromData>true</FromData>
|
66
|
+
<FromProfile>false</FromProfile>
|
67
|
+
<Versions>
|
68
|
+
<Version>
|
69
|
+
<Version>2.0</Version>
|
70
|
+
</Version>
|
71
|
+
</Versions>
|
72
|
+
</ItemValueDefinition>
|
73
|
+
<ItemValueDefinition created="2009-08-31T12:41:23Z" modified="2009-08-31T12:41:23Z" status="ACTIVE" uid="A067819072A2">
|
74
|
+
<Name>Congressional district representative</Name>
|
75
|
+
<Path>congRep</Path>
|
76
|
+
<Value/>
|
77
|
+
<WikiDoc/>
|
78
|
+
<ItemDefinition uid="472D78F6584E">
|
79
|
+
<Name>Power Stations And Stuff</Name>
|
80
|
+
</ItemDefinition>
|
81
|
+
<Usages/>
|
82
|
+
<Choices/>
|
83
|
+
<DrillDown>false</DrillDown>
|
84
|
+
<FromData>true</FromData>
|
85
|
+
<FromProfile>false</FromProfile>
|
86
|
+
<Versions>
|
87
|
+
<Version>
|
88
|
+
<Version>2.0</Version>
|
89
|
+
</Version>
|
90
|
+
</Versions>
|
91
|
+
</ItemValueDefinition>
|
92
|
+
<ItemValueDefinition created="2009-08-31T12:41:22Z" modified="2009-08-31T12:41:22Z" status="ACTIVE" uid="6DF4A6DDE7C1">
|
93
|
+
<Name>Continent</Name>
|
94
|
+
<Path>continent</Path>
|
95
|
+
<Value/>
|
96
|
+
<WikiDoc/>
|
97
|
+
<ItemDefinition uid="472D78F6584E">
|
98
|
+
<Name>Power Stations And Stuff</Name>
|
99
|
+
</ItemDefinition>
|
100
|
+
<Usages/>
|
101
|
+
<Choices/>
|
102
|
+
<DrillDown>false</DrillDown>
|
103
|
+
<FromData>true</FromData>
|
104
|
+
<FromProfile>false</FromProfile>
|
105
|
+
<Versions>
|
106
|
+
<Version>
|
107
|
+
<Version>2.0</Version>
|
108
|
+
</Version>
|
109
|
+
</Versions>
|
110
|
+
</ItemValueDefinition>
|
111
|
+
<ItemValueDefinition created="2009-08-31T12:41:20Z" modified="2009-08-31T12:41:20Z" status="ACTIVE" uid="EEA2DF15EEDC">
|
112
|
+
<Name>Plant name</Name>
|
113
|
+
<Path>plantName</Path>
|
114
|
+
<Value/>
|
115
|
+
<WikiDoc/>
|
116
|
+
<ItemDefinition uid="472D78F6584E">
|
117
|
+
<Name>Power Stations And Stuff</Name>
|
118
|
+
</ItemDefinition>
|
119
|
+
<Usages/>
|
120
|
+
<Choices/>
|
121
|
+
<DrillDown>true</DrillDown>
|
122
|
+
<FromData>true</FromData>
|
123
|
+
<FromProfile>false</FromProfile>
|
124
|
+
<Versions>
|
125
|
+
<Version>
|
126
|
+
<Version>2.0</Version>
|
127
|
+
</Version>
|
128
|
+
</Versions>
|
129
|
+
</ItemValueDefinition>
|
130
|
+
<ItemValueDefinition created="2009-08-31T12:41:23Z" modified="2009-08-31T12:41:23Z" status="ACTIVE" uid="C77AC802AFE2">
|
131
|
+
<Name>Source</Name>
|
132
|
+
<Path>source</Path>
|
133
|
+
<Value/>
|
134
|
+
<WikiDoc/>
|
135
|
+
<ItemDefinition uid="472D78F6584E">
|
136
|
+
<Name>Power Stations And Stuff</Name>
|
137
|
+
</ItemDefinition>
|
138
|
+
<Usages/>
|
139
|
+
<Choices/>
|
140
|
+
<DrillDown>false</DrillDown>
|
141
|
+
<FromData>true</FromData>
|
142
|
+
<FromProfile>false</FromProfile>
|
143
|
+
<Versions>
|
144
|
+
<Version>
|
145
|
+
<Version>2.0</Version>
|
146
|
+
</Version>
|
147
|
+
</Versions>
|
148
|
+
</ItemValueDefinition>
|
149
|
+
<ItemValueDefinition created="2009-08-31T12:41:19Z" modified="2010-08-13T14:54:30Z" status="ACTIVE" uid="F04F3AFB8078">
|
150
|
+
<Name>County</Name>
|
151
|
+
<Path>county</Path>
|
152
|
+
<Value/>
|
153
|
+
<WikiDoc/>
|
154
|
+
<ItemDefinition uid="472D78F6584E">
|
155
|
+
<Name>Power Stations And Stuff</Name>
|
156
|
+
</ItemDefinition>
|
157
|
+
<Usages/>
|
158
|
+
<Choices/>
|
159
|
+
<DrillDown>true</DrillDown>
|
160
|
+
<FromData>true</FromData>
|
161
|
+
<FromProfile>false</FromProfile>
|
162
|
+
<Versions>
|
163
|
+
<Version>
|
164
|
+
<Version>2.0</Version>
|
165
|
+
</Version>
|
166
|
+
</Versions>
|
167
|
+
</ItemValueDefinition>
|
168
|
+
<ItemValueDefinition created="2009-08-31T12:41:23Z" modified="2009-08-31T12:41:23Z" status="ACTIVE" uid="9F6D7E3CF5D7">
|
169
|
+
<Name>City ID</Name>
|
170
|
+
<Path>cityId</Path>
|
171
|
+
<Value/>
|
172
|
+
<WikiDoc/>
|
173
|
+
<ItemDefinition uid="472D78F6584E">
|
174
|
+
<Name>Power Stations And Stuff</Name>
|
175
|
+
</ItemDefinition>
|
176
|
+
<Usages/>
|
177
|
+
<Choices/>
|
178
|
+
<DrillDown>false</DrillDown>
|
179
|
+
<FromData>true</FromData>
|
180
|
+
<FromProfile>false</FromProfile>
|
181
|
+
<Versions>
|
182
|
+
<Version>
|
183
|
+
<Version>2.0</Version>
|
184
|
+
</Version>
|
185
|
+
</Versions>
|
186
|
+
</ItemValueDefinition>
|
187
|
+
<ItemValueDefinition created="2009-08-31T12:41:20Z" modified="2009-08-31T12:41:20Z" status="ACTIVE" uid="DCB9711657E8">
|
188
|
+
<Name>Zip code</Name>
|
189
|
+
<Path>zipCode</Path>
|
190
|
+
<Value/>
|
191
|
+
<WikiDoc/>
|
192
|
+
<ItemDefinition uid="472D78F6584E">
|
193
|
+
<Name>Power Stations And Stuff</Name>
|
194
|
+
</ItemDefinition>
|
195
|
+
<Usages/>
|
196
|
+
<Choices/>
|
197
|
+
<DrillDown>true</DrillDown>
|
198
|
+
<FromData>true</FromData>
|
199
|
+
<FromProfile>false</FromProfile>
|
200
|
+
<Versions>
|
201
|
+
<Version>
|
202
|
+
<Version>2.0</Version>
|
203
|
+
</Version>
|
204
|
+
</Versions>
|
205
|
+
</ItemValueDefinition>
|
206
|
+
<ItemValueDefinition created="2009-08-31T12:41:22Z" modified="2009-08-31T12:41:22Z" status="ACTIVE" uid="84A642E6BAD4">
|
207
|
+
<Name>Future carbon intensity</Name>
|
208
|
+
<Path>futureIntensity</Path>
|
209
|
+
<Value/>
|
210
|
+
<WikiDoc/>
|
211
|
+
<ItemDefinition uid="472D78F6584E">
|
212
|
+
<Name>Power Stations And Stuff</Name>
|
213
|
+
</ItemDefinition>
|
214
|
+
<Usages/>
|
215
|
+
<Choices/>
|
216
|
+
<Unit>kg</Unit>
|
217
|
+
<PerUnit>MWh</PerUnit>
|
218
|
+
<DrillDown>false</DrillDown>
|
219
|
+
<FromData>true</FromData>
|
220
|
+
<FromProfile>false</FromProfile>
|
221
|
+
<Versions>
|
222
|
+
<Version>
|
223
|
+
<Version>2.0</Version>
|
224
|
+
</Version>
|
225
|
+
</Versions>
|
226
|
+
</ItemValueDefinition>
|
227
|
+
<ItemValueDefinition created="2009-08-31T12:41:22Z" modified="2009-08-31T12:41:22Z" status="ACTIVE" uid="7ADB7AF0581D">
|
228
|
+
<Name>Longitude</Name>
|
229
|
+
<Path>longitude</Path>
|
230
|
+
<Value/>
|
231
|
+
<WikiDoc/>
|
232
|
+
<ItemDefinition uid="472D78F6584E">
|
233
|
+
<Name>Power Stations And Stuff</Name>
|
234
|
+
</ItemDefinition>
|
235
|
+
<Usages/>
|
236
|
+
<Choices/>
|
237
|
+
<DrillDown>false</DrillDown>
|
238
|
+
<FromData>true</FromData>
|
239
|
+
<FromProfile>false</FromProfile>
|
240
|
+
<Versions>
|
241
|
+
<Version>
|
242
|
+
<Version>2.0</Version>
|
243
|
+
</Version>
|
244
|
+
</Versions>
|
245
|
+
</ItemValueDefinition>
|
246
|
+
<ItemValueDefinition created="2009-08-31T12:41:21Z" modified="2009-08-31T12:41:21Z" status="ACTIVE" uid="C364C5EAA05C">
|
247
|
+
<Name>Future carbon emissions</Name>
|
248
|
+
<Path>futureCarbon</Path>
|
249
|
+
<Value/>
|
250
|
+
<WikiDoc/>
|
251
|
+
<ItemDefinition uid="472D78F6584E">
|
252
|
+
<Name>Power Stations And Stuff</Name>
|
253
|
+
</ItemDefinition>
|
254
|
+
<Usages/>
|
255
|
+
<Choices/>
|
256
|
+
<Unit>t</Unit>
|
257
|
+
<PerUnit>year</PerUnit>
|
258
|
+
<DrillDown>false</DrillDown>
|
259
|
+
<FromData>true</FromData>
|
260
|
+
<FromProfile>false</FromProfile>
|
261
|
+
<Versions>
|
262
|
+
<Version>
|
263
|
+
<Version>2.0</Version>
|
264
|
+
</Version>
|
265
|
+
</Versions>
|
266
|
+
</ItemValueDefinition>
|
267
|
+
<ItemValueDefinition created="2009-08-31T12:41:22Z" modified="2009-08-31T12:41:22Z" status="ACTIVE" uid="A7D3C2000820">
|
268
|
+
<Name>Country</Name>
|
269
|
+
<Path>country</Path>
|
270
|
+
<Value/>
|
271
|
+
<WikiDoc/>
|
272
|
+
<ItemDefinition uid="472D78F6584E">
|
273
|
+
<Name>Power Stations And Stuff</Name>
|
274
|
+
</ItemDefinition>
|
275
|
+
<Usages/>
|
276
|
+
<Choices/>
|
277
|
+
<DrillDown>false</DrillDown>
|
278
|
+
<FromData>true</FromData>
|
279
|
+
<FromProfile>false</FromProfile>
|
280
|
+
<Versions>
|
281
|
+
<Version>
|
282
|
+
<Version>2.0</Version>
|
283
|
+
</Version>
|
284
|
+
</Versions>
|
285
|
+
</ItemValueDefinition>
|
286
|
+
<ItemValueDefinition created="2009-08-31T12:41:23Z" modified="2009-08-31T12:41:23Z" status="ACTIVE" uid="DEDB159A517A">
|
287
|
+
<Name>County ID</Name>
|
288
|
+
<Path>countyId</Path>
|
289
|
+
<Value/>
|
290
|
+
<WikiDoc/>
|
291
|
+
<ItemDefinition uid="472D78F6584E">
|
292
|
+
<Name>Power Stations And Stuff</Name>
|
293
|
+
</ItemDefinition>
|
294
|
+
<Usages/>
|
295
|
+
<Choices/>
|
296
|
+
<DrillDown>false</DrillDown>
|
297
|
+
<FromData>true</FromData>
|
298
|
+
<FromProfile>false</FromProfile>
|
299
|
+
<Versions>
|
300
|
+
<Version>
|
301
|
+
<Version>2.0</Version>
|
302
|
+
</Version>
|
303
|
+
</Versions>
|
304
|
+
</ItemValueDefinition>
|
305
|
+
<ItemValueDefinition created="2009-08-31T12:41:21Z" modified="2009-08-31T12:41:21Z" status="ACTIVE" uid="D0752FBDBF15">
|
306
|
+
<Name>Past carbon emissions</Name>
|
307
|
+
<Path>pastCarbon</Path>
|
308
|
+
<Value/>
|
309
|
+
<WikiDoc/>
|
310
|
+
<ItemDefinition uid="472D78F6584E">
|
311
|
+
<Name>Power Stations And Stuff</Name>
|
312
|
+
</ItemDefinition>
|
313
|
+
<Usages/>
|
314
|
+
<Choices/>
|
315
|
+
<Unit>t</Unit>
|
316
|
+
<PerUnit>year</PerUnit>
|
317
|
+
<DrillDown>false</DrillDown>
|
318
|
+
<FromData>true</FromData>
|
319
|
+
<FromProfile>false</FromProfile>
|
320
|
+
<Versions>
|
321
|
+
<Version>
|
322
|
+
<Version>2.0</Version>
|
323
|
+
</Version>
|
324
|
+
</Versions>
|
325
|
+
</ItemValueDefinition>
|
326
|
+
<ItemValueDefinition created="2009-08-31T12:41:23Z" modified="2009-08-31T12:41:23Z" status="ACTIVE" uid="94819D871D39">
|
327
|
+
<Name>Congressional district ID</Name>
|
328
|
+
<Path>congDistId</Path>
|
329
|
+
<Value/>
|
330
|
+
<WikiDoc/>
|
331
|
+
<ItemDefinition uid="472D78F6584E">
|
332
|
+
<Name>Power Stations And Stuff</Name>
|
333
|
+
</ItemDefinition>
|
334
|
+
<Usages/>
|
335
|
+
<Choices/>
|
336
|
+
<DrillDown>false</DrillDown>
|
337
|
+
<FromData>true</FromData>
|
338
|
+
<FromProfile>false</FromProfile>
|
339
|
+
<Versions>
|
340
|
+
<Version>
|
341
|
+
<Version>2.0</Version>
|
342
|
+
</Version>
|
343
|
+
</Versions>
|
344
|
+
</ItemValueDefinition>
|
345
|
+
<ItemValueDefinition created="2009-08-31T12:41:20Z" modified="2009-08-31T12:41:20Z" status="ACTIVE" uid="229C05C66C68">
|
346
|
+
<Name>Plant ID code</Name>
|
347
|
+
<Path>plantId</Path>
|
348
|
+
<Value/>
|
349
|
+
<WikiDoc/>
|
350
|
+
<ItemDefinition uid="472D78F6584E">
|
351
|
+
<Name>Power Stations And Stuff</Name>
|
352
|
+
</ItemDefinition>
|
353
|
+
<Usages/>
|
354
|
+
<Choices/>
|
355
|
+
<DrillDown>false</DrillDown>
|
356
|
+
<FromData>true</FromData>
|
357
|
+
<FromProfile>false</FromProfile>
|
358
|
+
<Versions>
|
359
|
+
<Version>
|
360
|
+
<Version>2.0</Version>
|
361
|
+
</Version>
|
362
|
+
</Versions>
|
363
|
+
</ItemValueDefinition>
|
364
|
+
<ItemValueDefinition created="2009-08-31T12:41:21Z" modified="2009-08-31T12:41:21Z" status="ACTIVE" uid="0098218C36A3">
|
365
|
+
<Name>Present energy output</Name>
|
366
|
+
<Path>presentEnergy</Path>
|
367
|
+
<Value/>
|
368
|
+
<WikiDoc/>
|
369
|
+
<ItemDefinition uid="472D78F6584E">
|
370
|
+
<Name>Power Stations And Stuff</Name>
|
371
|
+
</ItemDefinition>
|
372
|
+
<Usages/>
|
373
|
+
<Choices/>
|
374
|
+
<Unit>MWh</Unit>
|
375
|
+
<PerUnit>year</PerUnit>
|
376
|
+
<DrillDown>false</DrillDown>
|
377
|
+
<FromData>true</FromData>
|
378
|
+
<FromProfile>false</FromProfile>
|
379
|
+
<Versions>
|
380
|
+
<Version>
|
381
|
+
<Version>2.0</Version>
|
382
|
+
</Version>
|
383
|
+
</Versions>
|
384
|
+
</ItemValueDefinition>
|
385
|
+
<ItemValueDefinition created="2009-08-31T12:41:22Z" modified="2009-08-31T12:41:22Z" status="ACTIVE" uid="F3C9FB602D55">
|
386
|
+
<Name>Latitude</Name>
|
387
|
+
<Path>latitude</Path>
|
388
|
+
<Value/>
|
389
|
+
<WikiDoc/>
|
390
|
+
<ItemDefinition uid="472D78F6584E">
|
391
|
+
<Name>Power Stations And Stuff</Name>
|
392
|
+
</ItemDefinition>
|
393
|
+
<Usages/>
|
394
|
+
<Choices/>
|
395
|
+
<DrillDown>false</DrillDown>
|
396
|
+
<FromData>true</FromData>
|
397
|
+
<FromProfile>false</FromProfile>
|
398
|
+
<Versions>
|
399
|
+
<Version>
|
400
|
+
<Version>2.0</Version>
|
401
|
+
</Version>
|
402
|
+
</Versions>
|
403
|
+
</ItemValueDefinition>
|
404
|
+
<ItemValueDefinition created="2009-08-31T12:41:21Z" modified="2009-08-31T12:41:21Z" status="ACTIVE" uid="11866CFC5BA2">
|
405
|
+
<Name>Present carbon intensity</Name>
|
406
|
+
<Path>presentIntensity</Path>
|
407
|
+
<Value/>
|
408
|
+
<WikiDoc/>
|
409
|
+
<ItemDefinition uid="472D78F6584E">
|
410
|
+
<Name>Power Stations And Stuff</Name>
|
411
|
+
</ItemDefinition>
|
412
|
+
<Usages/>
|
413
|
+
<Choices/>
|
414
|
+
<Unit>kg</Unit>
|
415
|
+
<PerUnit>MWh</PerUnit>
|
416
|
+
<DrillDown>false</DrillDown>
|
417
|
+
<FromData>true</FromData>
|
418
|
+
<FromProfile>false</FromProfile>
|
419
|
+
<Versions>
|
420
|
+
<Version>
|
421
|
+
<Version>2.0</Version>
|
422
|
+
</Version>
|
423
|
+
</Versions>
|
424
|
+
</ItemValueDefinition>
|
425
|
+
<ItemValueDefinition created="2009-08-31T12:41:21Z" modified="2009-08-31T12:41:21Z" status="ACTIVE" uid="40E4D4E62A37">
|
426
|
+
<Name>Present carbon emissions</Name>
|
427
|
+
<Path>presentCarbon</Path>
|
428
|
+
<Value/>
|
429
|
+
<WikiDoc/>
|
430
|
+
<ItemDefinition uid="472D78F6584E">
|
431
|
+
<Name>Power Stations And Stuff</Name>
|
432
|
+
</ItemDefinition>
|
433
|
+
<Usages/>
|
434
|
+
<Choices/>
|
435
|
+
<Unit>t</Unit>
|
436
|
+
<PerUnit>year</PerUnit>
|
437
|
+
<DrillDown>false</DrillDown>
|
438
|
+
<FromData>true</FromData>
|
439
|
+
<FromProfile>false</FromProfile>
|
440
|
+
<Versions>
|
441
|
+
<Version>
|
442
|
+
<Version>2.0</Version>
|
443
|
+
</Version>
|
444
|
+
</Versions>
|
445
|
+
</ItemValueDefinition>
|
446
|
+
<ItemValueDefinition created="2009-08-31T12:41:21Z" modified="2009-08-31T12:41:21Z" status="ACTIVE" uid="E45DD1341CBD">
|
447
|
+
<Name>Past energy output</Name>
|
448
|
+
<Path>pastEnergy</Path>
|
449
|
+
<Value/>
|
450
|
+
<WikiDoc/>
|
451
|
+
<ItemDefinition uid="472D78F6584E">
|
452
|
+
<Name>Power Stations And Stuff</Name>
|
453
|
+
</ItemDefinition>
|
454
|
+
<Usages/>
|
455
|
+
<Choices/>
|
456
|
+
<Unit>MWh</Unit>
|
457
|
+
<PerUnit>year</PerUnit>
|
458
|
+
<DrillDown>false</DrillDown>
|
459
|
+
<FromData>true</FromData>
|
460
|
+
<FromProfile>false</FromProfile>
|
461
|
+
<Versions>
|
462
|
+
<Version>
|
463
|
+
<Version>2.0</Version>
|
464
|
+
</Version>
|
465
|
+
</Versions>
|
466
|
+
</ItemValueDefinition>
|
467
|
+
<ItemValueDefinition created="2009-08-31T12:41:23Z" modified="2009-08-31T12:41:23Z" status="ACTIVE" uid="71A7714A7AE5">
|
468
|
+
<Name>Metropolitan area ID</Name>
|
469
|
+
<Path>metroAreaId</Path>
|
470
|
+
<Value/>
|
471
|
+
<WikiDoc/>
|
472
|
+
<ItemDefinition uid="472D78F6584E">
|
473
|
+
<Name>Power Stations And Stuff</Name>
|
474
|
+
</ItemDefinition>
|
475
|
+
<Usages/>
|
476
|
+
<Choices/>
|
477
|
+
<DrillDown>false</DrillDown>
|
478
|
+
<FromData>true</FromData>
|
479
|
+
<FromProfile>false</FromProfile>
|
480
|
+
<Versions>
|
481
|
+
<Version>
|
482
|
+
<Version>2.0</Version>
|
483
|
+
</Version>
|
484
|
+
</Versions>
|
485
|
+
</ItemValueDefinition>
|
486
|
+
<ItemValueDefinition created="2009-08-31T12:41:21Z" modified="2009-08-31T12:41:21Z" status="ACTIVE" uid="E810C395DF4C">
|
487
|
+
<Name>Future energy output</Name>
|
488
|
+
<Path>futureEnergy</Path>
|
489
|
+
<Value/>
|
490
|
+
<WikiDoc/>
|
491
|
+
<ItemDefinition uid="472D78F6584E">
|
492
|
+
<Name>Power Stations And Stuff</Name>
|
493
|
+
</ItemDefinition>
|
494
|
+
<Usages/>
|
495
|
+
<Choices/>
|
496
|
+
<Unit>MWh</Unit>
|
497
|
+
<PerUnit>year</PerUnit>
|
498
|
+
<DrillDown>false</DrillDown>
|
499
|
+
<FromData>true</FromData>
|
500
|
+
<FromProfile>false</FromProfile>
|
501
|
+
<Versions>
|
502
|
+
<Version>
|
503
|
+
<Version>2.0</Version>
|
504
|
+
</Version>
|
505
|
+
</Versions>
|
506
|
+
</ItemValueDefinition>
|
507
|
+
<ItemValueDefinition created="2009-08-31T12:41:20Z" modified="2009-08-31T12:41:20Z" status="ACTIVE" uid="BCF4F7691811">
|
508
|
+
<Name>City</Name>
|
509
|
+
<Path>city</Path>
|
510
|
+
<Value/>
|
511
|
+
<WikiDoc/>
|
512
|
+
<ItemDefinition uid="472D78F6584E">
|
513
|
+
<Name>Power Stations And Stuff</Name>
|
514
|
+
</ItemDefinition>
|
515
|
+
<Usages/>
|
516
|
+
<Choices/>
|
517
|
+
<DrillDown>true</DrillDown>
|
518
|
+
<FromData>true</FromData>
|
519
|
+
<FromProfile>false</FromProfile>
|
520
|
+
<Versions>
|
521
|
+
<Version>
|
522
|
+
<Version>2.0</Version>
|
523
|
+
</Version>
|
524
|
+
</Versions>
|
525
|
+
</ItemValueDefinition>
|
526
|
+
<ItemValueDefinition created="2009-08-31T12:41:22Z" modified="2009-08-31T12:41:22Z" status="ACTIVE" uid="1B4360D5F318">
|
527
|
+
<Name>Continent ID</Name>
|
528
|
+
<Path>continentId</Path>
|
529
|
+
<Value/>
|
530
|
+
<WikiDoc/>
|
531
|
+
<ItemDefinition uid="472D78F6584E">
|
532
|
+
<Name>Power Stations And Stuff</Name>
|
533
|
+
</ItemDefinition>
|
534
|
+
<Usages/>
|
535
|
+
<Choices/>
|
536
|
+
<DrillDown>false</DrillDown>
|
537
|
+
<FromData>true</FromData>
|
538
|
+
<FromProfile>false</FromProfile>
|
539
|
+
<Versions>
|
540
|
+
<Version>
|
541
|
+
<Version>2.0</Version>
|
542
|
+
</Version>
|
543
|
+
</Versions>
|
544
|
+
</ItemValueDefinition>
|
545
|
+
<ItemValueDefinition created="2009-08-31T12:41:20Z" modified="2009-08-31T12:41:20Z" status="ACTIVE" uid="83A00192FE09">
|
546
|
+
<Name>Metropolitan area</Name>
|
547
|
+
<Path>metroArea</Path>
|
548
|
+
<Value/>
|
549
|
+
<WikiDoc/>
|
550
|
+
<ItemDefinition uid="472D78F6584E">
|
551
|
+
<Name>Power Stations And Stuff</Name>
|
552
|
+
</ItemDefinition>
|
553
|
+
<Usages/>
|
554
|
+
<Choices/>
|
555
|
+
<DrillDown>true</DrillDown>
|
556
|
+
<FromData>true</FromData>
|
557
|
+
<FromProfile>false</FromProfile>
|
558
|
+
<Versions>
|
559
|
+
<Version>
|
560
|
+
<Version>2.0</Version>
|
561
|
+
</Version>
|
562
|
+
</Versions>
|
563
|
+
</ItemValueDefinition>
|
564
|
+
<ItemValueDefinition created="2009-08-31T12:41:22Z" modified="2009-08-31T12:41:22Z" status="ACTIVE" uid="3FFA0A9C34D0">
|
565
|
+
<Name>Country ID</Name>
|
566
|
+
<Path>countryId</Path>
|
567
|
+
<Value/>
|
568
|
+
<WikiDoc/>
|
569
|
+
<ItemDefinition uid="472D78F6584E">
|
570
|
+
<Name>Power Stations And Stuff</Name>
|
571
|
+
</ItemDefinition>
|
572
|
+
<Usages/>
|
573
|
+
<Choices/>
|
574
|
+
<DrillDown>false</DrillDown>
|
575
|
+
<FromData>true</FromData>
|
576
|
+
<FromProfile>false</FromProfile>
|
577
|
+
<Versions>
|
578
|
+
<Version>
|
579
|
+
<Version>2.0</Version>
|
580
|
+
</Version>
|
581
|
+
</Versions>
|
582
|
+
</ItemValueDefinition>
|
583
|
+
<ItemValueDefinition created="2009-08-31T12:41:19Z" modified="2009-08-31T12:41:19Z" status="ACTIVE" uid="2B0A0E540D4C">
|
584
|
+
<Name>State</Name>
|
585
|
+
<Path>state</Path>
|
586
|
+
<Value/>
|
587
|
+
<WikiDoc/>
|
588
|
+
<ItemDefinition uid="472D78F6584E">
|
589
|
+
<Name>Power Stations And Stuff</Name>
|
590
|
+
</ItemDefinition>
|
591
|
+
<Usages/>
|
592
|
+
<Choices/>
|
593
|
+
<DrillDown>true</DrillDown>
|
594
|
+
<FromData>true</FromData>
|
595
|
+
<FromProfile>false</FromProfile>
|
596
|
+
<Versions>
|
597
|
+
<Version>
|
598
|
+
<Version>2.0</Version>
|
599
|
+
</Version>
|
600
|
+
</Versions>
|
601
|
+
</ItemValueDefinition>
|
602
|
+
</ItemValueDefinitions>
|
603
|
+
<Status>OK</Status>
|
604
|
+
<Version>3.1.0</Version>
|
605
|
+
</Representation>
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?><Representation><ItemValueDefinitions><ItemValueDefinition created="2008-04-25T13:49:21Z" modified="2011-02-16T08:40:08Z" status="ACTIVE" uid="9813267B616E"><Name>Country</Name><Path>country</Path><Value/><WikiDoc>Country in which journey was taken</WikiDoc><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="CCEB59CACE1B"><Name>text</Name><ValueType>TEXT</ValueType></ValueDefinition><Usages><Usage active="true"><Name>byMultipleJourneys</Name><Type>OPTIONAL</Type></Usage><Usage active="true"><Name>byTotalDistance</Name><Type>OPTIONAL</Type></Usage></Usages><Choices/><DrillDown>false</DrillDown><FromData>false</FromData><FromProfile>true</FromProfile><Versions><Version><Version>1.0</Version></Version><Version><Version>2.0</Version></Version></Versions></ItemValueDefinition><ItemValueDefinition created="2009-03-20T00:00:00Z" modified="2009-03-20T00:00:00Z" status="ACTIVE" uid="6CBF739E12F0"><Name>Distance</Name><Path>distance</Path><Value/><WikiDoc/><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="45433E48B39F"><Name>amount</Name><ValueType>DECIMAL</ValueType></ValueDefinition><Usages/><Choices/><Unit>km</Unit><PerUnit>year</PerUnit><DrillDown>false</DrillDown><FromData>false</FromData><FromProfile>true</FromProfile><Versions><Version><Version>2.0</Version></Version></Versions></ItemValueDefinition><ItemValueDefinition created="2007-07-27T07:30:44Z" modified="2007-07-27T07:30:44Z" status="ACTIVE" uid="6334117D28A0"><Name>Distance Km Per Month</Name><Path>distanceKmPerMonth</Path><Value/><WikiDoc/><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="B691497F1CF2"><Name>kM</Name><ValueType>DECIMAL</ValueType></ValueDefinition><Usages/><Choices/><Unit>km</Unit><PerUnit>month</PerUnit><DrillDown>false</DrillDown><FromData>false</FromData><FromProfile>true</FromProfile><Versions><Version><Version>1.0</Version></Version></Versions></ItemValueDefinition><ItemValueDefinition created="2009-03-04T16:38:16Z" modified="2009-03-04T16:38:16Z" status="ACTIVE" uid="98EA75911467"><Name>Distance per journey</Name><Path>distancePerJourney</Path><Value/><WikiDoc/><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="45433E48B39F"><Name>amount</Name><ValueType>DECIMAL</ValueType></ValueDefinition><Usages/><Choices/><Unit>km</Unit><DrillDown>false</DrillDown><FromData>false</FromData><FromProfile>true</FromProfile><Versions><Version><Version>1.0</Version></Version></Versions></ItemValueDefinition><ItemValueDefinition created="2009-03-20T00:00:00Z" modified="2009-03-20T00:00:00Z" status="ACTIVE" uid="A8A212610A57"><Name>Distance per journey</Name><Path>distancePerJourney</Path><Value/><WikiDoc/><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="45433E48B39F"><Name>amount</Name><ValueType>DECIMAL</ValueType></ValueDefinition><Usages/><Choices/><Unit>km</Unit><DrillDown>false</DrillDown><FromData>false</FromData><FromProfile>true</FromProfile><Versions><Version><Version>2.0</Version></Version></Versions></ItemValueDefinition><ItemValueDefinition created="2009-03-04T16:38:15Z" modified="2009-03-04T16:38:15Z" status="ACTIVE" uid="584BEA802996"><Name>Is return</Name><Path>isReturn</Path><Value/><WikiDoc/><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="CCEB59CACE1B"><Name>text</Name><ValueType>TEXT</ValueType></ValueDefinition><Usages/><Choices/><DrillDown>false</DrillDown><FromData>false</FromData><FromProfile>true</FromProfile><Versions><Version><Version>1.0</Version></Version><Version><Version>2.0</Version></Version></Versions></ItemValueDefinition><ItemValueDefinition created="2009-03-04T16:38:16Z" modified="2009-03-04T16:38:16Z" status="ACTIVE" uid="2F76AB4E3C0F"><Name>Journey frequency</Name><Path>journeyFrequency</Path><Value/><WikiDoc/><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="CCEB59CACE1B"><Name>text</Name><ValueType>TEXT</ValueType></ValueDefinition><Usages/><Choices/><DrillDown>false</DrillDown><FromData>false</FromData><FromProfile>true</FromProfile><Versions><Version><Version>1.0</Version></Version><Version><Version>2.0</Version></Version></Versions></ItemValueDefinition><ItemValueDefinition created="2007-07-27T07:30:44Z" modified="2007-07-27T07:30:44Z" status="ACTIVE" uid="F5550D71085F"><Name>kgCO2 Per Passenger Km</Name><Path>kgCO2PerKmPassenger</Path><Value/><WikiDoc/><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="996AE5477B3F"><Name>kgCO2PerKm</Name><ValueType>DECIMAL</ValueType></ValueDefinition><Usages/><Choices/><DrillDown>false</DrillDown><FromData>true</FromData><FromProfile>false</FromProfile><Versions><Version><Version>1.0</Version></Version><Version><Version>2.0</Version></Version></Versions></ItemValueDefinition><ItemValueDefinition created="2008-04-25T13:44:10Z" modified="2008-04-25T13:44:26Z" status="ACTIVE" uid="263DE76AF8AA"><Name>kgCO2 Per Passenger Km IE</Name><Path>kgCO2PerPassengerKmIE</Path><Value/><WikiDoc/><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="996AE5477B3F"><Name>kgCO2PerKm</Name><ValueType>DECIMAL</ValueType></ValueDefinition><Usages/><Choices/><DrillDown>false</DrillDown><FromData>true</FromData><FromProfile>false</FromProfile><Versions><Version><Version>1.0</Version></Version><Version><Version>2.0</Version></Version></Versions></ItemValueDefinition><ItemValueDefinition created="2009-03-04T16:38:15Z" modified="2009-03-04T16:38:15Z" status="ACTIVE" uid="41EC337E5C79"><Name>Number of journeys</Name><Path>numberOfJourneys</Path><Value/><WikiDoc/><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="45433E48B39F"><Name>amount</Name><ValueType>DECIMAL</ValueType></ValueDefinition><Usages/><Choices/><DrillDown>false</DrillDown><FromData>false</FromData><FromProfile>true</FromProfile><Versions><Version><Version>1.0</Version></Version><Version><Version>2.0</Version></Version></Versions></ItemValueDefinition><ItemValueDefinition created="2009-03-24T20:37:52Z" modified="2011-02-16T08:40:09Z" status="ACTIVE" uid="B0F02E544603"><Name>Number of passengers</Name><Path>numberOfPassengers</Path><Value/><WikiDoc>Number of passengers to be included in calculation</WikiDoc><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="45433E48B39F"><Name>amount</Name><ValueType>DECIMAL</ValueType></ValueDefinition><Usages><Usage active="true"><Name>byMultipleJourneys</Name><Type>OPTIONAL</Type></Usage><Usage active="true"><Name>byTotalDistance</Name><Type>OPTIONAL</Type></Usage></Usages><Choices/><DrillDown>false</DrillDown><FromData>false</FromData><FromProfile>true</FromProfile><Versions><Version><Version>1.0</Version></Version><Version><Version>2.0</Version></Version></Versions></ItemValueDefinition><ItemValueDefinition created="2007-07-27T07:30:44Z" modified="2007-07-27T07:30:44Z" status="ACTIVE" uid="9BAFC976044B"><Name>Source</Name><Path>source</Path><Value/><WikiDoc/><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="CCEB59CACE1B"><Name>text</Name><ValueType>TEXT</ValueType></ValueDefinition><Usages/><Choices/><DrillDown>false</DrillDown><FromData>true</FromData><FromProfile>false</FromProfile><Versions><Version><Version>1.0</Version></Version><Version><Version>2.0</Version></Version></Versions></ItemValueDefinition><ItemValueDefinition created="2007-07-27T07:30:44Z" modified="2007-07-27T07:30:44Z" status="ACTIVE" uid="D2AB505D2D91"><Name>Type</Name><Path>type</Path><Value/><WikiDoc/><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="CCEB59CACE1B"><Name>text</Name><ValueType>TEXT</ValueType></ValueDefinition><Usages/><Choices/><DrillDown>true</DrillDown><FromData>true</FromData><FromProfile>false</FromProfile><Versions><Version><Version>1.0</Version></Version><Version><Version>2.0</Version></Version></Versions></ItemValueDefinition><ItemValueDefinition created="2009-03-04T16:38:16Z" modified="2009-03-04T16:38:16Z" status="ACTIVE" uid="FE166C7602BB"><Name>Typical journey distance</Name><Path>typicalJourneyDistance</Path><Value/><WikiDoc/><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="45433E48B39F"><Name>amount</Name><ValueType>DECIMAL</ValueType></ValueDefinition><Usages/><Choices/><DrillDown>false</DrillDown><FromData>true</FromData><FromProfile>false</FromProfile><Versions><Version><Version>1.0</Version></Version><Version><Version>2.0</Version></Version></Versions></ItemValueDefinition><ItemValueDefinition created="2009-03-04T16:38:16Z" modified="2009-03-04T16:38:16Z" status="ACTIVE" uid="28D0B8C4F52A"><Name>Use typical distance</Name><Path>useTypicalDistance</Path><Value/><WikiDoc/><ItemDefinition uid="BD88D30D1214"><Name>Bus Generic</Name></ItemDefinition><ValueDefinition uid="CCEB59CACE1B"><Name>text</Name><ValueType>TEXT</ValueType></ValueDefinition><Usages/><Choices/><DrillDown>false</DrillDown><FromData>false</FromData><FromProfile>true</FromProfile><Versions><Version><Version>1.0</Version></Version><Version><Version>2.0</Version></Version></Versions></ItemValueDefinition></ItemValueDefinitions><Status>OK</Status><Version>3.3.0</Version></Representation>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<Representation>
|
3
|
+
<ReturnValueDefinition uid="C21026DD57C5">
|
4
|
+
<ItemDefinition uid="5648C049F599">
|
5
|
+
<Name>AMEEM Prexistent Test Itemdef</Name>
|
6
|
+
</ItemDefinition>
|
7
|
+
<ValueDefinition uid="45433E48B39F">
|
8
|
+
<Name>amount</Name>
|
9
|
+
<ValueType>DECIMAL</ValueType>
|
10
|
+
</ValueDefinition>
|
11
|
+
<Unit>kg</Unit>
|
12
|
+
<PerUnit>month</PerUnit>
|
13
|
+
<Type>CO2</Type>
|
14
|
+
<Default>false</Default>
|
15
|
+
</ReturnValueDefinition>
|
16
|
+
<Status>OK</Status>
|
17
|
+
<Version>3.1.0</Version>
|
18
|
+
</Representation>
|