glam/frontend/public/schemas/20251121/linkml/modules/slots/timestamp_precision.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_precision slot
# The precision level 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_precision
name: timestamp_precision_slot
title: Timestamp Precision Slot
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
time: http://www.w3.org/2006/time#
default_prefix: hc
imports:
- linkml:types
slots:
timestamp_precision:
slot_uri: time:unitType
description: |
The precision level of the timestamp.
**Ontological Alignment**:
- **Primary** (`slot_uri`): `time:unitType` - OWL Time unit type
**Values**:
- year: Precision to the year
- month: Precision to the month
- day: Precision to the day
- hour: Precision to the hour
- minute: Precision to the minute
- second: Precision to the second
- millisecond: Precision to the millisecond
**Usage**:
Can be auto-derived from timestamp_value format if not explicitly provided.
range: string
required: false
multivalued: false
exact_mappings:
- time:unitType
annotations:
migration_date: "2026-01-15"
examples:
- value: "year"
description: "Year precision (e.g., '1995')"
- value: "day"
description: "Day precision (e.g., '1995-06-15')"
- value: "second"
description: "Second precision (e.g., '1995-06-15T10:30:00Z')"