glam/schemas/20251121/linkml/modules/classes/TemporalCoverage.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

80 lines
2.1 KiB
YAML

id: https://nde.nl/ontology/hc/class/TemporalCoverage
name: temporal_coverage_class
title: TemporalCoverage 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
- ./TemporalPeriod
- ./KeyDate
- ../slots/end
- ../slots/has_or_had_key_date
- ../slots/has_or_had_key_period
- ../slots/note
- ../slots/has_or_had_period
- ../slots/specificity_annotation
- ../slots/start
- ../slots/template_specificity
classes:
TemporalCoverage:
class_uri: dcterms:PeriodOfTime
description: 'Time period covered by the finding aid''s materials.
Supports both numeric years and special values like "present".
Can include named periods (key_periods) and significant dates (key_dates).
'
slots:
- end
- has_or_had_key_date
- has_or_had_key_period
- note
- has_or_had_period
- specificity_annotation
- start
- template_specificity
slot_usage:
start:
description: Start year of coverage
range: TemporalValue
required: true
end:
description: End year of coverage (use "present" for ongoing)
range: TemporalValue
required: true
note:
description: Additional notes about temporal coverage
has_or_had_period:
description: Named periods within coverage
range: TemporalPeriod
multivalued: true
inlined_as_list: true
has_or_had_key_period:
description: Named historical periods (alias for periods)
range: TemporalPeriod
multivalued: true
inlined_as_list: true
has_or_had_key_date:
description: Significant historical dates
range: KeyDate
multivalued: true
inlined_as_list: true
specificity_annotation:
range: SpecificityAnnotation
inlined: true
template_specificity:
range: TemplateSpecificityScores
inlined: true
exact_mappings:
- dcterms:PeriodOfTime
- schema:temporalCoverage