glam/frontend/public/schemas/20251121/linkml/modules/slots/timestamp_value.yaml
kempersc 53c6dbc2d9 feat(schema): Migrate temporal slots and introduce new pattern classes
Major slot migrations following slot_fixes.yaml revisions:
- TimeSpan: begin_of_the_begin, begin_of_the_end, end_of_the_begin, end_of_the_end
- Quantity: has_or_had_measurement_unit with MeasureUnit class
- Description: has_or_had_description with Description class
- URL, WikiData, Timestamp, Location, Provenance pattern classes

New slots for RiC-O compliance:
- Temporal: has_or_had_time_interval, calendar_system
- Transfer: is_or_was_transferred, has_or_had_policy
- Location: starts/ends_or_started/ended_at_location
- Provenance: has_or_had_provenance_path, is_or_was_webarchived_at

Archive deprecated slots per Rule 53 workflow.
2026-01-14 20:01:55 +01:00

58 lines
1.5 KiB
YAML

# timestamp_value slot
# The datetime value of a timestamp
#
# Generation date: 2026-01-15
# Rule compliance: 38 (slot centralization + semantic URI), 42 (no prefix), 43 (singular noun)
id: https://nde.nl/ontology/hc/slot/timestamp_value
name: timestamp_value_slot
title: Timestamp Value Slot
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
time: http://www.w3.org/2006/time#
xsd: http://www.w3.org/2001/XMLSchema#
default_prefix: hc
imports:
- linkml:types
slots:
timestamp_value:
slot_uri: time:inXSDDateTimeStamp
description: |
The datetime value as ISO 8601 string.
**Ontological Alignment**:
- **Primary** (`slot_uri`): `time:inXSDDateTimeStamp` - OWL Time position
**Precision by Format**:
- "1995" = year precision
- "1995-06" = month precision
- "1995-06-15" = day precision
- "1995-06-15T10:30:00Z" = full datetime
range: string
required: true
multivalued: false
pattern: "^-?\\d{4}(-\\d{2})?(-\\d{2})?(T\\d{2}:\\d{2}(:\\d{2})?(\\.\\d+)?(Z|[+-]\\d{2}:\\d{2})?)?$"
exact_mappings:
- time:inXSDDateTimeStamp
close_mappings:
- time:inXSDDate
- time:inXSDgYear
annotations:
migration_date: "2026-01-15"
examples:
- value: "1995"
description: "Year-only precision"
- value: "1995-06-15"
description: "Day precision"
- value: "2024-06-15T14:30:00Z"
description: "Full datetime with timezone"