- Apply Rule 39: RiC-O style hasOrHad*/isOrWas* for temporal slots - Apply Rule 43: Singular noun convention (keywords → keyword) - Update slot references to match renamed slot files - Maintain schema integrity across all class definitions
83 lines
2.2 KiB
YAML
83 lines
2.2 KiB
YAML
# YoutubeVideo - Individual YouTube video metadata
|
|
# Extracted from custodian_source.yaml per Rule 38 (modular schema files)
|
|
# Extraction date: 2026-01-08
|
|
|
|
id: https://nde.nl/ontology/hc/classes/YoutubeVideo
|
|
name: YoutubeVideo
|
|
title: YoutubeVideo
|
|
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
prov: http://www.w3.org/ns/prov#
|
|
xsd: http://www.w3.org/2001/XMLSchema#
|
|
|
|
imports:
|
|
- linkml:types
|
|
|
|
|
|
- ./YoutubeComment
|
|
- ./YoutubeTranscript
|
|
default_range: string
|
|
|
|
classes:
|
|
YoutubeVideo:
|
|
description: Individual YouTube video metadata
|
|
attributes:
|
|
video_id:
|
|
range: string
|
|
required: true
|
|
video_url:
|
|
range: uri
|
|
title:
|
|
range: string
|
|
published_at:
|
|
range: datetime
|
|
view_count:
|
|
range: integer
|
|
like_count:
|
|
range: integer
|
|
comment_count:
|
|
range: integer
|
|
description:
|
|
range: string
|
|
duration:
|
|
range: string
|
|
description: ISO 8601 duration format
|
|
thumbnail_url:
|
|
range: uri
|
|
definition:
|
|
range: string
|
|
description: Video quality (hd, sd)
|
|
caption_available:
|
|
range: boolean
|
|
description: Whether captions are available
|
|
tag:
|
|
range: string
|
|
multivalued: true
|
|
inlined_as_list: true
|
|
description: Video tags
|
|
default_language:
|
|
range: string
|
|
description: Default language code
|
|
default_audio_language:
|
|
range: string
|
|
description: Default audio language code
|
|
category_id:
|
|
range: string
|
|
description: YouTube category ID
|
|
live_broadcast_content:
|
|
range: string
|
|
description: Live broadcast status (none, live, upcoming)
|
|
comments:
|
|
range: YoutubeComment
|
|
multivalued: true
|
|
inlined_as_list: true
|
|
description: Comments on the video
|
|
comments_fetched:
|
|
range: integer
|
|
description: Number of comments fetched
|
|
transcript:
|
|
range: YoutubeTranscript
|
|
description: Video transcript data
|