Skip to content

Commit

Permalink
Merge pull request #273 from scientist-softserv/update-unca-metadata
Browse files Browse the repository at this point in the history
minor metadata updates for UNCA work
  • Loading branch information
bkiahstroud authored Nov 21, 2024
2 parents eb0a66b + e322100 commit d50af95
Showing 1 changed file with 44 additions and 48 deletions.
92 changes: 44 additions & 48 deletions config/metadata/unca_work.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,14 @@
#
# Generated via
# `rails generate hyrax:work_resource UncaWork`
#
# ISSN/ISBN
# Relation - hasPart:
# - https://adl.b2.adventistdigitallibrary.org/concern/images/p012908_sutherland_family_1927/edit?locale=en
# - https://adl.b2.adventistdigitallibrary.org/concern/images/p012908_sutherland_family_1927
# https://docs.google.com/spreadsheets/d/14of7w09o2i6sH6wzDvNX8ELyUBKGJJ96/edit?gid=1479095251#gid=1479095251

# Metadata common to Unca's custom work types only
# rails generate hyrax:work_resource UncaWork
attributes:
creator:
type: string
multiple: true
form:
required: true
required: false
primary: true
index_keys:
- "creator_sim"
Expand All @@ -48,86 +41,65 @@ attributes:
- "keyword_tesim"
form:
primary: true
required: true
required: false
predicate: http://schema.org/keywords
rights_statement:
type: string
multiple: true
form:
primary: true
required: true
required: false
index_keys:
- "rights_statement_sim"
- "rights_statement_tesim"
predicate: http://www.europeana.eu/schemas/edm/rights
date:
type: string
multiple: true
index_keys:
- "date_tesim"
- "date_sim"
form:
required: true
primary: true
multiple: true
predicate: https://hykucommons.org/terms/date
date_published:
type: date
multiple: false
index_keys:
- "date_published_tesim"
form:
required: false
primary: false
multiple: false
predicate: http://purl.org/dc/terms/dateAccepted
degree_name:
type: string
multiple: true
index_keys:
- "degree_name_tesim"
form:
required: true
required: false
primary: true
multiple: true
predicate: https://hykucommons.org/terms/degree_name
predicate: https://hykuup.com/terms/degree_name
degree_level:
type: string
multiple: true
index_keys:
- "degree_level_tesim"
form:
required: true
required: false
primary: true
multiple: true
predicate: https://hykucommons.org/terms/degree_level
predicate: https://hykuup.com/terms/degree_level
degree_discipline:
type: string
multiple: true
index_keys:
- "degree_discipline_tesim"
form:
required: true
required: false
primary: true
multiple: true
predicate: https://hykucommons.org/terms/degree_discipline
predicate: https://hykuup.com/terms/degree_discipline
degree_grantor:
type: string
multiple: true
index_keys:
- "degree_grantor_tesim"
form:
required: true
required: false
primary: true
multiple: true
predicate: https://hykucommons.org/terms/degree_grantor
predicate: https://hykuup.com/terms/degree_grantor
resource_type:
type: string
multiple: true
form:
primary: true
multiple: true
required: true
required: false
index_keys:
- "resource_type_sim"
- "resource_type_tesim"
Expand Down Expand Up @@ -188,7 +160,7 @@ attributes:
required: false
primary: false
multiple: true
predicate: https://hykucommons.org/terms/advisor
predicate: https://hykuup.com/terms/advisor
alternative_title:
type: string
multiple: true
Expand All @@ -207,6 +179,16 @@ attributes:
- "based_near_sim"
- "based_near_tesim"
predicate: http://xmlns.com/foaf/0.1/based_near
spatial_coverage:
type: string
multiple: true
form:
primary: false
temporal_coverage:
type: string
multiple: true
form:
primary: false
bibliographic_citation:
type: string
multiple: true
Expand All @@ -225,7 +207,7 @@ attributes:
required: false
primary: false
multiple: true
predicate: https://hykucommons.org/terms/committee_member
predicate: https://hykuup.com/terms/committee_member
contributor:
type: string
multiple: true
Expand All @@ -244,12 +226,13 @@ attributes:
required: false
primary: false
multiple: true
predicate: https://hykucommons.org/terms/department
predicate: https://hykuup.com/terms/department
description:
type: string
multiple: true
form:
primary: false
required: false
primary: true
index_keys:
- "description_sim"
- "description_tesim"
Expand Down Expand Up @@ -277,7 +260,8 @@ attributes:
type: string
multiple: true
form:
primary: false
required: false
primary: true
index_keys:
- "language_sim"
- "language_tesim"
Expand Down Expand Up @@ -336,12 +320,24 @@ attributes:
date_created:
type: date_time
multiple: true
# form:
# primary: false
form:
required: false
primary: true
index_keys:
- "date_created_sim"
- "date_created_tesim"
predicate: http://purl.org/dc/terms/created
date_published:
type: date_time
multiple: false
index_keys:
- "date_published_tesim"
- "date_published_sim"
form:
required: false
primary: true
multiple: false
predicate: http://purl.org/dc/terms/dateAccepted
import_url:
type: string
predicate: http://scholarsphere.psu.edu/ns#importUrl
Expand All @@ -355,4 +351,4 @@ attributes:
predicate: info:fedora/fedora-system:def/model#downloadFilename
relative_path:
type: string
predicate: http://scholarsphere.psu.edu/ns#relativePath
predicate: http://scholarsphere.psu.edu/ns#relativePath

0 comments on commit d50af95

Please sign in to comment.