Skip to content

Commit

Permalink
Added missing partials
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Simpson committed Feb 26, 2024
1 parent f11327d commit cfeaa6b
Show file tree
Hide file tree
Showing 14 changed files with 475 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/metadata/partials/alternate_identifier_subfields.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
alternate_identifier:
type: string
form:
multiple: false
required: false
type: text
alternate_identifier_type:
type: string
form:
required: false
multiple: false
type: text
94 changes: 94 additions & 0 deletions config/metadata/partials/contributor_subfields.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
---
contributor_name_type:
type: string
form:
required: false
multiple: false
type: select
authority: HykuAddons::NameTypeService
contributor_family_name:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Personal
contributor_given_name:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Personal
contributor_orcid:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Personal
contributor_institutional_relationship:
type: string
form:
required: false
multiple: false
type: select
authority: HykuAddons::ContributorInstitutionalRelationshipService
attributes:
multiple: multiple
display_for:
- Personal
contributor_organization_name:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Organizational
contributor_ror:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Organizational
contributor_grid:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Organizational
contributor_wikidata:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Organizational
contributor_isni:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Personal
- Organizational
contributor_role:
type: string
form:
required: false
multiple: true
type: select
authority: HykuAddons::RoleService
display_for:
- Personal
- Organizational
124 changes: 124 additions & 0 deletions config/metadata/partials/creator_subfields.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
---
creator_name_type:
type: string
form:
required: true
multiple: false
type: select
authority: HykuAddons::NameTypeService
creator_family_name:
type: string
form:
required: true
multiple: false
type: text
display_for:
- Personal
creator_given_name:
type: string
form:
required: true
multiple: false
type: text
display_for:
- Personal
creator_middle_name:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Personal
creator_suffix:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Personal
creator_orcid:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Personal
creator_profile_visibility:
type: string
form:
required: false
multiple: false
type: hidden
display_for:
- Personal
creator_institutional_relationship:
type: string
form:
required: false
multiple: false
type: select
authority: HykuAddons::InstitutionalRelationshipService
attributes:
multiple: multiple
display_for:
- Personal
creator_culture:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Personal
creator_date:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Personal
creator_organization_name:
type: string
form:
required: true
multiple: false
type: text
display_for:
- Organizational
creator_ror:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Organizational
creator_grid:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Organizational
creator_wikidata:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Organizational
creator_isni:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Personal
- Organizational
20 changes: 20 additions & 0 deletions config/metadata/partials/current_he_institution_subfields.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
current_he_institution_name:
type: string
form:
required: false
multiple: false
type: select
current_he_institution_ror:
type: string
form:
required: false
multiple: false
type: select
current_he_institution_isni:
type: string
form:
required: false
multiple: false
type: select

12 changes: 12 additions & 0 deletions config/metadata/partials/doi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
doi:
type: string
predicate: http://purl.org/ontology/bibo/doi
multiple: true
index_keys:
- doi_ssi
form:
required: false
primary: true
multiple: true
type: text
58 changes: 58 additions & 0 deletions config/metadata/partials/editor_subfields.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
editor_name_type:
type: string
form:
required: false
multiple: false
type: select
authority: HykuAddons::NameTypeService
editor_family_name:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Personal
editor_given_name:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Personal
editor_orcid:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Personal
editor_institutional_relationship:
type: string
form:
required: false
multiple: false
type: select
authority: HykuAddons::InstitutionalRelationshipService
display_for:
- Personal
editor_organization_name:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Organizational
editor_isni:
type: string
form:
required: false
multiple: false
type: text
display_for:
- Personal
- Organizational
37 changes: 37 additions & 0 deletions config/metadata/partials/funder_subfields.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
funder_name:
type: string
form:
required: false
multiple: false
type: text
input: controlled_vocabulary
attributes:
data:
field_name: ubiquity_funder_name
autocomplete-url: /authorities/search/crossref/funders
autocomplete: funder
funder_doi:
type: string
form:
required: false
multiple: false
type: text
funder_isni:
type: string
form:
required: false
multiple: false
type: text
funder_ror:
type: string
form:
required: false
multiple: false
type: text
funder_award:
type: string
form:
required: false
multiple: true
type: text
13 changes: 13 additions & 0 deletions config/metadata/partials/qualification_level.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
qualification_level:
type: string
predicate: http://id.loc.gov/ontologies/bibframe/degree
multiple: false
index_keys:
- qualification_level_tesim
form:
required: false
primary: false
multiple: false
type: select
authority: HykuAddons::QualificationLevelService
13 changes: 13 additions & 0 deletions config/metadata/partials/qualification_name.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
qualification_name:
type: string
predicate: http://schema.org/qualifications
multiple: false
index_keys:
- qualification_name_tesim
form:
required: false
primary: false
multiple: false
type: select
authority: HykuAddons::QualificationNameService
Loading

0 comments on commit cfeaa6b

Please sign in to comment.