Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential Configuration updates/changes for 1.0.0 rc3 d9 #139

Merged
merged 10 commits into from
Nov 3, 2021

Conversation

alliomeria
Copy link
Contributor

@alliomeria alliomeria commented Nov 3, 2021

Includes potential Configuration updates and changes related to the following:

  1. Display Entity updates: Updates to the Column layout for all Displays for Digital Object & Digital Object Collection/Creative Work Series (compound) except for: DO (Digital Object with thumbnail and abstract, left as ‘plain’ two column): admin/structure/types/manage/digital_object/display/strawberryfield_processed_metadata

  2. Map View, alternate display if empty: Adds <i class=\"fas fa-map-marked-alt fa-9x\"></i>\r\n<p>\r\n<p>\r\n<i>Geolocation data not provided</I> if geolocation info is empty

  3. Additional Digital Object types & mappings: Adds Poster and Page Digital Object types to the default Webform options list, and corresponding ADO->View Mode mappings for each.

  4. Update Action menu for Content and My Content pages (views): Change Action menu to use 'Views Bulk Operations' for the following actions:

  • Export Archipelago Digital Objects to CSV content item
  • Publish Latest Revision, labeled 'Publish Digital Object/Collection'
  • Unpublish Current Revision, labeled 'Unpublish Digital Object/Collection'
  • Change the author of content, labeled 'Change Author/Owner of Digital Object/Collection'
  • Delete selected entities / translations, labeled 'Delete Digital Object/Collection'
  1. Updates to default webforms: Add Europeana and MeSH to both Digital Object & Collection default webforms ; Add Embrago Date Lift key to Digital Object default webforms

  2. Updates to Linked Data metadata display: Add Europeana and MeSH elements; Add alternate text to display if no LoD present in metadata

@DiegoPino and @aksm, please let me know if anything for these needs to be changed. I've tested and checked all in my local, but definitely could be missing things. Thank you! 😃

Updates to the Column layout for all Displays for Digital Object & Digital Object Collection/Creative Work Series (compound) except for:
DO (Digital Object with thumbnail and abstract, left as ‘plain’ two column): admin/structure/types/manage/digital_object/display/strawberryfield_processed_metadata
Adds "<i class=\"fas fa-map-marked-alt fa-9x\"></i>\r\n<p>\r\n<p>\r\n<i>Geolocation data not provided</I>" if geolocation info is empty
Adds Poster and Page Digital Object types to the default Webform options list, and corresponding view mode mappings for each.
Change Action menu to use 'Views Bulk Operations' for the following actions:
- Export Archipelago Digital Objects to CSV content item
- Publish Latest Revision, labeled 'Publish Digital Object/Collection'
- Unpublish Current Revision, labeled 'Unpublish Digital Object/Collection'
- Change the author of content, labeled 'Change Author/Owner of Digital Object/Colleciton'
- Delete selected entities / translations, labeled 'Delete Digital Object/Collection'
Change Action menu to use 'Views Bulk Operations' for the following actions:
- Export Archipelago Digital Objects to CSV content item
- Publish Latest Revision, labeled 'Publish Digital Object/Collection'
- Unpublish Current Revision, labeled 'Unpublish Digital Object/Collection'
- Change the author of content, labeled 'Change Author/Owner of Digital Object/Colleciton'
- Delete selected entities / translations, labeled 'Delete Digital Object/Collection'
@alliomeria alliomeria added Drupal YAML files Drupal settings provided by our deployment Release Duties We are all duty here, heavy duty labels Nov 3, 2021
@alliomeria alliomeria added this to the 1.0.0-RC3 milestone Nov 3, 2021
- Add Europeana and MeSH to both Digital Object & Collection default webforms
- Add Embrago Date Lift key to Digital Object default webforms
- Add Europeana and MeSH elements
- Add alternate text to display if no LoD present in metadata
Copy link
Member

@DiegoPino DiegoPino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small change. Default for Page Type can not be Book reader

@@ -103,7 +108,7 @@ display:
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
empty: "<i class=\"fas fa-map-marked-alt fa-9x\"></i>\r\n<p>\r\n<p>\r\n<i>Geolocation data not provided</i>"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool

@@ -14,7 +14,7 @@ id: descriptive_metadata
title: 'Default Descriptive Metadata'
description: 'Default Descriptive Metadata Webform: 1.0.0-RC2.'
category: Archipel
elements: "metadata:\n '#type': webform_wizard_page\n '#title': 'Basic Descriptive Metadata'\n '#states_clear': false\n '#access_create_roles':\n - administrator\n - metadata_pro\n '#access_update_roles':\n - authenticated\n '#access_view_roles':\n - authenticated\n '#next_button_label': 'Move on to next step'\n label:\n '#type': textfield\n '#title': Title\n '#description': 'Please provide a brief title for this digital object.'\n '#title_display': before\n '#description_display': before\n '#minlength': 3\n '#maxlength': 256\n '#placeholder': 'Title of this Object'\n '#required': true\n '#required_error': 'Please provide a brief title for this digital object.'\n '#states_clear': false\n '#label_attributes':\n class:\n - custom-form-input-heading\n '#format_items': comma\n '#access_create_roles':\n - administrator\n - metadata_pro\n '#access_update_roles':\n - administrator\n - metadata_pro\n type:\n '#type': select\n '#title': 'Media Type'\n '#help': 'Please select from the&nbsp;<a href=\"/admin/structure/webform/config/options/manage\">predefined options</a>&nbsp;found in the Schema.org Creative Works list.'\n '#options': schema_org_creative_works\n '#required': true\n '#states_clear': false\n '#label_attributes':\n class:\n - custom-form-input-heading\n issue_info:\n '#type': webform_custom_composite\n '#title': 'Volume and Issue Information'\n '#multiple': false\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: PublicationIssue\n - or\n - ':input[name=\"type\"]':\n value: NewspaperIssue\n '#states_clear': false\n '#multiple__item_label': 'Volume/Issue Information'\n '#multiple__no_items_message': 'No volume/issue information entered. Please add volume/issue information below.'\n '#multiple__sorting': false\n '#multiple__operations': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#multiple__add_more_button_label': ''\n '#format_items': ol\n '#element':\n volume:\n '#type': textfield\n '#title': Volume\n issue:\n '#type': textfield\n '#title': Issue\n general_issue:\n '#type': textfield\n '#title': 'General/Special Issue'\n '#description': 'Such as \"Spring 2021\"'\n interview_details:\n '#type': fieldset\n '#title': 'Interview Details'\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: Conversation\n - or\n - ':input[name=\"type\"]':\n value: Podcast\n '#states_clear': false\n interviewee:\n '#type': textfield\n '#title': Interviewee\n '#multiple': 5\n '#description': 'Name of person(s) being interviewed.'\n '#description_display': before\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: Conversation\n - or\n - ':input[name=\"type\"]':\n value: Podcast\n '#states_clear': false\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n interviewer:\n '#type': textfield\n '#title': Interviewer\n '#multiple': 5\n '#description': 'Name of person(s) conducting the interview.'\n '#description_display': before\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: Conversation\n - or\n - ':input[name=\"type\"]':\n value: Podcast\n '#states_clear': false\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n duration:\n '#type': textfield\n '#title': Duration\n '#description': 'Duration of the interview.'\n '#description_display': before\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: Conversation\n - or\n - ':input[name=\"type\"]':\n value: Podcast\n '#states_clear': false\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#format_items': comma\n website_url:\n '#type': url\n '#title': 'URL of the original Website'\n '#description': 'Please add a common base URL for this resource'\n '#help_title': 'What is this field used for?'\n '#help': 'When uploading a <em>WARC/WACZ file</em>, this is the <em>URL</em> that will be loaded initially on display. Please make sure it actually exists inside your Web Archive.'\n '#states':\n visible:\n ':input[name=\"type\"]':\n value: WebPage\n '#states_clear': false\n '#format_items': comma\n description:\n '#type': textarea\n '#title': Description\n '#description': 'Please provide a brief description for this digital object.'\n '#title_display': before\n '#description_display': before\n '#rows': 4\n '#autocomplete': 'off'\n '#required': true\n '#required_error': 'Please provide a brief description for this digital object.'\n '#states_clear': false\n '#label_attributes':\n class:\n - custom-form-input-heading\n '#format_items': comma\n date_created:\n '#type': date\n '#title': 'Date of original'\n '#help_title': 'Date of original'\n '#help': 'Date the original resource was created (date the photograph was taken, video or audio file was recorded, document or book was published)'\n '#title_display': before\n '#description_display': before\n '#states_clear': false\n '#format_items': comma\n '#datepicker': true\n creator_fieldset:\n '#type': fieldset\n '#title': Creator\n '#description': 'You may choose to use either the general Creator (unmapped, free-text) element, and/or use the Creator (Linked Data) element which allows you to select authorized Name headings from the&nbsp;Congress Name Authority File (LCNAF).'\n '#help_title': Creator\n '#help': 'Individual(s)/Organization(s) responsible for creating the original resource.'\n '#description_display': before\n creator_unmapped_details:\n '#type': details\n '#title': 'Creator (unmapped/free text)'\n creator:\n '#type': textfield\n '#title': Creator\n '#multiple': 5\n '#title_display': before\n '#description_display': before\n '#states_clear': false\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#label_attributes':\n class:\n - custom-form-input-heading\n '#format_items': comma\n creator_lod_details:\n '#type': details\n '#title': 'Creator (Linked Data) '\n '#description': 'You can select to search from the LCNAF&#39;s Personal, Corporate, or Family Names Classes (<a href=\"https://id.loc.gov/ontologies/madsrdf/v1.html\">listed here</a>). Roles information is being sourced from <a href=\"https://id.loc.gov/vocabulary/relators.html\">LoC Relators terms</a>.'\n creator_lod:\n '#type': webform_metadata_multiagent\n '#title': 'Creator (Linked Data)'\n '#multiple': 5\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#format_items': ol\n '#agent_type__placeholder': 'Select Creator Type'\n '#name_label__title': 'Creator Name'\n '#name_uri__title': 'Creator URI'\n '#role_uri__title': 'Role URI'\n '#vocab_personal_name': rdftype\n '#rdftype_personal_name': PersonalName\n '#vocab_corporate_name': rdftype\n '#rdftype_corporate_name': CorporateName\n '#vocab_family_name': rdftype\n '#rdftype_family_name': FamilyName\n '#role_type': loc\n publisher:\n '#type': textfield\n '#title': Publisher\n '#title_display': before\n '#description_display': before\n '#states_clear': false\n '#format_items': comma\n language:\n '#type': webform_autocomplete\n '#title': Language\n '#multiple': 3\n '#help_title': Language\n '#help': 'Language(s) of the material(s)'\n '#title_display': before\n '#description_display': before\n '#states_clear': false\n '#multiple__header_label': Language\n '#multiple__item_label': Language\n '#multiple__no_items_message': ''\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#format_items': comma\n '#autocomplete_items': languages\ncollection_and_administrative_info:\n '#type': webform_wizard_page\n '#title': 'Collection and Administrative Information'\n '#states_clear': false\n '#prev_button_label': 'Back to the previous step'\n '#next_button_label': 'Move on to next step'\n ismemberof:\n '#type': entity_autocomplete\n '#title': 'Collection Membership'\n '#unique': true\n '#states_clear': false\n '#format_items': comma\n '#target_type': node\n '#selection_handler': 'default:node'\n '#selection_settings':\n target_bundles:\n digital_object_collection: digital_object_collection\n sort:\n field: title\n direction: ASC\n ispartof:\n '#type': entity_autocomplete\n '#title': 'Part of a Creative Work Series'\n '#description': 'Select a parent Creative Work Series ADO'\n '#help': 'Use this element to attach this Object to a Creative Work Series ADO (Collection type). This works similar to the legacy &quot;Compounding&quot; idea.'\n '#unique': true\n '#states_clear': false\n '#format_items': comma\n '#target_type': node\n '#selection_handler': solr_views\n '#selection_settings':\n view:\n view_name: ado_selection_by_type\n display_name: entity_reference_solr_creativeworks\n arguments:\n - CreativeWorkSeries\n owner:\n '#type': textfield\n '#title': 'Institutional owner'\n '#title_display': before\n '#states_clear': false\n '#label_attributes':\n class:\n - custom-form-input-heading\n '#format_items': comma\n local_identifier:\n '#type': textfield\n '#title': 'Local identifier'\n '#title_display': before\n '#autocomplete': 'off'\n '#states_clear': false\n '#label_attributes':\n class:\n - custom-form-input-heading\n '#format_items': comma\n date_published:\n '#type': date\n '#title': 'Date (of Digital)'\n '#help_title': 'Date (of Digital)'\n '#help': 'Date digital resource was published'\n '#title_display': before\n '#description_display': before\n '#states_clear': false\n '#format_items': comma\n '#datepicker': true\n rights_statements:\n '#type': select\n '#title': 'Rights Statement'\n '#description': '<p>Please select one of the 12 standarized rights statements from <a href=\"https://rightsstatements.org/page/1.0/\">RightsStatements.org</a>.</p>'\n '#help_title': RightsStatement.org\n '#help': '<p>RightsStatements.org provides a set of standardized rights statements that can be used to communicate the copyright and re-use status of digital objects to the public. Our rights statements are supported by major aggregation platforms such as the Digital Public Library of America and Europeana. The rights statements have been designed with both human users and machine users (such as search engines) in mind and make use of semantic web technology. Learn more about how you can use our rights statements&nbsp;<a href=\"https://rightsstatements.org/en/documentation#use-by-cultural-heritage-institutions\">here</a>.</p>'\n '#title_display': before\n '#description_display': before\n '#options':\n 'In Copyright': 'In Copyright'\n 'In Copyright - EU Orphan Work': 'In Copyright - EU Orphan Work'\n 'In Copyright - Educational Use Permitted': 'In Copyright - Educational Use Permitted'\n 'In Copyright - Non-Commercial Use Permitted': 'In Copyright - Non-Commercial Use Permitted'\n 'In Copyright - Rights-holder(s) Unlocatable or Unidentifiable': 'In Copyright - Rights-holder(s) Unlocatable or Unidentifiable'\n 'No Copyright - Contractual Restrictions': 'No Copyright - Contractual Restrictions'\n 'No Copyright - Non-Commercial Use Only': 'No Copyright - Non-Commercial Use Only'\n 'No Copyright - Other Known Legal Restrictions': 'No Copyright - Other Known Legal Restrictions'\n 'No Copyright - United States': 'No Copyright - United States'\n 'Copyright Not Evaluated': 'Copyright Not Evaluated'\n 'Copyright Undetermined': 'Copyright Undetermined'\n 'No Known Copyright': 'No Known Copyright'\n '#states_clear': false\n rights_inc:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'In Copyright'\n '#markup': '<img alt=\"In Copyright\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/InC.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/InC/1.0/\">In Copyright</a>'\n rights_inc_ow_eu:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'In Copyright - EU Orphan Work'\n '#markup': '<img alt=\"In Copyright - EU Orphan Work\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/InC-OW-EU.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/InC-OW-EU/1.0/\">In Copyright - EU Orphan Work</a>'\n rights_inc_edu:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'In Copyright - Educational Use Permitted'\n '#markup': '<img alt=\"In Copyright - Educational Use Permitted\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/InC-EDU.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/InC-EDU/1.0/\">In Copyright - Educational Use Permitted</a>&nbsp;'\n rights_inc_nc:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'In Copyright - Non-Commercial Use Permitted'\n '#markup': '<img alt=\"In Copyright - Non-Commercial Use Permitted\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/InC-NC.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/InC-NC/1.0/\">In Copyright - Non-Commercial Use Permitted</a>'\n rights_inc_ruu:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'In Copyright - Rights-holder(s) Unlocatable or Unidentifiable'\n '#markup': '<img alt=\"In Copyright - Rights-holder(s) Unlocatable or Unidentifiable\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/InC-RUU.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/InC-RUU/1.0/\">In Copyright - Rights-holder(s) Unlocatable or Unidentifiable</a>'\n rights_noc_cr:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'No Copyright - Contractual Restrictions'\n '#markup': '<img alt=\"No Copyright - Contractual Restrictions\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/NoC-CR.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/NoC-CR/1.0/\">No Copyright - Contractual Restrictions</a>'\n rights_noc_nc:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'No Copyright - Non-Commercial Use Only'\n '#markup': '<img alt=\"No Copyright - Non-Commercial Use Only\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/NoC-NC.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/NoC-NC/1.0/\">No Copyright - Non-Commercial Use Only</a>'\n rights_noc_oklr:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'No Copyright - Other Known Legal Restrictions'\n '#markup': '<img alt=\"No Copyright - Other Known Legal Restrictions\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/NoC-OKLR.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/NoC-OKLR/1.0/\">No Copyright - Other Known Legal Restrictions</a>'\n rights_noc_us:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'No Copyright - United States'\n '#markup': '<img alt=\"No Copyright - United States\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/NoC-US.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/NoC-US/1.0/\">No Copyright - United States</a>'\n rights_cne:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'Copyright Not Evaluated'\n '#markup': '<img alt=\"Copyright Not Evaluated\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/CNE.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/CNE/1.0/\">Copyright Not Evaluated</a>'\n rights_und:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'Copyright Undetermined'\n '#markup': '<img alt=\"Copyright Undetermined\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/UND.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/UND/1.0/\">Copyright Undetermined</a>'\n rights_nkc:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'No Known Copyright'\n '#markup': '<img alt=\"No Known Copyright\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/NKC.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/NKC/1.0/\">No Known Copyright</a>'\n rights:\n '#type': textarea\n '#title': 'Local Rights Statement'\n '#format_items': comma\nagent:\n '#type': webform_wizard_page\n '#title': 'Subjects and Other Classifications'\n '#open': true\n '#states_clear': false\n '#prev_button_label': 'Back to previous step'\n '#next_button_label': 'Next: Attach Files'\n subjects_markup:\n '#type': webform_markup\n '#markup': '<p>Subjects and other classification terms identify&nbsp;the names, places, subjects and formats associated with the object(s) being described.&nbsp;Please assign at least one term&nbsp;from a controlled source, such as the Library of Congress or Wikidata linked data vocabularies.</p>'\n subjects_details:\n '#type': details\n '#title': 'Library of Congress Linked Data'\n '#states':\n expanded:\n '':\n '': ''\n '#states_clear': false\n subject_loc:\n '#type': webform_metadata_loc\n '#title': 'Library of Congress Subject Headings'\n '#multiple': 10\n '#multiple__header': true\n '#multiple__no_items_message': ''\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#label__title': 'Subject Label'\n '#rdftype': ''\n subject_lcnaf_personal_names:\n '#type': webform_metadata_loc\n '#title': 'LCNAF Personal Names'\n '#multiple': 10\n '#multiple__header': true\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#multiple__add_more_input_label': 'more LCNAF names'\n '#label__title': 'LCNAF Name Label'\n '#uri__title': 'LCNAF Name URL'\n '#vocab': rdftype\n '#rdftype': PersonalName\n subject_lcnaf_corporate_names:\n '#type': webform_metadata_loc\n '#title': 'LCNAF Corporate Names'\n '#multiple': 10\n '#multiple__header': true\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#label__title': 'LCNAF Name Label'\n '#uri__title': 'LCNAF Name URL'\n '#vocab': rdftype\n '#rdftype': CorporateName\n subject_lcnaf_geographic_names:\n '#type': webform_metadata_loc\n '#title': 'LCNAF Geographic Names'\n '#multiple': 10\n '#multiple__header': true\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#label__title': 'LCNAF Name Label'\n '#uri__title': 'LCNAF Name URL'\n '#vocab': rdftype\n '#rdftype': Geographic\n subject_lcgft_terms:\n '#type': webform_metadata_loc\n '#title': 'LC Genre/Form Terms'\n '#multiple': 10\n '#multiple__header': true\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input_label': 'more LCGF terms'\n '#label__title': 'LCGFT Term Label'\n '#uri__title': 'LCGFT Term URL'\n '#vocab': genreForms\n '#rdftype': ''\n wikidata_details:\n '#type': details\n '#title': Wikidata\n '#states_clear': false\n subject_wikidata:\n '#type': webform_metadata_wikidata\n '#title': 'Wikidata Subjects'\n '#multiple': 10\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#format_items': ol\n edm_agent:\n '#type': webform_metadata_wikidataagent\n '#title': 'Wikidata Agents'\n '#multiple': 10\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#format_items': ol\n term_aat_getty_details:\n '#type': details\n '#title': 'Getty Art & Architecture Thesaurus (AAT)'\n '#states_clear': false\n term_aat_getty:\n '#type': webform_metadata_getty\n '#title': 'Getty Art & Architecture Thesaraus (AAT)'\n '#multiple': 10\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n viaf_details:\n '#type': details\n '#title': 'VIAF (Virtual International Authority File)'\n viaf:\n '#type': webform_metadata_viaf\n '#title': 'VIAF (Virtual International Authority File)'\n '#multiple': 5\n '#states_clear': false\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n geographic_location_details:\n '#type': details\n '#title': 'Open Street Maps Location'\n geographic_location:\n '#type': webform_metadata_nominatim\n '#title': 'Open Streets Maps Location'\n '#description': 'Example: <em>Central Park, Manhattan, New York County, New York, United States of America</em>'\n '#help_title': Help\n '#help': |\n This is meant to describe a geographic location closely related to this Digital Object. Such as the origin of the object, where it was created, etc.<br />\n <br />\n Example: <em>Central Park, Manhattan, New York County, New York, United States of America</em>\n \n '#format_items': ol\n '#lat__access': true\n '#lng__access': true\n '#display_name__title': 'Display Name'\n '#display_name__access': true\n '#city__access': true\n '#country__access': true\n local_terms_details:\n '#type': details\n '#title': 'Local Uncontrolled Terms'\n subjects_local_personal_names:\n '#type': textfield\n '#title': 'Local Names'\n '#multiple': 10\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n subjects_local:\n '#type': textfield\n '#title': 'Local Subjects'\n '#multiple': 10\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\nmedia:\n '#type': webform_wizard_page\n '#title': 'Upload Files'\n '#open': true\n '#prev_button_label': 'Back to previous step'\n images:\n '#type': webform_image_file\n '#title': 'Upload Image Files'\n '#multiple': 10\n '#states_clear': false\n '#format': custom\n '#format_html': '<img src=\"{{ item.link }}\">'\n '#format_items': ol\n '#access_create_roles':\n - authenticated\n '#access_update_roles':\n - authenticated\n '#access_view_roles':\n - authenticated\n '#file_preview': ':image'\n '#max_filesize': '256'\n '#file_extensions': 'jp2 jpg jpeg png tif tiff'\n documents:\n '#type': webform_document_file\n '#title': 'Upload Document Files'\n '#multiple': 1000\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: ShortStory\n - xor\n - ':input[name=\"type\"]':\n value: Dataset\n - xor\n - ':input[name=\"type\"]':\n value: Podcast\n - xor\n - ':input[name=\"type\"]':\n value: Conversation\n - xor\n - ':input[name=\"type\"]':\n value: NewspaperIssue\n - xor\n - ':input[name=\"type\"]':\n value: PublicationIssue\n - xor\n - ':input[name=\"type\"]':\n value: Article\n - xor\n - ':input[name=\"type\"]':\n value: DigitalDocument\n - xor\n - ':input[name=\"type\"]':\n value: Thesis\n - xor\n - ':input[name=\"type\"]':\n value: Book\n '#states_clear': false\n '#file_placeholder': 'Archipelago is currently only configured to display pdfs, but can still enable download other file types.'\n '#file_extensions': 'txt rtf pdf doc docx odt ppt pptx odp xls xlsx ods csv'\n '#sanitize': true\n audios:\n '#type': webform_audio_file\n '#title': 'Upload Audio Files'\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: AudioObject\n - or\n - ':input[name=\"type\"]':\n value: MusicRecording\n - or\n - ':input[name=\"type\"]':\n value: Podcast\n - or\n - ':input[name=\"type\"]':\n value: Conversation\n '#states_clear': false\n '#format_items': comma\n '#file_preview': file\n '#max_filesize': '512'\n '#file_extensions': 'mp3 wav aif mp2'\n videos:\n '#type': webform_video_file\n '#title': 'Upload Video Files'\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: VideoObject\n - or\n - ':input[name=\"type\"]':\n value: Movie\n '#states_clear': false\n '#format_items': comma\n '#file_preview': file\n '#max_filesize': '512'\n '#file_extensions': 'mp4 m4v mov'\n models:\n '#type': managed_file\n '#title': 'Upload 3D Model Files'\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: 3DModel\n - or\n - ':input[name=\"type\"]':\n value: Sculpture\n '#states_clear': false\n '#format_items': comma\n '#max_filesize': '512'\n '#file_extensions': 'stl obj'\n upload_associated_warcs:\n '#type': webform_document_file\n '#title': 'Upload Web Archive Files'\n '#states':\n visible:\n ':input[name=\"type\"]':\n value: WebPage\n '#states_clear': false\n '#format_items': comma\n '#uri_scheme': s3\n '#max_filesize': '512'\n '#file_extensions': 'warc warc.gz wacz'\n '#sanitize': true\nactions:\n '#type': webform_actions\n '#title': 'Submit button(s)'\n '#submit__label': 'Save Metadata'\n '#reset__label': 'Clear Form'\n '#preview_prev_hide': true"
elements: "metadata:\n '#type': webform_wizard_page\n '#title': 'Basic Descriptive Metadata'\n '#states_clear': false\n '#access_create_roles':\n - administrator\n - metadata_pro\n '#access_update_roles':\n - authenticated\n '#access_view_roles':\n - authenticated\n '#next_button_label': 'Move on to next step'\n label:\n '#type': textfield\n '#title': Title\n '#description': 'Please provide a brief title for this digital object.'\n '#title_display': before\n '#description_display': before\n '#minlength': 3\n '#maxlength': 256\n '#placeholder': 'Title of this Object'\n '#required': true\n '#required_error': 'Please provide a brief title for this digital object.'\n '#states_clear': false\n '#label_attributes':\n class:\n - custom-form-input-heading\n '#format_items': comma\n '#access_create_roles':\n - administrator\n - metadata_pro\n '#access_update_roles':\n - administrator\n - metadata_pro\n type:\n '#type': select\n '#title': 'Media Type'\n '#help': 'Please select from the&nbsp;<a href=\"/admin/structure/webform/config/options/manage\">predefined options</a>&nbsp;found in the Schema.org Creative Works list.'\n '#options': schema_org_creative_works\n '#required': true\n '#states_clear': false\n '#label_attributes':\n class:\n - custom-form-input-heading\n issue_info:\n '#type': webform_custom_composite\n '#title': 'Volume and Issue Information'\n '#multiple': false\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: PublicationIssue\n - or\n - ':input[name=\"type\"]':\n value: NewspaperIssue\n '#states_clear': false\n '#multiple__item_label': 'Volume/Issue Information'\n '#multiple__no_items_message': 'No volume/issue information entered. Please add volume/issue information below.'\n '#multiple__sorting': false\n '#multiple__operations': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#multiple__add_more_button_label': ''\n '#format_items': ol\n '#element':\n volume:\n '#type': textfield\n '#title': Volume\n issue:\n '#type': textfield\n '#title': Issue\n general_issue:\n '#type': textfield\n '#title': 'General/Special Issue'\n '#description': 'Such as \"Spring 2021\"'\n interview_details:\n '#type': fieldset\n '#title': 'Interview Details'\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: Conversation\n - or\n - ':input[name=\"type\"]':\n value: Podcast\n '#states_clear': false\n interviewee:\n '#type': textfield\n '#title': Interviewee\n '#multiple': 5\n '#description': 'Name of person(s) being interviewed.'\n '#description_display': before\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: Conversation\n - or\n - ':input[name=\"type\"]':\n value: Podcast\n '#states_clear': false\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n interviewer:\n '#type': textfield\n '#title': Interviewer\n '#multiple': 5\n '#description': 'Name of person(s) conducting the interview.'\n '#description_display': before\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: Conversation\n - or\n - ':input[name=\"type\"]':\n value: Podcast\n '#states_clear': false\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n duration:\n '#type': textfield\n '#title': Duration\n '#description': 'Duration of the interview.'\n '#description_display': before\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: Conversation\n - or\n - ':input[name=\"type\"]':\n value: Podcast\n '#states_clear': false\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#format_items': comma\n website_url:\n '#type': url\n '#title': 'URL of the original Website'\n '#description': 'Please add a common base URL for this resource'\n '#help_title': 'What is this field used for?'\n '#help': 'When uploading a <em>WARC/WACZ file</em>, this is the <em>URL</em> that will be loaded initially on display. Please make sure it actually exists inside your Web Archive.'\n '#states':\n visible:\n ':input[name=\"type\"]':\n value: WebPage\n '#states_clear': false\n '#format_items': comma\n description:\n '#type': textarea\n '#title': Description\n '#description': 'Please provide a brief description for this digital object.'\n '#title_display': before\n '#description_display': before\n '#rows': 4\n '#autocomplete': 'off'\n '#required_error': 'Please provide a brief description for this digital object.'\n '#states_clear': false\n '#label_attributes':\n class:\n - custom-form-input-heading\n '#format_items': comma\n date_created_free:\n '#type': textfield\n '#title': 'Date Created (Free)'\n '#format_items': comma\n date_created:\n '#type': date\n '#title': 'Date Created (Fixed/ISO: YYYY-MM-DD)'\n '#help_title': 'Date of original'\n '#help': 'Date the original resource was created (date the photograph was taken, video or audio file was recorded, document or book was published)'\n '#title_display': before\n '#description_display': before\n '#states_clear': false\n '#format_items': comma\n '#datepicker': true\n '#date_part_order':\n - year\n - month\n - day\n '#date_year_range': ''\n creator_fieldset:\n '#type': fieldset\n '#title': Creator\n '#description': 'You may choose to use either the general Creator (unmapped, free-text) element, and/or use the Creator (Linked Data) element which allows you to select authorized Name headings from the&nbsp;Congress Name Authority File (LCNAF).'\n '#help_title': Creator\n '#help': 'Individual(s)/Organization(s) responsible for creating the original resource.'\n '#description_display': before\n creator_unmapped_details:\n '#type': details\n '#title': 'Creator (unmapped/free text)'\n creator:\n '#type': textfield\n '#title': Creator\n '#multiple': 5\n '#title_display': before\n '#description_display': before\n '#states_clear': false\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#label_attributes':\n class:\n - custom-form-input-heading\n '#format_items': comma\n creator_lod_details:\n '#type': details\n '#title': 'Creator (Linked Data) '\n '#description': 'You can select to search from the LCNAF&#39;s Personal, Corporate, or Family Names Classes (<a href=\"https://id.loc.gov/ontologies/madsrdf/v1.html\">listed here</a>). Roles information is being sourced from <a href=\"https://id.loc.gov/vocabulary/relators.html\">LoC Relators terms</a>.'\n creator_lod:\n '#type': webform_metadata_multiagent\n '#title': 'Creator (Linked Data)'\n '#multiple': true\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#format_items': ol\n '#agent_type__placeholder': 'Select Creator Type'\n '#name_label__title': 'Creator Name'\n '#name_uri__title': 'Creator URI'\n '#role_uri__title': 'Role URI'\n '#vocab_personal_name': rdftype\n '#rdftype_personal_name': PersonalName\n '#vocab_corporate_name': rdftype\n '#rdftype_corporate_name': CorporateName\n '#vocab_family_name': rdftype\n '#rdftype_family_name': FamilyName\n '#role_type': loc\n publisher:\n '#type': textfield\n '#title': Publisher\n '#title_display': before\n '#description_display': before\n '#states_clear': false\n '#format_items': comma\n language:\n '#type': webform_autocomplete\n '#title': Language\n '#multiple': 3\n '#help_title': Language\n '#help': 'Language(s) of the material(s)'\n '#title_display': before\n '#description_display': before\n '#states_clear': false\n '#multiple__header_label': Language\n '#multiple__item_label': Language\n '#multiple__no_items_message': ''\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#format_items': comma\n '#autocomplete_items': languages\ncollection_and_administrative_info:\n '#type': webform_wizard_page\n '#title': 'Collection and Administrative Information'\n '#states_clear': false\n '#prev_button_label': 'Back to the previous step'\n '#next_button_label': 'Move on to next step'\n ismemberof:\n '#type': entity_autocomplete\n '#title': 'Collection Membership'\n '#unique': true\n '#states_clear': false\n '#format_items': comma\n '#target_type': node\n '#selection_handler': 'default:node'\n '#selection_settings':\n target_bundles:\n digital_object_collection: digital_object_collection\n sort:\n field: title\n direction: ASC\n ispartof:\n '#type': entity_autocomplete\n '#title': 'Part of a Creative Work Series'\n '#description': 'Select a parent Creative Work Series ADO'\n '#help': 'Use this element to attach this Object to a Creative Work Series ADO (Collection type). This works similar to the legacy &quot;Compounding&quot; idea.'\n '#unique': true\n '#states_clear': false\n '#format_items': comma\n '#target_type': node\n '#selection_handler': solr_views\n '#selection_settings':\n view:\n view_name: ado_selection_by_type\n display_name: entity_reference_solr_creativeworks\n arguments:\n - CreativeWorkSeries\n owner:\n '#type': textfield\n '#title': 'Institutional owner'\n '#title_display': before\n '#states_clear': false\n '#label_attributes':\n class:\n - custom-form-input-heading\n '#format_items': comma\n local_identifier:\n '#type': textfield\n '#title': 'Local identifier'\n '#title_display': before\n '#autocomplete': 'off'\n '#states_clear': false\n '#label_attributes':\n class:\n - custom-form-input-heading\n '#format_items': comma\n date_published:\n '#type': date\n '#title': 'Date (of Digital)'\n '#help_title': 'Date (of Digital)'\n '#help': 'Date digital resource was published'\n '#title_display': before\n '#description_display': before\n '#states_clear': false\n '#format_items': comma\n '#datepicker': true\n date_embargo_lift:\n '#type': date\n '#title': 'Date of Embargo Lift'\n '#help_title': 'Date of Embargo Lift'\n '#help': 'Date that contains an embargo lift date that will be used to Embargo Metadata and Media.'\n '#title_display': before\n '#description_display': before\n '#states_clear': false\n '#format_items': comma\n '#datepicker': true\n rights_statements:\n '#type': select\n '#title': 'Rights Statement'\n '#description': '<p>Please select one of the 12 standarized rights statements from <a href=\"https://rightsstatements.org/page/1.0/\">RightsStatements.org</a>.</p>'\n '#help_title': RightsStatement.org\n '#help': '<p>RightsStatements.org provides a set of standardized rights statements that can be used to communicate the copyright and re-use status of digital objects to the public. Our rights statements are supported by major aggregation platforms such as the Digital Public Library of America and Europeana. The rights statements have been designed with both human users and machine users (such as search engines) in mind and make use of semantic web technology. Learn more about how you can use our rights statements&nbsp;<a href=\"https://rightsstatements.org/en/documentation#use-by-cultural-heritage-institutions\">here</a>.</p>'\n '#title_display': before\n '#description_display': before\n '#options':\n 'In Copyright': 'In Copyright'\n 'In Copyright - EU Orphan Work': 'In Copyright - EU Orphan Work'\n 'In Copyright - Educational Use Permitted': 'In Copyright - Educational Use Permitted'\n 'In Copyright - Non-Commercial Use Permitted': 'In Copyright - Non-Commercial Use Permitted'\n 'In Copyright - Rights-holder(s) Unlocatable or Unidentifiable': 'In Copyright - Rights-holder(s) Unlocatable or Unidentifiable'\n 'No Copyright - Contractual Restrictions': 'No Copyright - Contractual Restrictions'\n 'No Copyright - Non-Commercial Use Only': 'No Copyright - Non-Commercial Use Only'\n 'No Copyright - Other Known Legal Restrictions': 'No Copyright - Other Known Legal Restrictions'\n 'No Copyright - United States': 'No Copyright - United States'\n 'Copyright Not Evaluated': 'Copyright Not Evaluated'\n 'Copyright Undetermined': 'Copyright Undetermined'\n 'No Known Copyright': 'No Known Copyright'\n '#states_clear': false\n rights_inc:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'In Copyright'\n '#markup': '<img alt=\"In Copyright\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/InC.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/InC/1.0/\">In Copyright</a>'\n rights_inc_ow_eu:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'In Copyright - EU Orphan Work'\n '#markup': '<img alt=\"In Copyright - EU Orphan Work\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/InC-OW-EU.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/InC-OW-EU/1.0/\">In Copyright - EU Orphan Work</a>'\n rights_inc_edu:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'In Copyright - Educational Use Permitted'\n '#markup': '<img alt=\"In Copyright - Educational Use Permitted\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/InC-EDU.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/InC-EDU/1.0/\">In Copyright - Educational Use Permitted</a>&nbsp;'\n rights_inc_nc:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'In Copyright - Non-Commercial Use Permitted'\n '#markup': '<img alt=\"In Copyright - Non-Commercial Use Permitted\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/InC-NC.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/InC-NC/1.0/\">In Copyright - Non-Commercial Use Permitted</a>'\n rights_inc_ruu:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'In Copyright - Rights-holder(s) Unlocatable or Unidentifiable'\n '#markup': '<img alt=\"In Copyright - Rights-holder(s) Unlocatable or Unidentifiable\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/InC-RUU.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/InC-RUU/1.0/\">In Copyright - Rights-holder(s) Unlocatable or Unidentifiable</a>'\n rights_noc_cr:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'No Copyright - Contractual Restrictions'\n '#markup': '<img alt=\"No Copyright - Contractual Restrictions\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/NoC-CR.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/NoC-CR/1.0/\">No Copyright - Contractual Restrictions</a>'\n rights_noc_nc:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'No Copyright - Non-Commercial Use Only'\n '#markup': '<img alt=\"No Copyright - Non-Commercial Use Only\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/NoC-NC.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/NoC-NC/1.0/\">No Copyright - Non-Commercial Use Only</a>'\n rights_noc_oklr:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'No Copyright - Other Known Legal Restrictions'\n '#markup': '<img alt=\"No Copyright - Other Known Legal Restrictions\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/NoC-OKLR.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/NoC-OKLR/1.0/\">No Copyright - Other Known Legal Restrictions</a>'\n rights_noc_us:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'No Copyright - United States'\n '#markup': '<img alt=\"No Copyright - United States\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/NoC-US.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/NoC-US/1.0/\">No Copyright - United States</a>'\n rights_cne:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'Copyright Not Evaluated'\n '#markup': '<img alt=\"Copyright Not Evaluated\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/CNE.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/CNE/1.0/\">Copyright Not Evaluated</a>'\n rights_und:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'Copyright Undetermined'\n '#markup': '<img alt=\"Copyright Undetermined\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/UND.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/UND/1.0/\">Copyright Undetermined</a>'\n rights_nkc:\n '#type': webform_markup\n '#states':\n visible:\n ':input[name=\"rights_statements\"]':\n value: 'No Known Copyright'\n '#markup': '<img alt=\"No Known Copyright\" height=\"31\" src=\"https://rightsstatements.org/files/buttons/NKC.dark-white-interior.png\" width=\"144\" />&nbsp;&nbsp;<a href=\"https://rightsstatements.org/vocab/NKC/1.0/\">No Known Copyright</a>'\n rights:\n '#type': textarea\n '#title': 'Local Rights Statement'\n '#format_items': comma\nagent:\n '#type': webform_wizard_page\n '#title': 'Subjects and Other Classifications'\n '#open': true\n '#states_clear': false\n '#prev_button_label': 'Back to previous step'\n '#next_button_label': 'Next: Attach Files'\n subjects_markup:\n '#type': webform_markup\n '#markup': '<p>Subjects and other classification terms identify&nbsp;the names, places, subjects and formats associated with the object(s) being described.&nbsp;Please assign at least one term&nbsp;from a controlled source, such as the Library of Congress or Wikidata linked data vocabularies.</p>'\n subjects_details:\n '#type': details\n '#title': 'Library of Congress Linked Data'\n '#states':\n expanded:\n '':\n '': ''\n '#states_clear': false\n subject_loc:\n '#type': webform_metadata_loc\n '#title': 'Library of Congress Subject Headings'\n '#multiple': true\n '#multiple__header': true\n '#multiple__no_items_message': ''\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#label__title': 'Subject Label'\n '#rdftype': ''\n subject_lcnaf_personal_names:\n '#type': webform_metadata_loc\n '#title': 'LCNAF Personal Names'\n '#multiple': 10\n '#multiple__header': true\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#multiple__add_more_input_label': 'more LCNAF names'\n '#label__title': 'LCNAF Name Label'\n '#uri__title': 'LCNAF Name URL'\n '#vocab': rdftype\n '#rdftype': PersonalName\n subject_lcnaf_corporate_names:\n '#type': webform_metadata_loc\n '#title': 'LCNAF Corporate Names'\n '#multiple': 10\n '#multiple__header': true\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#label__title': 'LCNAF Name Label'\n '#uri__title': 'LCNAF Name URL'\n '#vocab': rdftype\n '#rdftype': CorporateName\n subject_lcnaf_geographic_names:\n '#type': webform_metadata_loc\n '#title': 'LCNAF Geographic Names'\n '#multiple': 10\n '#multiple__header': true\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#label__title': 'LCNAF Name Label'\n '#uri__title': 'LCNAF Name URL'\n '#vocab': rdftype\n '#rdftype': Geographic\n subject_lcgft_terms:\n '#type': webform_metadata_loc\n '#title': 'LC Genre/Form Terms'\n '#multiple': 10\n '#multiple__header': true\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input_label': 'more LCGF terms'\n '#label__title': 'LCGFT Term Label'\n '#uri__title': 'LCGFT Term URL'\n '#vocab': genreForms\n '#rdftype': ''\n wikidata_details:\n '#type': details\n '#title': Wikidata\n '#states_clear': false\n subject_wikidata:\n '#type': webform_metadata_wikidata\n '#title': 'Wikidata Subjects'\n '#multiple': 10\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#format_items': ol\n edm_agent:\n '#type': webform_metadata_wikidataagent\n '#title': 'Wikidata Agents'\n '#multiple': 10\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#format_items': ol\n term_aat_getty_details:\n '#type': details\n '#title': 'Getty Art & Architecture Thesaurus (AAT)'\n '#states_clear': false\n term_aat_getty:\n '#type': webform_metadata_getty\n '#title': 'Getty Art & Architecture Thesaraus (AAT)'\n '#multiple': 10\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n viaf_details:\n '#type': details\n '#title': 'VIAF (Virtual International Authority File)'\n viaf:\n '#type': webform_metadata_viaf\n '#title': 'VIAF (Virtual International Authority File)'\n '#multiple': 5\n '#states_clear': false\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n mesh_details:\n '#type': details\n '#title': 'MeSH (Medical Subject Headings)'\n pubmed_mesh:\n '#type': webform_metadata_mesh\n '#title': 'PubMed MESH (via Suggest)'\n '#multiple': 10\n '#states_clear': false\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n europeana_details:\n '#type': details\n '#title': 'Europeana '\n europeana_concepts:\n '#type': webform_metadata_europeana\n '#title': 'European Concepts'\n '#multiple': 10\n '#title_display': before\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#format_items': ol\n '#vocab': concept\n europeana_agents:\n '#type': webform_metadata_europeana\n '#title': 'Europeana Agents'\n '#multiple': 10\n '#title_display': before\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#format_items': ol\n europeana_places:\n '#type': webform_metadata_europeana\n '#title': 'Europeana Places'\n '#multiple': 10\n '#title_display': before\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n '#multiple__add_more_input': false\n '#format_items': ol\n '#vocab': place\n geographic_location_details:\n '#type': details\n '#title': 'Open Street Maps Location'\n geographic_location:\n '#type': webform_metadata_nominatim\n '#title': 'Open Streets Maps Location'\n '#description': 'Example: <em>Central Park, Manhattan, New York County, New York, United States of America</em>'\n '#help_title': Help\n '#help': |\n This is meant to describe a geographic location closely related to this Digital Object. Such as the origin of the object, where it was created, etc.<br />\n <br />\n Example: <em>Central Park, Manhattan, New York County, New York, United States of America</em>\n \n '#format_items': ol\n '#lat__access': true\n '#lng__access': true\n '#display_name__title': 'Display Name'\n '#display_name__access': true\n '#city__access': true\n '#country__access': true\n local_terms_details:\n '#type': details\n '#title': 'Local Uncontrolled Terms'\n subjects_local:\n '#type': textfield\n '#title': 'Local Subjects'\n '#multiple': 10\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\n subjects_local_personal_names:\n '#type': textfield\n '#title': 'Local Names'\n '#multiple': 10\n '#multiple__min_items': 1\n '#multiple__empty_items': 0\n '#multiple__sorting': false\n '#multiple__add_more': false\nmedia:\n '#type': webform_wizard_page\n '#title': 'Upload Files'\n '#open': true\n '#prev_button_label': 'Back to previous step'\n images:\n '#type': webform_image_file\n '#title': 'Upload Image Files'\n '#multiple': 10\n '#states_clear': false\n '#format': custom\n '#format_html': '<img src=\"{{ item.link }}\">'\n '#format_items': ol\n '#access_create_roles':\n - authenticated\n '#access_update_roles':\n - authenticated\n '#access_view_roles':\n - authenticated\n '#file_preview': ':image'\n '#max_filesize': '256'\n '#file_extensions': 'jp2 jpg jpeg png tif tiff'\n documents:\n '#type': webform_document_file\n '#title': 'Upload Document Files'\n '#multiple': 1000\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: ShortStory\n - xor\n - ':input[name=\"type\"]':\n value: Dataset\n - xor\n - ':input[name=\"type\"]':\n value: Podcast\n - xor\n - ':input[name=\"type\"]':\n value: Conversation\n - xor\n - ':input[name=\"type\"]':\n value: NewspaperIssue\n - xor\n - ':input[name=\"type\"]':\n value: PublicationIssue\n - xor\n - ':input[name=\"type\"]':\n value: Article\n - xor\n - ':input[name=\"type\"]':\n value: DigitalDocument\n - xor\n - ':input[name=\"type\"]':\n value: Thesis\n - xor\n - ':input[name=\"type\"]':\n value: Book\n '#states_clear': false\n '#file_placeholder': 'Archipelago is currently only configured to display pdfs, but can still enable download other file types.'\n '#file_extensions': 'txt rtf pdf doc docx odt ppt pptx odp xls xlsx ods csv'\n '#sanitize': true\n audios:\n '#type': webform_audio_file\n '#title': 'Upload Audio Files'\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: AudioObject\n - or\n - ':input[name=\"type\"]':\n value: MusicRecording\n - or\n - ':input[name=\"type\"]':\n value: Podcast\n - or\n - ':input[name=\"type\"]':\n value: Conversation\n '#states_clear': false\n '#format_items': comma\n '#file_preview': file\n '#max_filesize': '512'\n '#file_extensions': 'mp3 wav aif mp2'\n videos:\n '#type': webform_video_file\n '#title': 'Upload Video Files'\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: VideoObject\n - or\n - ':input[name=\"type\"]':\n value: Movie\n '#states_clear': false\n '#format_items': comma\n '#file_preview': file\n '#max_filesize': '512'\n '#file_extensions': 'mp4 m4v mov'\n models:\n '#type': managed_file\n '#title': 'Upload 3D Model Files'\n '#states':\n visible:\n - ':input[name=\"type\"]':\n value: 3DModel\n - or\n - ':input[name=\"type\"]':\n value: Sculpture\n '#states_clear': false\n '#format_items': comma\n '#max_filesize': '512'\n '#file_extensions': 'stl obj'\n upload_associated_warcs:\n '#type': webform_document_file\n '#title': 'Upload Web Archive Files'\n '#states':\n visible:\n ':input[name=\"type\"]':\n value: WebPage\n '#states_clear': false\n '#format_items': comma\n '#uri_scheme': s3\n '#max_filesize': '512'\n '#file_extensions': 'warc warc.gz wacz'\n '#sanitize': true\nactions:\n '#type': webform_actions\n '#title': 'Submit button(s)'\n '#submit__label': 'Save Metadata'\n '#reset__label': 'Clear Form'\n '#preview_prev_hide': true"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Webforms will need to be tested (can not review by just looking at the YML so will approve as it is since there is Trust!)

@DiegoPino DiegoPino merged commit dacf48c into esmero:1.0.0-RC3D9 Nov 3, 2021
alliomeria referenced this pull request in esmero/strawberry_basket Nov 8, 2021
Still a WIP, but made adjustment to embargo_lift_date to restrict to Admins only; corrected spelling error on one of the LoD elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Drupal YAML files Drupal settings provided by our deployment Release Duties We are all duty here, heavy duty
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants