glam/frontend/public/schemas/20251121/linkml/modules/classes/MainPart.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

80 lines
2.5 KiB
YAML

id: https://nde.nl/ontology/hc/class/MainPart
name: main_part_class
title: Main Part Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
dcterms: http://purl.org/dc/terms/
imports:
- linkml:types
- ../slots/has_or_had_quantity
- ./Quantity
default_prefix: hc
classes:
MainPart:
class_uri: schema:QuantitativeValue
description: >-
Represents a principal/primary portion of something with quantified value.
**PURPOSE**:
MainPart provides structured representation for primary allocations such as:
- Capital budget (principal budget for infrastructure/equipment)
- Primary funding amount
- Main portion of a larger whole
**ONTOLOGY ALIGNMENT**:
| Ontology | Mapping | Rationale |
|----------|---------|-----------|
| Schema.org | schema:QuantitativeValue | Quantified value |
**USE CASES**:
- Capital budget allocation in institutional budgets
- Primary collection value
- Main funding allocation
MIGRATED 2026-01-22: Created per slot_fixes.yaml revision for capital_budget.
Replaces simple decimal capital_budget with structured class.
exact_mappings:
- schema:QuantitativeValue
slots:
- has_or_had_quantity
slot_usage:
has_or_had_quantity:
range: Quantity
required: true
inlined: true
description: >-
The quantified value of this main part.
For capital budget: Quantity.quantity_value = amount, currency in metadata.
attributes:
part_type:
range: string
required: false
description: >-
Type of main part (e.g., "capital_budget", "primary_allocation", "main_funding").
currency_code:
range: string
required: false
description: >-
ISO 4217 currency code for financial values (e.g., "EUR", "USD", "GBP").
examples:
- value:
has_or_had_quantity:
quantity_value: 3000000.0
part_type: capital_budget
currency_code: EUR
description: Capital budget of 3 million EUR
- value:
has_or_had_quantity:
quantity_value: 500000.0
part_type: capital_budget
currency_code: USD
description: Capital budget of 500,000 USD
annotations:
specificity_score: 0.40
specificity_rationale: >-
Main parts are moderately specific, relevant for budget and allocation queries.