glam/frontend/public/schemas/20251121/linkml/modules/classes/Capacity.yaml
kempersc 6bb8ac20ba feat: Add MainPart and OutputData classes with detailed specifications
- Introduced MainPart class to represent principal portions with quantified values, including attributes for part type and currency code.
- Added OutputData class to specify output characteristics from devices/services, including format, description, and destination URL.
- Created canonical_value, capacity, capacity_type, and capacity_value slots for enhanced data representation.
- Archived and migrated various slots related to data sensitivity, dataset descriptions, and titles to align with new structures.
- Implemented has_or_had_caption and has_or_had_main_part slots to support media accessibility and primary portion representation.
- Enhanced data license policy slot to define custodian data licensing and openness policies.
2026-01-23 11:04:15 +01:00

265 lines
10 KiB
YAML

id: https://nde.nl/ontology/hc/class/Capacity
name: Capacity
title: Capacity Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
qudt: http://qudt.org/schema/qudt/
schema: http://schema.org/
dcterms: http://purl.org/dc/terms/
imports:
- linkml:types
# Enums (kept for backward compatibility)
- ../enums/CapacityTypeEnum
# RiC-O style generic slots
- ../slots/has_or_had_identifier
- ../slots/has_or_had_label
- ../slots/has_or_had_description
- ../slots/has_or_had_measurement_unit
- ../slots/has_or_had_quantity
- ../slots/temporal_extent
- ../slots/specificity_annotation
- ../slots/has_or_had_score # was: template_specificity - migrated per Rule 53 (2026-01-17)
# MIGRATED 2026-01-22: capacity_type → has_or_had_type + CapacityType (Rule 53)
- ../slots/has_or_had_type
# MIGRATED 2026-01-22: capacity_value → has_or_had_quantity + Quantity (Rule 53)
- ../slots/has_or_had_unit
- ./Unit
# Capacity-specific slots (capacity_value removed - use has_or_had_quantity)
- ../slots/is_estimate
# Class imports
- ./MeasureUnit
- ./Quantity
- ./TimeSpan
- ./SpecificityAnnotation
- ./TemplateSpecificityScore # was: TemplateSpecificityScores - migrated per Rule 53 (2026-01-17)
- ./TemplateSpecificityType
- ./TemplateSpecificityTypes
# MIGRATED 2026-01-22: capacity_type → has_or_had_type + CapacityType (Rule 53)
- ./CapacityType
- ./CapacityTypes
default_prefix: hc
classes:
Capacity:
class_uri: hc:Capacity
description: >-
Storage or holding capacity measurement for heritage facilities.
**RULE 53 MIGRATION**:
This class consolidates the following bespoke capacity slots:
- capacity_cubic_meters → capacity_value + VOLUME type + m³ unit
- capacity_linear_meters → capacity_value + SHELF_LENGTH type + m unit
- capacity_item → capacity_value + ITEM_COUNT type + items unit
- capacity_description → has_or_had_description
**ONTOLOGY ALIGNMENT**:
- Extends `qudt:Quantity` pattern for measured values
- Uses MeasureUnit for structured unit representation
- Supports temporal validity via TimeSpan
**CAPACITY TYPES**:
| Type | Description | Unit Examples |
|------|-------------|---------------|
| VOLUME | Cubic capacity | m³, ft³ |
| SHELF_LENGTH | Linear shelf meters | m, ft |
| FLOOR_AREA | Floor space | m², ft² |
| ITEM_COUNT | Number of items | boxes, folders, objects |
| WEIGHT | Weight capacity | kg, tons |
| SEATING | Seating capacity | seats, persons |
**EXAMPLES** (MIGRATED 2026-01-22: capacity_value → has_or_had_quantity):
Archive depot (linear meters):
```yaml
has_or_had_capacity:
- has_or_had_quantity:
quantity_value: 8000.0
has_or_had_unit:
unit_value: "linear_meter"
has_or_had_type: ShelfLengthCapacity
has_or_had_description: Total linear meters of shelving capacity
```
Cold storage (volume):
```yaml
has_or_had_capacity:
- has_or_had_quantity:
quantity_value: 2500.0
has_or_had_unit:
unit_value: "cubic_meter"
has_or_had_type: VolumeCapacity
```
Archive box storage (items):
```yaml
has_or_had_capacity:
- has_or_had_quantity:
quantity_value: 50000
has_or_had_unit:
unit_value: "item"
has_or_had_type: ItemCountCapacity
```
exact_mappings:
- hc:Capacity
close_mappings:
- qudt:Quantity
- schema:QuantitativeValue
related_mappings:
- schema:floorSize
- dcterms:extent
- premis:StorageLocation
slots:
- has_or_had_identifier
# MIGRATED 2026-01-22: capacity_value → has_or_had_quantity + Quantity (Rule 53)
- has_or_had_quantity
# MIGRATED 2026-01-22: capacity_type → has_or_had_type + CapacityType (Rule 53)
- has_or_had_type
- has_or_had_measurement_unit
- has_or_had_unit
- has_or_had_description
- temporal_extent
- is_estimate
- specificity_annotation
- has_or_had_score # was: template_specificity - migrated per Rule 53 (2026-01-17)
slot_usage:
has_or_had_identifier:
range: uriorcurie
required: false
description: >-
Optional identifier for this capacity specification.
examples:
- value: https://nde.nl/ontology/hc/capacity/na-depot-b-shelving
description: National Archives depot B shelf capacity
# MIGRATED 2026-01-22: capacity_value → has_or_had_quantity + Quantity (Rule 53)
# capacity_value slot removed - use has_or_had_quantity with quantity_value inside
# MIGRATED 2026-01-22: capacity_type → has_or_had_type + CapacityType (Rule 53)
has_or_had_type:
range: CapacityType
required: false
description: >-
The type of capacity measurement (volume, length, count, etc.).
MIGRATED from capacity_type per slot_fixes.yaml (Rule 53, 2026-01-22).
Uses CapacityType class hierarchy instead of CapacityTypeEnum.
examples:
- value: ShelfLengthCapacity
description: Linear shelf capacity
- value: VolumeCapacity
description: Cubic volume capacity
- value: ItemCountCapacity
description: Item count capacity
- value: FloorAreaCapacity
description: Floor area capacity
has_or_had_measurement_unit:
range: MeasureUnit
required: false
inlined: true
description: >-
The unit of measurement for this capacity.
Uses MeasureUnit class for structured unit representation.
examples:
- value:
has_or_had_type: LINEAR_METER
has_or_had_symbol: "m"
description: Linear meters (shelf length)
- value:
has_or_had_type: CUBIC_METER
has_or_had_symbol: "m³"
description: Cubic meters (volume)
- value:
has_or_had_type: ITEM
has_or_had_symbol: "archive boxes"
description: Item count
# MIGRATED 2026-01-22: capacity_value → has_or_had_quantity + Quantity (Rule 53)
has_or_had_quantity:
range: Quantity
required: true
inlined: true
description: >-
The capacity measurement as a structured Quantity.
MIGRATED from capacity_value per slot_fixes.yaml (Rule 53, 2026-01-22).
Contains quantity_value (numeric), and can include unit via has_or_had_unit.
examples:
- value:
quantity_value: 8000.0
has_or_had_unit:
unit_value: "linear_meter"
description: 8,000 linear meters of shelving
- value:
quantity_value: 2500.0
has_or_had_unit:
unit_value: "cubic_meter"
description: 2,500 cubic meters of storage
- value:
quantity_value: 50000
has_or_had_unit:
unit_value: "item"
description: 50,000 archive boxes
has_or_had_description:
range: string
required: false
description: >-
Textual description of the capacity.
MIGRATED from capacity_description per slot_fixes.yaml (Rule 53).
examples:
- value: "Approximately 5,000 linear meters of shelving across 3 floors"
- value: "Large-scale art storage for paintings up to 4m x 6m"
- value: "1,200 linear meters of cold storage shelving"
temporal_extent:
range: TimeSpan
required: false
inlined: true
description: >-
Time period when this capacity specification is/was valid.
examples:
- value:
begin_of_the_begin: "2020-01-01T00:00:00Z"
end_of_the_end: "2030-12-31T23:59:59Z"
description: Capacity valid for decade
is_estimate:
range: boolean
required: false
ifabsent: 'false'
description: >-
Whether this capacity is an estimate rather than exact measurement.
comments:
- Created 2026-01-17 per Rule 53 to consolidate capacity_* slots
- Based on QUDT Quantity pattern with capacity-specific typing
- Supports multiple capacity types (volume, length, count, area)
see_also:
- http://qudt.org/schema/qudt/Quantity
- https://schema.org/QuantitativeValue
examples:
# MIGRATED 2026-01-22: capacity_value → has_or_had_quantity + Quantity (Rule 53)
# MIGRATED 2026-01-22: capacity_type → has_or_had_type + CapacityType class (Rule 53)
- value:
has_or_had_identifier: https://nde.nl/ontology/hc/capacity/rijksmuseum-depot-shelving
has_or_had_quantity:
quantity_value: 8000.0
has_or_had_unit:
unit_value: "linear_meter"
has_or_had_type: ShelfLengthCapacity
has_or_had_description: Total linear shelf capacity in Depot Amersfoort
is_estimate: false
description: Archive depot shelf capacity (was capacity_linear_meters)
- value:
has_or_had_quantity:
quantity_value: 2500.0
has_or_had_unit:
unit_value: "cubic_meter"
has_or_had_type: VolumeCapacity
description: Cold storage volume capacity (was capacity_cubic_meters)
- value:
has_or_had_quantity:
quantity_value: 50000
has_or_had_unit:
unit_value: "item"
has_or_had_type: ItemCountCapacity
has_or_had_description: Capacity for 50,000 standard archive boxes
description: Archive box storage capacity (was capacity_item)
- value:
has_or_had_description: "Approximately 5,000 linear meters of shelving across 3 floors. Large-scale art storage for paintings up to 4m x 6m."
is_estimate: true
description: Descriptive capacity only (was capacity_description)