glam/frontend/public/schemas/20251121/linkml/modules/classes/Video.yaml
kempersc 2d09776856 Refactor StorageCondition schema: Migrate compliance_status to has_or_had_status with ComplianceStatus class
- Removed compliance_status slot and replaced it with has_or_had_status.
- Updated has_or_had_status to use ComplianceStatus for structured representation.
- Adjusted examples to reflect new structure for compliance status.
- Updated documentation to indicate migration and provide details on the ComplianceStatus class.
2026-01-22 16:22:16 +01:00

121 lines
3.9 KiB
YAML

# Video - Video media resource
#
# Created per slot_fixes.yaml chapter_thumbnail_timestamp migration (Rule 53/56)
# Creation date: 2026-01-19
# Rule compliance: 50 (ontology mapping), 53 (no bespoke slots), 56 (semantic consistency)
id: https://nde.nl/ontology/hc/class/Video
name: Video
title: Video Media Resource
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
ma: http://www.w3.org/ns/ma-ont#
dcterms: http://purl.org/dc/terms/
imports:
- linkml:types
- ../slots/has_or_had_url
- ../slots/has_or_had_identifier
- ../slots/has_or_had_label
- ./Label
default_prefix: hc
classes:
Video:
class_uri: schema:VideoObject
description: |
Video media resource.
**DEFINITION**:
Represents a video file or stream that can be referenced as source
material for thumbnails, clips, chapters, and annotations. This class
enables structured representation of video resources with their
identifiers and URLs.
**HERITAGE INSTITUTION USE CASES**:
| Content Type | Examples |
|--------------|----------|
| Virtual tours | Museum walkthrough videos |
| Conservation | Restoration process documentation |
| Interviews | Oral history recordings |
| Lectures | Educational content, curator talks |
| Exhibitions | Exhibition documentation videos |
**PLATFORM SUPPORT**:
| Platform | Identifier | URL Pattern |
|----------|------------|-------------|
| YouTube | Video ID (11 chars) | youtube.com/watch?v={id} |
| Vimeo | Video ID (numeric) | vimeo.com/{id} |
| Wistia | Hashed ID | wistia.com/medias/{id} |
| Self-hosted | Custom | Institution-specific |
**RELATIONSHIP TO Thumbnail**:
Thumbnails are derived from Videos using the `derives_or_derived_from`
relationship, with the specific frame time captured via `has_or_had_time_interval`.
**ONTOLOGY ALIGNMENT**:
- **Primary**: `schema:VideoObject` (Schema.org)
- **Close**: `ma:MediaResource` (W3C Media Ontology)
slots:
- has_or_had_url
- has_or_had_identifier
- has_or_had_label
slot_usage:
has_or_had_url:
required: true
description: URL of the video resource (e.g., YouTube, Vimeo, self-hosted)
examples:
- value: "https://www.youtube.com/watch?v=ABC123def45"
description: YouTube video URL
- value: "https://vimeo.com/123456789"
description: Vimeo video URL
has_or_had_identifier:
description: Platform-specific video identifier
examples:
- value:
identifier_scheme: "YouTube"
identifier_value: "ABC123def45"
description: YouTube video ID
has_or_had_label:
description: Title of the video
range: Label
inlined: true
exact_mappings:
- ma:MediaResource
close_mappings:
- dcterms:MovingImage
annotations:
specificity_score: "0.45"
specificity_rationale: >-
Medium specificity - video resources are common across heritage platforms
but more specialized than generic media.
migration_date: "2026-01-19"
migration_rule: "Rule 53 (no bespoke slots), Rule 56 (semantic consistency)"
examples:
- value:
has_or_had_url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
has_or_had_identifier:
identifier_scheme: "YouTube"
identifier_value: "dQw4w9WgXcQ"
has_or_had_label:
has_or_had_label: "Rijksmuseum Virtual Tour 2024"
language: "en"
description: "YouTube video with identifier and title"
- value:
has_or_had_url: "https://vimeo.com/987654321"
has_or_had_label:
has_or_had_label: "Conservation of The Night Watch"
language: "en"
description: "Vimeo video for conservation documentation"