glam/schemas/20251121/linkml/modules/classes/VideoChapterList.yaml
kempersc fc405445c6 Refactor and update schema definitions
- Removed obsolete slots: `has_or_had_custodian_observation`, `provider`, and `specificity_annotation`.
- Updated `has_or_had_score` slot to use `SpecificityScore` class and modified its description and examples.
- Added new slots: `end_seconds`, `end_time`, `has_archive_path`, `has_or_had_custodian_name`, `protocol_name`, and `protocol_version`.
- Introduced a script `check_annotation_types.py` to validate the presence and structure of `custodian_types` in YAML files.
- Added a script `update_specificity.py` to automate updates related to `SpecificityAnnotation` to `SpecificityScore`.
2026-02-01 19:55:38 +01:00

108 lines
3.3 KiB
YAML

id: https://nde.nl/ontology/hc/class/VideoChapterList
name: video_chapter_list_class
title: Video Chapter List Class
imports:
- linkml:types
- ../slots/covers_full_video
- ../slots/has_or_had_chapter
- ../slots/has_or_had_identifier
- ../slots/has_or_had_quantity
- ../slots/has_or_had_score
- ../slots/has_or_had_source
- ../slots/is_or_was_generated_by
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
prov: http://www.w3.org/ns/prov#
default_prefix: hc
classes:
VideoChapterList:
class_uri: schema:ItemList
description: 'A collection of chapters for a video.
Groups all chapters for a video with metadata about the chapter set.
Enables bulk operations on chapters:
- Import/export of chapter lists
- Validation of chapter coverage
- Source tracking for entire chapter set
'
exact_mappings:
- schema:ItemList
slots:
- has_or_had_chapter
- is_or_was_generated_by
- has_or_had_source
- covers_full_video
- has_or_had_quantity
- has_or_had_score
- has_or_had_identifier
slot_usage:
has_or_had_identifier:
range: VideoIdentifier
required: true
inlined: true
examples:
- value: '{"has_or_had_code": "dQw4w9WgXcQ", "platform": "YouTube"}'
has_or_had_chapter:
range: VideoChapter
multivalued: true
required: true
inlined_as_list: true
has_or_had_quantity:
range: integer
required: false
inlined: true
examples:
- value:
has_or_had_measurement_unit:
has_or_had_type: CHAPTER
has_or_had_symbol: chapters
has_or_had_source:
range: Source
required: false
inlined: true
examples:
- value:
has_or_had_type: MANUAL
has_or_had_label: Creator-defined chapters
- value:
has_or_had_type: YOUTUBE_AI
has_or_had_label: YouTube Auto-Chapters
- value:
has_or_had_type: WHISPER_CHAPTERS
has_or_had_label: Whisper Analysis
has_or_had_description: Generated from transcript topic segmentation
is_or_was_generated_by:
description: 'Generation event capturing when and how the chapter list was created. MIGRATED 2026-01-19: Replaces chapters_generated_at slot (Rule 53).'
range: GenerationEvent
required: false
inlined: true
examples:
- value:
temporal_extent:
begin_of_the_begin: '2024-01-15T10:30:00Z'
end_of_the_end: '2024-01-15T10:30:00Z'
has_or_had_provenance:
has_or_had_agent:
has_or_had_type: SOFTWARE
has_or_had_name: YouTube Auto-Chapters
has_or_had_description: AI-generated chapters from video analysis
- value:
temporal_extent:
begin_of_the_begin: '2024-03-20T14:00:00Z'
has_or_had_description: Manually created by content creator
covers_full_video:
range: boolean
required: false
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"