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

76 lines
2.1 KiB
YAML

id: https://nde.nl/ontology/hc/class/CategoryStatus
name: CategoryStatus
title: Category Status
description: 'Represents the status of a storage condition category assessment.
This class wraps the StorageConditionStatusEnum with additional metadata
capabilities such as notes, timestamps, and assessor information.
Created per slot_fixes.yaml revision for category_status migration (Rule 53/56).
'
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
skos: http://www.w3.org/2004/02/skos/core#
crm: http://www.cidoc-crm.org/cidoc-crm/
imports:
- linkml:types
- ../enums/StorageConditionStatusEnum
- ../slots/has_or_had_description
- ../slots/has_or_had_name
- ../slots/has_or_had_value
default_prefix: hc
classes:
CategoryStatus:
class_uri: crm:E55_Type
description: 'The status classification for a storage condition category assessment.
Status values follow the StorageConditionStatusEnum:
- EXCELLENT: Optimal conditions, no concerns
- GOOD: Acceptable conditions, minor issues
- FAIR: Some concerns requiring attention
- POOR: Significant issues requiring remediation
- CRITICAL: Immediate action required
- NOT_ASSESSED: Category not evaluated
- NOT_APPLICABLE: Category does not apply to this storage
'
slots:
- has_or_had_name
- has_or_had_description
- has_or_had_value
slot_usage:
has_or_had_value:
range: StorageConditionStatusEnum
required: true
has_or_had_name:
has_or_had_description:
exact_mappings:
- crm:E55_Type
close_mappings:
- skos:Concept
examples:
- value:
has_or_had_value: GOOD
has_or_had_name: Good
has_or_had_description: Acceptable temperature control with minor fluctuations
- value:
has_or_had_value: CRITICAL
has_or_had_name: Critical
has_or_had_description: Immediate pest treatment required
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"