Skip to content

Commit

Permalink
Add field code and set up to not display. Add DCMItypes.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosiel committed Apr 5, 2024
1 parent 5acb27d commit bf8f387
Show file tree
Hide file tree
Showing 24 changed files with 381 additions and 35 deletions.
25 changes: 25 additions & 0 deletions assets/migrate/extra-vocabs.csv
Original file line number Diff line number Diff line change
Expand Up @@ -843,3 +843,28 @@ language,Iroquoian languages,http://id.loc.gov/vocabulary/iso639-2/iro,iso639-2,
language,"English, Old (ca.450-1100)",http://id.loc.gov/vocabulary/iso639-2/ang,iso639-2,,,ang
language,Sinhala | Sinhalese,http://id.loc.gov/vocabulary/iso639-2/sin,iso639-2,,,sin
language,Javanese,http://id.loc.gov/vocabulary/iso639-2/jav,iso639-2,,,jav
resource_types_dcmi,Dataset,http://purl.org/dc/dcmitype/Dataset,dcmi_types,"Data encoded in a defined structure.
Examples include lists, tables, and databases. A dataset may be useful for direct machine processing.",,Dataset
resource_types_dcmi,Sound,http://purl.org/dc/dcmitype/Sound,dcmi_types,"A resource primarily intended to be heard.
Examples include a music playback file format, an audio compact disc, and recorded speech or sounds.",,Sound
resource_types_dcmi,Interactive Resource,http://purl.org/dc/dcmitype/InteractiveResource,dcmi_types,"A resource requiring interaction from the user to be understood, executed, or experienced.
Examples include forms on Web pages, applets, multimedia learning objects, chat services, or virtual reality environments.",,InteractiveResource
resource_types_dcmi,Service,http://purl.org/dc/dcmitype/Service,dcmi_types,"A system that provides one or more functions.
Examples include a photocopying service, a banking service, an authentication service, interlibrary loans, a Z39.50 or Web server.",,Service
resource_types_dcmi,Moving Image,http://purl.org/dc/dcmitype/MovingImage,dcmi_types,"A series of visual representations imparting an impression of motion when shown in succession.
Examples include animations, movies, television programs, videos, zoetropes, or visual output from a simulation. Instances of the type Moving Image must also be describable as instances of the broader type Image.",,MovingImage
resource_types_dcmi,Physical Object,http://purl.org/dc/dcmitype/PhysicalObject,dcmi_types,"An inanimate, three-dimensional object or substance.
Note that digital representations of, or surrogates for, these objects should use Image, Text or one of the other types.",,PhysicalObject
resource_types_dcmi,Event,http://purl.org/dc/dcmitype/Event,dcmi_types,"A non-persistent, time-based occurrence.
Metadata for an event provides descriptive information that is the basis for discovery of the purpose, location, duration, and responsible agents associated with an event. Examples include an exhibition, webcast, conference, workshop, open day, performance, battle, trial, wedding, tea party, conflagration.",,Event
resource_types_dcmi,Still Image,http://purl.org/dc/dcmitype/StillImage,dcmi_types,"A static visual representation.
Examples include paintings, drawings, graphic designs, plans and maps. Recommended best practice is to assign the type Text to images of textual materials. Instances of the type Still Image must also be describable as instances of the broader type Image.",,StillImage
resource_types_dcmi,Software,http://purl.org/dc/dcmitype/Software,dcmi_types,"A computer program in source or compiled form.
Examples include a C source file, MS-Windows .exe executable, or Perl script.",,Software
resource_types_dcmi,Image,http://purl.org/dc/dcmitype/Image,dcmi_types,"A visual representation other than text.
Examples include images and photographs of physical objects, paintings, prints, drawings, other images and graphics, animations and moving pictures, film, diagrams, maps, musical notation. Note that Image may include both electronic and physical representations.",,Image
resource_types_dcmi,Collection,http://purl.org/dc/dcmitype/Collection,dcmi_types,"An aggregation of resources.
A collection is described as a group; its parts may also be separately described.",,Collection
resource_types_dcmi,Text,http://purl.org/dc/dcmitype/Text,dcmi_types,"A resource consisting primarily of words for reading.
Examples include books, letters, dissertations, poems, newspapers, articles, archives of mailing lists. Note that facsimiles or images of texts are still of the genre Text.",,Text

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.taxonomy_term.country.field_authority_link
- field.field.taxonomy_term.country.field_code
- taxonomy.vocabulary.country
module:
- controlled_access_terms
Expand All @@ -17,51 +18,59 @@ bundle: country
mode: default
content:
description:
type: text_textfield
weight: 0
type: text_textarea
weight: 1
region: content
settings:
size: 60
rows: 5
placeholder: ''
third_party_settings: { }
field_authority_link:
type: authority_link_default
weight: 31
weight: 2
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_code:
type: string_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 2
weight: 4
region: content
settings:
include_locked: true
third_party_settings: { }
name:
type: string_textfield
weight: -5
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 30
weight: 6
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 100
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 10
weight: 5
region: content
settings: { }
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.taxonomy_term.frequencies.field_authority_link
- field.field.taxonomy_term.frequencies.field_code
- taxonomy.vocabulary.frequencies
module:
- controlled_access_terms
Expand All @@ -17,51 +18,59 @@ bundle: frequencies
mode: default
content:
description:
type: text_textfield
weight: 0
type: text_textarea
weight: 1
region: content
settings:
size: 60
rows: 5
placeholder: ''
third_party_settings: { }
field_authority_link:
type: authority_link_default
weight: 101
weight: 2
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_code:
type: string_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 2
weight: 4
region: content
settings:
include_locked: true
third_party_settings: { }
name:
type: string_textfield
weight: -5
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 30
weight: 6
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 100
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 10
weight: 5
region: content
settings: { }
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.taxonomy_term.issuance_modes.field_authority_link
- field.field.taxonomy_term.issuance_modes.field_code
- taxonomy.vocabulary.issuance_modes
module:
- controlled_access_terms
Expand Down Expand Up @@ -32,9 +33,17 @@ content:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_code:
type: string_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 3
weight: 4
region: content
settings:
include_locked: true
Expand All @@ -49,19 +58,19 @@ content:
third_party_settings: { }
path:
type: path
weight: 5
weight: 6
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 6
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 4
weight: 5
region: content
settings: { }
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.taxonomy_term.language.field_authority_link
- field.field.taxonomy_term.language.field_code
- taxonomy.vocabulary.language
module:
- controlled_access_terms
Expand All @@ -17,51 +18,59 @@ bundle: language
mode: default
content:
description:
type: text_textfield
weight: 0
type: text_textarea
weight: 1
region: content
settings:
size: 60
rows: 5
placeholder: ''
third_party_settings: { }
field_authority_link:
type: authority_link_default
weight: 101
weight: 2
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_code:
type: string_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 2
weight: 4
region: content
settings:
include_locked: true
third_party_settings: { }
name:
type: string_textfield
weight: -5
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 30
weight: 6
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 100
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 10
weight: 5
region: content
settings: { }
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
uuid: 8149ad70-2a4b-46ee-8d80-6c1dca1a5ea2
langcode: en
status: true
dependencies:
config:
- field.field.taxonomy_term.resource_types_dcmi.field_authority_link
- field.field.taxonomy_term.resource_types_dcmi.field_code
- taxonomy.vocabulary.resource_types_dcmi
module:
- controlled_access_terms
- path
- text
id: taxonomy_term.resource_types_dcmi.default
targetEntityType: taxonomy_term
bundle: resource_types_dcmi
mode: default
content:
description:
type: text_textarea
weight: 1
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_authority_link:
type: authority_link_default
weight: 2
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_code:
type: string_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 4
region: content
settings:
include_locked: true
third_party_settings: { }
name:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 5
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 6
region: content
settings:
display_label: true
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.taxonomy_term.country.field_authority_link
- field.field.taxonomy_term.country.field_code
- taxonomy.vocabulary.country
module:
- controlled_access_terms
Expand Down Expand Up @@ -35,5 +36,6 @@ content:
weight: 1
region: content
hidden:
field_code: true
langcode: true
search_api_excerpt: true
Loading

0 comments on commit bf8f387

Please sign in to comment.