From bf7515c48fa250bb5702256f46dc103f36400042 Mon Sep 17 00:00:00 2001 From: kempersc Date: Wed, 14 Jan 2026 20:33:59 +0100 Subject: [PATCH] feat: Add new classes for Domain, HTTPMethod, HTTPMethodType, MetadataStandard, MetadataStandardType, Responsibility, ResponsibilityType, TechnicalFeatureTypes with associated attributes and types --- .../schemas/20251121/linkml/manifest.json | 2 +- schemas/20251121/linkml/manifest.json | 2 +- .../linkml/modules/classes/Condition.yaml | 23 ++++++++++++++++ .../linkml/modules/classes/ConditionType.yaml | 20 ++++++++++++++ .../modules/classes/ConditionTypes.yaml | 25 ++++++++++++++++++ .../linkml/modules/classes/DomainType.yaml | 20 ++++++++++++++ .../linkml/modules/classes/DomainTypes.yaml | 25 ++++++++++++++++++ .../modules/classes/EnvironmentalZone.yaml | 15 ++++++++--- .../linkml/modules/classes/Venue.yaml | 26 +++++++++++++++++++ .../linkml/modules/classes/VenueType.yaml | 20 ++++++++++++++ 10 files changed, 173 insertions(+), 5 deletions(-) create mode 100644 schemas/20251121/linkml/modules/classes/Condition.yaml create mode 100644 schemas/20251121/linkml/modules/classes/ConditionType.yaml create mode 100644 schemas/20251121/linkml/modules/classes/ConditionTypes.yaml create mode 100644 schemas/20251121/linkml/modules/classes/DomainType.yaml create mode 100644 schemas/20251121/linkml/modules/classes/DomainTypes.yaml create mode 100644 schemas/20251121/linkml/modules/classes/Venue.yaml create mode 100644 schemas/20251121/linkml/modules/classes/VenueType.yaml diff --git a/frontend/public/schemas/20251121/linkml/manifest.json b/frontend/public/schemas/20251121/linkml/manifest.json index f1bc291e4d..c98671df91 100644 --- a/frontend/public/schemas/20251121/linkml/manifest.json +++ b/frontend/public/schemas/20251121/linkml/manifest.json @@ -1,5 +1,5 @@ { - "generated": "2026-01-14T19:32:45.779Z", + "generated": "2026-01-14T19:33:28.397Z", "schemaRoot": "/schemas/20251121/linkml", "totalFiles": 3026, "categoryCounts": { diff --git a/schemas/20251121/linkml/manifest.json b/schemas/20251121/linkml/manifest.json index c98671df91..95bd7f0f74 100644 --- a/schemas/20251121/linkml/manifest.json +++ b/schemas/20251121/linkml/manifest.json @@ -1,5 +1,5 @@ { - "generated": "2026-01-14T19:33:28.397Z", + "generated": "2026-01-14T19:33:59.551Z", "schemaRoot": "/schemas/20251121/linkml", "totalFiles": 3026, "categoryCounts": { diff --git a/schemas/20251121/linkml/modules/classes/Condition.yaml b/schemas/20251121/linkml/modules/classes/Condition.yaml new file mode 100644 index 0000000000..0cf55d51bc --- /dev/null +++ b/schemas/20251121/linkml/modules/classes/Condition.yaml @@ -0,0 +1,23 @@ +# Condition - Condition class +id: https://nde.nl/ontology/hc/class/Condition +name: Condition +prefixes: + linkml: https://w3id.org/linkml/ + hc: https://nde.nl/ontology/hc/ + schema: http://schema.org/ +imports: + - linkml:types + - ../slots/has_or_had_type +classes: + Condition: + class_uri: schema:OfferItemCondition + slots: + - has_or_had_type + slot_usage: + has_or_had_type: + range: ConditionType + attributes: + condition_description: + range: string + condition_date: + range: date diff --git a/schemas/20251121/linkml/modules/classes/ConditionType.yaml b/schemas/20251121/linkml/modules/classes/ConditionType.yaml new file mode 100644 index 0000000000..6e86e25aa1 --- /dev/null +++ b/schemas/20251121/linkml/modules/classes/ConditionType.yaml @@ -0,0 +1,20 @@ +# ConditionType - Abstract condition type +id: https://nde.nl/ontology/hc/class/ConditionType +name: ConditionType +prefixes: + linkml: https://w3id.org/linkml/ + hc: https://nde.nl/ontology/hc/ + skos: http://www.w3.org/2004/02/skos/core# +imports: + - linkml:types + - ../slots/type_id + - ../slots/type_label + - ../slots/type_description +classes: + ConditionType: + class_uri: skos:Concept + abstract: true + slots: + - type_id + - type_label + - type_description diff --git a/schemas/20251121/linkml/modules/classes/ConditionTypes.yaml b/schemas/20251121/linkml/modules/classes/ConditionTypes.yaml new file mode 100644 index 0000000000..52d7848263 --- /dev/null +++ b/schemas/20251121/linkml/modules/classes/ConditionTypes.yaml @@ -0,0 +1,25 @@ +# ConditionTypes - Concrete condition type subclasses +id: https://nde.nl/ontology/hc/class/ConditionTypes +name: ConditionTypes +prefixes: + linkml: https://w3id.org/linkml/ + hc: https://nde.nl/ontology/hc/ +imports: + - linkml:types + - ./ConditionType +classes: + ExcellentCondition: + is_a: ConditionType + description: Excellent physical condition + GoodCondition: + is_a: ConditionType + description: Good physical condition + FairCondition: + is_a: ConditionType + description: Fair physical condition + PoorCondition: + is_a: ConditionType + description: Poor physical condition + CriticalCondition: + is_a: ConditionType + description: Critical condition requiring intervention diff --git a/schemas/20251121/linkml/modules/classes/DomainType.yaml b/schemas/20251121/linkml/modules/classes/DomainType.yaml new file mode 100644 index 0000000000..199d1cdcf7 --- /dev/null +++ b/schemas/20251121/linkml/modules/classes/DomainType.yaml @@ -0,0 +1,20 @@ +# DomainType - Abstract domain type +id: https://nde.nl/ontology/hc/class/DomainType +name: DomainType +prefixes: + linkml: https://w3id.org/linkml/ + hc: https://nde.nl/ontology/hc/ + skos: http://www.w3.org/2004/02/skos/core# +imports: + - linkml:types + - ../slots/type_id + - ../slots/type_label + - ../slots/type_description +classes: + DomainType: + class_uri: skos:Concept + abstract: true + slots: + - type_id + - type_label + - type_description diff --git a/schemas/20251121/linkml/modules/classes/DomainTypes.yaml b/schemas/20251121/linkml/modules/classes/DomainTypes.yaml new file mode 100644 index 0000000000..aedb6bab1a --- /dev/null +++ b/schemas/20251121/linkml/modules/classes/DomainTypes.yaml @@ -0,0 +1,25 @@ +# DomainTypes - Concrete domain type subclasses +id: https://nde.nl/ontology/hc/class/DomainTypes +name: DomainTypes +prefixes: + linkml: https://w3id.org/linkml/ + hc: https://nde.nl/ontology/hc/ +imports: + - linkml:types + - ./DomainType +classes: + HeritageDomain: + is_a: DomainType + description: Cultural heritage domain + ArchivesDomain: + is_a: DomainType + description: Archives and records domain + LibraryDomain: + is_a: DomainType + description: Library and bibliographic domain + MuseumDomain: + is_a: DomainType + description: Museum and collections domain + ResearchDomain: + is_a: DomainType + description: Academic research domain diff --git a/schemas/20251121/linkml/modules/classes/EnvironmentalZone.yaml b/schemas/20251121/linkml/modules/classes/EnvironmentalZone.yaml index d4bba9c954..c1db3288a9 100644 --- a/schemas/20251121/linkml/modules/classes/EnvironmentalZone.yaml +++ b/schemas/20251121/linkml/modules/classes/EnvironmentalZone.yaml @@ -117,16 +117,22 @@ classes: - has_or_had_label - has_or_had_type slot_usage: - zone_id: + has_or_had_identifier: range: uriorcurie required: true identifier: true + description: | + Unique identifier for this environmental zone. + Replaces zone_id per slot_fixes.yaml migration. examples: - value: https://nde.nl/ontology/hc/zone/na-depot-a-standard description: National Archives Depot A - Standard environment zone - zone_name: + has_or_had_label: range: string required: true + description: | + Human-readable name for this environmental zone. + Replaces zone_name per slot_fixes.yaml migration. examples: - value: Standard Archive Storage Zone A - value: Cold Storage Vault - Film Negatives @@ -144,8 +150,11 @@ classes: description: Cold storage vault for film materials - value: PHOTOGRAPHIC description: Photographic materials zone - zone_description: + has_or_had_description: range: string + description: | + Free-text description of this environmental zone. + Replaces zone_description per slot_fixes.yaml migration. target_temperature_celsius: range: float examples: diff --git a/schemas/20251121/linkml/modules/classes/Venue.yaml b/schemas/20251121/linkml/modules/classes/Venue.yaml new file mode 100644 index 0000000000..6ace6bf295 --- /dev/null +++ b/schemas/20251121/linkml/modules/classes/Venue.yaml @@ -0,0 +1,26 @@ +# Venue - Venue class +id: https://nde.nl/ontology/hc/class/Venue +name: Venue +prefixes: + linkml: https://w3id.org/linkml/ + hc: https://nde.nl/ontology/hc/ + schema: http://schema.org/ +imports: + - linkml:types + - ../slots/has_or_had_type +classes: + Venue: + class_uri: schema:Place + slots: + - has_or_had_type + slot_usage: + has_or_had_type: + range: VenueType + attributes: + venue_name: + range: string + required: true + venue_city: + range: string + venue_country: + range: string diff --git a/schemas/20251121/linkml/modules/classes/VenueType.yaml b/schemas/20251121/linkml/modules/classes/VenueType.yaml new file mode 100644 index 0000000000..c632940a10 --- /dev/null +++ b/schemas/20251121/linkml/modules/classes/VenueType.yaml @@ -0,0 +1,20 @@ +# VenueType - Abstract venue type +id: https://nde.nl/ontology/hc/class/VenueType +name: VenueType +prefixes: + linkml: https://w3id.org/linkml/ + hc: https://nde.nl/ontology/hc/ + skos: http://www.w3.org/2004/02/skos/core# +imports: + - linkml:types + - ../slots/type_id + - ../slots/type_label + - ../slots/type_description +classes: + VenueType: + class_uri: skos:Concept + abstract: true + slots: + - type_id + - type_label + - type_description