The controlled vocabularies for Units, Bibliographic Indentifer Types, and Note Types are stored in a YAML file located in avalon/config/controlled_vocabulary.yml.
This file is loaded every time it is needed and is never cached.
Therefore, the file can be changed without restarting Avalon.
# Each list member is prefixed with a hyphen and indented with two spaces. # The Avalon codebase uses two spaces for indentation. units: - University Archives - Art Collectionunits: - University Archives - Art Collection identifier_types: local: Catalog Key oclc: OCLC lccn: LCCN issue number: Issue Number matrix number: Matrix Number music publisher: Music Publisher/Label videorecording identifier: Videorecording Identifier other: Other note_types: general: General Note awards: Awards biographical/historical: Bibliographical/Historical Note creation/production credits: Creation/Production Credits language: Language Note local: Local Note performers: Performers statement of responsibility: Statement of Responsibility venue: Venue/Event Date other: Other
Changing and Removing Unit Names
The purpose of the unit vocabulary is to ensure that collections are saved with a proper unit. Changing or removing unit names in the controlled vocabulary file will not update or remove those unit names from collections.
Identifier types are key/value pairs that map acceptable MODS identifier@type values to labels that will appear in the user interface for those types. Identifies the type of external record identifier in the related Other Identifier or Bibliographic ID field.
Note types are key/value pairs that map acceptable MODS note@type values to labels that will appear with notes in the user interface. This list of types also restricts which notes will be accepted during a MARC import.
Unit vocabulary names Vocabulary items are shown in the interface based on their insertion order in the controlled vocabulary file. The first entry in the file is also the first entry that will be shown when the units are listed in the Avalon interface.Ordering of Units has no effect on the order in which facet values appear in the search interface.