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

36 lines
1,022 B
YAML

id: https://nde.nl/ontology/hc/class/Extension
name: Extension
title: Extension Class
description: 'Details of a loan or agreement extension.
**RULE 53 COMPLIANT**: Created for extension_count migration.'
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
prov: http://www.w3.org/ns/prov#
imports:
- linkml:types
- ../slots/has_or_had_description
- ../slots/has_or_had_identifier
- ../slots/has_or_had_label
- ../slots/has_or_had_quantity
- ../slots/has_or_had_score
default_prefix: hc
classes:
Extension:
class_uri: prov:Activity
description: An extension of a loan or agreement.
slots:
- has_or_had_identifier
- has_or_had_label
- has_or_had_description
- has_or_had_quantity
- has_or_had_score
slot_usage:
has_or_had_quantity:
range: integer
inlined: true
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"