113 lines
3 KiB
YAML
113 lines
3 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:
|
|
- horizontal_alignment
|
|
- vertical_alignment
|
|
- position_value
|
|
- position_unit
|
|
slot_usage:
|
|
horizontal_alignment:
|
|
range: string
|
|
required: false
|
|
examples:
|
|
- value: left
|
|
description: Left-aligned content
|
|
- value: center
|
|
description: Center-aligned content
|
|
- value: right
|
|
description: Right-aligned content
|
|
vertical_alignment:
|
|
range: string
|
|
required: false
|
|
examples:
|
|
- value: top
|
|
description: Top-aligned (e.g., top subtitles)
|
|
- value: bottom
|
|
description: Bottom-aligned (default for subtitles)
|
|
- value: middle
|
|
description: Vertically centered
|
|
position_value:
|
|
range: string
|
|
required: false
|
|
description: Numeric or named position value
|
|
examples:
|
|
- value: '10'
|
|
description: Position 10 units from reference
|
|
- value: default
|
|
description: Default positioning
|
|
position_unit:
|
|
range: string
|
|
required: false
|
|
description: Unit of measurement for position (px, %, em, etc.)
|
|
examples:
|
|
- value: px
|
|
description: Pixels
|
|
- value: '%'
|
|
description: Percentage of container
|
|
annotations:
|
|
specificity_score: 0.1
|
|
specificity_rationale: Generic utility class/slot created during migration
|
|
custodian_types:
|
|
- '*'
|
|
custodian_types_rationale: Universal utility concept
|
|
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
|