From 913a1a41a7d9942f972c16f9abb517030b4b8405 Mon Sep 17 00:00:00 2001 From: kempersc Date: Wed, 14 Jan 2026 16:59:47 +0100 Subject: [PATCH] chore: Update generated timestamp in manifest.json and add new slot revisions in slot_fixes.yaml --- .../schemas/20251121/linkml/manifest.json | 2 +- schemas/20251121/linkml/manifest.json | 2 +- .../arrangement_notes_archived_20260115.yaml} | 8 +++ .../linkml/modules/slots/has_or_had_area.yaml | 61 +++++++++++++++++++ .../linkml/modules/slots/manifest.json | 2 +- .../linkml/modules/slots/slot_fixes.yaml | 21 +++++-- 6 files changed, 88 insertions(+), 8 deletions(-) rename schemas/20251121/linkml/modules/slots/{arrangement_notes.yaml => archive/arrangement_notes_archived_20260115.yaml} (67%) create mode 100644 schemas/20251121/linkml/modules/slots/has_or_had_area.yaml diff --git a/frontend/public/schemas/20251121/linkml/manifest.json b/frontend/public/schemas/20251121/linkml/manifest.json index 61093df261..c5ed208d76 100644 --- a/frontend/public/schemas/20251121/linkml/manifest.json +++ b/frontend/public/schemas/20251121/linkml/manifest.json @@ -1,5 +1,5 @@ { - "generated": "2026-01-14T15:54:10.748Z", + "generated": "2026-01-14T15:58:50.548Z", "schemaRoot": "/schemas/20251121/linkml", "totalFiles": 2888, "categoryCounts": { diff --git a/schemas/20251121/linkml/manifest.json b/schemas/20251121/linkml/manifest.json index c5ed208d76..7436a9c408 100644 --- a/schemas/20251121/linkml/manifest.json +++ b/schemas/20251121/linkml/manifest.json @@ -1,5 +1,5 @@ { - "generated": "2026-01-14T15:58:50.548Z", + "generated": "2026-01-14T15:59:47.525Z", "schemaRoot": "/schemas/20251121/linkml", "totalFiles": 2888, "categoryCounts": { diff --git a/schemas/20251121/linkml/modules/slots/arrangement_notes.yaml b/schemas/20251121/linkml/modules/slots/archive/arrangement_notes_archived_20260115.yaml similarity index 67% rename from schemas/20251121/linkml/modules/slots/arrangement_notes.yaml rename to schemas/20251121/linkml/modules/slots/archive/arrangement_notes_archived_20260115.yaml index 33b322c4e5..fdc2e1738e 100644 --- a/schemas/20251121/linkml/modules/slots/arrangement_notes.yaml +++ b/schemas/20251121/linkml/modules/slots/archive/arrangement_notes_archived_20260115.yaml @@ -1,3 +1,11 @@ +# ARCHIVED: 2026-01-15 +# REASON: Migrated to has_arrangement_note (RiC-O style naming convention) +# MIGRATION: slot_fixes.yaml entry for arrangement_notes +# AFFECTED CLASS: CustodianArchive.yaml +# NEW SLOT: has_arrangement_note (multivalued) +# +# Original slot definition preserved below for reference: +# --- id: https://nde.nl/ontology/hc/slot/arrangement_notes name: arrangement_notes_slot title: Arrangement Notes Slot diff --git a/schemas/20251121/linkml/modules/slots/has_or_had_area.yaml b/schemas/20251121/linkml/modules/slots/has_or_had_area.yaml new file mode 100644 index 0000000000..7c46c3d3b6 --- /dev/null +++ b/schemas/20251121/linkml/modules/slots/has_or_had_area.yaml @@ -0,0 +1,61 @@ +id: https://nde.nl/ontology/hc/slot/has_or_had_area +name: has_or_had_area_slot +title: Has Or Had Area Slot +description: >- + Generic slot for associating an entity with an area measurement. + + **RULE 53 COMPLIANT**: This is the authoritative slot for area measurements, + replacing domain-specific slots like area_hectares, building_floor_area_sqm, + and has_area_in_hectare. + + **REPLACES**: + - area_hectares (OutdoorSite) + - building_floor_area_sqm (HistoricBuilding) + - has_area_in_hectare (bespoke, incorrectly created) + + **USAGE**: + Range should be narrowed to Area class in slot_usage. The Area class + captures the numeric value, unit of measurement, and measurement date. + + **RiC-O NAMING**: Follows "has_or_had_*" pattern for temporal relationships + (Rule 39) - areas can change over time (renovations, annexes, etc.). + +prefixes: + linkml: https://w3id.org/linkml/ + hc: https://nde.nl/ontology/hc/ + schema: http://schema.org/ + qudt: http://qudt.org/schema/qudt/ + geosparql: http://www.opengis.net/ont/geosparql# + +imports: + - linkml:types + +default_prefix: hc + +slots: + has_or_had_area: + description: >- + Area measurement associated with an entity (site, building, room, etc.). + + Generic slot for capturing spatial extent measurements. The range should + be narrowed to Area class which includes value, unit, and temporal context. + range: string + slot_uri: schema:size + multivalued: true + inlined: true + inlined_as_list: true + exact_mappings: + - schema:size + close_mappings: + - qudt:quantityValue + - geosparql:hasArea + annotations: + custodian_types: '["*"]' + custodian_types_rationale: >- + Area measurements applicable to all heritage custodian types - museums, + archives, libraries, outdoor sites, historic buildings, etc. + custodian_types_primary: M + specificity_score: 0.4 + specificity_rationale: >- + Broadly useful slot - area measurements relevant for site planning, + collection storage, visitor capacity, and facility management. diff --git a/schemas/20251121/linkml/modules/slots/manifest.json b/schemas/20251121/linkml/modules/slots/manifest.json index a47ab3d4c8..129faed687 100644 --- a/schemas/20251121/linkml/modules/slots/manifest.json +++ b/schemas/20251121/linkml/modules/slots/manifest.json @@ -18,7 +18,7 @@ "archive_branches.yaml", "archive_series.yaml", "archived_at.yaml", - "arrangement_notes.yaml", + "asserted_by.yaml", "audio_event_segments.yaml", "authors.yaml", diff --git a/schemas/20251121/linkml/modules/slots/slot_fixes.yaml b/schemas/20251121/linkml/modules/slots/slot_fixes.yaml index 3b4a3cda50..fe22a6ec6b 100644 --- a/schemas/20251121/linkml/modules/slots/slot_fixes.yaml +++ b/schemas/20251121/linkml/modules/slots/slot_fixes.yaml @@ -477,10 +477,10 @@ fixes: - original_slot_id: https://nde.nl/ontology/hc/slot/arrangement_notes processed: - status: false - timestamp: null - session: null - notes: "Requires ArrangementType/ArrangementTypes class creation" + status: true + timestamp: '2026-01-15T00:00:00Z' + session: "session-2026-01-15-slot-migrations" + notes: "FULLY MIGRATED: CustodianArchive.yaml already had has_arrangement_note (multivalued string) imported and in slot_usage. Removed arrangement_notes import, archived to archive/arrangement_notes_archived_20260115.yaml. Note: Using existing has_arrangement_note slot rather than creating ArrangementType class hierarchy as simpler string notes are sufficient for archival arrangement documentation." revision: - label: has_or_had_arrangement type: slot @@ -2219,4 +2219,15 @@ fixes: - label: has_or_had_type type: slot - label: ResourceType - type: class \ No newline at end of file + type: class + - original_slot_id: https://nde.nl/ontology/hc/slot/treatment_description + revision: + - label: has_or_had_treatment + type: slot + - label: Treatment + type: class + - label: has_or_had_description + type: slot + - label: Description + type: class + - original_slot_id: https://nde.nl/ontology/hc/slot/total_storage \ No newline at end of file