- Migrated catering_type to CateringType with subclasses for better classification. - Updated certainty_level to has_or_had_level for improved metadata consistency. - Addressed cessation_observed_in by confirming existing temporal data structure. - Created NetAsset class and updated financial statements for richer financial modeling. - Completed migrations for default_access_policy, default_audio_language, and default_language to structured classes. - Migrated default_position to structured Alignment class for better representation. - Updated defined_by_standard to broaden range for identifier standards. - Migrated definition to structured Resolution class for video resolution modeling. - Completed migrations for degree_name, deliverable, and departement_code to structured classes. - Migrated deployment_date to structured DeploymentEvent with temporal extent. - Migrated derived_from_entity and derived_from_observation to new reference structures. - Completed description and description_text migrations to enhance content modeling. - Migrated detection_count, detection_level, and detection_threshold to structured slots with classes. - Migrated device-related slots to structured classes for better identification and classification. - Added new slots and classes for historic building and web address modeling.
93 lines
2.8 KiB
YAML
93 lines
2.8 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
|
|
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
|