glam/schemas/20251121/linkml/modules/classes/VideoComment.yaml
kempersc 626bd3a095 refactor(schemas): apply naming conventions to 261 class files
- 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
2026-01-10 15:36:33 +01:00

135 lines
3.8 KiB
YAML

id: https://nde.nl/ontology/hc/class/VideoComment
name: video_comment_class
title: Video Comment Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
dcterms: http://purl.org/dc/terms/
as: https://www.w3.org/ns/activitystreams#
imports:
- linkml:types
- ../slots/specificity_annotation
- ./SpecificityAnnotation
- ../slots/template_specificity
- ./TemplateSpecificityScores
- ../slots/comment_author
- ../slots/comment_author_channel_id
- ../slots/comment_id
- ../slots/comment_like_count
- ../slots/comment_published_at
- ../slots/has_or_had_comment_reply
- ../slots/comment_reply_count
- ../slots/comment_text
- ../slots/comment_updated_at
default_prefix: hc
classes:
VideoComment:
class_uri: schema:Comment
description: |
A comment on a video post.
Models user-generated comments with author, text, timestamp,
and engagement metrics. Supports nested reply threads.
exact_mappings:
- schema:Comment
- as:Note
slots:
- comment_author
- comment_author_channel_id
- comment_id
- comment_like_count
- comment_published_at
- has_or_had_comment_reply
- comment_reply_count
- comment_text
- comment_updated_at
- specificity_annotation
- template_specificity
slot_usage:
comment_id:
slot_uri: dcterms:identifier
description: Unique identifier for the comment
range: string
required: true
comment_author:
slot_uri: schema:author
description: Display name of comment author
range: string
required: true
comment_author_channel_id:
slot_uri: hc:authorChannelId
description: Platform channel/account ID of author
range: string
required: false
comment_text:
slot_uri: schema:text
description: Full text content of the comment
range: string
required: true
comment_published_at:
slot_uri: dcterms:created
description: When comment was originally posted
range: datetime
required: true
comment_updated_at:
slot_uri: dcterms:modified
description: When comment was last edited
range: datetime
required: false
comment_like_count:
slot_uri: hc:likeCount
description: Number of likes on this comment
range: integer
required: false
minimum_value: 0
comment_reply_count:
slot_uri: hc:replyCount
description: Number of replies to this comment
range: integer
required: false
minimum_value: 0
has_or_had_comment_reply:
slot_uri: schema:comment
description: Nested reply comments
range: VideoComment
multivalued: true
required: false
inlined: true
specificity_annotation:
range: SpecificityAnnotation
inlined: true
template_specificity:
range: TemplateSpecificityScores
inlined: true
slots:
comment_id:
description: Unique comment identifier
range: string
comment_author:
description: Comment author display name
range: string
comment_author_channel_id:
description: Author's channel/account ID
range: string
comment_text:
description: Comment text content
range: string
comment_published_at:
description: When comment was posted
range: datetime
comment_updated_at:
description: When comment was edited
range: datetime
comment_like_count:
description: Likes on this comment
range: integer
comment_reply_count:
description: Number of replies
range: integer
has_or_had_comment_reply:
description: Nested reply comments
range: VideoComment
multivalued: true