glam/schemas/20251121/linkml/modules/classes/CustodianCollection.yaml
kempersc 37d923cae1 Refactor slot names and update imports for consistency
- Migrated `was_generated_by` to `is_or_was_generated_by` and `was_derived_from` to `is_or_was_derived_from` across multiple YAML schema files as per Rule 53.
- Updated relevant imports, slot lists, and slot usage keys to reflect the new naming conventions.
- Added migration comments for clarity and tracking.
- Introduced a migration script to automate the changes across all affected files.
2026-01-15 15:07:53 +01:00

182 lines
5.7 KiB
YAML

id: https://nde.nl/ontology/hc/class/CustodianCollection
name: custodian_collection_class
title: CustodianCollection Class
imports:
- linkml:types
- ./Custodian
- ./CustodianObservation
- ./ReconstructionActivity
- ./TimeSpan
- ./OrganizationalStructure
- ./CollectionManagementSystem
- ./ReconstructedEntity
- ../slots/preservation_level
- ../slots/digitization_status
- ../slots/collection_name
- ../slots/collection_description
- ../slots/collection_type
- ../slots/collection_scope
- ../slots/temporal_coverage
- ../slots/extent
- ../slots/managing_unit
- ../slots/temporal_extent # was: valid_from + valid_to - migrated per Rule 53
# REMOVED 2026-01-14: valid_from + valid_to - migrated to temporal_extent (Rule 53)
- ../slots/refers_to_custodian
- ../slots/is_or_was_derived_from # was: was_derived_from - migrated per Rule 53
- ../slots/has_or_had_arrangement_system
- ../slots/is_or_was_generated_by # was: was_generated_by - migrated per Rule 53
- ../slots/has_or_had_custodian_type
- ../slots/custody_history
- ../slots/digital_surrogate
- ../slots/id
- ../slots/has_or_had_managed_by_cm
- ../slots/provenance_note
- ../slots/specificity_annotation
- ../slots/template_specificity
- ./SpecificityAnnotation
- ./TemplateSpecificityScores
- ../slots/has_or_had_access_right
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
crm: http://www.cidoc-crm.org/cidoc-crm/
dcterms: http://purl.org/dc/terms/
rico: https://www.ica.org/standards/RiC/ontology#
prov: http://www.w3.org/ns/prov#
time: http://www.w3.org/2006/time#
org: http://www.w3.org/ns/org#
premis: http://www.loc.gov/premis/rdf/v3/
bf: http://id.loc.gov/ontologies/bibframe/
classes:
CustodianCollection:
is_a: ReconstructedEntity
class_uri: crm:E78_Curated_Holding
description: 'Represents a heritage collection as a multi-aspect entity with independent temporal lifecycle.
Collections are curatedHoldings (CIDOC-CRM E78) with provenance tracking, custody history,
and organizational management relationships.
Phase 4 (2025-11-22): Added managing_unit bidirectional relationship with OrganizationalStructure.
Phase 8 (2025-11-22): Added validation constraints via slot_usage.
Phase 9 (2025-11-26): Added PREMIS mappings for digital preservation (digital_surrogates,
digitization_status, preservation_level).
'
close_mappings:
- premis:IntellectualEntity
- rico:RecordSet
- bf:Collection
related_mappings:
- premis:relationship
- dcterms:hasPart
slots:
- has_or_had_access_right
- has_or_had_arrangement_system
- collection_description
- collection_name
- collection_scope
- collection_type
- has_or_had_custodian_type
- custody_history
- digital_surrogate
- digitization_status
- extent
- id
- has_or_had_managed_by_cm
- managing_unit
- preservation_level
- provenance_note
- refers_to_custodian
- specificity_annotation
- template_specificity
- temporal_coverage
- temporal_extent # was: valid_from + valid_to - migrated per Rule 53
- is_or_was_derived_from # was: was_derived_from - migrated per Rule 53
- is_or_was_generated_by # was: was_generated_by - migrated per Rule 53
slot_usage:
collection_name:
range: string
required: true
pattern: ^.{1,500}$
managing_unit:
range: OrganizationalStructure
required: false
temporal_extent: # was: valid_from + valid_to - migrated per Rule 53
description: |
Collection validity period using CIDOC-CRM TimeSpan.
MIGRATED from valid_from + valid_to per slot_fixes.yaml (Rule 53).
range: TimeSpan
inlined: true
required: false
id:
identifier: true
required: true
refers_to_custodian:
range: Custodian
required: true
collection_description:
range: string
required: false
collection_type:
range: string
multivalued: true
collection_scope:
range: string
required: false
temporal_coverage:
range: TimeSpan
required: false
extent:
range: string
required: false
has_or_had_access_right:
range: string
required: false
digital_surrogate:
range: string
multivalued: true
required: false
digitization_status:
range: string
required: false
examples:
- value: PARTIAL
description: 30% of collection digitized as of 2024
- value: COMPLETE
description: Full collection digitized 2019-2021
preservation_level:
range: string
required: false
examples:
- value: FULL
description: Long-term preservation with format migration
- value: BIT_LEVEL
description: Bit-level preservation in institutional repository
has_or_had_managed_by_cm:
range: CollectionManagementSystem
multivalued: true
required: false
examples:
- value: https://nde.nl/ontology/hc/cms/rijksmuseum-adlib
description: Collection managed by Rijksmuseum Adlib CMS
has_or_had_arrangement_system:
range: string
required: false
provenance_note:
range: string
required: false
is_or_was_generated_by: # was: was_generated_by - migrated per Rule 53
range: ReconstructionActivity
required: false
is_or_was_derived_from: # was: was_derived_from - migrated per Rule 53
range: CustodianObservation
multivalued: true
required: true
has_or_had_custodian_type:
equals_expression: '["*"]'