glam/schemas/20251121/linkml/modules/classes/YoutubeChannel.yaml
kempersc ca4a54181e Refactor schema files to improve clarity and maintainability
- Updated WorldCatIdentifier.yaml to remove unnecessary description and ensure consistent formatting.
- Enhanced WorldHeritageSite.yaml by breaking long description into multiple lines for better readability and removed unused attributes.
- Simplified WritingSystem.yaml by removing redundant attributes and ensuring consistent formatting.
- Cleaned up XPathScore.yaml by removing unnecessary attributes and ensuring consistent formatting.
- Improved YoutubeChannel.yaml by breaking long description into multiple lines for better readability.
- Enhanced YoutubeEnrichment.yaml by breaking long description into multiple lines for better readability.
- Updated YoutubeVideo.yaml to break long description into multiple lines and removed legacy field name.
- Refined has_or_had_affiliation.yaml by removing unnecessary comments and ensuring clarity.
- Cleaned up is_or_was_retrieved_at.yaml by removing unnecessary comments and ensuring clarity.
- Added rules for generic slots and avoiding rough edits in schema files to maintain structural integrity.
- Introduced changes_or_changed_through.yaml to define a new slot for linking entities to change events.
2026-01-31 00:46:23 +01:00

82 lines
2.8 KiB
YAML

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
- ../slots/has_or_had_language
- ./Language
default_range: string
classes:
YoutubeChannel:
description: "YouTube channel metadata including channel ID, title, description, subscriber/video/view counts, country\
\ code, and branding URLs.\nOntology mapping rationale: - class_uri is schema:BroadcastChannel because a YouTube channel\
\ is\n a broadcast channel for video content distribution.\n- close_mappings includes foaf:OnlineAccount as a channel\
\ represents\n an online account on YouTube.\n- related_mappings includes schema:Organization as channels often\n \
\ 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)
has_or_had_language:
range: string
inlined: true
description: Default language for the channel content.
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)
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)
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: '[''*'']'