From cfeaa6b8eab16f728241fa4999cbd29298373acd Mon Sep 17 00:00:00 2001 From: Martin Simpson Date: Mon, 26 Feb 2024 16:07:51 +0700 Subject: [PATCH] Added missing partials --- .../alternate_identifier_subfields.yaml | 13 ++ .../partials/contributor_subfields.yaml | 94 +++++++++++++ .../metadata/partials/creator_subfields.yaml | 124 ++++++++++++++++++ .../current_he_institution_subfields.yaml | 20 +++ config/metadata/partials/doi.yaml | 12 ++ .../metadata/partials/editor_subfields.yaml | 58 ++++++++ .../metadata/partials/funder_subfields.yaml | 37 ++++++ .../partials/qualification_level.yaml | 13 ++ .../metadata/partials/qualification_name.yaml | 13 ++ .../partials/related_entity_subfields.yaml | 26 ++++ .../related_identifier_subfields.yaml | 23 ++++ config/metadata/partials/resource_type.yaml | 15 +++ .../metadata/partials/rights_statement.yaml | 13 ++ config/metadata/partials/title.yaml | 14 ++ 14 files changed, 475 insertions(+) create mode 100644 config/metadata/partials/alternate_identifier_subfields.yaml create mode 100644 config/metadata/partials/contributor_subfields.yaml create mode 100644 config/metadata/partials/creator_subfields.yaml create mode 100644 config/metadata/partials/current_he_institution_subfields.yaml create mode 100644 config/metadata/partials/doi.yaml create mode 100644 config/metadata/partials/editor_subfields.yaml create mode 100644 config/metadata/partials/funder_subfields.yaml create mode 100644 config/metadata/partials/qualification_level.yaml create mode 100644 config/metadata/partials/qualification_name.yaml create mode 100644 config/metadata/partials/related_entity_subfields.yaml create mode 100644 config/metadata/partials/related_identifier_subfields.yaml create mode 100644 config/metadata/partials/resource_type.yaml create mode 100644 config/metadata/partials/rights_statement.yaml create mode 100644 config/metadata/partials/title.yaml diff --git a/config/metadata/partials/alternate_identifier_subfields.yaml b/config/metadata/partials/alternate_identifier_subfields.yaml new file mode 100644 index 0000000..8af0461 --- /dev/null +++ b/config/metadata/partials/alternate_identifier_subfields.yaml @@ -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 diff --git a/config/metadata/partials/contributor_subfields.yaml b/config/metadata/partials/contributor_subfields.yaml new file mode 100644 index 0000000..9a83b36 --- /dev/null +++ b/config/metadata/partials/contributor_subfields.yaml @@ -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 diff --git a/config/metadata/partials/creator_subfields.yaml b/config/metadata/partials/creator_subfields.yaml new file mode 100644 index 0000000..4c4dc52 --- /dev/null +++ b/config/metadata/partials/creator_subfields.yaml @@ -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 diff --git a/config/metadata/partials/current_he_institution_subfields.yaml b/config/metadata/partials/current_he_institution_subfields.yaml new file mode 100644 index 0000000..0b170e1 --- /dev/null +++ b/config/metadata/partials/current_he_institution_subfields.yaml @@ -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 + diff --git a/config/metadata/partials/doi.yaml b/config/metadata/partials/doi.yaml new file mode 100644 index 0000000..d3b734c --- /dev/null +++ b/config/metadata/partials/doi.yaml @@ -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 diff --git a/config/metadata/partials/editor_subfields.yaml b/config/metadata/partials/editor_subfields.yaml new file mode 100644 index 0000000..b9374a4 --- /dev/null +++ b/config/metadata/partials/editor_subfields.yaml @@ -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 diff --git a/config/metadata/partials/funder_subfields.yaml b/config/metadata/partials/funder_subfields.yaml new file mode 100644 index 0000000..3915282 --- /dev/null +++ b/config/metadata/partials/funder_subfields.yaml @@ -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 diff --git a/config/metadata/partials/qualification_level.yaml b/config/metadata/partials/qualification_level.yaml new file mode 100644 index 0000000..be413bb --- /dev/null +++ b/config/metadata/partials/qualification_level.yaml @@ -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 diff --git a/config/metadata/partials/qualification_name.yaml b/config/metadata/partials/qualification_name.yaml new file mode 100644 index 0000000..2fbbdb0 --- /dev/null +++ b/config/metadata/partials/qualification_name.yaml @@ -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 diff --git a/config/metadata/partials/related_entity_subfields.yaml b/config/metadata/partials/related_entity_subfields.yaml new file mode 100644 index 0000000..fccd8bb --- /dev/null +++ b/config/metadata/partials/related_entity_subfields.yaml @@ -0,0 +1,26 @@ +--- +related_entity: + type: string + predicate: http://purl.org/goodrelations/v1#Business + multiple: true + index_keys: + - related_entity_tesim + form: + required: false + primary: false + multiple: true + type: text + subfields: + related_entity: + type: string + form: + multiple: false + required: false + type: text + related_entity_type: + type: string + form: + required: false + multiple: false + type: select + authority: HykuAddons::RelatedEntityTypeService diff --git a/config/metadata/partials/related_identifier_subfields.yaml b/config/metadata/partials/related_identifier_subfields.yaml new file mode 100644 index 0000000..32fdb91 --- /dev/null +++ b/config/metadata/partials/related_identifier_subfields.yaml @@ -0,0 +1,23 @@ +--- +related_identifier: + type: string + form: + multiple: false + required: false + type: text +related_identifier_type: + type: string + form: + required: false + multiple: false + type: select + authority: HykuAddons::RelatedIdentifierTypeService + include_blank: true +relation_type: + type: string + form: + required: false + multiple: false + type: select + authority: HykuAddons::RelationTypeService + include_blank: true diff --git a/config/metadata/partials/resource_type.yaml b/config/metadata/partials/resource_type.yaml new file mode 100644 index 0000000..421509e --- /dev/null +++ b/config/metadata/partials/resource_type.yaml @@ -0,0 +1,15 @@ +--- +predicate: http://purl.org/dc/terms/type +multiple: true +index_keys: + - resource_type_tesim + - resource_type_sim +form: + required: true + primary: true + multiple: true + type: select + authority: HykuAddons::ResourceTypesService + include_blank: true + input: single_multi_value_select + diff --git a/config/metadata/partials/rights_statement.yaml b/config/metadata/partials/rights_statement.yaml new file mode 100644 index 0000000..388e57d --- /dev/null +++ b/config/metadata/partials/rights_statement.yaml @@ -0,0 +1,13 @@ +--- +rights_statement: + predicate: http://www.europeana.eu/schemas/edm/rights + multiple: true + index_keys: + - rights_statement_tesim + form: + required: false + primary: false + multiple: false + type: select + include_blank: false + authority: HykuAddons::RightsStatementService diff --git a/config/metadata/partials/title.yaml b/config/metadata/partials/title.yaml new file mode 100644 index 0000000..45b7238 --- /dev/null +++ b/config/metadata/partials/title.yaml @@ -0,0 +1,14 @@ +--- +type: string +predicate: http://purl.org/dc/terms/title +multiple: true +index_keys: +- title_tesim +- title_sim +form: + required: true + primary: true + multiple: true + type: text + input: single_multi_value +