/
hyrax_3_0.yaml
555 lines (522 loc) · 17.8 KB
/
hyrax_3_0.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
---
#-------------------
# M3 Metadata Model
#-------------------
# Hyrax Profile
# Corresponds with the property list found in the Hyrax MAP, with some updates based on reported metadata issues: https://samvera.github.io/metadata_application_profile.html
m3_version: "1.0.beta1"
# Administrative information about the profile/model
profile:
responsibility: https://samvera.org/
responsibility_statement: Samvera Community
date_modified: "2020-09-28"
type: Hyrax 3.0 concept
version: 1.0
#---------------------------------------------------------
# Mapping Definitions
#---------------------------------------------------------
# Definition of the mappings to different services or target schemas referenced in the profile.
#
# mappings:
# prefix: the abbreviation used to indicate the mapping target
# name: a fuller name of the mapping
mappings:
dpla:
name: Digital Public Library of America
# Class Definitions
classes:
Collection:
display_label: "Collection"
GenericWork:
display_label: "Generic Work"
Image:
display_label: "Image"
# Property Definitions
properties:
creator:
display_label:
default: "Creator"
definition:
default: "An entity responsible for making the resource."
usage_guidelines:
default: "Record in lastname, firstname order."
requirement: required
sample_value:
- "Butler, Octavia"
property_uri: http://purl.org/dc/elements/1.1/creator
available_on:
class:
- GenericWork
- Image
range: http://www.w3.org/2000/01/rdf-schema#Literal
cardinality:
minimum: 1
index_documentation: "Creator should be indexed as searchable, displayable, and facetable."
mapping:
dpla: "http://purl.org/dc/terms/creator"
rights_statement:
display_label:
default: "Rights Statement"
definition:
default: "The value in this element will indicate the copyright, usage and access rights that apply to this digital representation. It is strongly recommended that a value is supplied for this property for each instance of a web resource. The rights statement specified at the level of the web resource will ‘override’ the statement specified at the level of the aggregation."
usage_guidelines:
default: Values provided from drop-down menu controlled through "https://github.com/samvera/hyrax/blob/master/lib/generators/hyrax/templates/config/authorities/rights_statements.yml"
requirement: required
controlled_values:
format: http://www.w3.org/2001/XMLSchema#anyURI
sources:
- http://rightsstatements.org/
- http://creativecommons.org/
sample_value:
- http://rightsstatements.org/vocab/InC/1.0/
property_uri: http://www.europeana.eu/schemas/edm/rights
available_on:
class:
- GenericWork
- Image
range: http://purl.org/dc/terms/RightsStatement
data_type: http://www.w3.org/2001/XMLSchema#anyURI
cardinality:
minimum: 1
maximum: 1
index_documentation: "Rights statement should be indexed as facetable."
mapping:
dpla: "http://www.europeana.eu/schemas/edm/rights"
alternative_title:
display_label:
default: "Alternative Title"
definition:
default: "An alternative name for the resource."
requirement: optional
sample_value:
- "There and Back Again"
property_uri: http://purl.org/dc/terms/alternative
available_on:
class:
- GenericWork
- Image
- Collection
range: http://purl.org/dc/terms/alternative
data_type: http://www.w3.org/2000/01/rdf-schema#Literal
cardinality:
minimum: 0
index_documentation: "Alternative Title should be indexed as searchable and displayable." #Not indexed and searchable in Nurax
mapping:
dpla: "http://purl.org/dc/terms/alternative"
contributor:
display_label:
default: "Contributor"
definition:
default: "An entity responsible for making contributions to the resource."
requirement: recommended
sample_value:
- "Harrison, Vashti"
property_uri: http://purl.org/dc/elements/1.1/contributor
available_on:
class:
- GenericWork
- Image
- Collection
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 0
index_documentation: "Contributor should be indexed as searchable and displayable."
mapping:
dpla: "http://purl.org/dc/terms/contributor"
description:
display_label:
default: "Description"
definition:
default: "An account of the resource."
collection: "Free-text notes about the collection. Examples include abstracts of a paper or citation information for a journal article." #This is from Nurax help text
requirement: recommended
sample_value:
- "This image has been taken from scan 000361 from volume 02 of \"Nouvelle Histoire de Lyon et des provinces de Lyonnais, Forez, Beaujolais, etc.\""
property_uri: http://purl.org/dc/elements/1.1/description
available_on:
class:
- GenericWork
- Image
- Collection
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 0
index_documentation: "Description should be indexed as searchable and for display in search results."
mapping:
dpla: "http://purl.org/dc/terms/description"
abstract:
display_label:
default: "Abstract"
definition:
default: "A summary of the resource."
requirement: recommended
sample_value:
- "This is my article abstract. It tells you what the article is going to tell you. This is not a real abstract, it's an abstraction."
property_uri: http://purl.org/dc/terms/abstract
available_on:
class:
- GenericWork
- Image
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 0
keyword:
display_label:
default: "Keyword"
collection: "Keyword"
definition:
default: "Keywords or tags used to describe this content."
requirement: recommended
sample_value:
- "afrofuturism"
property_uri: https://schema.org/keywords
available_on:
class:
- GenericWork
- Image
- Collection
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 0
index_documentation: "Keyword should be indexed as searchable and a facetable field." #keyword is facetable but it shouldn't be.
license:
display_label:
default: "License"
definition:
default: "A legal document giving official permission to do something with the resource."
usage_guidelines:
default: Values provided from drop-down menu controlled through "https://github.com/samvera/hyrax/blob/master/lib/generators/hyrax/templates/config/authorities/licenses.yml"
requirement: recommended
controlled_values:
format: http://www.w3.org/2001/XMLSchema#anyURI
sources: http://creativecommons.org/
sample_value:
- http://creativecommons.org/licenses/by-nc-nd/3.0/
property_uri: http://purl.org/dc/terms/license
available_on:
class:
- GenericWork
- Image
- Collection
data_type: http://www.w3.org/2001/XMLSchema#anyURI
cardinality:
minimum: 0 #License is repeatable but shouldn't be.
index_documentation: "License should be indexed as a facetable field."
access_right:
display_label:
default: "Access Rights"
definition:
default: "Information about who can access the resource or an indication of its security status."
requirement: recommended
sample_value:
- "campus-only"
property_uri: http://purl.org/dc/terms/accessRights
available_on:
class:
- GenericWork
- Image
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 0
rights_notes:
display_label:
default: "Rights notes"
definition:
default: "Additional information about rights held in and over the resource. Can be used to note who holds the rights."
requirement: recommended
sample_value:
- "Rights held by Institution X."
property_uri: http://purl.org/dc/elements/1.1/rights
available_on:
class:
- GenericWork
- Image
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 0
publisher:
display_label:
default: "Publisher"
definition:
default: "An entity responsible for making the resource available."
requirement: recommended
sample_value:
- "Indiana University, Bloomington"
property_uri: http://purl.org/dc/elements/1.1/publisher
available_on:
class:
- GenericWork
- Image
- Collection
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 0
index_documentation: "Publisher should be indexed as a searchable and facetable field."
mapping:
dpla: "http://purl.org/dc/terms/publisher"
date_created:
display_label:
default: "Date Created"
definition:
default: "Date of creation of the resource."
usage_guidelines:
default: "Enter in yyyy-mm-dd, yyyy-mm, or yyyy format."
requirement: recommended
sample_value:
- "2019-04-11"
property_uri: http://purl.org/dc/terms/created
available_on:
class:
- GenericWork
- Image
- Collection
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 0
index_documentation: "Date created should be indexed as a searchable, displayable, and facetable field."
mapping:
dpla: "http://purl.org/dc/elements/1.1/date"
subject:
display_label:
default: "Subject"
definition:
default: "A topic of the resource."
requirement: recommended
sample_value:
- "Ants"
property_uri: http://purl.org/dc/elements/1.1/subject
available_on:
class:
- GenericWork
- Image
- Collection
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 0
index_documentation: "Subject should be indexed as searchable and facetable."
mapping:
dpla: "http://purl.org/dc/terms/subject"
language:
display_label:
default: "Language"
definition:
default: "A language of the resource."
requirement: recommended
sample_value:
- "French"
property_uri: http://purl.org/dc/elements/1.1/language
available_on:
class:
- GenericWork
- Image
- Collection
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 0
index_documentation: "Language should be indexed as searchable and facetable."
mapping:
dpla: "http://purl.org/dc/terms/language"
identifier:
display_label:
default: "Identifier"
definition:
default: "An unambiguous reference to the resource within a given context."
requirement: recommended
sample_value:
- "https://purl.dlib.indiana.edu/iudl/media/682x11zs2s"
property_uri: http://purl.org/dc/terms/identifier
available_on:
class:
- GenericWork
- Image
- Collection
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 0
index_documentation: "Identifier should be indexed as searchable."
mapping:
dpla: "http://purl.org/dc/terms/identifier"
based_near:
display_label:
default: "Location"
definition:
default: "A location that something is based near, for some broadly human notion of near."
usage_guidelines:
default: Hyrax uses Geonames web service for data entry. #Does this require Questioning Authority gem? If yes, that should be indicated.
requirement: recommended
controlled_values:
format: literal
sources: http://www.geonames.org
sample_value:
- "Peoria, Illinois, United States"
property_uri: http://xmlns.com/foaf/0.1/based_near
available_on:
class:
- GenericWork
- Image
- Collection
range: http://www.geonames.org/ontology#Feature
data_type: http://www.w3.org/2001/XMLSchema#anyURI
cardinality:
minimum: 0
index_documentation: "Location should be indexed as searchable and facetable."
mapping:
dpla: "http://purl.org/dc/terms/spatial"
related_url:
display_label:
default: "Related URL"
definition:
default: "Further information about the subject resource."
requirement: recommended
sample_value:
- "http://www.cnn.com"
property_uri: http://www.w3.org/2000/01/rdf-schema#seeAlso
available_on:
class:
- GenericWork
- Image
- Collection
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 0
index_documentation: "Related URL should be indexed as searchable."
mapping:
dpla: "http://purl.org/dc/elements/1.1/relation"
source:
display_label:
default: "Source"
definition:
default: "A related resource from which the described resource is derived."
requirement: recommended
sample_value:
- "Collected Works of William Shakespeare"
property_uri: http://purl.org/dc/terms/source
available_on:
class:
- GenericWork
- Image
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 0
index_documentation: "Source should be indexed as searchable."
resource_type:
display_label:
default: "Resource type"
definition:
default: "The nature or genre of the resource."
usage_guidelines:
default: Values provided from drop-down menu controlled through "https://github.com/samvera/hyrax/blob/master/lib/generators/hyrax/templates/config/authorities/resource_types.yml"
requirement: recommended
controlled_values:
format: http://www.w3.org/2000/01/rdf-schema#Literal
sample_value:
- "Article"
property_uri: http://purl.org/dc/terms/type
available_on:
class:
- GenericWork
- Image
- Collection
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 0
index_documentation: "Resource type should be indexed as searchable, displayable, and facetable."
mapping:
dpla: "http://purl.org/dc/terms/type"
# bibliographic_citation listed in Hyrax 3.0 Map but greyed out. It is not in Nurax (Hyrax Version: 3.0.0.pre.rc2).
title:
display_label:
default: "Title"
definition: #Is collection definition necessary since we are not using text from Nurax?
default: "A name given to the resource."
collection: #fill in with helptext from Nurax
requirement: required
sample_value:
- "On the Road"
property_uri: http://purl.org/dc/terms/title
available_on:
class:
- GenericWork
- Image
- Collection
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 1
maximum: 1
index_documentation: "Title should be indexed as searchable and displayable."
mapping:
dpla: "http://purl.org/dc/terms/title"
depositor:
display_label:
default: "Depositor"
definition:
default: "A current owner of an item who deposited the item into the custody of another person, family, or organization, while still retaining ownership."
usage_guidelines:
default: This metadata is automatically generated by the system based on the depositor's e-mail address used for login.
requirement: required
sample_value:
- "person@example.edu"
property_uri: http://id.loc.gov/vocabulary/relators/dpt
available_on: #Is this used in Collection, too?
class:
- GenericWork
- Image
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#string
cardinality:
minimum: 1
maximum: 1
date_uploaded:
display_label:
default: "Date Uploaded"
definition:
default: "Date of submission of the resource."
usage_guidelines:
default: This metadata is automatically generated by the system.
requirement: required
sample_value:
- "2019-04-11"
property_uri: http://purl.org/dc/terms/dateSubmitted
available_on: #Is there an equivalent for when the Collection is created?
class:
- GenericWork
- Image
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#dateTime
cardinality:
minimum: 1
maximum: 1
date_modified:
display_label:
default: "Last modified"
definition:
default: "Date on which the resource was changed."
usage_guidelines:
default: This metadata is automatically generated by the system.
requirement: required
sample_value:
- "2019-04-11"
property_uri: http://purl.org/dc/terms/modified
available_on: #Is this used in Collection, too?
class:
- GenericWork
- Image
range: http://www.w3.org/2000/01/rdf-schema#Literal
data_type: http://www.w3.org/2001/XMLSchema#dateTime
cardinality:
minimum: 0