- 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`.
52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
id: https://nde.nl/ontology/hc/class/Alignment
|
|
name: alignment_class
|
|
title: Alignment Class
|
|
description: 'Represents positioning or alignment information for content elements.
|
|
**USE CASES**:
|
|
- Caption/subtitle positioning (top, bottom, left, right)
|
|
- Text alignment within containers
|
|
- Visual element placement in layouts
|
|
'
|
|
imports:
|
|
- linkml:types
|
|
- ../slots/has_or_had_alignment
|
|
- ../slots/has_or_had_unit
|
|
- ../slots/has_or_had_value
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
default_prefix: hc
|
|
classes:
|
|
Alignment:
|
|
class_uri: hc:Alignment
|
|
description: 'Positioning or alignment information for content elements.
|
|
Captures alignment, position values, and units.
|
|
'
|
|
slots:
|
|
- has_or_had_alignment
|
|
- has_or_had_value
|
|
- has_or_had_unit
|
|
slot_usage:
|
|
has_or_had_alignment:
|
|
range: string
|
|
multivalued: true
|
|
examples:
|
|
- value: center
|
|
- value: right
|
|
- value: bottom
|
|
- value: middle
|
|
has_or_had_value:
|
|
range: string
|
|
examples:
|
|
- value: '10'
|
|
- value: default
|
|
has_or_had_unit:
|
|
range: string
|
|
examples:
|
|
- value: px
|
|
- value: '%'
|
|
annotations:
|
|
specificity_score: 0.1
|
|
specificity_rationale: Generic utility class/slot created during migration
|
|
custodian_types: "['*']"
|