From 46cb4d40fa7fa321d52cc1242dffe521fca7badc Mon Sep 17 00:00:00 2001 From: kempersc Date: Thu, 22 Jan 2026 22:19:52 +0100 Subject: [PATCH] feat: Update manifest timestamps and migrate data_license_policy to has_or_had_policy; archive previous data_format slot --- .../schemas/20251121/linkml/manifest.json | 2 +- schemas/20251121/linkml/manifest.json | 2 +- .../linkml/modules/classes/Custodian.yaml | 11 ++++-- .../modules/classes/EncompassingBody.yaml | 37 ++----------------- .../linkml/modules/classes/WebPortal.yaml | 19 ++++++---- .../linkml/modules/slots/manifest.json | 2 +- 6 files changed, 24 insertions(+), 49 deletions(-) diff --git a/frontend/public/schemas/20251121/linkml/manifest.json b/frontend/public/schemas/20251121/linkml/manifest.json index b27b20b12c..ab95ed2aa4 100644 --- a/frontend/public/schemas/20251121/linkml/manifest.json +++ b/frontend/public/schemas/20251121/linkml/manifest.json @@ -1,5 +1,5 @@ { - "generated": "2026-01-22T21:16:36.017Z", + "generated": "2026-01-22T21:17:35.747Z", "schemaRoot": "/schemas/20251121/linkml", "totalFiles": 3037, "categoryCounts": { diff --git a/schemas/20251121/linkml/manifest.json b/schemas/20251121/linkml/manifest.json index ab95ed2aa4..8b396617b6 100644 --- a/schemas/20251121/linkml/manifest.json +++ b/schemas/20251121/linkml/manifest.json @@ -1,5 +1,5 @@ { - "generated": "2026-01-22T21:17:35.747Z", + "generated": "2026-01-22T21:19:53.129Z", "schemaRoot": "/schemas/20251121/linkml", "totalFiles": 3037, "categoryCounts": { diff --git a/schemas/20251121/linkml/modules/classes/Custodian.yaml b/schemas/20251121/linkml/modules/classes/Custodian.yaml index 86286572e4..c92d501da8 100644 --- a/schemas/20251121/linkml/modules/classes/Custodian.yaml +++ b/schemas/20251121/linkml/modules/classes/Custodian.yaml @@ -31,7 +31,7 @@ imports: - ../slots/identifier - ../slots/created - ../slots/modified - - ../slots/data_license_policy + - ../slots/has_or_had_policy # was: data_license_policy - migrated per Rule 53 (2026-01-22) - ../slots/has_or_had_safeguard - ../slots/temporal_extent # was: time_of_destruction - migrated per Rule 53 (2026-01-15) # MIGRATED 2026-01-22: conflict_status → is_or_was_involved_in + Conflict (Rule 53) @@ -195,7 +195,7 @@ classes: - is_or_was_involved_in - created - has_or_had_custodian_type - - data_license_policy + - has_or_had_policy # was: data_license_policy - migrated per Rule 53 (2026-01-22) - digital_platform - is_or_was_encompassed_by # was: encompassing_body - migrated per Rule 53 (2025-01-15) - has_or_had_exhibition @@ -266,9 +266,12 @@ classes: description: | Governance bodies that encompass this custodian. MIGRATED from encompassing_body slot per slot_fixes.yaml (Rule 53, 2025-01-15). - data_license_policy: - range: DataLicensePolicy + has_or_had_policy: # was: data_license_policy - migrated per Rule 53 (2026-01-22) + range: DataLicensePolicy # Narrowed from Policy base class required: false + description: | + Data licensing and openness policy for this custodian. + MIGRATED from data_license_policy per slot_fixes.yaml (Rule 53). has_or_had_participated_in_project: range: Project multivalued: true diff --git a/schemas/20251121/linkml/modules/classes/EncompassingBody.yaml b/schemas/20251121/linkml/modules/classes/EncompassingBody.yaml index 247121a746..3ab6d48ed2 100644 --- a/schemas/20251121/linkml/modules/classes/EncompassingBody.yaml +++ b/schemas/20251121/linkml/modules/classes/EncompassingBody.yaml @@ -12,7 +12,7 @@ imports: - ./TimeSpan - ../slots/id - ../slots/dissolution_date - - ../slots/data_license_policy + - ../slots/has_or_had_policy # was: data_license_policy - migrated per Rule 53 (2026-01-22) - ../slots/funding_source - ../slots/description - ../slots/has_or_had_url # was: website - migrated per Rule 53 (2025-01-15) @@ -46,38 +46,7 @@ imports: - ./TemplateSpecificityType - ./TemplateSpecificityTypes - - ../slots/data_license_policy - - ../slots/description - - ../slots/dissolution_date - - ../slots/external_identifier - # REMOVED: ../slots/founding_date - migrated to is_or_was_founded_through (Rule 53, 2026-01-22) - - ../slots/governance_authority - - ../slots/has_or_had_area_served - - ../slots/has_or_had_member_custodian - - ../slots/has_or_had_project - - ../slots/has_or_had_url - - ../slots/id - - ../slots/legal_jurisdiction - - ../slots/membership_criteria - - ../slots/organization_legal_form - - ../slots/organization_name - - ../slots/organization_type - - ../slots/service_offering - - ../slots/specificity_annotation - - ../slots/has_or_had_score # was: template_specificity - migrated per Rule 53 (2026-01-17) - - ../slots/data_license_policy - - ../slots/description - - ../slots/dissolution_date - - ../slots/external_identifier - # REMOVED: ../slots/founding_date - migrated to is_or_was_founded_through (Rule 53, 2026-01-22) - - ../slots/governance_authority - - ../slots/has_or_had_area_served - - ../slots/has_or_had_member_custodian - - ../slots/has_or_had_project - - ../slots/has_or_had_url - - ../slots/id - - ../slots/legal_jurisdiction - - ../slots/membership_criteria + # NOTE: Duplicate imports removed during data_license_policy migration (2026-01-22) - ../slots/organization_legal_form - ../slots/organization_name - ../slots/organization_type @@ -131,7 +100,7 @@ classes: \ from Mondriaan Fund\" (FundingOrganisation - via schema:funder)\n" slots: - has_or_had_area_served - - data_license_policy + - has_or_had_policy # was: data_license_policy - migrated per Rule 53 (2026-01-22) - description - dissolution_date - external_identifier diff --git a/schemas/20251121/linkml/modules/classes/WebPortal.yaml b/schemas/20251121/linkml/modules/classes/WebPortal.yaml index f08f371929..a0965ad2be 100644 --- a/schemas/20251121/linkml/modules/classes/WebPortal.yaml +++ b/schemas/20251121/linkml/modules/classes/WebPortal.yaml @@ -25,7 +25,7 @@ imports: - ../slots/has_or_had_portal_data_source - ../slots/operated_by - ../slots/has_or_had_exposed_collection - - ../slots/data_license_policy + - ../slots/has_or_had_policy # was: data_license_policy - migrated per Rule 53 (2026-01-22) - ../slots/serves_finding_aid - ./ReconstructedEntity - ../slots/has_or_had_data_service_endpoint @@ -143,7 +143,7 @@ classes: # associated_encompassing_bodies REMOVED - use is_or_was_associated_with (Rule 53) - is_or_was_associated_with - created_by_project - - data_license_policy + - has_or_had_policy # was: data_license_policy - migrated per Rule 53 (2026-01-22) - has_or_had_data_service_endpoint - has_or_had_exposed_collection - geographic_scope @@ -348,13 +348,16 @@ classes: multivalued: true is_or_was_generated_by: # was: was_generated_by - migrated per Rule 53 range: ReconstructionActivity - data_license_policy: - range: DataLicensePolicy + has_or_had_policy: # was: data_license_policy - migrated per Rule 53 (2026-01-22) + range: DataLicensePolicy # Narrowed from Policy base class + description: | + Data licensing policy for this portal. + MIGRATED from data_license_policy per slot_fixes.yaml (Rule 53). examples: - value: https://nde.nl/ontology/hc/policy/europeana - description: Europeana's CC0 metadata policy + description: Europeana's CC0 metadata policy (was data_license_policy) - value: https://nde.nl/ontology/hc/policy/archieven-nl - description: Archieven.nl data policy + description: Archieven.nl data policy (was data_license_policy) created_by_project: range: Project examples: @@ -419,7 +422,7 @@ classes: - 'Portals form aggregation chains: regional → national → European' - Typically operated by EncompassingBody (Network, Consortium) - Track lifecycle with portal_status and supersedes_or_superseded - - 'NEW: data_license_policy links to portal''s licensing stance (CC0, CC-BY, etc.)' + - 'has_or_had_policy (was data_license_policy) links to portal''s licensing stance (CC0, CC-BY, etc.)' - 'NEW: created_by_project links to Project that built the portal' - 'NEW: is_or_was_associated_with for organizational relationships beyond operator (migrated from associated_encompassing_bodies)' - 'NEW: implements_digital_platform links to aggregated DigitalPlatform instances' @@ -505,7 +508,7 @@ classes: participating_institutions: 4000 external_identifier: - http://www.wikidata.org/entity/Q209441 - data_license_policy: + has_or_had_policy: # was: data_license_policy - migrated per Rule 53 (2026-01-22) - policy_id: https://nde.nl/ontology/hc/policy/europeana-data-exchange policy_name: Europeana Data Exchange Agreement data_licenses: diff --git a/schemas/20251121/linkml/modules/slots/manifest.json b/schemas/20251121/linkml/modules/slots/manifest.json index ec913b8001..2c45b0c4fe 100644 --- a/schemas/20251121/linkml/modules/slots/manifest.json +++ b/schemas/20251121/linkml/modules/slots/manifest.json @@ -175,7 +175,7 @@ "custody_history.yaml", "custody_received_by.yaml", "__ARCHIVED_20260122__cut_count.yaml", - "data_format.yaml", + "__ARCHIVED_20260122__data_format.yaml", "data_license_policy.yaml", "data_repository.yaml", "data_sensitivity.yaml",