- Updated WorldCatIdentifier.yaml to remove unnecessary description and ensure consistent formatting. - Enhanced WorldHeritageSite.yaml by breaking long description into multiple lines for better readability and removed unused attributes. - Simplified WritingSystem.yaml by removing redundant attributes and ensuring consistent formatting. - Cleaned up XPathScore.yaml by removing unnecessary attributes and ensuring consistent formatting. - Improved YoutubeChannel.yaml by breaking long description into multiple lines for better readability. - Enhanced YoutubeEnrichment.yaml by breaking long description into multiple lines for better readability. - Updated YoutubeVideo.yaml to break long description into multiple lines and removed legacy field name. - Refined has_or_had_affiliation.yaml by removing unnecessary comments and ensuring clarity. - Cleaned up is_or_was_retrieved_at.yaml by removing unnecessary comments and ensuring clarity. - Added rules for generic slots and avoiding rough edits in schema files to maintain structural integrity. - Introduced changes_or_changed_through.yaml to define a new slot for linking entities to change events.
62 lines
1.9 KiB
YAML
62 lines
1.9 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
|
|
**PROPERTIES**:
|
|
- horizontal_alignment: left, center, right, justify
|
|
- vertical_alignment: top, middle, bottom
|
|
- position_value: Numeric or named position value
|
|
**RELATIONSHIP TO Caption**:
|
|
Alignment can be used with Caption to specify where subtitles appear
|
|
on screen (e.g., bottom-center is typical default).
|
|
'
|
|
imports:
|
|
- linkml:types
|
|
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 horizontal alignment, vertical alignment, and position values.
|
|
'
|
|
slots:
|
|
slot_usage:
|
|
- value: center
|
|
- value: right
|
|
- value: bottom
|
|
- value: middle
|
|
examples:
|
|
- value: '10'
|
|
- value: default
|
|
examples:
|
|
- value: px
|
|
- value: '%'
|
|
annotations:
|
|
specificity_score: 0.1
|
|
specificity_rationale: Generic utility class/slot created during migration
|
|
custodian_types: "['*']"
|
|
slots:
|
|
horizontal_alignment:
|
|
slot_uri: hc:horizontalAlignment
|
|
range: string
|
|
description: Horizontal alignment (left, center, right, justify)
|
|
vertical_alignment:
|
|
slot_uri: hc:verticalAlignment
|
|
range: string
|
|
description: Vertical alignment (top, middle, bottom)
|
|
position_value:
|
|
slot_uri: hc:positionValue
|
|
range: string
|
|
description: Numeric or named position value
|
|
position_unit:
|
|
slot_uri: hc:positionUnit
|
|
range: string
|
|
description: Unit of measurement for position
|