glam/schemas/20251121/linkml/modules/classes/Image.yaml

82 lines
2.7 KiB
YAML

id: https://nde.nl/ontology/hc/class/Image
name: image_class
title: Image Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
foaf: http://xmlns.com/foaf/0.1/
dcterms: http://purl.org/dc/terms/
imports:
- linkml:types
- ../slots/has_or_had_url
- ./URL
- ../slots/has_or_had_label
- ./Label
default_prefix: hc
classes:
Image:
class_uri: schema:ImageObject
description: 'Represents a visual image with URL and metadata.
**PURPOSE**:
Image provides structured representation for visual content including: - Thumbnail images for cards/previews - Collection representative images - Institutional logos and branding - Digital object reproductions
**ONTOLOGY ALIGNMENT**:
| Ontology | Mapping | Rationale | |----------|---------|-----------| | Schema.org | schema:ImageObject | Primary class for images | | FOAF | foaf:Image | Alternative image class |
**USE CASES**: - Card preview thumbnails (card_image_url migration) - Collection highlight images - Object photographs
MIGRATED 2026-01-22: Created per slot_fixes.yaml revision for card_image_url.'
exact_mappings:
- schema:ImageObject
- foaf:Image
slots:
- has_or_had_url
- has_or_had_label
slot_usage:
has_or_had_url:
range: URL
required: true
inlined: true
description: URL where the image can be accessed. URL.has_or_had_value contains the actual URI.
has_or_had_label:
range: Label
required: false
inlined: true
description: Alt text or caption for the image. Label.has_or_had_text contains the description.
attributes:
image_format:
range: string
required: false
description: Image format (e.g., "JPEG", "PNG", "WEBP", "SVG").
width:
range: integer
required: false
description: Width in pixels.
height:
range: integer
required: false
description: Height in pixels.
examples:
- value:
has_or_had_url:
has_or_had_value: https://example.org/images/card_thumb.jpg
has_or_had_label:
has_or_had_text: Collection preview thumbnail
image_format: JPEG
width: 300
height: 200
description: Card thumbnail image with metadata
- value:
has_or_had_url:
has_or_had_value: https://museum.nl/logo.svg
image_format: SVG
description: Institutional logo
annotations:
specificity_score: 0.35
specificity_rationale: Images are broadly useful across heritage contexts for visual representation.
custodian_types: "['*']"
custodian_types_rationale: Universal utility concept