glam/schemas/20251121/linkml/modules/slots/valid_from.yaml
kempersc 67657c39b6 feat: Complete Country Class Implementation and Hypernyms Removal
- Created the Country class with ISO 3166-1 alpha-2 and alpha-3 codes, ensuring minimal design without additional metadata.
- Integrated the Country class into CustodianPlace and LegalForm schemas to support country-specific feature types and legal forms.
- Removed duplicate keys in FeatureTypeEnum.yaml, resulting in 294 unique feature types.
- Eliminated "Hypernyms:" text from FeatureTypeEnum descriptions, verifying that semantic relationships are now conveyed through ontology mappings.
- Created example instance file demonstrating integration of Country with CustodianPlace and LegalForm.
- Updated documentation to reflect the completion of the Country class implementation and hypernyms removal.
2025-11-23 13:09:38 +01:00

30 lines
999 B
YAML

# CustodianName Slot: valid_from
# Date from which name is valid
# Phase 8: Added validation constraints
id: https://nde.nl/ontology/hc/slot/valid_from
name: valid-from-slot
slots:
valid_from:
slot_uri: schema:validFrom
range: date
description: "Date from which this name is/was valid"
# Validation Constraints (Phase 8)
pattern: "^\\d{4}-\\d{2}-\\d{2}$" # ISO 8601 date format (YYYY-MM-DD)
# Temporal constraint: Cannot be in the future
# Note: LinkML doesn't support dynamic date comparisons natively
# This requires custom validation in Python or SHACL
comments:
- "Must be in ISO 8601 format (YYYY-MM-DD)"
- "Should not be in the future (validated via custom rules)"
- "For temporal consistency with organizational units, see CustodianCollection.slot_usage"
examples:
- value: "1985-01-01"
description: "Valid: ISO 8601 format"
- value: "2023-12-31"
description: "Valid: Recent date"