scooby_snacks 0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +54 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/examples/config/metadata.yml +283 -0
- data/examples/config/metadata/shared.yml +0 -0
- data/examples/example_config_1/README.md +7 -0
- data/examples/example_config_1/metadata.yml +96 -0
- data/examples/example_config_1/shared_schema.yml +93 -0
- data/examples/example_config_2/README.md +10 -0
- data/examples/example_config_2/metadata.yml +20 -0
- data/examples/example_config_2/metadata/local/classes.yml +25 -0
- data/examples/example_config_2/metadata/local/namespaces.yml +10 -0
- data/examples/example_config_2/metadata/local/properties.yml +61 -0
- data/examples/example_config_2/metadata/local/work_types.yml +25 -0
- data/examples/example_config_2/metadata/shared/geospatial_properties.yml +17 -0
- data/examples/example_config_2/metadata/shared/uc/classes.yml +32 -0
- data/examples/example_config_2/metadata/shared/uc/properties.yml +133 -0
- data/lib/generators/scooby_snacks/install/templates/metadata.yml +251 -0
- data/lib/scooby_snacks.rb +11 -0
- data/lib/scooby_snacks/blacklight_configuration.rb +68 -0
- data/lib/scooby_snacks/field.rb +174 -0
- data/lib/scooby_snacks/initialize.rb +4 -0
- data/lib/scooby_snacks/metadata_schema.rb +170 -0
- data/lib/scooby_snacks/presenter_behavior.rb +10 -0
- data/lib/scooby_snacks/solr_behavior.rb +71 -0
- data/lib/scooby_snacks/version.rb +3 -0
- data/lib/scooby_snacks/work_form_behavior.rb +36 -0
- data/lib/scooby_snacks/work_model_behavior.rb +35 -0
- data/scooby_snacks.gemspec +35 -0
- metadata +108 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
|
|
2
|
+
#-------------------
|
|
3
|
+
# Shared Metadata Model
|
|
4
|
+
# Property Settings
|
|
5
|
+
#-------------------
|
|
6
|
+
#
|
|
7
|
+
# This section defines every metadata property that can be used
|
|
8
|
+
# in the system. Individual work types may override some settings
|
|
9
|
+
# defined here. Predicates for each property should be defined
|
|
10
|
+
# here, and cannot be overridden once defined.
|
|
11
|
+
|
|
12
|
+
properties:
|
|
13
|
+
|
|
14
|
+
default:
|
|
15
|
+
definition: "This property has not yet been documented."
|
|
16
|
+
required: false
|
|
17
|
+
multiple: true
|
|
18
|
+
primary: false
|
|
19
|
+
hidden: false
|
|
20
|
+
work_title: false
|
|
21
|
+
input: scalar
|
|
22
|
+
range: RDF:Literal
|
|
23
|
+
|
|
24
|
+
title:
|
|
25
|
+
definition: "The title of the resource."
|
|
26
|
+
usage_note: "Multiple titles are allowed, but discouraged. In some contexts it cannot be predicted which title will be displayed."
|
|
27
|
+
predicate: "DC:title"
|
|
28
|
+
label: "Title"
|
|
29
|
+
range: "rdfs:Literal"
|
|
30
|
+
required: true
|
|
31
|
+
primary: true
|
|
32
|
+
work_title: true
|
|
33
|
+
|
|
34
|
+
creator:
|
|
35
|
+
definition: "A person or organization responsible for creating the resource."
|
|
36
|
+
usage_note: "We plan to use a controlled vocabulary for this field in the future. It is encouraged to use names corresponding exactly to names from the LCSH names directory."
|
|
37
|
+
predicate: "DC:creator"
|
|
38
|
+
primary: true
|
|
39
|
+
required: true
|
|
40
|
+
facet: true
|
|
41
|
+
|
|
42
|
+
contributor:
|
|
43
|
+
definition: "A person or organization responsible for making contributions to the resource."
|
|
44
|
+
usage_note: "We plan to use a controlled vocabulary for this field in the future. It is encouraged to use names corresponding exactly to names from the LCSH names directory."
|
|
45
|
+
predicate: "DC:contributor"
|
|
46
|
+
facet: true
|
|
47
|
+
|
|
48
|
+
publisher:
|
|
49
|
+
definition: "An entity responsible for making the resource available."
|
|
50
|
+
usage_note: "We plan to use a controlled vocabulary for this field in the future. It is encouraged to use names corresponding exactly to names from the LCSH names directory."
|
|
51
|
+
predicate: "DC:publisher"
|
|
52
|
+
facet: true
|
|
53
|
+
|
|
54
|
+
description:
|
|
55
|
+
definition: "A summary or account of the resource."
|
|
56
|
+
predicate: "DC:description"
|
|
57
|
+
range: "rdfs:Literal"
|
|
58
|
+
primary: true
|
|
59
|
+
|
|
60
|
+
subject:
|
|
61
|
+
definition: "The topic of the resource."
|
|
62
|
+
usage_note: "We plan to use a controlled vocabulary for this field in the future. It is encouraged to use names corresponding exactly to names from the LCSH vocabulary."
|
|
63
|
+
predicate: "DC:subject"
|
|
64
|
+
facet: true
|
|
65
|
+
primary: true
|
|
66
|
+
|
|
67
|
+
date_created:
|
|
68
|
+
definition: "Date of creation of the resource."
|
|
69
|
+
predicate: "DC:created"
|
|
70
|
+
range: "edm:TimeSpan"
|
|
71
|
+
label: "Date Created"
|
|
72
|
+
primary: true
|
|
73
|
+
required: true
|
|
74
|
+
|
|
75
|
+
language:
|
|
76
|
+
definition: "A language of the resource."
|
|
77
|
+
predicate: "DC:language"
|
|
78
|
+
range: skos:concept
|
|
79
|
+
|
|
80
|
+
source:
|
|
81
|
+
definition: "Use to record and previous publication information, e.g., the place of publication and publisher name for a physical resource."
|
|
82
|
+
predicate: "DC:source"
|
|
83
|
+
|
|
84
|
+
call_number:
|
|
85
|
+
definition: "A call number identifier for the resource."
|
|
86
|
+
predicate: "Bibframe:classification"
|
|
87
|
+
multiple: false
|
|
88
|
+
|
|
89
|
+
copyright_statement:
|
|
90
|
+
definition: "Information about rights held in and over the resource."
|
|
91
|
+
predicate: "DC:rights"
|
|
92
|
+
primary: true
|
|
93
|
+
required: true
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# configuration example 2
|
|
2
|
+
|
|
3
|
+
This example is more complex. The user incorporates two shared metadata profiles and extensive local customizations. The different sections of the metadata schema are broken up into different files to make it easier to find things.
|
|
4
|
+
|
|
5
|
+
As usual, the metadata.yml file is the only one that is automatically loaded. This file explicitly lists which other files to load and in which order. The shared schema files are loaded first. Local customizations are loaded afterward, overwriting shared settings where appropriate.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# DISCLAIMER: NOT AN ACTUAL SCHEMA
|
|
9
|
+
|
|
10
|
+
This is an example of how one might specify a metadata schema using ScoobySnacks. It does not reflect any schema that UCSC has ever used or planned to use. Our developer made this up to demonstrate how the schema configuration files might work.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#-------------------
|
|
2
|
+
# Other Schema Files
|
|
3
|
+
#-------------------
|
|
4
|
+
# This section specifies other configuration files that contain
|
|
5
|
+
# metadata information. Files are loaded in order, and the
|
|
6
|
+
# directives in this file are loaded last.
|
|
7
|
+
# File paths are specified relative to the application's 'config' directory.
|
|
8
|
+
# Schema information from all files are merged together. Some options
|
|
9
|
+
# may be overridden in files loaded later.
|
|
10
|
+
# Other options must be defined only once per property
|
|
11
|
+
# and cannot be overwritten. These include "predicate" and "definition".
|
|
12
|
+
|
|
13
|
+
schema_files:
|
|
14
|
+
- metadata/shared/uc/properties.yml
|
|
15
|
+
- metadata/shared/uc/classes.yml
|
|
16
|
+
- metadata/shared/samvera/geospatial_properties.yml
|
|
17
|
+
- metadata/local/properties.yml
|
|
18
|
+
- metadata/local/namespaces.yml
|
|
19
|
+
- metadata/local/work_types.yml
|
|
20
|
+
- metadata/local/classes.yml
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#-------------------
|
|
2
|
+
# Local Class Settings
|
|
3
|
+
# EXAMPLE - NOT A REAL SCHEMA
|
|
4
|
+
#-------------------
|
|
5
|
+
# This sections defines classes of RDF objects
|
|
6
|
+
# that are persisted in fedora but are not PCDM works.
|
|
7
|
+
# These may correspond to objects in external authorities
|
|
8
|
+
# about which we want to ammend keep our own local metadata.
|
|
9
|
+
# Here, we define which properties are available to each Class,
|
|
10
|
+
# among other class properties. .
|
|
11
|
+
|
|
12
|
+
classes:
|
|
13
|
+
|
|
14
|
+
Link:
|
|
15
|
+
properties:
|
|
16
|
+
"label":
|
|
17
|
+
definition: "The title of this resource to be displayed publicly"
|
|
18
|
+
predicate: "skos:prefLabel"
|
|
19
|
+
"linked_resource_type":
|
|
20
|
+
definition: "The human-readable type of linked resource (e.g. finding aid)."
|
|
21
|
+
predicate: "ucsd:relatedType"
|
|
22
|
+
url:
|
|
23
|
+
definition: "The address of the resource to link to"
|
|
24
|
+
predicate: "schema:url"
|
|
25
|
+
range: "xsd:anyURI"
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#-------------------
|
|
2
|
+
# RDF Namespaces
|
|
3
|
+
# EXAMPLE - NOT A REAL SCHEMA
|
|
4
|
+
#-------------------
|
|
5
|
+
# This section defines additional namespaces for rdf predicates.
|
|
6
|
+
# The most common namespaces are predefined by the system, but
|
|
7
|
+
# we can define others here.
|
|
8
|
+
|
|
9
|
+
namespaces:
|
|
10
|
+
edm: "http://www.europeana.eu/schemas/edm/"
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
#-------------------
|
|
2
|
+
# Local Property Settings
|
|
3
|
+
# EXAMPLE - NOT A REAL SCHEMA
|
|
4
|
+
#-------------------
|
|
5
|
+
# This section defines every metadata property that can be used
|
|
6
|
+
# in the system. Individual work types may override some settings
|
|
7
|
+
# defined here. Predicates for each property should be defined
|
|
8
|
+
# here, and cannot be overridden once defined.
|
|
9
|
+
|
|
10
|
+
properties:
|
|
11
|
+
|
|
12
|
+
default:
|
|
13
|
+
definition: "This property has not yet been documented."
|
|
14
|
+
usage_note: "This is the default usage note for a metadata property. If you are seeing this in an active application, you need to define a usage note for your property."
|
|
15
|
+
usage_warning:
|
|
16
|
+
required: false
|
|
17
|
+
multiple: true
|
|
18
|
+
primary: false
|
|
19
|
+
hidden: false
|
|
20
|
+
work_title: false
|
|
21
|
+
input: scalar
|
|
22
|
+
range: RDF:Literal
|
|
23
|
+
|
|
24
|
+
title_alternative:
|
|
25
|
+
label: "Other titles"
|
|
26
|
+
|
|
27
|
+
accession_number:
|
|
28
|
+
definition: "An archival accession number for the resource."
|
|
29
|
+
predicate: "DC:identifier"
|
|
30
|
+
range: "rdfs:Literal"
|
|
31
|
+
multiple: false
|
|
32
|
+
|
|
33
|
+
call_number:
|
|
34
|
+
definition: "A call number identifier for the resource."
|
|
35
|
+
predicate: "Bibframe:classification"
|
|
36
|
+
multiple: false
|
|
37
|
+
|
|
38
|
+
donor_provenance:
|
|
39
|
+
definition: "A statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation."
|
|
40
|
+
predicate: "DC:provenance"
|
|
41
|
+
range: "rdf:Object"
|
|
42
|
+
|
|
43
|
+
box_folder:
|
|
44
|
+
definition: "Location in the holding agency where the item is shelved or stored."
|
|
45
|
+
predicate: "BF2:physicalLocation"
|
|
46
|
+
rights_holder:
|
|
47
|
+
definition: "A person or organization owning or managing rights over the resource."
|
|
48
|
+
predicate: "DC:rightsHolder"
|
|
49
|
+
range: "rdf:Object"
|
|
50
|
+
|
|
51
|
+
dcmi_type:
|
|
52
|
+
definition: "General nature or type of the resource (e.g., image, text, etc.). Does not capture aboutness."
|
|
53
|
+
predicate: "DC:type"
|
|
54
|
+
range: "skos:concept"
|
|
55
|
+
facet: true
|
|
56
|
+
|
|
57
|
+
scale:
|
|
58
|
+
definition: "Ratio of the dimensions of a form contained or embodied in a resource to the dimensions of the entity it represents, e.g., for images or cartographic resources."
|
|
59
|
+
predicate: "Bibframe:cartographicScale"
|
|
60
|
+
range: "rdfs:Literal"
|
|
61
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#-------------------
|
|
2
|
+
# Work Type Settings
|
|
3
|
+
# EXAMPLE - NOT A REAL SCHEMA
|
|
4
|
+
#-------------------
|
|
5
|
+
# Here we define metadata settings based on work type.
|
|
6
|
+
# This section specifies which properties (defined above)
|
|
7
|
+
# may be applied to each work type, and may specify display
|
|
8
|
+
# settings such as "required" or "hidden".
|
|
9
|
+
#
|
|
10
|
+
# In the future, this may be extended to actually define
|
|
11
|
+
# the work types for the application here.
|
|
12
|
+
|
|
13
|
+
work_types:
|
|
14
|
+
work:
|
|
15
|
+
properties:
|
|
16
|
+
title:
|
|
17
|
+
description:
|
|
18
|
+
required: true
|
|
19
|
+
creator:
|
|
20
|
+
contributor:
|
|
21
|
+
physical_extent:
|
|
22
|
+
rights_license:
|
|
23
|
+
lecture:
|
|
24
|
+
course:
|
|
25
|
+
gdao_work:
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#-------------------
|
|
2
|
+
# Shared Geospatial Property Settings
|
|
3
|
+
# EXAMPLE - NOT AN ACTUAL SCHEMA
|
|
4
|
+
#-------------------
|
|
5
|
+
# This section defines every metadata property that can be used
|
|
6
|
+
# in the system. Individual work types may override some settings
|
|
7
|
+
# defined here. Predicates for each property should be defined
|
|
8
|
+
# here, and cannot be overridden once defined.
|
|
9
|
+
|
|
10
|
+
properties:
|
|
11
|
+
|
|
12
|
+
coordinates:
|
|
13
|
+
definition: Spatial characteristics of the resource.
|
|
14
|
+
predicate: "DC:spatial"
|
|
15
|
+
|
|
16
|
+
# obviously this would be more complicated in an actual schema, but hopefully you get the idea of how it might work
|
|
17
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
#-------------------
|
|
2
|
+
# Shared Class Settings
|
|
3
|
+
# EXAMPLE - NOT A REAL SCHEMA
|
|
4
|
+
#-------------------
|
|
5
|
+
# This sections defines classes of RDF objects
|
|
6
|
+
# that are persisted in fedora but are not PCDM works.
|
|
7
|
+
# These may correspond to objects in external authorities
|
|
8
|
+
# about which we want to ammend keep our own local metadata.
|
|
9
|
+
# Here, we define which properties are available to each Class,
|
|
10
|
+
# among other class properties. .
|
|
11
|
+
|
|
12
|
+
Agent:
|
|
13
|
+
parent: "ActiveTripes::Resource"
|
|
14
|
+
rdf_label: "::RDF::Vocab::FOAF.Agent"
|
|
15
|
+
properties:
|
|
16
|
+
local_label:
|
|
17
|
+
definition: "If set, this is a local label for this agent to be indexed and displayed instead of any label fetched from remote authority"
|
|
18
|
+
predicate: 'skos:altLabel'
|
|
19
|
+
|
|
20
|
+
Timespan:
|
|
21
|
+
parent: "ActiveTripes::Resource"
|
|
22
|
+
rdf_label: "::RDF::Vocab::FOAF.Agent"
|
|
23
|
+
properties:
|
|
24
|
+
label:
|
|
25
|
+
definition: "A name or label for this timespan"
|
|
26
|
+
predicate: "skos:prefLabel"
|
|
27
|
+
begin:
|
|
28
|
+
definition: "The time when a time period began or commenced."
|
|
29
|
+
predicate: "edm:begin"
|
|
30
|
+
end:
|
|
31
|
+
definition: "The time when a time period ended."
|
|
32
|
+
predicate: "edm:end"
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
#-------------------
|
|
2
|
+
# Shared Property Settings
|
|
3
|
+
# EXAMPLE - NOT AN ACTUAL SCHEMA
|
|
4
|
+
#-------------------
|
|
5
|
+
# This section defines every metadata property that can be used
|
|
6
|
+
# in the system. Individual work types may override some settings
|
|
7
|
+
# defined here. Predicates for each property should be defined
|
|
8
|
+
# here, and cannot be overridden once defined.
|
|
9
|
+
|
|
10
|
+
properties:
|
|
11
|
+
|
|
12
|
+
default:
|
|
13
|
+
multiple: true
|
|
14
|
+
required: false
|
|
15
|
+
primary: false
|
|
16
|
+
hidden: false
|
|
17
|
+
work_title: false
|
|
18
|
+
display_type: false
|
|
19
|
+
range: "rdfs:Literal"
|
|
20
|
+
facet: false
|
|
21
|
+
|
|
22
|
+
title:
|
|
23
|
+
definition: "The title of the resource."
|
|
24
|
+
usage note: "Use this only for the primary title of the resource. Other titles are put in title_alternative."
|
|
25
|
+
predicate: "DC:title"
|
|
26
|
+
label: "Title"
|
|
27
|
+
required: true
|
|
28
|
+
primary: true
|
|
29
|
+
multiple: false
|
|
30
|
+
work_title: true
|
|
31
|
+
|
|
32
|
+
title_alternative:
|
|
33
|
+
definition: "An alternative title for the resource."
|
|
34
|
+
usage note: "All titles other than the primary display title should be here"
|
|
35
|
+
predicate: "DC:alternative"
|
|
36
|
+
range: "rdfs:Literal"
|
|
37
|
+
|
|
38
|
+
creator:
|
|
39
|
+
definition: "A person or organization responsible for creating the resource."
|
|
40
|
+
usage note: "Every creator must have a name in a name authority. We have a local name authority for creators that are not in any recognized authority. Please check NAF and ULAN thoroughly before creating a new name entry in our local name authority."
|
|
41
|
+
predicate: "DC:creator"
|
|
42
|
+
range: "Agent"
|
|
43
|
+
vocabularies: "NAF, ULAN, Local"
|
|
44
|
+
primary: true
|
|
45
|
+
required: true
|
|
46
|
+
facet: true
|
|
47
|
+
|
|
48
|
+
contributor:
|
|
49
|
+
definition: "A person or organization responsible for making contributions to the resource."
|
|
50
|
+
predicate: "DC:contributor"
|
|
51
|
+
range: "Agent"
|
|
52
|
+
vocabularies: "NAF, ULAN, Local"
|
|
53
|
+
facet: true
|
|
54
|
+
|
|
55
|
+
publisher:
|
|
56
|
+
definition: "An entity responsible for making the resource available."
|
|
57
|
+
predicate: "DC:publisher"
|
|
58
|
+
range: "Agent"
|
|
59
|
+
facet: true
|
|
60
|
+
|
|
61
|
+
description:
|
|
62
|
+
definition: "A summary of the resource."
|
|
63
|
+
predicate: "DC:description"
|
|
64
|
+
|
|
65
|
+
description_contents:
|
|
66
|
+
definition: "A list of subunits of the resource."
|
|
67
|
+
predicate: "DC:tableOfContents"
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
subject:
|
|
71
|
+
definition: "The topic of the resource."
|
|
72
|
+
predicate: "DC:subject"
|
|
73
|
+
range: "skos:Concept"
|
|
74
|
+
# vocabularies: LCSH, NAF, ULAN, GNIS, AAT, Local
|
|
75
|
+
facet: true
|
|
76
|
+
primary: true
|
|
77
|
+
|
|
78
|
+
genre_form:
|
|
79
|
+
definition: "The genre, form, and/or physical characteristics of the resource being described. The material or physical carrier of the resource. Does not capture aboutness."
|
|
80
|
+
usage_note: "We only accept genre_forms in the getty Art and Architecture Thesaurus"
|
|
81
|
+
predicate: "DC:medium"
|
|
82
|
+
range: "skos:Concept"
|
|
83
|
+
vocabularies: AAT
|
|
84
|
+
facet: true
|
|
85
|
+
|
|
86
|
+
date_created:
|
|
87
|
+
definition: "Date of creation of the resource."
|
|
88
|
+
predicate: "DC:created"
|
|
89
|
+
range: "edm:TimeSpan"
|
|
90
|
+
label: "Date Created"
|
|
91
|
+
primary: true
|
|
92
|
+
required: true
|
|
93
|
+
|
|
94
|
+
date_published:
|
|
95
|
+
definition: "Date of formal issuance (e.g., publication) of the resource."
|
|
96
|
+
predicate: "DC:issued"
|
|
97
|
+
range: "edm:TimeSpan"
|
|
98
|
+
label: "Date Published"
|
|
99
|
+
|
|
100
|
+
language:
|
|
101
|
+
definition: "A language of the resource."
|
|
102
|
+
predicate: "DC:language"
|
|
103
|
+
range: skos:concept
|
|
104
|
+
|
|
105
|
+
source:
|
|
106
|
+
definition: "Use to record and previous publication information, e.g., the place of publication and publisher name for a physical resource."
|
|
107
|
+
predicate: "DC:source"
|
|
108
|
+
|
|
109
|
+
physical_extent:
|
|
110
|
+
definition: "Physical dimensions of the source resource."
|
|
111
|
+
predicate: "DC:extent"
|
|
112
|
+
|
|
113
|
+
rights_copyright_statement:
|
|
114
|
+
definition: "Information about rights held in and over the resource."
|
|
115
|
+
predicate: "DC:rights"
|
|
116
|
+
primary: true
|
|
117
|
+
required: true
|
|
118
|
+
|
|
119
|
+
rights_status:
|
|
120
|
+
definition: "Information about who can access the resource or an indication of its security status."
|
|
121
|
+
predicate: "DC:accessRights"
|
|
122
|
+
primary: true
|
|
123
|
+
required: true
|
|
124
|
+
facet: true
|
|
125
|
+
|
|
126
|
+
rights_license:
|
|
127
|
+
definition: "An associated license for the object (i.e. Creative Commons license, software licenses, etc.)."
|
|
128
|
+
predicate: "DC:license"
|
|
129
|
+
|
|
130
|
+
related_resource:
|
|
131
|
+
definition: "A resource related to this resource in a publicly visible way"
|
|
132
|
+
predicate: "DC:relation"
|
|
133
|
+
range: RelatedResource
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
#-------------------
|
|
2
|
+
# Metadata Field Settings
|
|
3
|
+
#-------------------
|
|
4
|
+
# This section defines every metadata property that can be used
|
|
5
|
+
# in the system. Individual work types may override some settings
|
|
6
|
+
# defined here. Predicates for each property should be defined
|
|
7
|
+
# here, and cannot be overridden once defined.
|
|
8
|
+
#
|
|
9
|
+
# Any attribute that is not specified will default to the value
|
|
10
|
+
# in the 'default' section
|
|
11
|
+
|
|
12
|
+
fields:
|
|
13
|
+
|
|
14
|
+
default:
|
|
15
|
+
definition: "This property has not yet been documented."
|
|
16
|
+
required: false
|
|
17
|
+
multiple: true
|
|
18
|
+
display_group: secondary
|
|
19
|
+
hidden: false
|
|
20
|
+
core: false
|
|
21
|
+
work_title: false
|
|
22
|
+
input: textbox
|
|
23
|
+
data_type: text
|
|
24
|
+
facet_limit: 5
|
|
25
|
+
facet: false
|
|
26
|
+
searchable: false
|
|
27
|
+
stored_in_solr: true
|
|
28
|
+
full_text_searchable: false
|
|
29
|
+
sortable: false
|
|
30
|
+
|
|
31
|
+
title:
|
|
32
|
+
definition: "The title of the resource."
|
|
33
|
+
usage_note: "Enter only the primary title of the resource. All other titles should be entered under Alternative Title."
|
|
34
|
+
predicate: "DC:title"
|
|
35
|
+
label: "Title"
|
|
36
|
+
required: true
|
|
37
|
+
display_groups:
|
|
38
|
+
- primary
|
|
39
|
+
- search_result
|
|
40
|
+
index_itemprop: name
|
|
41
|
+
work_title: true
|
|
42
|
+
searchable: true
|
|
43
|
+
full_text_searchable: true
|
|
44
|
+
OAI: DC:title
|
|
45
|
+
|
|
46
|
+
accessionNumber:
|
|
47
|
+
definition: "An archival accession number for the resource."
|
|
48
|
+
label: "Accession Number"
|
|
49
|
+
display_groups:
|
|
50
|
+
- admin_only
|
|
51
|
+
- editor_primary
|
|
52
|
+
predicate: "DC:identifier"
|
|
53
|
+
data_type: string
|
|
54
|
+
multiple: false
|
|
55
|
+
|
|
56
|
+
titleAlternative:
|
|
57
|
+
definition: "An alternative title for the resource."
|
|
58
|
+
usage_note: "All titles for this work other than the primary title should be listed here"
|
|
59
|
+
label: "Variant Title"
|
|
60
|
+
predicate: "DC:alternative"
|
|
61
|
+
display_groups:
|
|
62
|
+
- primary
|
|
63
|
+
- search_result
|
|
64
|
+
searchable: true
|
|
65
|
+
full_text_searchable: true
|
|
66
|
+
|
|
67
|
+
creator:
|
|
68
|
+
definition: "A person or organization responsible for creating the resource."
|
|
69
|
+
label: Creator
|
|
70
|
+
predicate: "DC:creator"
|
|
71
|
+
vocabularies:
|
|
72
|
+
- authority: loc
|
|
73
|
+
subauthority: names
|
|
74
|
+
- authority: getty
|
|
75
|
+
subauthority: ulan
|
|
76
|
+
- authority: local
|
|
77
|
+
subauthority: agents
|
|
78
|
+
searchable: true
|
|
79
|
+
full_text_searchable: true
|
|
80
|
+
index_itemprop: creator
|
|
81
|
+
display_groups:
|
|
82
|
+
- primary
|
|
83
|
+
- search_result
|
|
84
|
+
facet: true
|
|
85
|
+
input: textbox_autosuggest
|
|
86
|
+
OAI: DC:creator
|
|
87
|
+
|
|
88
|
+
resourceType:
|
|
89
|
+
definition: 'General nature or type of the resource (e.g., image, text, etc.). Does not capture aboutness. '
|
|
90
|
+
label: Type
|
|
91
|
+
searchable: true
|
|
92
|
+
predicate: DC:type
|
|
93
|
+
display_groups:
|
|
94
|
+
- secondary
|
|
95
|
+
- search_result
|
|
96
|
+
vocabulary:
|
|
97
|
+
authority: local
|
|
98
|
+
subauthority: dcmi_types
|
|
99
|
+
facet: true
|
|
100
|
+
input: dropdown
|
|
101
|
+
OAI: DC:type
|
|
102
|
+
multiple: false
|
|
103
|
+
|
|
104
|
+
rightsStatement:
|
|
105
|
+
definition: Information about rights held in and over the resource expressed in general terms (i.e. boilerplate statements).
|
|
106
|
+
label: Copyright Statement
|
|
107
|
+
predicate: DC:rights
|
|
108
|
+
required: 'true'
|
|
109
|
+
display-groups:
|
|
110
|
+
- secondary
|
|
111
|
+
- editor-primary
|
|
112
|
+
OAI: DC:rights
|
|
113
|
+
|
|
114
|
+
rightsHolder:
|
|
115
|
+
definition: A person or organization owning or managing rights over the resource.
|
|
116
|
+
label: Copyright Holder
|
|
117
|
+
predicate: DC:rightsHolder
|
|
118
|
+
display_groups:
|
|
119
|
+
- secondary
|
|
120
|
+
- editor_primary
|
|
121
|
+
vocabularies:
|
|
122
|
+
- authority: loc
|
|
123
|
+
subauthority: names
|
|
124
|
+
- authority: local
|
|
125
|
+
subauthority: agents
|
|
126
|
+
input: textbox_autosuggest
|
|
127
|
+
OAI: DC:rights
|
|
128
|
+
|
|
129
|
+
staffNote:
|
|
130
|
+
definition: Textual information about the resource. This property is used when no type is specified.
|
|
131
|
+
label: Staff Note
|
|
132
|
+
display_group: admin_only
|
|
133
|
+
predicate: MODS:note
|
|
134
|
+
stored_in_solr: false
|
|
135
|
+
|
|
136
|
+
subjectName:
|
|
137
|
+
definition: A name of the person that the resource is about.
|
|
138
|
+
label: Subject (People)
|
|
139
|
+
predicate: FOAF:name
|
|
140
|
+
vocabularies:
|
|
141
|
+
- authority: loc
|
|
142
|
+
subauthority: names
|
|
143
|
+
- authority: getty
|
|
144
|
+
subauthority: ulan
|
|
145
|
+
- authority: local
|
|
146
|
+
subauthority: agents
|
|
147
|
+
facet: true
|
|
148
|
+
searchable: true
|
|
149
|
+
full_text_searchable: true
|
|
150
|
+
input: textbox_autosuggest
|
|
151
|
+
display_groups:
|
|
152
|
+
- secondary
|
|
153
|
+
- editor_primary
|
|
154
|
+
- search_result
|
|
155
|
+
OAI: DC:subject
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
subjectTopic:
|
|
159
|
+
definition: The topic of the resource.
|
|
160
|
+
label: Subject (Topic)
|
|
161
|
+
predicate: DC:subject
|
|
162
|
+
vocabularies:
|
|
163
|
+
- authority: loc
|
|
164
|
+
subauthority: subjects
|
|
165
|
+
- authority: local
|
|
166
|
+
subauthority: topics
|
|
167
|
+
facet: true
|
|
168
|
+
searchable: true
|
|
169
|
+
full_text_searchable: true
|
|
170
|
+
index_itemprop: about
|
|
171
|
+
input: textbox_autosuggest
|
|
172
|
+
display_groups:
|
|
173
|
+
- secondary
|
|
174
|
+
- editor_primary
|
|
175
|
+
- search_result
|
|
176
|
+
OAI: DC:subject
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
dateCreated:
|
|
180
|
+
definition: Date of creation of the original resource.
|
|
181
|
+
encoding: W3CDTF
|
|
182
|
+
label: 'Date Created'
|
|
183
|
+
predicate: DC:date
|
|
184
|
+
data_type: date
|
|
185
|
+
index_itemprop: dateCreated
|
|
186
|
+
input: date
|
|
187
|
+
display_groups:
|
|
188
|
+
- secondary
|
|
189
|
+
- editor_primary
|
|
190
|
+
- search_result
|
|
191
|
+
OAI: DC:date
|
|
192
|
+
|
|
193
|
+
datePublished:
|
|
194
|
+
definition: Date of formal issuance (e.g., publication) of the resource.
|
|
195
|
+
encoding: W3CDTF
|
|
196
|
+
label: 'Date Published'
|
|
197
|
+
index_itemprop: datePublished
|
|
198
|
+
predicate: DC:issued
|
|
199
|
+
input: date
|
|
200
|
+
data_type: date
|
|
201
|
+
|
|
202
|
+
description:
|
|
203
|
+
definition: An account of the resource.
|
|
204
|
+
label: Description
|
|
205
|
+
predicate: DC:description
|
|
206
|
+
display_groups:
|
|
207
|
+
- primary
|
|
208
|
+
- search_result
|
|
209
|
+
index_itemprop: description
|
|
210
|
+
searchable: true
|
|
211
|
+
full_text_serachable: true
|
|
212
|
+
OAI: dc:description
|
|
213
|
+
|
|
214
|
+
keyword:
|
|
215
|
+
definition: Keywords (i.e. non-standard terms) assigned to the resource.
|
|
216
|
+
label: Keyword
|
|
217
|
+
predicate: schema:keywords
|
|
218
|
+
index_itemprop: keyword
|
|
219
|
+
display_groups:
|
|
220
|
+
- secondary
|
|
221
|
+
- search_result
|
|
222
|
+
facet: true
|
|
223
|
+
searchable: true
|
|
224
|
+
full_text_searchable: true
|
|
225
|
+
|
|
226
|
+
language:
|
|
227
|
+
definition: A language of the resource.
|
|
228
|
+
label: Language
|
|
229
|
+
predicate: DC:language
|
|
230
|
+
vocabularies:
|
|
231
|
+
- authority: loc
|
|
232
|
+
subauthority: languages
|
|
233
|
+
index_itemprop: inLanguage
|
|
234
|
+
input: textbox_autosuggest
|
|
235
|
+
display_groups:
|
|
236
|
+
- secondary
|
|
237
|
+
- editor_primary
|
|
238
|
+
OAI: DC:language
|
|
239
|
+
|
|
240
|
+
#-------------------
|
|
241
|
+
# RDF Namespaces
|
|
242
|
+
#-------------------
|
|
243
|
+
# Here we can define additional namespaces for rdf predicates.
|
|
244
|
+
# The most common namespaces are predefined by the system, but
|
|
245
|
+
# this allows us to define more.
|
|
246
|
+
|
|
247
|
+
namespaces:
|
|
248
|
+
edm: "http://www.europeana.eu/schemas/edm/"
|
|
249
|
+
opaque: "http://opaquenamespace.org/ns/"
|
|
250
|
+
schema: "http://schema.org/"
|
|
251
|
+
purlOnt: "http://purl.org/ontology/"
|