refactor(schema): migrate 5 deprecated slots to temporal naming convention

Migrate slots to follow RiC-O-style temporal naming (Rule 39):
- accepts_external_work → accepts_or_accepted_external_work
- accepts_visiting_scholars → accepts_or_accepted_visiting_scholar
- accepts_payment_methods → accepts_or_accepted_payment_method
- access → has_or_had_access_condition
- access_policy_ref → has_or_had_access_policy_reference

Updated classes to use new slot names:
- ConservationLab.yaml
- ResearchCenter.yaml
- GiftShop.yaml
- ArchiveReference.yaml
- FindingAid.yaml
- Collection.yaml

Archived deprecated slots to schemas/20251121/linkml/archive/slots/
with _archived_20260110 suffix per Rule 9 (enum-to-class principle).
This commit is contained in:
kempersc 2026-01-10 21:09:29 +01:00
parent ac36b80476
commit f02cffe1e8
12 changed files with 29 additions and 26 deletions

View file

@ -14,7 +14,7 @@ imports:
- ../metadata
- ./SpecificityAnnotation
- ./TemplateSpecificityScores
- ../slots/access
- ../slots/has_or_had_access_condition
- ../slots/full_name
- ../slots/isil
- ../slots/location
@ -34,7 +34,7 @@ classes:
Used for key_archives (main archives for a topic) and related_archives
(external archives with related holdings).
slots:
- access
- has_or_had_access_condition
- full_name
- isil
- location

View file

@ -24,7 +24,7 @@ imports:
- ./FindingAid
- ./ExhibitedObject
- ./CurationActivity
- ../slots/access_policy_ref
- ../slots/has_or_had_access_policy_reference
- ../slots/has_acquisition_date
- ../slots/has_acquisition_method
- ../slots/has_acquisition_source
@ -166,7 +166,7 @@ classes:
- rico:Record
- bf:Item
slots:
- access_policy_ref
- has_or_had_access_policy_reference
- has_acquisition_date
- has_acquisition_method
- has_acquisition_source
@ -408,7 +408,7 @@ classes:
description: Source of VOC archives transfer
- value: Estate of Anna Drucker-Fraser
description: Source of bequest
has_access_policy_reference:
has_or_had_access_policy_reference:
slot_uri: premis:hasRightsDeclaration
description: |
Access policy governing this collection.
@ -679,7 +679,7 @@ classes:
acquisition_method: TRANSFER
acquisition_date: '1856-01-01'
acquisition_source: Ministry of Colonies
access_policy_ref: https://nde.nl/ontology/hc/access-policy/open-access
has_or_had_access_policy_reference: https://nde.nl/ontology/hc/access-policy/open-access
arrangement: Organized by provenance, then chronologically
has_or_had_finding_aid:
- finding_aid_id: https://nde.nl/finding-aid/nationaal-archief-voc-inventory
@ -699,5 +699,5 @@ classes:
# NOTE: All slots are defined in centralized modules/slots/ files
# Slots used by this class: collection_id, collection_type_ref, record_set_type,
# extent_items, subject_areas, provenance_statement, custodial_history, acquisition_source,
# access_policy_ref, arrangement, finding_aids, digital_surrogate_url, parent_collection,
# has_or_had_access_policy_reference, arrangement, finding_aids, digital_surrogate_url, parent_collection,
# has_or_had_sub_collection, items, curation_activities, part_of_custodian_collection

View file

@ -6,7 +6,7 @@ imports:
- ./ReconstructedEntity
- ./CustodianObservation
- ./ReconstructionActivity
- ../slots/accepts_external_work
- ../slots/accepts_or_accepted_external_work
- ../slots/has_or_had_accreditation_body
- ../slots/conservation_specialization
- ../slots/equipment_type
@ -126,7 +126,7 @@ classes:
- crm:E14_Condition_Assessment
- schema:ResearchOrganization
slots:
- accepts_external_work
- accepts_or_accepted_external_work
- has_or_had_accreditation_body
- conservation_specialization
- equipment_type
@ -416,7 +416,7 @@ classes:
is_accredited: true
accreditation_body: VeRes
staff_count: 12
accepts_external_work: false
accepts_or_accepted_external_work: false
description: Major museum conservation studio
- value:
lab_id: https://nde.nl/ontology/hc/aux/na-restauratie
@ -437,7 +437,7 @@ classes:
has_fume_hoods: true
has_deacidification_facility: true
staff_count: 6
accepts_external_work: true
accepts_or_accepted_external_work: true
description: Archive paper conservation workshop
slots:
lab_id:

View file

@ -50,7 +50,7 @@ imports:
- ../slots/publisher
- ../slots/publication_date
- ../slots/isbn
- ../slots/access
- ../slots/has_or_had_access_condition
- ../slots/is_or_was_access_restricted
- ../slots/all_links
- ../slots/card_description
@ -676,7 +676,7 @@ classes:
Used for key_archives (main archives for a topic) and related_archives
(external archives with related holdings).
slots:
- access
- has_or_had_access_condition
- full_name
- isil
- location

View file

@ -15,7 +15,7 @@ imports:
- ../slots/managed_by
- ../slots/price_currency
- ./ReconstructedEntity
- ../slots/accepts_payment_methods
- ../slots/accepts_or_accepted_payment_method
- ../slots/has_or_had_annual_revenue
- ../slots/giftshop_price_range
- ../slots/online_shop
@ -65,7 +65,7 @@ classes:
\ materials, replicas for learning\n\n**PHYSICAL vs. DIGITAL PRESENCE**:\n\n\
Gift shops can exist in multiple forms:\n\n1. **Physical shop** (on-site): Located\
\ within museum/archive building\n - Links to AuxiliaryPlace (physical location)\n\
\ - Has opening_hours, accepts_payment_methods\n \n2. **Physical shop**\
\ - Has opening_hours, accepts_or_accepted_payment_method\n \n2. **Physical shop**\
\ (separate): Stand-alone retail location\n - Links to AuxiliaryPlace with\
\ type RETAIL_SPACE\n - May have separate street address, hours\n \n3. **Online\
\ shop** (e-commerce): Web-based retail platform\n - Links to AuxiliaryDigitalPlatform\
@ -121,7 +121,7 @@ classes:
- gr:Offering
- schema:Product
slots:
- accepts_payment_methods
- accepts_or_accepted_payment_method
- has_or_had_annual_revenue
- giftshop_price_range
- managed_by

View file

@ -7,7 +7,7 @@ imports:
- ./CustodianObservation
- ./ReconstructionActivity
- ../enums/ResearchCenterTypeEnum
- ../slots/accepts_visiting_scholars
- ../slots/accepts_or_accepted_visiting_scholar
- ../slots/has_or_had_affiliated_university
- ../slots/has_or_had_custodian_type
- ../slots/fellows_count
@ -130,7 +130,7 @@ classes:
- hc:ConservationLab
- hc:EducationCenter
slots:
- accepts_visiting_scholars
- accepts_or_accepted_visiting_scholar
- has_or_had_affiliated_university
- has_or_had_custodian_type
- fellows_count
@ -369,7 +369,7 @@ classes:
has_publication_series: true
publication_series_name: Rijksmuseum Studies in Art
has_research_library: true
accepts_visiting_scholars: true
accepts_or_accepted_visiting_scholar: true
major_research_project:
- Rembrandt Database
- Operation Night Watch
@ -391,7 +391,7 @@ classes:
- TU Delft
has_fellows_program: true
fellows_count: 4
accepts_visiting_scholars: true
accepts_or_accepted_visiting_scholar: true
staff_count: 8
description: Digital humanities research lab
slots:

View file

@ -1,23 +1,26 @@
id: https://nde.nl/ontology/hc/slot/has_access_policy_reference
name: has_access_policy_reference_slot
title: Has Access Policy Reference Slot
id: https://nde.nl/ontology/hc/slot/has_or_had_access_policy_reference
name: has_or_had_access_policy_reference_slot
title: Has Or Had Access Policy Reference Slot
prefixes:
dcterms: http://purl.org/dc/terms/
hc: https://nde.nl/ontology/hc/
linkml: https://w3id.org/linkml/
schema: http://schema.org/
premis: http://www.loc.gov/premis/rdf/v3/
imports:
- linkml:types
default_prefix: hc
slots:
has_access_policy_reference:
has_or_had_access_policy_reference:
description: >-
Reference (URL or citation) to an access policy document.
Uses temporal naming to indicate that access policies may change over time.
range: uri
slot_uri: dcterms:references
slot_uri: premis:hasRightsDeclaration
exact_mappings:
- dcterms:references
- premis:hasRightsDeclaration
close_mappings:
- dcterms:references
- schema:citation
- dcterms:source
annotations: