glam/schemas/20251121/linkml/modules/classes/AspectRatio.yaml
kempersc 66adec257e Add scripts for normalizing LinkML schemas and validating schema integrity
- Implement `normalize_linkml_alt_descriptions.py` to convert structured alt_descriptions to the expected scalar form.
- Implement `normalize_linkml_structured_aliases.py` to flatten language-keyed structured_aliases into a standard list-of-objects format.
- Implement `validate_linkml_schema_integrity.py` to validate the integrity of LinkML schema bundles, checking for import resolution, YAML parsing, and reference existence.
2026-02-16 10:16:51 +01:00

102 lines
4.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

id: https://nde.nl/ontology/hc/class/AspectRatio
name: AspectRatio
title: Aspect Ratio
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
skos: http://www.w3.org/2004/02/skos/core#
imports:
- linkml:types
- ../slots/has_degree
- ../slots/has_value
- ../slots/has_label
default_prefix: hc
classes:
AspectRatio:
class_uri: hc:AspectRatio
description: >-
Aspect ratio of a visual media object (video, image).
Represents the proportional relationship between width and height of a visual medium, expressed as a ratio (e.g., "16:9", "4:3", "21:9").
alt_descriptions:
nl: "Beeldverhouding van een visueel mediaobject (video, afbeelding).\nVertegenwoordigt de proportionele relatie tussen breedte en hoogte van een visueel medium, uitgedrukt als een verhouding (bijv. \"16:9\", \"4:3\", \"21:9\")."
de: "Seitenverhältnis eines visuellen Medienobjekts (Video, Bild).\nRepräsentiert die proportionale Beziehung zwischen Breite und Höhe eines visuellen Mediums, ausgedrückt als Verhältnis (z.B. \"16:9\", \"4:3\", \"21:9\")."
fr: "Rapport d'aspect d'un objet média visuel (vidéo, image).\nReprésente la relation proportionnelle entre la largeur et la hauteur d'un support visuel, exprimée sous forme de rapport (par ex. \"16:9\", \"4:3\", \"21:9\")."
es: "Relación de aspecto de un objeto de medios visuales (video, imagen).\nRepresenta la relación proporcional entre el ancho y el alto de un medio visual, expresada como una proporción (por ejemplo, \"16:9\", \"4:3\", \"21:9\")."
ar: "نسبة العرض إلى الارتفاع لكائن وسائط مرئية (فيديو، صورة).\nتمثل العلاقة التناسبية بين العرض والارتفاع لوسيط مرئي، معبرًا عنها كنسبة (مثلاً \"16:9\"، \"4:3\"، \"21:9\")."
id: "Rasio aspek objek media visual (video, gambar).\nMewakili hubungan proporsional antara lebar dan tinggi media visual, dinyatakan sebagai rasio (misalnya \"16:9\", \"4:3\", \"21:9\")."
zh: "视觉媒体对象(视频、图像)的纵横比。\n表示视觉媒体的宽度和高度之间的比例关系以比率表示例如\"16:9\"、\"4:3\"、\"21:9\")。"
examples:
- value:
has_label: 16:9 Widescreen
has_value: "16:9"
description: Standard widescreen aspect ratio
- value:
has_label: 4:3 Standard
has_value: "4:3"
description: Traditional television aspect ratio
- value:
has_label: 21:9 Ultrawide
has_value: "21:9"
description: Cinematic ultrawide aspect ratio
close_mappings:
- schema:PropertyValue
structured_aliases:
- literal_form: beeldverhouding
in_language: nl
- literal_form: aspectratio
in_language: nl
- literal_form: Seitenverhältnis
in_language: de
- literal_form: Bildformat
in_language: de
- literal_form: rapport d'aspect
in_language: fr
- literal_form: format d'image
in_language: fr
- literal_form: relación de aspecto
in_language: es
- literal_form: formato de imagen
in_language: es
- literal_form: نسبة العرض إلى الارتفاع
in_language: ar
- literal_form: rasio aspek
in_language: id
- literal_form: 纵横比
in_language: zh
- literal_form: 宽高比
in_language: zh
keywords:
- aspect ratio
- width height ratio
- display format
- video format
- image dimensions
slots:
- has_label
- has_value
slot_usage:
has_label:
required: false
examples:
- value: 16:9 Widescreen
- value: 4:3 Standard
has_value:
required: true
examples:
- value: "16:9"
- value: "4:3"
- value: "21:9"
- value: "1:1"
annotations:
specificity_score: "0.20"
specificity_rationale: "Aspect ratio is a technical property applicable to any visual media."
custodian_types: "['*']"
common_ratios: "16:9, 4:3, 21:9, 1:1, 2.39:1 (cinema)"
comments:
- Represents proportional relationship between width and height
- Common ratios include 16:9 (widescreen), 4:3 (standard), 21:9 (ultrawide)
- Used for video, images, and display specifications
see_also:
- https://schema.org/PropertyValue