libis-services 0.1.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +36 -0
- data/Rakefile +6 -0
- data/lib/libis/services/aleph/search.rb +157 -0
- data/lib/libis/services/alma/web_service.rb +36 -0
- data/lib/libis/services/collective_access/cataloguing.rb +48 -0
- data/lib/libis/services/collective_access/connector.rb +151 -0
- data/lib/libis/services/collective_access/item_info.rb +36 -0
- data/lib/libis/services/collective_access/search.rb +26 -0
- data/lib/libis/services/collective_access/service.rb +80 -0
- data/lib/libis/services/collective_access.rb +1 -0
- data/lib/libis/services/digitool/digital_entity_manager.rb +223 -0
- data/lib/libis/services/digitool/digitool_connector.rb +46 -0
- data/lib/libis/services/digitool/meta_data_manager.rb +193 -0
- data/lib/libis/services/extend/http_fetch.rb +63 -0
- data/lib/libis/services/generic_search.rb +38 -0
- data/lib/libis/services/http_error.rb +21 -0
- data/lib/libis/services/oracle_client.rb +47 -0
- data/lib/libis/services/primo/limo.rb +33 -0
- data/lib/libis/services/primo/search.rb +46 -0
- data/lib/libis/services/primo.rb +2 -0
- data/lib/libis/services/rest_client.rb +66 -0
- data/lib/libis/services/rosetta/client.rb +108 -0
- data/lib/libis/services/rosetta/collection_handler.rb +45 -0
- data/lib/libis/services/rosetta/collection_info.rb +44 -0
- data/lib/libis/services/rosetta/deposit_activity.rb +48 -0
- data/lib/libis/services/rosetta/deposit_handler.rb +187 -0
- data/lib/libis/services/rosetta/ie.rb +19 -0
- data/lib/libis/services/rosetta/ie_handler.rb +29 -0
- data/lib/libis/services/rosetta/oai_pmh.rb +48 -0
- data/lib/libis/services/rosetta/oai_set.rb +21 -0
- data/lib/libis/services/rosetta/pds_handler.rb +60 -0
- data/lib/libis/services/rosetta/producer.rb +71 -0
- data/lib/libis/services/rosetta/producer_handler.rb +125 -0
- data/lib/libis/services/rosetta/service.rb +403 -0
- data/lib/libis/services/rosetta/sip.rb +26 -0
- data/lib/libis/services/rosetta/sip_handler.rb +31 -0
- data/lib/libis/services/rosetta/user.rb +70 -0
- data/lib/libis/services/rosetta/user_manager.rb +28 -0
- data/lib/libis/services/rosetta.rb +2 -0
- data/lib/libis/services/scope/search.rb +46 -0
- data/lib/libis/services/search_factory.rb +40 -0
- data/lib/libis/services/service_error.rb +16 -0
- data/lib/libis/services/sharepoint/connector.rb +236 -0
- data/lib/libis/services/sharepoint/search.rb +19 -0
- data/lib/libis/services/soap_client.rb +57 -0
- data/lib/libis/services/soap_error.rb +22 -0
- data/lib/libis/services/version.rb +5 -0
- data/lib/libis/services.rb +22 -0
- data/lib/libis-services.rb +1 -0
- data/libis-services.gemspec +40 -0
- data/spec/alma_service_spec.rb +104 -0
- data/spec/ie_data.rb +726 -0
- data/spec/primo_limo_spec.rb +363 -0
- data/spec/primo_search_spec.rb +39 -0
- data/spec/rosetta_collection_spec.rb +206 -0
- data/spec/rosetta_deposit_spec.rb +82 -0
- data/spec/rosetta_ie_spec.rb +54 -0
- data/spec/rosetta_oai_spec.rb +52 -0
- data/spec/rosetta_pds_spec.rb +79 -0
- data/spec/rosetta_producer_spec.rb +270 -0
- data/spec/rosetta_sip_spec.rb +39 -0
- data/spec/spec_helper.rb +28 -0
- metadata +317 -0
data/spec/ie_data.rb
ADDED
@@ -0,0 +1,726 @@
|
|
1
|
+
# noinspection RubyQuotedStringsInspection
|
2
|
+
def expected_ies
|
3
|
+
{
|
4
|
+
:amd => {
|
5
|
+
:tech => {
|
6
|
+
"internalIdentifier" => [
|
7
|
+
{"internalIdentifierType" => "SIPID", "internalIdentifierValue" => "55010"},
|
8
|
+
{"internalIdentifierType" => "PID",
|
9
|
+
"internalIdentifierValue" => "IE403595"},
|
10
|
+
{"internalIdentifierType" => "DepositSetID",
|
11
|
+
"internalIdentifierValue" => "55662"}
|
12
|
+
],
|
13
|
+
"objectCharacteristics" => [
|
14
|
+
{
|
15
|
+
"objectType" => "INTELLECTUAL_ENTITY",
|
16
|
+
"creationDate" => "2015-10-13 14:41:56",
|
17
|
+
"createdBy" => "testadmin",
|
18
|
+
"modificationDate" => "2015-11-18 16:22:13",
|
19
|
+
"modifiedBy" => "testadmin",
|
20
|
+
"owner" => "CRS00.TESTINS.TESTDEP",
|
21
|
+
"groupID" => "ABC123"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"generalIECharacteristics" => [
|
25
|
+
{
|
26
|
+
"status" => "ACTIVE",
|
27
|
+
"submissionReason" => "Ingest",
|
28
|
+
"IEEntityType" => "KADOC_PhotoAlbum",
|
29
|
+
"Version" => "100200300",
|
30
|
+
"UserDefinedA" => "AAAA",
|
31
|
+
"UserDefinedB" => "BBBB",
|
32
|
+
"UserDefinedC" => "CCCC"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"retentionPolicy" => [
|
36
|
+
{
|
37
|
+
"policyId" => "NO_RETENTION",
|
38
|
+
"policyDescription" => "No Retention Policy"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"webHarvesting" => [
|
42
|
+
{
|
43
|
+
"primarySeedURL" =>
|
44
|
+
"http://images.freeimages.com/images/previews/a9b/books-1419613.jpg",
|
45
|
+
"WCTIdentifier" => "0000",
|
46
|
+
"targetName" => "books-1419613.jpg",
|
47
|
+
"group" => "library/books",
|
48
|
+
"harvestDate" => "30/10/2015",
|
49
|
+
"harvestTime" => "15:30"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"Collection" => [
|
53
|
+
{
|
54
|
+
"collectionId" => "23082442",
|
55
|
+
"collectionParentId" => "",
|
56
|
+
"name" => "",
|
57
|
+
"externalId" => "9999",
|
58
|
+
"externalSystem" => "CollectiveAccess",
|
59
|
+
"publish" => "",
|
60
|
+
"navigate" => ""
|
61
|
+
}
|
62
|
+
]
|
63
|
+
},
|
64
|
+
:rights => {
|
65
|
+
"accessRightsPolicy" => [
|
66
|
+
{
|
67
|
+
"policyId" => "50740",
|
68
|
+
"policyParameters" => "",
|
69
|
+
"policyDescription" => "AR_IP_RANGE_KUL"
|
70
|
+
}
|
71
|
+
]
|
72
|
+
}
|
73
|
+
},
|
74
|
+
:dmd => {
|
75
|
+
"text" => "\n ",
|
76
|
+
"title" => "Denemarken 2015"
|
77
|
+
},
|
78
|
+
}
|
79
|
+
end
|
80
|
+
|
81
|
+
def expected_mets
|
82
|
+
# noinspection RubyQuotedStringsInspection
|
83
|
+
expected_ies.merge(
|
84
|
+
"Large" => {
|
85
|
+
:id => "REP403621",
|
86
|
+
:amd => {
|
87
|
+
:tech => {
|
88
|
+
"objectCharacteristics" => [
|
89
|
+
{
|
90
|
+
"objectType" => "REPRESENTATION",
|
91
|
+
"creationDate" => "2015-10-31 11:23:13",
|
92
|
+
"createdBy" => "testadmin",
|
93
|
+
"modificationDate" => "2015-10-31 11:43:10",
|
94
|
+
"modifiedBy" => "testadmin",
|
95
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
96
|
+
}
|
97
|
+
],
|
98
|
+
"generalRepCharacteristics" => [
|
99
|
+
{
|
100
|
+
"usageType" => "VIEW",
|
101
|
+
"preservationType" => "DERIVATIVE_COPY",
|
102
|
+
"label" => "Large",
|
103
|
+
"RepresentationCode" => "HIGH"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"internalIdentifier" => [
|
107
|
+
{
|
108
|
+
"internalIdentifierType" => "PID",
|
109
|
+
"internalIdentifierValue" => "REP403621"
|
110
|
+
}
|
111
|
+
]
|
112
|
+
},
|
113
|
+
:rights => {
|
114
|
+
"accessRightsPolicy" => [
|
115
|
+
{"policyId" => "50740"}
|
116
|
+
]
|
117
|
+
}
|
118
|
+
},
|
119
|
+
"Table of Contents" => {
|
120
|
+
"Zonsondergang Sinebjerg" => {
|
121
|
+
:id => "FL403622",
|
122
|
+
:group => "DSC03102",
|
123
|
+
:amd => {
|
124
|
+
:tech => {
|
125
|
+
"objectCharacteristics" => [
|
126
|
+
{
|
127
|
+
"objectType" => "FILE",
|
128
|
+
"creationDate" => "2015-10-31 11:23:13",
|
129
|
+
"createdBy" => "testadmin",
|
130
|
+
"modificationDate" => "2015-10-31 11:43:10",
|
131
|
+
"modifiedBy" => "testadmin",
|
132
|
+
"owner" => "CRS00.TESTINS.TESTDEP",
|
133
|
+
"groupID" => "DSC03102"
|
134
|
+
}
|
135
|
+
],
|
136
|
+
"internalIdentifier" => [
|
137
|
+
{
|
138
|
+
"internalIdentifierType" => "PID",
|
139
|
+
"internalIdentifierValue" => "FL403622"
|
140
|
+
}
|
141
|
+
],
|
142
|
+
"generalFileCharacteristics" => [
|
143
|
+
{
|
144
|
+
"label" => "Zonsondergang Sinebjerg",
|
145
|
+
"note" => "",
|
146
|
+
"fileCreationDate" => "",
|
147
|
+
"fileModificationDate" => "",
|
148
|
+
"FileEntityType" => "",
|
149
|
+
"compositionLevel" => "",
|
150
|
+
"fileLocationType" => "FILE",
|
151
|
+
"fileLocation" => "",
|
152
|
+
"fileOriginalName" => "DSC03102.jpg",
|
153
|
+
"fileOriginalPath" => "",
|
154
|
+
"fileOriginalID" =>
|
155
|
+
"/operational_shared/operational_export_directory/IE403595/import/23230104//DSC03102.jpg",
|
156
|
+
"fileExtension" => "jpg",
|
157
|
+
"fileMIMEType" => "image/jpeg",
|
158
|
+
"fileSizeBytes" => "216073",
|
159
|
+
"formatLibraryId" => "fmt/44",
|
160
|
+
"riskLibraryIdentifiers" => ""
|
161
|
+
}
|
162
|
+
]
|
163
|
+
},
|
164
|
+
}
|
165
|
+
},
|
166
|
+
"Strand Ristinge" => {
|
167
|
+
:id => "FL403623",
|
168
|
+
:amd => {
|
169
|
+
:tech => {
|
170
|
+
"objectCharacteristics" => [
|
171
|
+
{
|
172
|
+
"objectType" => "FILE",
|
173
|
+
"creationDate" => "2015-10-31 11:23:13",
|
174
|
+
"createdBy" => "testadmin",
|
175
|
+
"modificationDate" => "2015-10-31 11:23:13",
|
176
|
+
"modifiedBy" => "testadmin",
|
177
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
178
|
+
}
|
179
|
+
],
|
180
|
+
"internalIdentifier" => [
|
181
|
+
{
|
182
|
+
"internalIdentifierType" => "PID",
|
183
|
+
"internalIdentifierValue" => "FL403623"
|
184
|
+
}
|
185
|
+
],
|
186
|
+
|
187
|
+
},
|
188
|
+
}
|
189
|
+
},
|
190
|
+
"Nachtzicht strand Ærøskøbing" => {
|
191
|
+
:id => "FL403624",
|
192
|
+
:amd => {
|
193
|
+
:tech => {
|
194
|
+
"objectCharacteristics" => [
|
195
|
+
{
|
196
|
+
"objectType" => "FILE",
|
197
|
+
"creationDate" => "2015-10-31 11:23:13",
|
198
|
+
"createdBy" => "testadmin",
|
199
|
+
"modificationDate" => "2015-10-31 11:23:13",
|
200
|
+
"modifiedBy" => "testadmin",
|
201
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
202
|
+
}
|
203
|
+
],
|
204
|
+
"internalIdentifier" => [
|
205
|
+
{
|
206
|
+
"internalIdentifierType" => "PID",
|
207
|
+
"internalIdentifierValue" => "FL403624"
|
208
|
+
}
|
209
|
+
],
|
210
|
+
}
|
211
|
+
}
|
212
|
+
},
|
213
|
+
"Strandvej schiereiland Ærøskøbing" => {
|
214
|
+
:id => "FL403625",
|
215
|
+
:amd => {
|
216
|
+
:tech => {
|
217
|
+
"objectCharacteristics" => [
|
218
|
+
{
|
219
|
+
"objectType" => "FILE",
|
220
|
+
"creationDate" => "2015-10-31 11:23:13",
|
221
|
+
"createdBy" => "testadmin",
|
222
|
+
"modificationDate" => "2015-10-31 11:23:13",
|
223
|
+
"modifiedBy" => "testadmin",
|
224
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
225
|
+
}
|
226
|
+
],
|
227
|
+
"internalIdentifier" => [
|
228
|
+
{
|
229
|
+
"internalIdentifierType" => "PID",
|
230
|
+
"internalIdentifierValue" => "FL403625"
|
231
|
+
}
|
232
|
+
]
|
233
|
+
},
|
234
|
+
}
|
235
|
+
},
|
236
|
+
"Skjoldnæs Fyr - Søby" =>
|
237
|
+
{:id => "FL403626",
|
238
|
+
:amd =>
|
239
|
+
{:tech =>
|
240
|
+
{"objectCharacteristics" =>
|
241
|
+
[{"objectType" => "FILE",
|
242
|
+
"creationDate" => "2015-10-31 11:23:13",
|
243
|
+
"createdBy" => "testadmin",
|
244
|
+
"modificationDate" => "2015-10-31 11:23:13",
|
245
|
+
"modifiedBy" => "testadmin",
|
246
|
+
"owner" => "CRS00.TESTINS.TESTDEP"}],
|
247
|
+
"internalIdentifier" =>
|
248
|
+
[{"internalIdentifierType" => "PID",
|
249
|
+
"internalIdentifierValue" => "FL403626"}],
|
250
|
+
}
|
251
|
+
}},
|
252
|
+
"Ingang Legoland Billund" => {
|
253
|
+
:id => "FL403627",
|
254
|
+
:amd => {
|
255
|
+
:tech => {
|
256
|
+
"objectCharacteristics" => [
|
257
|
+
{
|
258
|
+
"objectType" => "FILE",
|
259
|
+
"creationDate" => "2015-10-31 11:23:13",
|
260
|
+
"createdBy" => "testadmin",
|
261
|
+
"modificationDate" => "2015-10-31 11:23:13",
|
262
|
+
"modifiedBy" => "testadmin",
|
263
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
264
|
+
}
|
265
|
+
],
|
266
|
+
"internalIdentifier" => [
|
267
|
+
{
|
268
|
+
"internalIdentifierType" => "PID",
|
269
|
+
"internalIdentifierValue" => "FL403627"
|
270
|
+
}
|
271
|
+
]
|
272
|
+
}
|
273
|
+
}
|
274
|
+
}
|
275
|
+
}
|
276
|
+
},
|
277
|
+
"Small" => {
|
278
|
+
:id => "REP403628",
|
279
|
+
:amd => {
|
280
|
+
:tech => {
|
281
|
+
"objectCharacteristics" => [
|
282
|
+
{
|
283
|
+
"objectType" => "REPRESENTATION",
|
284
|
+
"creationDate" => "2015-10-31 11:24:55",
|
285
|
+
"createdBy" => "testadmin",
|
286
|
+
"modificationDate" => "2015-10-31 11:43:10",
|
287
|
+
"modifiedBy" => "testadmin",
|
288
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
289
|
+
}
|
290
|
+
],
|
291
|
+
"generalRepCharacteristics" => [
|
292
|
+
{
|
293
|
+
"usageType" => "VIEW",
|
294
|
+
"preservationType" => "DERIVATIVE_COPY",
|
295
|
+
"label" => "Small",
|
296
|
+
"RepresentationCode" => "LOW"
|
297
|
+
}
|
298
|
+
],
|
299
|
+
"internalIdentifier" => [
|
300
|
+
{
|
301
|
+
"internalIdentifierType" => "PID",
|
302
|
+
"internalIdentifierValue" => "REP403628"
|
303
|
+
}
|
304
|
+
]
|
305
|
+
},
|
306
|
+
:rights => {
|
307
|
+
"accessRightsPolicy" => [
|
308
|
+
{"policyId" => "AR_EVERYONE"}
|
309
|
+
]
|
310
|
+
},
|
311
|
+
},
|
312
|
+
"Table of Contents" => {
|
313
|
+
"Zonsondergang Sinebjerg" => {
|
314
|
+
:id => "FL403629",
|
315
|
+
:group => "DSC03102",
|
316
|
+
:amd => {
|
317
|
+
:tech => {
|
318
|
+
"objectCharacteristics" => [
|
319
|
+
{
|
320
|
+
"objectType" => "FILE",
|
321
|
+
"creationDate" => "2015-10-31 11:24:55",
|
322
|
+
"createdBy" => "testadmin",
|
323
|
+
"modificationDate" => "2015-10-31 11:43:10",
|
324
|
+
"modifiedBy" => "testadmin",
|
325
|
+
"owner" => "CRS00.TESTINS.TESTDEP",
|
326
|
+
"groupID" => "DSC03102"
|
327
|
+
}
|
328
|
+
],
|
329
|
+
"internalIdentifier" => [
|
330
|
+
{
|
331
|
+
"internalIdentifierType" => "PID",
|
332
|
+
"internalIdentifierValue" => "FL403629"
|
333
|
+
}
|
334
|
+
],
|
335
|
+
}
|
336
|
+
}
|
337
|
+
},
|
338
|
+
"Strand Ristinge" => {
|
339
|
+
:id => "FL403630",
|
340
|
+
:amd => {
|
341
|
+
:tech => {
|
342
|
+
"objectCharacteristics" => [
|
343
|
+
{
|
344
|
+
"objectType" => "FILE",
|
345
|
+
"creationDate" => "2015-10-31 11:24:55",
|
346
|
+
"createdBy" => "testadmin",
|
347
|
+
"modificationDate" => "2015-10-31 11:24:55",
|
348
|
+
"modifiedBy" => "testadmin",
|
349
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
350
|
+
}
|
351
|
+
],
|
352
|
+
"internalIdentifier" => [
|
353
|
+
{
|
354
|
+
"internalIdentifierType" => "PID",
|
355
|
+
"internalIdentifierValue" => "FL403630"
|
356
|
+
}
|
357
|
+
],
|
358
|
+
}
|
359
|
+
}
|
360
|
+
},
|
361
|
+
"Nachtzicht strand Ærøskøbing" => {
|
362
|
+
:id => "FL403631",
|
363
|
+
:amd => {
|
364
|
+
:tech => {
|
365
|
+
"objectCharacteristics" => [
|
366
|
+
{
|
367
|
+
"objectType" => "FILE",
|
368
|
+
"creationDate" => "2015-10-31 11:24:55",
|
369
|
+
"createdBy" => "testadmin",
|
370
|
+
"modificationDate" => "2015-10-31 11:24:55",
|
371
|
+
"modifiedBy" => "testadmin",
|
372
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
373
|
+
}
|
374
|
+
],
|
375
|
+
"internalIdentifier" => [
|
376
|
+
{
|
377
|
+
"internalIdentifierType" => "PID",
|
378
|
+
"internalIdentifierValue" => "FL403631"
|
379
|
+
}
|
380
|
+
],
|
381
|
+
}
|
382
|
+
}
|
383
|
+
},
|
384
|
+
"Strandvej schiereiland Ærøskøbing" => {
|
385
|
+
:id => "FL403632",
|
386
|
+
:amd => {
|
387
|
+
:tech => {
|
388
|
+
"objectCharacteristics" => [
|
389
|
+
{
|
390
|
+
"objectType" => "FILE",
|
391
|
+
"creationDate" => "2015-10-31 11:24:55",
|
392
|
+
"createdBy" => "testadmin",
|
393
|
+
"modificationDate" => "2015-10-31 11:24:55",
|
394
|
+
"modifiedBy" => "testadmin",
|
395
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
396
|
+
}
|
397
|
+
],
|
398
|
+
"internalIdentifier" => [
|
399
|
+
{
|
400
|
+
"internalIdentifierType" => "PID",
|
401
|
+
"internalIdentifierValue" => "FL403632"
|
402
|
+
}
|
403
|
+
],
|
404
|
+
}
|
405
|
+
}
|
406
|
+
},
|
407
|
+
"Skjoldnæs Fyr - Søby" => {
|
408
|
+
:id => "FL403633",
|
409
|
+
:amd => {
|
410
|
+
:tech => {
|
411
|
+
"objectCharacteristics" => [
|
412
|
+
{
|
413
|
+
"objectType" => "FILE",
|
414
|
+
"creationDate" => "2015-10-31 11:24:55",
|
415
|
+
"createdBy" => "testadmin",
|
416
|
+
"modificationDate" => "2015-10-31 11:24:55",
|
417
|
+
"modifiedBy" => "testadmin",
|
418
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
419
|
+
}
|
420
|
+
],
|
421
|
+
"internalIdentifier" => [
|
422
|
+
{
|
423
|
+
"internalIdentifierType" => "PID",
|
424
|
+
"internalIdentifierValue" => "FL403633"
|
425
|
+
}
|
426
|
+
],
|
427
|
+
}
|
428
|
+
}
|
429
|
+
},
|
430
|
+
"Ingang Legoland Billund" => {
|
431
|
+
:id => "FL403634",
|
432
|
+
:amd => {
|
433
|
+
:tech => {
|
434
|
+
"objectCharacteristics" => [
|
435
|
+
{
|
436
|
+
"objectType" => "FILE",
|
437
|
+
"creationDate" => "2015-10-31 11:24:55",
|
438
|
+
"createdBy" => "testadmin",
|
439
|
+
"modificationDate" => "2015-10-31 11:24:55",
|
440
|
+
"modifiedBy" => "testadmin",
|
441
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
442
|
+
}
|
443
|
+
],
|
444
|
+
"internalIdentifier" => [
|
445
|
+
{
|
446
|
+
"internalIdentifierType" => "PID",
|
447
|
+
"internalIdentifierValue" => "FL403634"
|
448
|
+
}
|
449
|
+
],
|
450
|
+
}
|
451
|
+
}
|
452
|
+
}
|
453
|
+
}
|
454
|
+
},
|
455
|
+
"Preservation Master" => {
|
456
|
+
:id => "REP403596",
|
457
|
+
:amd => {
|
458
|
+
:tech => {
|
459
|
+
"generalRepCharacteristics" => [
|
460
|
+
{
|
461
|
+
"preservationType" => "PRESERVATION_MASTER",
|
462
|
+
"usageType" => "VIEW",
|
463
|
+
"RevisionNumber" => "1",
|
464
|
+
"DigitalOriginal" => "true",
|
465
|
+
"label" => "Original",
|
466
|
+
"representationEntityType" => "JPEG Images",
|
467
|
+
"contentType" => "fotoalbum",
|
468
|
+
"contextType" => "holidays",
|
469
|
+
"hardwareUsed" => "Sony Alpha 77M2",
|
470
|
+
"physicalCarrierMedia" => "SD card",
|
471
|
+
"deliveryPriority" => "1",
|
472
|
+
"orderingSequence" => "1",
|
473
|
+
"RepresentationCode" => "HIGH",
|
474
|
+
"RepresentationOriginalName" => "K&K/2015/08",
|
475
|
+
"UserDefinedA" => "A1",
|
476
|
+
"UserDefinedB" => "B1",
|
477
|
+
"UserDefinedC" => "C1"
|
478
|
+
}
|
479
|
+
],
|
480
|
+
"internalIdentifier" => [
|
481
|
+
{"internalIdentifierType" => "SIPID", "internalIdentifierValue" => "55010"},
|
482
|
+
{"internalIdentifierType" => "PID", "internalIdentifierValue" => "REP403596"},
|
483
|
+
{"internalIdentifierType" => "DepositSetID", "internalIdentifierValue" => "55662"}
|
484
|
+
],
|
485
|
+
"objectCharacteristics" => [
|
486
|
+
{
|
487
|
+
"objectType" => "REPRESENTATION",
|
488
|
+
"creationDate" => "2015-10-13 14:41:56",
|
489
|
+
"createdBy" => "testadmin",
|
490
|
+
"modificationDate" => "2015-10-31 11:43:11",
|
491
|
+
"modifiedBy" => "testadmin",
|
492
|
+
"owner" => "CRS00.TESTINS.TESTDEP",
|
493
|
+
"groupID" => "originals"
|
494
|
+
}
|
495
|
+
],
|
496
|
+
"preservationLevel" => [
|
497
|
+
{
|
498
|
+
"preservationLevelValue" => "high",
|
499
|
+
"preservationLevelRole" => "my album",
|
500
|
+
"preservationLevelRationale" => "like it",
|
501
|
+
"preservationLevelDateAssigned" => "01/09/2015"
|
502
|
+
}
|
503
|
+
],
|
504
|
+
"environmentDependencies" => [
|
505
|
+
{
|
506
|
+
"dependencyName" => "my dependency",
|
507
|
+
"dependencyIdentifierType1" => "INTERNAL",
|
508
|
+
"dependencyIdentifierValue1" => "1",
|
509
|
+
"dependencyIdentifierType2" => "URI",
|
510
|
+
"dependencyIdentifierValue2" => "http://www.libis.be",
|
511
|
+
"dependencyIdentifierType3" => "INTERNAL",
|
512
|
+
"dependencyIdentifierValue3" => "abc"
|
513
|
+
}
|
514
|
+
],
|
515
|
+
"envHardwareRegistry" => [
|
516
|
+
{"registryId" => "XYZ999"},
|
517
|
+
{"registryId" => "ABC123"}
|
518
|
+
],
|
519
|
+
"envSoftwareRegistry" => [
|
520
|
+
{"registryId" => "env-software-1"}
|
521
|
+
],
|
522
|
+
"environmentHardware" => [
|
523
|
+
{
|
524
|
+
"hardwareName" => "Sony Alpha 77 M2",
|
525
|
+
"hardwareType" => "Camera",
|
526
|
+
"hardwareOtherInformation" => "SLT"
|
527
|
+
}
|
528
|
+
],
|
529
|
+
"environmentSoftware" => [
|
530
|
+
{
|
531
|
+
"softwareName" => "JPEG viewer",
|
532
|
+
"softwareVersion" => "0.9 beta 1",
|
533
|
+
"softwareType" => "App",
|
534
|
+
"softwareOtherInformation" => "Mobile",
|
535
|
+
"softwareDependancy" => "Android 4.4"
|
536
|
+
}
|
537
|
+
],
|
538
|
+
"relationship" => [
|
539
|
+
{
|
540
|
+
"relationshipType" => "STRUCTURAL",
|
541
|
+
"relationshipSubType" => "IS_PART_OF",
|
542
|
+
"relatedObjectIdentifierValue1" => "123456",
|
543
|
+
"relatedObjectSequence1" => "6",
|
544
|
+
"relatedObjectIdentifierValue2" => "555555",
|
545
|
+
"relatedObjectSequence2" => "5",
|
546
|
+
"relatedObjectIdentifierValue3" => "000000",
|
547
|
+
"relatedObjectSequence3" => "0",
|
548
|
+
"relatedObjectIdentifierType1" => "rosetta_pid",
|
549
|
+
"relatedObjectIdentifierType2" => "rosetta_pid",
|
550
|
+
"relatedObjectIdentifierType3" => "rosetta_pid"
|
551
|
+
},
|
552
|
+
{
|
553
|
+
"relationshipType" => "DERIVATION",
|
554
|
+
"relationshipSubType" => "HAS_ROOT",
|
555
|
+
"relatedObjectIdentifierValue1" => "1",
|
556
|
+
"relatedObjectSequence1" => "1",
|
557
|
+
"relatedObjectIdentifierValue2" => "2",
|
558
|
+
"relatedObjectSequence2" => "2",
|
559
|
+
"relatedObjectIdentifierValue3" => "3",
|
560
|
+
"relatedObjectSequence3" => "3",
|
561
|
+
"relatedObjectIdentifierType1" => "rosetta_pid",
|
562
|
+
"relatedObjectIdentifierType2" => "rosetta_pid",
|
563
|
+
"relatedObjectIdentifierType3" => "rosetta_pid"
|
564
|
+
}
|
565
|
+
],
|
566
|
+
"environment" => [
|
567
|
+
{
|
568
|
+
"environmentCharacteristic" => "dark",
|
569
|
+
"environmentPurpose" => "light condition",
|
570
|
+
"environmentNote" => "best viewed in dark conditions"
|
571
|
+
}
|
572
|
+
]
|
573
|
+
},
|
574
|
+
|
575
|
+
},
|
576
|
+
"Table of Contents" => {
|
577
|
+
"Zonsondergang Sinebjerg" => {
|
578
|
+
:id => "FL403615",
|
579
|
+
:group => "DSC03102",
|
580
|
+
:amd => {
|
581
|
+
:tech => {
|
582
|
+
"objectCharacteristics" => [
|
583
|
+
{
|
584
|
+
"objectType" => "FILE",
|
585
|
+
"creationDate" => "2015-10-31 11:19:45",
|
586
|
+
"createdBy" => "testadmin",
|
587
|
+
"modificationDate" => "2015-10-31 11:43:11",
|
588
|
+
"modifiedBy" => "testadmin",
|
589
|
+
"owner" => "CRS00.TESTINS.TESTDEP",
|
590
|
+
"groupID" => "DSC03102"
|
591
|
+
}
|
592
|
+
],
|
593
|
+
"internalIdentifier" => [
|
594
|
+
{
|
595
|
+
"internalIdentifierType" => "PID",
|
596
|
+
"internalIdentifierValue" => "FL403615"
|
597
|
+
}
|
598
|
+
],
|
599
|
+
}
|
600
|
+
},
|
601
|
+
:dmd => {
|
602
|
+
"text" => "\n ",
|
603
|
+
"spatial" => "Sinebjerg",
|
604
|
+
"coverage" => "Denemarken 2015",
|
605
|
+
"subject" => "Jitse"
|
606
|
+
}
|
607
|
+
},
|
608
|
+
"Strand Ristinge" => {
|
609
|
+
:id => "FL403616",
|
610
|
+
:amd => {
|
611
|
+
:tech => {
|
612
|
+
"objectCharacteristics" => [
|
613
|
+
{
|
614
|
+
"objectType" => "FILE",
|
615
|
+
"creationDate" => "2015-10-31 11:19:45",
|
616
|
+
"createdBy" => "testadmin",
|
617
|
+
"modificationDate" => "2015-10-31 11:19:45",
|
618
|
+
"modifiedBy" => "testadmin",
|
619
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
620
|
+
}
|
621
|
+
],
|
622
|
+
"internalIdentifier" => [
|
623
|
+
{
|
624
|
+
"internalIdentifierType" => "PID",
|
625
|
+
"internalIdentifierValue" => "FL403616"
|
626
|
+
}
|
627
|
+
],
|
628
|
+
}
|
629
|
+
}
|
630
|
+
},
|
631
|
+
"Nachtzicht strand Ærøskøbing" => {
|
632
|
+
:id => "FL403617",
|
633
|
+
:amd => {
|
634
|
+
:tech => {
|
635
|
+
"objectCharacteristics" => [
|
636
|
+
{
|
637
|
+
"objectType" => "FILE",
|
638
|
+
"creationDate" => "2015-10-31 11:19:45",
|
639
|
+
"createdBy" => "testadmin",
|
640
|
+
"modificationDate" => "2015-10-31 11:19:45",
|
641
|
+
"modifiedBy" => "testadmin",
|
642
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
643
|
+
}
|
644
|
+
],
|
645
|
+
"internalIdentifier" => [
|
646
|
+
{
|
647
|
+
"internalIdentifierType" => "PID",
|
648
|
+
"internalIdentifierValue" => "FL403617"
|
649
|
+
}
|
650
|
+
],
|
651
|
+
}
|
652
|
+
}
|
653
|
+
},
|
654
|
+
"Strandvej schiereiland Ærøskøbing" => {
|
655
|
+
:id => "FL403618",
|
656
|
+
:amd => {
|
657
|
+
:tech => {
|
658
|
+
"objectCharacteristics" => [
|
659
|
+
{
|
660
|
+
"objectType" => "FILE",
|
661
|
+
"creationDate" => "2015-10-31 11:19:45",
|
662
|
+
"createdBy" => "testadmin",
|
663
|
+
"modificationDate" => "2015-10-31 11:19:45",
|
664
|
+
"modifiedBy" => "testadmin",
|
665
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
666
|
+
}
|
667
|
+
],
|
668
|
+
"internalIdentifier" => [
|
669
|
+
{
|
670
|
+
"internalIdentifierType" => "PID",
|
671
|
+
"internalIdentifierValue" => "FL403618"
|
672
|
+
}
|
673
|
+
],
|
674
|
+
}
|
675
|
+
}
|
676
|
+
},
|
677
|
+
"Skjoldnæs Fyr - Søby" => {
|
678
|
+
:id => "FL403619",
|
679
|
+
:amd => {
|
680
|
+
:tech => {
|
681
|
+
"objectCharacteristics" => [
|
682
|
+
{
|
683
|
+
"objectType" => "FILE",
|
684
|
+
"creationDate" => "2015-10-31 11:19:45",
|
685
|
+
"createdBy" => "testadmin",
|
686
|
+
"modificationDate" => "2015-10-31 11:19:45",
|
687
|
+
"modifiedBy" => "testadmin",
|
688
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
689
|
+
}
|
690
|
+
],
|
691
|
+
"internalIdentifier" => [
|
692
|
+
{
|
693
|
+
"internalIdentifierType" => "PID",
|
694
|
+
"internalIdentifierValue" => "FL403619"
|
695
|
+
}
|
696
|
+
],
|
697
|
+
}
|
698
|
+
}
|
699
|
+
},
|
700
|
+
"Ingang Legoland Billund" => {
|
701
|
+
:id => "FL403620",
|
702
|
+
:amd => {
|
703
|
+
:tech => {
|
704
|
+
"objectCharacteristics" => [
|
705
|
+
{
|
706
|
+
"objectType" => "FILE",
|
707
|
+
"creationDate" => "2015-10-31 11:19:45",
|
708
|
+
"createdBy" => "testadmin",
|
709
|
+
"modificationDate" => "2015-10-31 11:19:45",
|
710
|
+
"modifiedBy" => "testadmin",
|
711
|
+
"owner" => "CRS00.TESTINS.TESTDEP"
|
712
|
+
}
|
713
|
+
],
|
714
|
+
"internalIdentifier" => [
|
715
|
+
{
|
716
|
+
"internalIdentifierType" => "PID",
|
717
|
+
"internalIdentifierValue" => "FL403620"
|
718
|
+
}
|
719
|
+
],
|
720
|
+
}
|
721
|
+
}
|
722
|
+
}
|
723
|
+
}
|
724
|
+
}
|
725
|
+
)
|
726
|
+
end
|