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

47 lines
1.2 KiB
YAML

id: https://nde.nl/ontology/hc/class/Annotation
name: Annotation
title: Annotation Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
oa: http://www.w3.org/ns/oa#
schema: http://schema.org/
default_prefix: hc
imports:
- linkml:types
- ../slots/contains_or_contained
- ../slots/has_or_had_description
- ../slots/has_or_had_rationale
- ../slots/has_or_had_type
- ../slots/is_or_was_created_by
classes:
Annotation:
class_uri: oa:Annotation
description: 'An annotation (comment, note, tag, highlight) on a resource.
**Ontological Alignment**:
- `oa:Annotation`: Web Annotation Data Model.
'
slots:
- has_or_had_description
- is_or_was_created_by
- has_or_had_rationale
- contains_or_contained
- has_or_had_type
slot_usage:
has_or_had_description:
is_or_was_created_by:
range: Agent
has_or_had_rationale:
range: Rationale
contains_or_contained:
range: Segment
has_or_had_type:
range: AnnotationType
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"