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

43 lines
904 B
YAML

id: https://nde.nl/ontology/hc/class/VersionNumber
name: VersionNumber
title: Version Number
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
default_prefix: hc
imports:
- linkml:types
- ../slots/has_or_had_version
classes:
VersionNumber:
class_uri: hc:VersionNumber
description: 'A version number or identifier.
**USAGE**:
Used for:
- Software versions
- Document versions
- Schema versions
'
slots:
- has_or_had_version
close_mappings:
- schema:version
annotations:
specificity_score: '0.35'
specificity_rationale: Low specificity - versioning common across domains.
custodian_types: '[''*'']'
examples:
- value:
has_or_had_version: 2.1.0
major: 2
minor: 1
patch: 0
description: Semantic version 2.1.0