glam/schemas/20251121/linkml/modules/classes/GeographicCoverage.yaml
kempersc 174a420c08
All checks were successful
Deploy Frontend / build-and-deploy (push) Successful in 3m57s
refactor(schema): centralize 1515 inline slot definitions per Rule 48
- Remove inline slot definitions from 144 class files
- Create 7 new centralized slot files in modules/slots/:
  - custodian_type_broader.yaml
  - custodian_type_narrower.yaml
  - custodian_type_related.yaml
  - definition.yaml
  - finding_aid_access_restriction.yaml
  - finding_aid_description.yaml
  - finding_aid_temporal_coverage.yaml
- Add centralize_inline_slots.py automation script
- Update manifest with new timestamp

Rule 48: Class files must NOT define inline slots - all slots
must be imported from modules/slots/ directory.

Note: Pre-existing IdentifierFormat duplicate class definition
(in Standard.yaml and IdentifierFormat.yaml) not addressed in
this commit - requires separate schema refactor.
2026-01-11 22:02:14 +01:00

88 lines
2.4 KiB
YAML

id: https://nde.nl/ontology/hc/class/GeographicCoverage
name: geographic_coverage_class
title: GeographicCoverage Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
dcterms: http://purl.org/dc/terms/
schema: http://schema.org/
default_prefix: hc
default_range: string
imports:
- linkml:types
- ../metadata
- ./SpecificityAnnotation
- ./TemplateSpecificityScores
- ../slots/colonial
- ../slots/historical_region
- ../slots/inbound_from
- ../slots/international
- ../slots/major_city
- ../slots/outbound_to
- ../slots/primary
- ../slots/related
- ../slots/scope
- ../slots/secondary
- ../slots/specificity_annotation
- ../slots/template_specificity
classes:
GeographicCoverage:
class_uri: dcterms:Location
description: 'Geographic area covered by the finding aid''s materials.
Supports primary areas, secondary/related areas, and migration patterns.
'
slots:
- colonial
- historical_region
- inbound_from
- international
- major_city
- outbound_to
- primary
- related
- scope
- secondary
- specificity_annotation
- template_specificity
slot_usage:
primary:
description: Primary geographic areas covered
multivalued: true
scope:
description: Description of geographic scope
secondary:
description: Secondary geographic areas (less prominent coverage)
multivalued: true
related:
description: Related geographic areas (e.g., for WWII - Germany, Japan)
multivalued: true
historical_region:
description: Historical region names (may no longer exist)
multivalued: true
colonial:
description: Colonial territories covered
multivalued: true
international:
description: International scope descriptions
multivalued: true
major_city:
description: Major cities within coverage area
multivalued: true
inbound_from:
description: Migration origin countries/regions (for migration guides)
multivalued: true
outbound_to:
description: Migration destination countries/regions
multivalued: true
specificity_annotation:
range: SpecificityAnnotation
inlined: true
template_specificity:
range: TemplateSpecificityScores
inlined: true
exact_mappings:
- dcterms:spatial
- schema:spatialCoverage