glam/schemas/20251121/linkml/modules/classes/YoutubeSourceRecord.yaml
2026-01-18 01:23:32 +01:00

69 lines
2.2 KiB
YAML

# YoutubeSourceRecord - YouTube source record for provenance tracking
# Extracted from custodian_source.yaml per Rule 38 (modular schema files)
# Extraction date: 2026-01-08
id: https://nde.nl/ontology/hc/classes/YoutubeSourceRecord
name: YoutubeSourceRecord
title: YoutubeSourceRecord
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
- ../enums/DataTierEnum
default_range: string
classes:
YoutubeSourceRecord:
description: >-
YouTube source record for provenance tracking, documenting API calls,
data tier, claims extracted, and any misattribution corrections.
Ontology mapping rationale:
- class_uri is prov:PrimarySource because this represents a primary
source record from the YouTube Data API.
- close_mappings includes prov:Entity as source records are trackable
provenance entities.
- related_mappings includes prov:Revision for correction tracking.
class_uri: prov:PrimarySource
close_mappings:
- prov:Entity
related_mappings:
- prov:Revision
- prov:Activity
attributes:
source_type:
range: string
description: youtube_data_api
fetch_timestamp:
range: datetime
has_or_had_api_endpoint:
range: uri
api_endpoint:
range: uri
description: API endpoint used (legacy field name for has_or_had_api_endpoint)
channel_id:
range: string
description: Unique YouTube channel identifier (e.g., UC...)
data_tier:
range: DataTierEnum
claims_extracted:
range: string
multivalued: true
inlined_as_list: true
misattribution_corrected:
range: boolean
description: Whether a misattribution was corrected
correction_timestamp:
range: datetime
description: When the correction was made
correction_note:
range: string
description: Note about the correction