From 532ee806347dbde0b9b7a2e4dc78a7c71e0ac314 Mon Sep 17 00:00:00 2001 From: kempersc Date: Sat, 31 Jan 2026 12:29:53 +0100 Subject: [PATCH] Update manifest.json timestamp and refactor YAML schemas for improved clarity and functionality --- .../schemas/20251121/linkml/manifest.json | 2 +- schemas/20251121/linkml/manifest.json | 2 +- .../linkml/modules/classes/Alignment.yaml | 40 ++++++---------- .../modules/classes/CurationActivity.yaml | 9 ---- .../linkml/modules/classes/Department.yaml | 4 -- .../linkml/modules/classes/Resolution.yaml | 47 ++++++------------- 6 files changed, 32 insertions(+), 72 deletions(-) diff --git a/frontend/public/schemas/20251121/linkml/manifest.json b/frontend/public/schemas/20251121/linkml/manifest.json index 628b8faabc..d88dcde085 100644 --- a/frontend/public/schemas/20251121/linkml/manifest.json +++ b/frontend/public/schemas/20251121/linkml/manifest.json @@ -1,5 +1,5 @@ { - "generated": "2026-01-31T00:03:56.821Z", + "generated": "2026-01-31T00:23:47.044Z", "schemaRoot": "/schemas/20251121/linkml", "totalFiles": 3003, "categoryCounts": { diff --git a/schemas/20251121/linkml/manifest.json b/schemas/20251121/linkml/manifest.json index d88dcde085..cf67a8087a 100644 --- a/schemas/20251121/linkml/manifest.json +++ b/schemas/20251121/linkml/manifest.json @@ -1,5 +1,5 @@ { - "generated": "2026-01-31T00:23:47.044Z", + "generated": "2026-01-31T11:29:53.778Z", "schemaRoot": "/schemas/20251121/linkml", "totalFiles": 3003, "categoryCounts": { diff --git a/schemas/20251121/linkml/modules/classes/Alignment.yaml b/schemas/20251121/linkml/modules/classes/Alignment.yaml index 33bb921c27..422b137ad7 100644 --- a/schemas/20251121/linkml/modules/classes/Alignment.yaml +++ b/schemas/20251121/linkml/modules/classes/Alignment.yaml @@ -6,16 +6,12 @@ description: 'Represents positioning or alignment information for content elemen - Caption/subtitle positioning (top, bottom, left, right) - Text alignment within containers - Visual element placement in layouts - **PROPERTIES**: - - horizontal_alignment: left, center, right, justify - - vertical_alignment: top, middle, bottom - - position_value: Numeric or named position value - **RELATIONSHIP TO Caption**: - Alignment can be used with Caption to specify where subtitles appear - on screen (e.g., bottom-center is typical default). ' imports: - linkml:types +- ../slots/has_or_had_alignment +- ../slots/has_or_had_unit +- ../slots/has_or_had_value prefixes: linkml: https://w3id.org/linkml/ hc: https://nde.nl/ontology/hc/ @@ -25,17 +21,28 @@ classes: Alignment: class_uri: hc:Alignment description: 'Positioning or alignment information for content elements. - Captures horizontal alignment, vertical alignment, and position values. + Captures alignment, position values, and units. ' slots: + - has_or_had_alignment + - has_or_had_value + - has_or_had_unit slot_usage: + has_or_had_alignment: + range: string + multivalued: true + examples: - value: center - value: right - value: bottom - value: middle + has_or_had_value: + range: string examples: - value: '10' - value: default + has_or_had_unit: + range: string examples: - value: px - value: '%' @@ -43,20 +50,3 @@ classes: specificity_score: 0.1 specificity_rationale: Generic utility class/slot created during migration custodian_types: "['*']" -slots: - horizontal_alignment: - slot_uri: hc:horizontalAlignment - range: string - description: Horizontal alignment (left, center, right, justify) - vertical_alignment: - slot_uri: hc:verticalAlignment - range: string - description: Vertical alignment (top, middle, bottom) - position_value: - slot_uri: hc:positionValue - range: string - description: Numeric or named position value - position_unit: - slot_uri: hc:positionUnit - range: string - description: Unit of measurement for position diff --git a/schemas/20251121/linkml/modules/classes/CurationActivity.yaml b/schemas/20251121/linkml/modules/classes/CurationActivity.yaml index 72d3aa1f18..982ed8af4c 100644 --- a/schemas/20251121/linkml/modules/classes/CurationActivity.yaml +++ b/schemas/20251121/linkml/modules/classes/CurationActivity.yaml @@ -156,18 +156,11 @@ classes: has_or_had_text: VOC Series Finding Aid deliverable_url: https://example.org/finding-aids/voc-series-1.ead is_completed: true - examples: - - value: NEH Preservation and Access Grant - - value: Annual operating budget - - value: Friends of the Museum donation is_or_was_allocated_budget: range: string examples: - value: EUR 125,000 - value: USD 50,000 - examples: - - value: - - https://nde.nl/ontology/hc/activity/digitization-phase-1 priority: range: string examples: @@ -179,8 +172,6 @@ classes: - value: inventory - value: cataloguing - value: condition-assessment - has_or_had_type: - equals_expression: '["hc:GalleryType", "hc:LibraryType", "hc:ArchiveOrganizationType", "hc:MuseumType", "hc:ResearchOrganizationType", "hc:HolySacredSiteType", "hc:BioCustodianType"]' annotations: specificity_score: '0.65' specificity_rationale: Moderately specific - CurationActivity is domain-specific but broadly applicable across museum, archive, and library custodian types. diff --git a/schemas/20251121/linkml/modules/classes/Department.yaml b/schemas/20251121/linkml/modules/classes/Department.yaml index 1910127492..dba20d76e8 100644 --- a/schemas/20251121/linkml/modules/classes/Department.yaml +++ b/schemas/20251121/linkml/modules/classes/Department.yaml @@ -176,8 +176,6 @@ classes: is_or_was_established_by: temporal_extent: begin_of_the_begin: '1891-06-15' - - https://nde.nl/ontology/hc/collection/na-voc-archives - - https://nde.nl/ontology/hc/collection/na-wic-archives contact_point: colonial-records@nationaalarchief.nl refers_to_custodian: https://nde.nl/ontology/hc/nl-zh-hag-a-na - value: @@ -192,8 +190,6 @@ classes: is_or_was_managed_by: has_or_had_name: Dr. Pieter Roelofs has_or_had_title: Head of Paintings Department - - https://nde.nl/ontology/hc/collection/rm-dutch-paintings - - https://nde.nl/ontology/hc/collection/rm-flemish-paintings refers_to_custodian: https://nde.nl/ontology/hc/nl-nh-ams-m-rm annotations: specificity_score: 0.1 diff --git a/schemas/20251121/linkml/modules/classes/Resolution.yaml b/schemas/20251121/linkml/modules/classes/Resolution.yaml index b377565ba1..9cdbe0ddc3 100644 --- a/schemas/20251121/linkml/modules/classes/Resolution.yaml +++ b/schemas/20251121/linkml/modules/classes/Resolution.yaml @@ -6,26 +6,15 @@ description: 'Represents resolution or quality specifications for media content. - Video quality levels (SD, HD, 720p, 1080p, 4K, 8K) - Image resolution (width x height in pixels) - Display resolution specifications - **PROPERTIES**: - - resolution_type: Type of resolution (video, image, display) - - resolution_label: Standard label (HD, 4K, etc.) - - width_pixels: Horizontal resolution - - height_pixels: Vertical resolution - - has_or_had_quantity: Structured numeric values - - has_or_had_unit: Unit of measurement (pixels, DPI) - **STANDARD VIDEO RESOLUTIONS**: - | Label | Resolution | Aspect Ratio | - |-------|------------|--------------| - | SD | 640x480 | 4:3 | - | HD (720p) | 1280x720 | 16:9 | - | Full HD (1080p) | 1920x1080 | 16:9 | - | 4K (UHD) | 3840x2160 | 16:9 | - | 8K | 7680x4320 | 16:9 | ' imports: - linkml:types +- ../slots/has_or_had_height +- ../slots/has_or_had_label - ../slots/has_or_had_quantity +- ../slots/has_or_had_type - ../slots/has_or_had_unit +- ../slots/has_or_had_width - ./Quantity - ./Unit prefixes: @@ -42,17 +31,28 @@ classes: exact_mappings: - schema:videoQuality slots: + - has_or_had_type + - has_or_had_label + - has_or_had_width + - has_or_had_height - has_or_had_quantity - has_or_had_unit slot_usage: + has_or_had_type: + examples: - value: image + has_or_had_label: examples: - value: hd - value: sd - value: 4k - value: 8k + has_or_had_width: + range: integer examples: - value: 1920 + has_or_had_height: + range: integer examples: - value: 1080 has_or_had_quantity: @@ -68,20 +68,3 @@ classes: specificity_score: 0.1 specificity_rationale: Generic utility class/slot created during migration custodian_types: "['*']" -slots: - resolution_type: - slot_uri: hc:resolutionType - range: string - description: Type of resolution (video, image, display) - resolution_label: - slot_uri: hc:resolutionLabel - range: string - description: Standard quality label (SD, HD, 4K, etc.) - width_pixels: - slot_uri: hc:widthPixels - range: integer - description: Horizontal resolution in pixels - height_pixels: - slot_uri: hc:heightPixels - range: integer - description: Vertical resolution in pixels