glam/schemas/20251121/linkml/modules/classes/DigitalPlatformUserIdentifier.yaml

72 lines
3.1 KiB
YAML

id: https://nde.nl/ontology/hc/class/DigitalPlatformUserIdentifier
name: digital_platform_user_identifier_class
title: Digital Platform User Identifier Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
dcterms: http://purl.org/dc/terms/
foaf: http://xmlns.com/foaf/0.1/
as: https://www.w3.org/ns/activitystreams#
imports:
- linkml:types
- ../slots/has_type
- ../slots/has_url
- ../metadata
- ../slots/identified_by
- ../slots/has_label
default_prefix: hc
classes:
DigitalPlatformUserIdentifier:
is_a: Identifier
class_uri: hc:DigitalPlatformUserIdentifier
description: 'Identifier for a user account on a digital platform (YouTube, Twitter,
etc.). **PURPOSE**: Structured representation of platform-specific user identifiers,
such as YouTube channel IDs, Twitter handles, or Instagram usernames. Replaces
simple string channel_id slots with typed identifiers. **DESIGN RATIONALE**:
Created per slot_fixes.yaml migration from `comment_author_channel_id` string
to structured `has_author` + `Author` with `identified_by` +
`DigitalPlatformUserIdentifier` for platform user identification. **PLATFORM
IDENTIFIER TYPES**: | Platform | Identifier Type | Example | |----------|-----------------|---------|
| YouTube | Channel ID | UC1234abcdef | | Twitter/X | User ID | 12345678 | |
Instagram | Username | @museum_account | | Facebook | Page ID | 123456789 |
| LinkedIn | Company ID | heritage-foundation | | TikTok | User ID | museum_official
| **ONTOLOGY ALIGNMENT**: | Ontology | Class/Property | Usage | |----------|----------------|-------|
| **Dublin Core** | `dcterms:identifier` | Base identifier semantics | | **Schema.org**
| `schema:identifier` | Web-standard identifier | | **FOAF** | `foaf:OnlineAccount`
| Online account modeling | | **Activity Streams** | `as:Person` | Social media
activity | '
exact_mappings:
- foaf:OnlineAccount
close_mappings:
- schema:identifier
related_mappings:
- dcterms:identifier
- as:actor
slot_usage:
ifabsent: string(digital_platform_user_id)
examples:
- value:
platform_type: youtube
profile_url: https://www.youtube.com/channel/UCsT0YIqwnpJCM-mx7-gSA4Q
- value:
platform_type: twitter
profile_url: https://twitter.com/rijksmuseum
- value:
platform_type: youtube
comments:
- Created per slot_fixes.yaml migration from comment_author_channel_id (2026-01-22)
- Extends Identifier class with platform-specific fields
- Use for identifying users/authors on digital platforms
- Supports YouTube, Twitter, Instagram, Facebook, LinkedIn, TikTok
see_also:
- http://xmlns.com/foaf/0.1/OnlineAccount
- https://www.w3.org/ns/activitystreams
- https://developers.google.com/youtube/v3/docs/channels
annotations:
specificity_score: 0.7
specificity_rationale: Specific to digital platform user identification contexts.
custodian_types: '[''*'']'
slots:
- has_type
- has_url