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

78 lines
2.1 KiB
YAML

id: https://nde.nl/ontology/hc/class/ArchiveReference
name: archive_reference_class
title: ArchiveReference Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
rico: https://www.ica.org/standards/RiC/ontology#
schema: http://schema.org/
dcterms: http://purl.org/dc/terms/
default_prefix: hc
default_range: string
imports:
- linkml:types
- ../metadata
- ./SpecificityAnnotation
- ./TemplateSpecificityScores
- ../slots/has_or_had_access_condition
- ../slots/full_name
- ../slots/isil
- ../slots/location
- ../slots/name
- ../slots/resource_description
- ../slots/specificity_annotation
- ../slots/sub_guide_temporal_coverage
- ../slots/template_specificity
- ../slots/url
classes:
ArchiveReference:
class_uri: rico:RecordSet
description: 'Reference to an archive collection or institution.
Used for key_archives (main archives for a topic) and related_archives
(external archives with related holdings).
'
slots:
- has_or_had_access_condition
- full_name
- isil
- location
- name
- resource_description
- specificity_annotation
- sub_guide_temporal_coverage
- template_specificity
- url
slot_usage:
name:
description: Short name or has_or_had_abbreviation
required: true
full_name:
description: Full official name
resource_description:
description: Description of the archive's relevance
location:
description: Physical location (city, country)
url:
description: URL to archive website
range: uri
required: false
isil:
description: ISIL code of the archive (ISO 15511)
pattern: ^[A-Z]{2}-[A-Za-z0-9]+$
sub_guide_temporal_coverage:
description: Time period of holdings (free text)
has_or_had_access_condition:
description: Access restrictions or requirements
specificity_annotation:
range: SpecificityAnnotation
inlined: true
template_specificity:
range: TemplateSpecificityScores
inlined: true
exact_mappings:
- rico:RecordSet
- schema:ArchiveOrganization