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

34 lines
1.4 KiB
YAML

id: https://nde.nl/ontology/hc/class/Condition
name: Condition
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
imports:
- linkml:types
- ../slots/has_or_had_description
- ../slots/has_or_had_type
classes:
Condition:
class_uri: schema:OfferItemCondition
description: "The physical or preservation condition of a heritage object or collection.\n\nCondition assessments document\
\ the state of preservation, conservation\nneeds, and handling requirements for heritage materials. Used to track\n\
object condition over time and plan conservation interventions.\n\nMaps to schema:OfferItemCondition for interoperability\
\ with general\nitem condition vocabularies.\n\n**Migration (2026-01-18)**:\n- `condition_description` (inline attribute)\
\ \u2192 `has_or_had_description` slot with `Description` range\n- Per slot_fixes.yaml (Rule 53, 56)\n"
slots:
- has_or_had_type
- has_or_had_description
slot_usage:
has_or_had_type:
range: uriorcurie
has_or_had_description:
range: string
examples:
- value:
description_text: Good physical condition with minor wear
description_type: condition
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: '[''*'']'