cul_scv_hydra 0.19.4 → 0.19.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/concerns/cul/scv/hydra/models/common.rb +0 -6
  3. data/app/models/concerns/rdf/fcrepo3.rb +150 -94
  4. data/fixtures/cmodels/ldpd_ADLMetadata.xml +56 -0
  5. data/fixtures/cmodels/ldpd_AESMetadata.xml +56 -0
  6. data/fixtures/cmodels/ldpd_BagAggregator.xml +70 -0
  7. data/fixtures/cmodels/ldpd_Concept.xml +69 -0
  8. data/fixtures/cmodels/ldpd_ContentAggregator.xml +70 -0
  9. data/fixtures/cmodels/ldpd_DynamicAggregator.xml +56 -0
  10. data/fixtures/cmodels/ldpd_JP2ImageAggregator.xml +60 -0
  11. data/fixtures/cmodels/ldpd_METSMetadata.xml +56 -0
  12. data/fixtures/cmodels/ldpd_METSStructuredAggregator.xml +53 -0
  13. data/fixtures/cmodels/ldpd_MODSMetadata.xml +73 -0
  14. data/fixtures/cmodels/ldpd_MostRecent.xml +46 -0
  15. data/fixtures/cmodels/ldpd_PTIFImageAggregator.xml +63 -0
  16. data/fixtures/cmodels/ldpd_Resource.xml +72 -0
  17. data/fixtures/cmodels/ldpd_RestrictedResource.xml +54 -0
  18. data/fixtures/cmodels/ldpd_Since.xml +62 -0
  19. data/fixtures/cmodels/ldpd_StaticAudioAggregator.xml +54 -0
  20. data/fixtures/cmodels/ldpd_StaticImageAggregator.xml +71 -0
  21. data/fixtures/cmodels/ldpd_htest.xml +54 -0
  22. data/fixtures/cmodels/ldpd_nullbind.xml +63 -0
  23. data/fixtures/cmodels/ldpd_sdef.Aggregator.xml +71 -0
  24. data/fixtures/cmodels/ldpd_sdef.Core.xml +48 -0
  25. data/fixtures/cmodels/ldpd_sdef.Image.xml +47 -0
  26. data/fixtures/cmodels/ldpd_sdef.Metadata.xml +62 -0
  27. data/fixtures/cmodels/ldpd_sdef.Resource.xml +76 -0
  28. data/fixtures/cmodels/ldpd_sdef.ZoomingImage.xml +46 -0
  29. data/fixtures/cmodels/ldpd_sdep.BagAggregator.xml +160 -0
  30. data/fixtures/cmodels/ldpd_sdep.BagAggregatorCore.xml +221 -0
  31. data/fixtures/cmodels/ldpd_sdep.ContentAggregatorCore.xml +221 -0
  32. data/fixtures/cmodels/ldpd_sdep.DynamicAggregator.xml +171 -0
  33. data/fixtures/cmodels/ldpd_sdep.DynamicAggregatorCore.xml +215 -0
  34. data/fixtures/cmodels/ldpd_sdep.JP2Image.xml +220 -0
  35. data/fixtures/cmodels/ldpd_sdep.JP2ImageAggregator.xml +167 -0
  36. data/fixtures/cmodels/ldpd_sdep.JP2ImageCore.xml +229 -0
  37. data/fixtures/cmodels/ldpd_sdep.MODSMetadata.xml +158 -0
  38. data/fixtures/cmodels/ldpd_sdep.MODSMetadataCore.xml +227 -0
  39. data/fixtures/cmodels/ldpd_sdep.PTIFImage.xml +222 -0
  40. data/fixtures/cmodels/ldpd_sdep.PTIFImageAggregator.xml +167 -0
  41. data/fixtures/cmodels/ldpd_sdep.PTIFImageCore.xml +215 -0
  42. data/fixtures/cmodels/ldpd_sdep.StaticImage.xml +210 -0
  43. data/fixtures/cmodels/ldpd_sdep.StaticImageAggregator.xml +186 -0
  44. data/fixtures/cmodels/ldpd_sdep.StaticImageCore.xml +220 -0
  45. data/fixtures/spec/BLOB/test001.jpg +0 -0
  46. data/fixtures/spec/CUL_DC/dc.xml +5 -0
  47. data/fixtures/spec/CUL_MODS/mods-001.xml +25 -0
  48. data/fixtures/spec/CUL_MODS/mods-all.xml +65 -0
  49. data/fixtures/spec/CUL_MODS/mods-bad-repo.xml +7 -0
  50. data/fixtures/spec/CUL_MODS/mods-date-created-range.xml +7 -0
  51. data/fixtures/spec/CUL_MODS/mods-date-created-single.xml +6 -0
  52. data/fixtures/spec/CUL_MODS/mods-date-issued-range.xml +7 -0
  53. data/fixtures/spec/CUL_MODS/mods-date-issued-single.xml +6 -0
  54. data/fixtures/spec/CUL_MODS/mods-date-other-range.xml +7 -0
  55. data/fixtures/spec/CUL_MODS/mods-date-other-single.xml +6 -0
  56. data/fixtures/spec/CUL_MODS/mods-date-range-short-years.xml +7 -0
  57. data/fixtures/spec/CUL_MODS/mods-item.xml +31 -0
  58. data/fixtures/spec/CUL_MODS/mods-names.xml +35 -0
  59. data/fixtures/spec/CUL_MODS/mods-notes.xml +7 -0
  60. data/fixtures/spec/CUL_MODS/mods-ns.xml +2 -0
  61. data/fixtures/spec/CUL_MODS/mods-origin-info.xml +9 -0
  62. data/fixtures/spec/CUL_MODS/mods-part.xml +22 -0
  63. data/fixtures/spec/CUL_MODS/mods-physical-description.xml +12 -0
  64. data/fixtures/spec/CUL_MODS/mods-physical-location.xml +9 -0
  65. data/fixtures/spec/CUL_MODS/mods-record-info.xml +4 -0
  66. data/fixtures/spec/CUL_MODS/mods-relateditem-project.xml +8 -0
  67. data/fixtures/spec/CUL_MODS/mods-subjects.xml +44 -0
  68. data/fixtures/spec/CUL_MODS/mods-textual-date.xml +8 -0
  69. data/fixtures/spec/CUL_MODS/mods-titles.xml +33 -0
  70. data/fixtures/spec/CUL_MODS/mods-top-level-location-vs-relateditem-location.xml +18 -0
  71. data/fixtures/spec/CUL_MODS/mods-unmapped-project.xml +7 -0
  72. data/fixtures/spec/CUL_SOLR/mods-001.xml +1 -0
  73. data/fixtures/spec/CUL_SOLR/mods-001.yml +30 -0
  74. data/fixtures/spec/FOXML/content-aggregator.xml +64 -0
  75. data/fixtures/spec/FOXML/content-cmodel.xml +48 -0
  76. data/fixtures/spec/FOXML/image-cmodel.xml +48 -0
  77. data/fixtures/spec/FOXML/resource-max.xml +83 -0
  78. data/fixtures/spec/FOXML/resource-screen.xml +273 -0
  79. data/fixtures/spec/FOXML/resource-thumb.xml +86 -0
  80. data/fixtures/spec/FOXML/static-image-aggregator.xml +31 -0
  81. data/fixtures/spec/STRUCTMAP/structmap-examples.xml +21 -0
  82. data/fixtures/spec/STRUCTMAP/structmap-recto.xml +4 -0
  83. data/fixtures/spec/STRUCTMAP/structmap-seq.xml +5 -0
  84. data/fixtures/spec/STRUCTMAP/structmap-unordered-seq.xml +5 -0
  85. data/lib/cul_scv_hydra/version.rb +1 -1
  86. data/lib/cul_scv_hydra/version.rb~ +1 -1
  87. metadata +86 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2791069684df390626b0db26d95406f71739ff49
4
- data.tar.gz: 65dac8049f8e3f826d15e618e00e0d51bb5dc0e7
3
+ metadata.gz: fad820d73e4e3ccbebdc24acffefc6fe7e1c50f3
4
+ data.tar.gz: c134d0ba8f07b271dd19fbf7db1e88ae3da3452a
5
5
  SHA512:
6
- metadata.gz: 1d6e19b60e5fd650775a2ed799107d60aca4e0963f951136218b47325d1354257a3f57ac652d7e8f4b3ff3a2b552a076b5ca49e16aa1fdea7540f3ffd1ad8019
7
- data.tar.gz: 7ed737989529e73cfa330d1eb2d1243d602efb6c03d47fd20f8ffa313a2699ce3d8523f80c74925d2f120548f6701a005ea8a1e8f23610a46cab8463f6e3191a
6
+ metadata.gz: 3f75bf09c701b26a0f25c3298029895a8354383772be2beb6648bad503faae8c685f63876034b6dd883e41219de27594cc1c305782a47b41690c06bf64c704ef
7
+ data.tar.gz: faae4690e145ec50beb4e77e95d85446d21e8ff594f0e50d12846855287ee5c48afc7bd96d1ee75587a55c747027ee0f23d55481589138bbce93ebb3dbc36d0a
@@ -29,12 +29,6 @@ module Cul::Scv::Hydra::Models::Common
29
29
  super
30
30
  end
31
31
 
32
- def create
33
- run_callbacks :create do
34
- super
35
- end
36
- end
37
-
38
32
  def cmodel_pid(klass)
39
33
  klass.pid_namespace + ":" + klass.name.split("::")[-1]
40
34
  end
@@ -5,121 +5,169 @@ require 'rdf'
5
5
  module RDF
6
6
  module FCREPO3
7
7
  class SYSTEM < RDF::StrictVocabulary("info:fedora/fedora-system:")
8
+ term :"ContentModel-3.0",
9
+ comment: %(Base Fedora 3 CModel cModel).freeze,
10
+ label: "Fedora 3 Content Model".freeze,
11
+ subClassOf: "info:fedora/fedora-system:def/model#FedoraObject".freeze,
12
+ type: "info:fedora/fedora-system:def/model#FedoraObject".freeze
8
13
  term :"FedoraObject-3.0",
9
14
  comment: %(Base Fedora 3 Object cModel).freeze,
10
15
  label: "Fedora 3 Object".freeze,
11
- subClassOf: "rdfs:Resource".freeze,
12
- type: "rdfs:Class".freeze
16
+ subClassOf: "info:fedora/fedora-system:def/model#FedoraObject".freeze,
17
+ type: "info:fedora/fedora-system:def/model#FedoraObject".freeze
13
18
  term :"ServiceDefinition-3.0",
14
19
  comment: %(Fedora 3 Service Definition/BDef cModel).freeze,
15
20
  label: "Fedora 3 Service Definition".freeze,
16
- subClassOf: "rdfs:Resource".freeze,
17
- type: "rdfs:Class".freeze
21
+ subClassOf: "info:fedora/fedora-system:def/model#FedoraObject".freeze,
22
+ type: "info:fedora/fedora-system:def/model#FedoraObject".freeze
18
23
  term :"ServiceDeployment-3.0",
19
24
  comment: %(Fedora 3 Service Deployment/BMech cModel).freeze,
20
25
  label: "Fedora 3 Service Deployment".freeze,
21
- subClassOf: "rdfs:Resource".freeze,
22
- type: "rdfs:Class".freeze
26
+ subClassOf: "info:fedora/fedora-system:def/model#FedoraObject".freeze,
27
+ type: "info:fedora/fedora-system:def/model#FedoraObject".freeze
23
28
  end
24
29
  class MODEL < RDF::StrictVocabulary("info:fedora/fedora-system:def/model#")
25
30
  # Class definitions
26
31
  term :FedoraObject,
27
- comment: %().freeze,
28
- label: "".freeze,
32
+ comment: %(The base type of all objects in Fedora).freeze,
33
+ label: "FedoraObject".freeze,
29
34
  subClassOf: "rdfs:Resource".freeze,
30
35
  type: "rdfs:Class".freeze
36
+ term :Datastream,
37
+ comment: %(Binary data associated with a Fedora object).freeze,
38
+ label: "Datastream".freeze,
39
+ subClassOf: "rdfs:Resource".freeze,
40
+ type: "rdfs:Class".freeze
41
+ term :ExtProperty,
42
+ comment: %(Reification of an extension property of a Fedora object used in messaging).freeze,
43
+ label: "ExtProperty".freeze,
44
+ subClassOf: "rdf:Property".freeze,
45
+ type: "rdfs:Class".freeze
31
46
  term :State,
32
- comment: %().freeze,
33
- label: "".freeze,
47
+ comment: %(The state of a Fedora object or datastream).freeze,
48
+ label: "State".freeze,
34
49
  subClassOf: "rdfs:Resource".freeze,
35
50
  type: "rdfs:Class".freeze
36
51
  term :Active,
37
- comment: %().freeze,
38
- label: "".freeze,
52
+ comment: %(State of an object available in the repository).freeze,
53
+ label: "Active".freeze,
39
54
  subClassOf: "rdfs:Resource".freeze,
40
55
  type: "info:fedora/fedora-system:def/model#State".freeze
41
56
  term :Deleted,
42
- comment: %().freeze,
43
- label: "".freeze,
57
+ comment: %(State of an object that should be considered deleted, but is not purged).freeze,
58
+ label: "Deleted".freeze,
44
59
  subClassOf: "rdfs:Resource".freeze,
45
60
  type: "info:fedora/fedora-system:def/model#State".freeze
46
61
  term :Inactive,
47
- comment: %().freeze,
48
- label: "".freeze,
62
+ comment: %(State of an object that should be considered temporarily unavailable).freeze,
63
+ label: "Inactive".freeze,
49
64
  subClassOf: "rdfs:Resource".freeze,
50
65
  type: "info:fedora/fedora-system:def/model#State".freeze
51
66
  # Property definitions
52
67
  property :altIds,
53
68
  comment: %(The alternate IDs for a datastream).freeze,
54
69
  label: "Alternate IDs".freeze,
70
+ domain: "info:fedora/fedora-system:def/model#Datastream",
71
+ range: "xsd:string".freeze,
55
72
  type: "rdf:Property".freeze
56
73
  property :controlGroup,
57
- comment: %().freeze,
58
- label: "".freeze,
74
+ comment: %(indicates whether a Datastream's content is inline XML (X), Managed (M), Referenced (R) or External (E)).freeze,
75
+ label: "controlGroup".freeze,
76
+ domain: "info:fedora/fedora-system:def/model#Datastream",
77
+ range: "xsd:string".freeze,
59
78
  type: "rdf:Property".freeze
60
79
  property :createdDate,
61
- comment: %().freeze,
62
- label: "".freeze,
80
+ comment: %(The UTC datetime an object was created).freeze,
81
+ label: "createdDate".freeze,
82
+ domain: "info:fedora/fedora-system:def/model#FedoraObject",
83
+ range: "xsd:dateTimeStamp".freeze,
63
84
  type: "rdf:Property".freeze
64
85
  property :definesMethod,
65
- comment: %().freeze,
66
- label: "".freeze,
86
+ comment: %(indicates the name of a service method defined in this interface).freeze,
87
+ label: "definesMethod".freeze,
88
+ domain: "info:fedora/fedora-system:ServiceDefinition-3.0".freeze,
89
+ range: "xsd:NCName".freeze,
67
90
  type: "rdf:Property".freeze
68
91
  property :digest,
69
- comment: %().freeze,
70
- label: "".freeze,
92
+ comment: %(indicates the checksum digest of a datastream's contents or the keyword 'none').freeze,
93
+ label: "digest".freeze,
94
+ domain: "info:fedora/fedora-system:def/model#Datastream",
95
+ range: "xsd:string".freeze,
71
96
  type: "rdf:Property".freeze
72
97
  property :digestType,
73
- comment: %().freeze,
74
- label: "".freeze,
98
+ comment: %(indicates either the checksum algorithm or the keyword DISABLED).freeze,
99
+ label: "digestType".freeze,
100
+ domain: "info:fedora/fedora-system:def/model#Datastream",
101
+ range: "xsd:string".freeze,
75
102
  type: "rdf:Property".freeze
76
103
  property :downloadFilename,
77
- comment: %().freeze,
78
- label: "".freeze,
104
+ comment: %(indicates the name to be used when downloading a datastream's contents).freeze,
105
+ label: "downloadFilename".freeze,
106
+ domain: "info:fedora/fedora-system:def/model#Datastream",
107
+ range: "xsd:string".freeze,
79
108
  type: "rdf:Property".freeze
80
109
  property :extProperty,
81
- comment: %().freeze,
82
- label: "".freeze,
110
+ comment: %(indicates an extension property of an object in Fedora in messaging).freeze,
111
+ label: "extProperty".freeze,
112
+ domain: "info:fedora/fedora-system:def/model#FedoraObject".freeze,
113
+ range: "info:fedora/fedora-system:def/model#ExtProperty".freeze,
83
114
  type: "rdf:Property".freeze
84
115
  property :formatURI,
85
- comment: %().freeze,
86
- label: "".freeze,
116
+ comment: %(A URI indicating the format of a datastream's content).freeze,
117
+ label: "formatURI".freeze,
87
118
  type: "rdf:Property".freeze
88
119
  property :hasModel,
89
- comment: %().freeze,
90
- label: "".freeze,
120
+ comment: %(Indicates the Fedora 3 CModels for this object).freeze,
121
+ label: "hasModel".freeze,
122
+ subPropertyOf: "rdf:type".freeze,
123
+ domain: "info:fedora/fedora-system:FedoraObject-3.0".freeze,
124
+ range: "info:fedora/fedora-system:ContentModel-3.0".freeze,
91
125
  type: "rdf:Property".freeze
92
126
  property :hasService,
93
- comment: %().freeze,
94
- label: "".freeze,
127
+ comment: %(indicates the Fedora 3 Service Definitions applicable to this CModel).freeze,
128
+ label: "hasService".freeze,
129
+ domain: "info:fedora/fedora-system:ContentModel-3.0".freeze,
130
+ range: "info:fedora/fedora-system:ServiceDefinition-3.0".freeze,
95
131
  type: "rdf:Property".freeze
96
132
  property :isContractorOf,
97
- comment: %().freeze,
133
+ comment: %(indicates the Fedora 3 Content Models this deployment applies to).freeze,
98
134
  label: "".freeze,
135
+ domain: "info:fedora/fedora-system:ServiceDeployment-3.0".freeze,
136
+ range: "info:fedora/fedora-system:ContentModel-3.0".freeze,
99
137
  type: "rdf:Property".freeze
100
138
  property :isDeploymentOf,
101
- comment: %().freeze,
102
- label: "".freeze,
139
+ comment: %(indicates the Fedora 3 Service Definitions this deployment implements).freeze,
140
+ label: "isDeploymentOf".freeze,
141
+ domain: "info:fedora/fedora-system:ServiceDeployment-3.0".freeze,
142
+ range: "info:fedora/fedora-system:ServiceDefinition-3.0".freeze,
103
143
  type: "rdf:Property".freeze
104
144
  property :label,
105
- comment: %().freeze,
106
- label: "".freeze,
145
+ comment: %(The label applied to a Fedora object).freeze,
146
+ label: "label".freeze,
147
+ domain: "info:fedora/fedora-system:def/model#FedoraObject".freeze,
148
+ range: "xsd:string".freeze,
107
149
  type: "rdf:Property".freeze
108
150
  property :length,
109
- comment: %().freeze,
110
- label: "".freeze,
151
+ comment: %(indicates the length of a datastream's contents).freeze,
152
+ label: "length".freeze,
153
+ domain: "info:fedora/fedora-system:def/model#Datastream".freeze,
154
+ range: "xsd:nonNegativeInteger".freeze,
111
155
  type: "rdf:Property".freeze
112
156
  property :ownerId,
113
- comment: %().freeze,
114
- label: "".freeze,
157
+ comment: %(indicates the owner of an object).freeze,
158
+ label: "ownerId".freeze,
115
159
  type: "rdf:Property".freeze
116
160
  property :state,
117
- comment: %().freeze,
118
- label: "".freeze,
161
+ comment: %(indicates the state of the object or datastream).freeze,
162
+ label: "state".freeze,
163
+ domain: ["info:fedora/fedora-system:def/model#FedoraObject".freeze,"info:fedora/fedora-system:def/model#Datastream".freeze],
164
+ range: "info:fedora/fedora-system:def/model#State".freeze,
119
165
  type: "rdf:Property".freeze
120
166
  property :versionable,
121
- comment: %().freeze,
122
- label: "".freeze,
167
+ comment: %(indicates whether a datastream's property and contents changes are being tracked as versions).freeze,
168
+ label: "versionable".freeze,
169
+ domain: "info:fedora/fedora-system:def/model#Datastream".freeze,
170
+ range: "xsd:boolean".freeze,
123
171
  type: "rdf:Property".freeze
124
172
  end
125
173
  class RELSEXT < RDF::StrictVocabulary("info:fedora/fedora-system:def/relations-external#")
@@ -242,63 +290,71 @@ module RDF
242
290
  end
243
291
  class VIEW < RDF::StrictVocabulary("info:fedora/fedora-system:def/view#")
244
292
  property :disseminates,
245
- comment: %().freeze,
246
- label: "".freeze,
293
+ comment: %(A property used to indicate that an object contains a datastream).freeze,
294
+ label: "disseminates".freeze,
295
+ domain: "info:fedora/fedora-system:FedoraObject-3.0".freeze,
296
+ range: "info:fedora/fedora-system:def/model#Datastream".freeze,
247
297
  type: "rdf:Property".freeze
248
298
  property :disseminationType,
249
- comment: %().freeze,
250
- label: "".freeze,
299
+ comment: %(A property whose object is common to all Datastreams of a given DSID).freeze,
300
+ label: "dissemination type".freeze,
251
301
  type: "rdf:Property".freeze
252
302
  property :isVolatile,
253
- comment: %().freeze,
254
- label: "".freeze,
303
+ comment: %(A property indicating that a datastream's content is a reference to content external to the repository).freeze,
304
+ label: "isVolatile".freeze,
305
+ domain: "info:fedora/fedora-system:def/model#Datastream".freeze,
306
+ range: "xsd:boolean".freeze,
255
307
  type: "rdf:Property".freeze
256
308
  property :lastModifiedDate,
257
- comment: %().freeze,
258
- label: "".freeze,
309
+ comment: %(UTC datetime of the last change to an object or most recent version of this datastream).freeze,
310
+ label: "lastModifiedDate".freeze,
311
+ domain: ["info:fedora/fedora-system:def/model#FedoraObject".freeze,"info:fedora/fedora-system:def/model#Datastream".freeze],
312
+ range: "xsd:dateTimeStamp".freeze,
259
313
  type: "rdf:Property".freeze
260
314
  property :mimeType,
261
- comment: %().freeze,
262
- label: "".freeze,
315
+ comment: %(The MIME type of this datastream's content).freeze,
316
+ label: "mimeType".freeze,
317
+ domain: "info:fedora/fedora-system:def/model#Datastream".freeze,
318
+ range: "xsd:string".freeze,
263
319
  type: "rdf:Property".freeze
264
320
  property :version,
265
- comment: %().freeze,
266
- label: "".freeze,
321
+ comment: %(indicates Fedora server version in messaging).freeze,
322
+ label: "Server version".freeze,
267
323
  type: "rdf:Property".freeze
268
324
  end
269
325
  end
270
326
  class MULGARA < RDF::StrictVocabulary("http://mulgara.org/mulgara#")
271
- property :after,
272
- comment: %().freeze,
273
- label: "".freeze,
274
- type: "rdf:Property".freeze
275
- property :before,
276
- comment: %().freeze,
277
- label: "".freeze,
278
- type: "rdf:Property".freeze
279
- property :gt,
280
- comment: %().freeze,
281
- label: "".freeze,
282
- type: "rdf:Property".freeze
283
- property :lt,
284
- comment: %().freeze,
285
- label: "".freeze,
286
- type: "rdf:Property".freeze
287
- property :is,
288
- comment: %().freeze,
289
- label: "".freeze,
290
- type: "rdf:Property".freeze
291
- property :notOccurs,
292
- comment: %().freeze,
293
- label: "".freeze,
294
- type: "rdf:Property".freeze
295
- property :occursLessThan,
296
- comment: %().freeze,
297
- label: "".freeze,
298
- type: "rdf:Property".freeze
299
- property :occursMoreThan,
300
- comment: %().freeze,
301
- label: "".freeze,
302
- type: "rdf:Property".freeze
303
- end
327
+ property :after,
328
+ comment: %().freeze,
329
+ label: "".freeze,
330
+ type: "rdf:Property".freeze
331
+ property :before,
332
+ comment: %().freeze,
333
+ label: "".freeze,
334
+ type: "rdf:Property".freeze
335
+ property :gt,
336
+ comment: %().freeze,
337
+ label: "".freeze,
338
+ type: "rdf:Property".freeze
339
+ property :lt,
340
+ comment: %().freeze,
341
+ label: "".freeze,
342
+ type: "rdf:Property".freeze
343
+ property :is,
344
+ comment: %().freeze,
345
+ label: "".freeze,
346
+ type: "rdf:Property".freeze
347
+ property :notOccurs,
348
+ comment: %().freeze,
349
+ label: "".freeze,
350
+ type: "rdf:Property".freeze
351
+ property :occursLessThan,
352
+ comment: %().freeze,
353
+ label: "".freeze,
354
+ type: "rdf:Property".freeze
355
+ property :occursMoreThan,
356
+ comment: %().freeze,
357
+ label: "".freeze,
358
+ type: "rdf:Property".freeze
359
+ end
304
360
  end
@@ -0,0 +1,56 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <foxml:digitalObject VERSION="1.1" PID="ldpd:ADLMetadata"
3
+ xmlns:foxml="info:fedora/fedora-system:def/foxml#"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
6
+ <foxml:objectProperties>
7
+ <foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
8
+ <foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="CModel for metadata objects"/>
9
+ </foxml:objectProperties>
10
+
11
+ <foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
12
+ <foxml:datastreamVersion ID="DC1.0" LABEL="Dublin Core Record for Metadata CModel" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/">
13
+ <foxml:xmlContent>
14
+ <oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
15
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
16
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17
+ xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
18
+ <dc:title>CModel for metadata objects</dc:title>
19
+ <dc:creator>CUL/IS:LDPD</dc:creator>
20
+ <dc:contributor>NNC</dc:contributor>
21
+ <dc:identifier>ldpd:ADLMetadata</dc:identifier>
22
+ </oai_dc:dc>
23
+ </foxml:xmlContent>
24
+ </foxml:datastreamVersion>
25
+ </foxml:datastream>
26
+ <foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
27
+ <foxml:datastreamVersion ID="RELS-EXT1.0" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0">
28
+ <foxml:xmlContent>
29
+ <rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
30
+ <rdf:Description rdf:about="info:fedora/ldpd:ADLMetadata">
31
+ <fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ContentModel-3.0"></fedora-model:hasModel>
32
+ <fedora-model:hasService rdf:resource="info:fedora/ldpd:sdef.Metadata"></fedora-model:hasService>
33
+ <fedora-model:hasService rdf:resource="info:fedora/ldpd:sdef.Core"></fedora-model:hasService>
34
+ </rdf:Description>
35
+ </rdf:RDF>
36
+ </foxml:xmlContent>
37
+ </foxml:datastreamVersion>
38
+ </foxml:datastream>
39
+ <foxml:datastream ID="DS-COMPOSITE-MODEL" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
40
+ <foxml:datastreamVersion ID="DS-COMPOSITE-MODEL1.0" LABEL="Datastream Composite Model" MIMETYPE="text/xml" FORMAT_URI="info:fedora/fedora-system:FedoraDSCompositeModel-1.0">
41
+ <foxml:xmlContent>
42
+ <dsCompositeModel xmlns="info:fedora/fedora-system:def/dsCompositeModel#">
43
+ <dsTypeModel ID="DC">
44
+ <form FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" MIME="text/xml"></form>
45
+ </dsTypeModel>
46
+ <dsTypeModel ID="RELS-EXT">
47
+ <form FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" MIME="application/rdf+xml"></form>
48
+ </dsTypeModel>
49
+ <dsTypeModel ID="CONTENT">
50
+ <form MIME="text/plain"></form>
51
+ </dsTypeModel>
52
+ </dsCompositeModel>
53
+ </foxml:xmlContent>
54
+ </foxml:datastreamVersion>
55
+ </foxml:datastream>
56
+ </foxml:digitalObject>
@@ -0,0 +1,56 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <foxml:digitalObject VERSION="1.1" PID="ldpd:AESMetadata"
3
+ xmlns:foxml="info:fedora/fedora-system:def/foxml#"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
6
+ <foxml:objectProperties>
7
+ <foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
8
+ <foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="CModel for metadata objects"/>
9
+ </foxml:objectProperties>
10
+
11
+ <foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
12
+ <foxml:datastreamVersion ID="DC1.0" LABEL="Dublin Core Record for Metadata CModel" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/">
13
+ <foxml:xmlContent>
14
+ <oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
15
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
16
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17
+ xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
18
+ <dc:title>CModel for metadata objects</dc:title>
19
+ <dc:creator>CUL/IS:LDPD</dc:creator>
20
+ <dc:contributor>NNC</dc:contributor>
21
+ <dc:identifier>ldpd:AESMetadata</dc:identifier>
22
+ </oai_dc:dc>
23
+ </foxml:xmlContent>
24
+ </foxml:datastreamVersion>
25
+ </foxml:datastream>
26
+ <foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
27
+ <foxml:datastreamVersion ID="RELS-EXT1.0" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0">
28
+ <foxml:xmlContent>
29
+ <rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
30
+ <rdf:Description rdf:about="info:fedora/ldpd:AESMetadata">
31
+ <fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ContentModel-3.0"></fedora-model:hasModel>
32
+ <fedora-model:hasService rdf:resource="info:fedora/ldpd:sdef.Metadata"></fedora-model:hasService>
33
+ <fedora-model:hasService rdf:resource="info:fedora/ldpd:sdef.Core"></fedora-model:hasService>
34
+ </rdf:Description>
35
+ </rdf:RDF>
36
+ </foxml:xmlContent>
37
+ </foxml:datastreamVersion>
38
+ </foxml:datastream>
39
+ <foxml:datastream ID="DS-COMPOSITE-MODEL" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
40
+ <foxml:datastreamVersion ID="DS-COMPOSITE-MODEL1.0" LABEL="Datastream Composite Model" MIMETYPE="text/xml" FORMAT_URI="info:fedora/fedora-system:FedoraDSCompositeModel-1.0">
41
+ <foxml:xmlContent>
42
+ <dsCompositeModel xmlns="info:fedora/fedora-system:def/dsCompositeModel#">
43
+ <dsTypeModel ID="DC">
44
+ <form FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" MIME="text/xml"></form>
45
+ </dsTypeModel>
46
+ <dsTypeModel ID="RELS-EXT">
47
+ <form FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" MIME="application/rdf+xml"></form>
48
+ </dsTypeModel>
49
+ <dsTypeModel ID="CONTENT">
50
+ <form FORMAT_URI="http://www.aes.org/audioObject" MIME="text/xml"></form>
51
+ </dsTypeModel>
52
+ </dsCompositeModel>
53
+ </foxml:xmlContent>
54
+ </foxml:datastreamVersion>
55
+ </foxml:datastream>
56
+ </foxml:digitalObject>
@@ -0,0 +1,70 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <foxml:digitalObject VERSION="1.1" PID="ldpd:BagAggregator"
3
+ xmlns:foxml="info:fedora/fedora-system:def/foxml#"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
6
+ <foxml:objectProperties>
7
+ <foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
8
+ <foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="CModel for aggregator objects"/>
9
+ <foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2009-05-21T21:55:36.881Z"/>
10
+ <foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2009-05-21T21:55:36.881Z"/>
11
+ </foxml:objectProperties>
12
+ <foxml:datastream ID="AUDIT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="false">
13
+ <foxml:datastreamVersion ID="AUDIT.0" LABEL="Audit Trail for this object" CREATED="2009-05-21T21:55:36.881Z" MIMETYPE="text/xml" FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit">
14
+ <foxml:xmlContent>
15
+ <audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#">
16
+ <audit:record ID="AUDREC1">
17
+ <audit:process type="Fedora API-M"/>
18
+ <audit:action>ingest</audit:action>
19
+ <audit:componentID></audit:componentID>
20
+ <audit:responsibility>fedoraAdmin</audit:responsibility>
21
+ <audit:date>2009-05-21T21:55:36.881Z</audit:date>
22
+ <audit:justification>Ingested from local file /var/tmp/datamodel-load/BagAggregator.xml</audit:justification>
23
+ </audit:record>
24
+ </audit:auditTrail>
25
+ </foxml:xmlContent>
26
+ </foxml:datastreamVersion>
27
+ </foxml:datastream>
28
+ <foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
29
+ <foxml:datastreamVersion ID="DC1.0" LABEL="Dublin Core Record for CModel for aggregator objects" CREATED="2009-05-21T21:55:37.301Z" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" SIZE="366">
30
+ <foxml:xmlContent>
31
+ <oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
32
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
33
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
34
+ xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
35
+ <dc:title>CModel for aggregator objects</dc:title>
36
+ <dc:creator>CUL/IS:LDPD</dc:creator>
37
+ <dc:contributor>NNC</dc:contributor>
38
+ <dc:identifier>ldpd:BagAggregator</dc:identifier>
39
+ </oai_dc:dc>
40
+ </foxml:xmlContent>
41
+ </foxml:datastreamVersion>
42
+ </foxml:datastream>
43
+ <foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
44
+ <foxml:datastreamVersion ID="RELS-EXT1.0" LABEL="RDF Statements about this object" CREATED="2008-07-09T13:59:55.984Z" MIMETYPE="application/rdf+xml" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" SIZE="594">
45
+ <foxml:xmlContent>
46
+ <rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
47
+ <rdf:Description rdf:about="info:fedora/ldpd:BagAggregator">
48
+ <fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ContentModel-3.0"></fedora-model:hasModel>
49
+ <fedora-model:hasService rdf:resource="info:fedora/ldpd:sdef.Aggregator"></fedora-model:hasService>
50
+ <fedora-model:hasService rdf:resource="info:fedora/ldpd:sdef.Core"></fedora-model:hasService>
51
+ </rdf:Description>
52
+ </rdf:RDF>
53
+ </foxml:xmlContent>
54
+ </foxml:datastreamVersion>
55
+ </foxml:datastream>
56
+ <foxml:datastream ID="DS-COMPOSITE-MODEL" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
57
+ <foxml:datastreamVersion ID="DS-COMPOSITE-MODEL1.0" LABEL="Datastream Composite Model" CREATED="2008-07-09T13:59:55.968Z" MIMETYPE="text/xml" FORMAT_URI="info:fedora/fedora-system:FedoraDSCompositeModel-1.0" SIZE="447">
58
+ <foxml:xmlContent>
59
+ <dsCompositeModel xmlns="info:fedora/fedora-system:def/dsCompositeModel#">
60
+ <dsTypeModel ID="DC">
61
+ <form FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" MIME="text/xml"></form>
62
+ </dsTypeModel>
63
+ <dsTypeModel ID="RELS-EXT">
64
+ <form FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" MIME="application/rdf+xml"></form>
65
+ </dsTypeModel>
66
+ </dsCompositeModel>
67
+ </foxml:xmlContent>
68
+ </foxml:datastreamVersion>
69
+ </foxml:datastream>
70
+ </foxml:digitalObject>
@@ -0,0 +1,69 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <foxml:digitalObject VERSION="1.1" PID="ldpd:Concept"
3
+ xmlns:foxml="info:fedora/fedora-system:def/foxml#"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
6
+ <foxml:objectProperties>
7
+ <foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
8
+ <foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="CModel for concept objects"/>
9
+ <foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2014-10-31T10:00:01.001Z"/>
10
+ <foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2014-10-31T10:00:01.001Z"/>
11
+ </foxml:objectProperties>
12
+ <foxml:datastream ID="AUDIT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="false">
13
+ <foxml:datastreamVersion ID="AUDIT.0" LABEL="Audit Trail for this object" CREATED="2014-10-31T10:00:01.001Z" MIMETYPE="text/xml" FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit">
14
+ <foxml:xmlContent>
15
+ <audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#">
16
+ <audit:record ID="AUDREC1">
17
+ <audit:process type="Fedora API-M"/>
18
+ <audit:action>ingest</audit:action>
19
+ <audit:componentID></audit:componentID>
20
+ <audit:responsibility>fedoraAdmin</audit:responsibility>
21
+ <audit:date>2014-10-31T10:00:01.001Z</audit:date>
22
+ <audit:justification>Ingested from local file /var/tmp/datamodel-load/ConceptCModel.xml</audit:justification>
23
+ </audit:record>
24
+ </audit:auditTrail>
25
+ </foxml:xmlContent>
26
+ </foxml:datastreamVersion>
27
+ </foxml:datastream>
28
+ <foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
29
+ <foxml:datastreamVersion ID="DC1.0" LABEL="Dublin Core Record for CModel for concept objects" CREATED="2014-10-31T10:00:01.102Z" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" SIZE="370">
30
+ <foxml:xmlContent>
31
+ <oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
32
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
33
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
34
+ xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
35
+ <dc:title>CModel for concept objects</dc:title>
36
+ <dc:creator>CUL/IS:LDPD</dc:creator>
37
+ <dc:contributor>NNC</dc:contributor>
38
+ <dc:identifier>ldpd:Concept</dc:identifier>
39
+ </oai_dc:dc>
40
+ </foxml:xmlContent>
41
+ </foxml:datastreamVersion>
42
+ </foxml:datastream>
43
+ <foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
44
+ <foxml:datastreamVersion ID="RELS-EXT1.0" LABEL="RDF Statements about this object" CREATED="2014-10-31T10:00:01.203Z" MIMETYPE="application/rdf+xml" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" SIZE="598">
45
+ <foxml:xmlContent>
46
+ <rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
47
+ <rdf:Description rdf:about="info:fedora/ldpd:Concept">
48
+ <fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ContentModel-3.0"></fedora-model:hasModel>
49
+ <fedora-model:hasService rdf:resource="info:fedora/ldpd:sdef.Core"></fedora-model:hasService>
50
+ </rdf:Description>
51
+ </rdf:RDF>
52
+ </foxml:xmlContent>
53
+ </foxml:datastreamVersion>
54
+ </foxml:datastream>
55
+ <foxml:datastream ID="DS-COMPOSITE-MODEL" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
56
+ <foxml:datastreamVersion ID="DS-COMPOSITE-MODEL1.0" LABEL="Datastream Composite Model" CREATED="2014-10-31T10:00:01.204Z" MIMETYPE="text/xml" FORMAT_URI="info:fedora/fedora-system:FedoraDSCompositeModel-1.0" SIZE="447">
57
+ <foxml:xmlContent>
58
+ <dsCompositeModel xmlns="info:fedora/fedora-system:def/dsCompositeModel#">
59
+ <dsTypeModel ID="DC">
60
+ <form FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" MIME="text/xml"></form>
61
+ </dsTypeModel>
62
+ <dsTypeModel ID="RELS-EXT">
63
+ <form FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" MIME="application/rdf+xml"></form>
64
+ </dsTypeModel>
65
+ </dsCompositeModel>
66
+ </foxml:xmlContent>
67
+ </foxml:datastreamVersion>
68
+ </foxml:datastream>
69
+ </foxml:digitalObject>