glam/schemas/20251121/linkml/modules/classes/Image.yaml
kempersc ca4a54181e Refactor schema files to improve clarity and maintainability
- 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.
2026-01-31 00:46:23 +01:00

55 lines
1.9 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_label
- ../slots/has_or_had_url
- ./Label
- ./URL
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: uri
required: true
inlined: true
has_or_had_label:
range: string
required: false
inlined: true
attributes:
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
- value:
has_or_had_url:
has_or_had_value: https://museum.nl/logo.svg
annotations:
specificity_score: 0.35
specificity_rationale: Images are broadly useful across heritage contexts for visual representation.
custodian_types: "['*']"