glam/schemas/20251121/linkml/modules/classes/UnitIdentifier.yaml
kempersc fc405445c6 Refactor and update schema definitions
- Removed obsolete slots: `has_or_had_custodian_observation`, `provider`, and `specificity_annotation`.
- Updated `has_or_had_score` slot to use `SpecificityScore` class and modified its description and examples.
- Added new slots: `end_seconds`, `end_time`, `has_archive_path`, `has_or_had_custodian_name`, `protocol_name`, and `protocol_version`.
- Introduced a script `check_annotation_types.py` to validate the presence and structure of `custodian_types` in YAML files.
- Added a script `update_specificity.py` to automate updates related to `SpecificityAnnotation` to `SpecificityScore`.
2026-02-01 19:55:38 +01:00

49 lines
1.7 KiB
YAML

id: https://nde.nl/ontology/hc/class/UnitIdentifier
name: UnitIdentifier
title: Storage Unit Identifier
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
dcterms: http://purl.org/dc/terms/
schema: http://schema.org/
default_prefix: hc
imports:
- linkml:types
- ../slots/has_or_had_code
classes:
UnitIdentifier:
class_uri: hc:UnitIdentifier
description: 'Identifier for storage units within heritage institutions.
**DEFINITION**:
UnitIdentifier represents unique identifiers assigned to individual
storage compartments, shelves, cabinets, or other discrete units.
**REPLACED SLOTS**:
- unit_id: URI identifier for the storage unit
- unit_identifier: Local string identifier (barcode, label)
**IDENTIFIER FORMATS**:
| Format | Example | Use Case |
|--------|---------|----------|
| URI | https://nde.nl/ontology/hc/unit/na-depot-a-r12-b3-s4 | Persistent web ID |
| Barcode | BOX-2024-00145 | Physical box barcode |
| Label | FF-MAPS-042 | Flat file drawer label |
| Rack | RACK-TEXT-A12 | Storage rack identifier |
'
slots:
- has_or_had_code
slot_usage:
has_or_had_code:
range: string
required: true
examples:
- value: BOX-2024-00145
- value: FF-MAPS-042
- value: barcode
- value: label
- value: uri
annotations:
migration_date: '2026-01-14'
replaces_slots: unit_id, unit_identifier
rule_compliance: 53 (full slot migration)
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"