Skip to content

YAML Schemas

Glossarist concept data is stored as YAML files validated against JSON Schema definitions. The canonical schemas live in the concept-model repository.

The concept model has two major schema versions:

  • V2 — Original format, with concepts and localized concepts in separate directories
  • V3 — Current format, with all localizations in a single file per concept, extended designation types, and a formally defined OWL ontology with SHACL shapes for validation

Both formats are supported by glossarist-ruby and glossarist-js for reading and writing.

Reference

SectionDescription
YAML Schema ReferenceInteractive browser for JSON Schema definitions — properties, types, enums, and definitions for V2 and V3
Entity Field ReferenceField-level reference for every entity type, with types, cardinality, and allowed values

Examples

Each schema feature is demonstrated with standalone YAML examples in the concept-model repository:

#TopicWhat it shows
01Minimal conceptSmallest valid concept + localization
02DesignationsAll 7 designation types, grammar info, term types
03PronunciationIPA, Hepburn romanization, script cascade
04Definition, notes, examplesDetailedDefinition with per-item sources
05DomainsClassification and subject area references
06RelationshipsAll 32 typed semantic relationship types
07Sources & citationsAll 10 source statuses, locality, custom locality
08Multi-languageFour scripts (Latn, Arab, Hani, Cyrl) in one concept
09Non-verbal representationsImages, tables, formulas
10Concept referencesLocal, URN, and designation references
11Lifecycle & reviewStatus transitions, review metadata, release version
12Absent designationsExplicitly missing designations, international symbols
13Superseded & deprecatedFull deprecation lifecycle
14Term typesAll 34 ISO 12620 term type values
15Citation featuresLocality ranges, custom locality, links

An open source project of Ribose