Controlled Vocabularies
The controlled vocabularies for Units, Bibliographic Identifier Types, and Note Types are defined 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.
Vocabulary items are shown in the insertion order in the controlled vocabulary file. Ordering of Units has no effect on the order in which facet values appear in the search interface.
Example controlled_vocabulary.yml File
units:
- 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
Unit Names
Changing or removing unit names in the controlled vocabulary file will not update or remove those unit names from collections.
Identifier Types
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
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.