Skip to content

Standard Vocabularies ​

GENEALOGIX includes a comprehensive set of standard vocabularies that define controlled types for events, relationships, places, sources, media, and more. These vocabularies are automatically copied to new archives during initialization with glx init.

Archive Initialization

When you run glx init, these standard vocabulary files are copied to your archive's vocabularies/ directory. You can then customize them by:

  • Editing descriptions and labels
  • Adding additional types
  • Adjusting to match your research focus

Overview ​

Standard vocabularies provide:

  • Consistency - Ensures all researchers use the same terminology
  • Validation - The glx validate command checks all types exist
  • Customization - Archives can extend with custom definitions
  • Interoperability - Maps to GEDCOM and other formats

Vocabulary Files ​

Event Types ​

Defines lifecycle events (birth, death, marriage), religious events (baptism, confirmation), and attribute facts (occupation, residence, education).

vocabularies/event-types.glx

yaml

See Also: Event Entity Documentation | Vocabularies Specification


Event Properties ​

Defines additional properties that can be associated with events (like certainty, privacy, historical context).

vocabularies/event-properties.glx

yaml

See Also: Event Entity Documentation | Vocabularies Specification


Relationship Types ​

Defines relationships between people including marriage, parent-child (biological, adoptive, foster), sibling, and other family connections.

vocabularies/relationship-types.glx

yaml

See Also: Relationship Entity Documentation | Vocabularies Specification


Relationship Properties ​

Defines additional properties that can be associated with relationships (like custody, legality, adoption type).

vocabularies/relationship-properties.glx

yaml

See Also: Relationship Entity Documentation | Vocabularies Specification


Person Properties ​

Defines properties that can be associated with people (such as sex, gender, physical characteristics, titles).

vocabularies/person-properties.glx

yaml

See Also: Person Entity Documentation | Vocabularies Specification


Place Types ​

Defines geographic and administrative place classifications from countries down to buildings.

vocabularies/place-types.glx

yaml

See Also: Place Entity Documentation | Vocabularies Specification


Place Properties ​

Defines additional properties that can be associated with places (such as historical names, coordinates, administrative divisions).

vocabularies/place-properties.glx

yaml

See Also: Place Entity Documentation | Vocabularies Specification


Source Types ​

Defines categories of genealogical sources including vital records, census, church registers, military records, newspapers, and more.

vocabularies/source-types.glx

yaml

See Also: Source Entity Documentation | Vocabularies Specification


Source Properties ​

Defines additional properties that can be associated with sources (such as abbreviation, call number, publication information).

vocabularies/source-properties.glx

yaml

See Also: Source Entity Documentation | Vocabularies Specification


Citation Properties ​

Defines properties that can be associated with citations (such as locator, text from source, source date).

vocabularies/citation-properties.glx

yaml

See Also: Citation Entity Documentation | Vocabularies Specification


Media Types ​

Defines categories of media objects including photographs, documents, audio recordings, and video.

vocabularies/media-types.glx

yaml

See Also: Media Entity Documentation | Vocabularies Specification


Media Properties ​

Defines additional properties that can be associated with media objects (such as dimensions, duration, subjects, crop coordinates).

vocabularies/media-properties.glx

yaml

See Also: Media Entity Documentation | Vocabularies Specification


Confidence Levels ​

Defines confidence levels for assertions, representing researcher certainty in conclusions.

vocabularies/confidence-levels.glx

yaml

See Also: Assertion Entity Documentation | Vocabularies Specification


Sex Types ​

Defines controlled values for the sex person property (male, female, unknown, not_recorded, other). Sex is what was recorded in source documents (e.g., GEDCOM SEX, census enumerations) and maps to GEDCOM SEX on import/export. Out-of-vocabulary values produce a validation warning, not an error — archives may add custom values before recording them in the vocabulary.

vocabularies/sex-types.glx

yaml

See Also: Person Entity Documentation | Vocabularies Specification


Gender Types ​

Defines controlled values for the gender person property — self-identified gender identity (male, female, nonbinary, other). Primarily relevant for modern records and living persons. No direct GEDCOM mapping — GEDCOM 7.0 defers gender identity to FACT. Out-of-vocabulary values produce a validation warning, not an error.

vocabularies/gender-types.glx

yaml

See Also: Person Entity Documentation | Vocabularies Specification


Participant Roles ​

Defines roles that people play in events and relationships (principal, witness, officiant, spouse, parent, child).

vocabularies/participant-roles.glx

yaml

See Also: Event Entity Documentation | Relationship Entity Documentation | Vocabularies Specification


Repository Types ​

Defines categories of institutions that hold genealogical sources (archives, libraries, churches, online databases).

vocabularies/repository-types.glx

yaml

See Also: Repository Entity Documentation | Vocabularies Specification


Repository Properties ​

Defines additional properties that can be associated with repositories (such as phone numbers, email, access hours, holdings).

vocabularies/repository-properties.glx

yaml

See Also: Repository Entity Documentation | Vocabularies Specification


Customizing Vocabularies ​

Adding Custom Types ​

Extend standard vocabularies by adding custom entries:

yaml
# vocabularies/event-types.glx
event_types:
  # ... standard types ...

  # Custom types
  apprenticeship:
    label: 'Apprenticeship'
    description: 'Beginning of apprenticeship training'

Using Custom Types ​

Once defined, use custom types in your entities:

yaml
# events/event-apprenticeship.glx
events:
  event-john-apprentice:
    type: apprenticeship # Custom type from vocabulary
    date: '1845-03-10'
    place: place-leeds
    value: 'Apprenticed to blacksmith'

Validation ​

The glx validate command ensures all types are properly defined:

bash
$ glx validate

✓ vocabularies/event-types.glx
✓ events/event-apprenticeship.glx
  - event type 'apprenticeship' found in vocabulary (custom)

Best Practices ​

  1. Use Standard Types First - Standard types ensure GEDCOM compatibility and interoperability
  2. Document Custom Types - Provide clear labels and descriptions for custom types
  3. Map to GEDCOM - Include GEDCOM mappings when possible (use _TAG format for custom tags)
  4. Keep Consistent - Use consistent naming conventions (lowercase with hyphens)

See Also ​

Licensed under Apache License 2.0