glam/schemas/20251121/linkml/modules/classes/VideoChapterList.yaml
kempersc 0d5d48568d refactor(schema): centralize slot definitions per Rule 38
- Remove slot_uri, description, mappings from slot_usage sections
- Move these properties to centralized slot files in modules/slots/
- Keep only class-specific overrides in slot_usage (required, inlined, examples)
- Update 1,499 centralized slot files with enriched definitions
- Clean 188 class files

Violations fixed:
- slot_uri in slot_usage: 1,676 → 0
- description in slot_usage: 2,287 → 0 (moved to centralized)

Schema still validates: 816 classes, 2028 slots, 127 enums
2026-01-11 23:27:17 +01:00

80 lines
1.9 KiB
YAML

id: https://nde.nl/ontology/hc/class/VideoChapterList
name: video_chapter_list_class
title: Video Chapter List Class
imports:
- linkml:types
- ./VideoChapter
- ../slots/specificity_annotation
- ./SpecificityAnnotation
- ../slots/template_specificity
- ./TemplateSpecificityScores
- ../enums/ChapterSourceEnum
- ../slots/video_id
- ../slots/has_or_had_chapter
- ../slots/total_chapter
- ../slots/chapters_source
- ../slots/chapters_generated_at
- ../slots/covers_full_video
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
- chapters_generated_at
- chapters_source
- covers_full_video
- specificity_annotation
- template_specificity
- total_chapter
- video_id
slot_usage:
video_id:
range: string
required: true
has_or_had_chapter:
range: VideoChapter
multivalued: true
required: true
inlined_as_list: true
total_chapter:
range: integer
required: false
minimum_value: 0
chapters_source:
range: ChapterSourceEnum
required: false
chapters_generated_at:
range: datetime
required: false
covers_full_video:
range: boolean
required: false
specificity_annotation:
range: SpecificityAnnotation
inlined: true
template_specificity:
range: TemplateSpecificityScores
inlined: true