glam/schemas/20251121/linkml/modules/classes/YoutubeChannel.yaml
2026-01-19 00:09:28 +01:00

92 lines
2.9 KiB
YAML

# YoutubeChannel - YouTube channel metadata
# Extracted from custodian_source.yaml per Rule 38 (modular schema files)
# Extraction date: 2026-01-08
id: https://nde.nl/ontology/hc/classes/YoutubeChannel
name: YoutubeChannel
title: YoutubeChannel
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#
foaf: http://xmlns.com/foaf/0.1/
imports:
- linkml:types
default_range: string
classes:
YoutubeChannel:
description: >-
YouTube channel metadata including channel ID, title, description,
subscriber/video/view counts, country code, and branding URLs.
Ontology mapping rationale:
- class_uri is schema:BroadcastChannel because a YouTube channel is
a broadcast channel for video content distribution.
- close_mappings includes foaf:OnlineAccount as a channel represents
an online account on YouTube.
- related_mappings includes schema:Organization as channels often
represent institutional presence, and prov:Entity for tracking.
class_uri: schema:BroadcastChannel
close_mappings:
- foaf:OnlineAccount
related_mappings:
- schema:Organization
- prov:Entity
attributes:
channel_id:
description: Unique YouTube channel identifier (e.g., UC...)
range: string
required: true
channel_url:
range: uri
title:
range: string
channel_description:
range: string
custom_url:
range: string
description: Custom URL handle (e.g., @channelname)
published_at:
range: datetime
description: Channel creation date
has_iso_3166_1_alpha_2_code:
range: string
description: ISO 3166-1 alpha-2 country code (2-letter, e.g., NL, US, JP)
default_language:
range: string
thumbnail_url:
range: uri
banner_url:
range: uri
subscriber_count:
range: integer
video_count:
range: integer
view_count:
range: integer
subscriber_count_hidden:
range: boolean
uploads_playlist_id:
range: string
country:
range: string
description: Country code associated with the channel (may differ from has_iso_3166_1_alpha_2_code in some API responses)
description:
range: string
description: Full channel description text
channel_name:
range: string
description: Human-readable channel name (alias for title)
relationship:
range: string
description: Relationship to the heritage institution (e.g., owner, partner, local_broadcaster)
subscribers:
range: integer
description: Number of subscribers (alias for subscriber_count)