glam/schemas/20251121/linkml/modules/classes/DigitalPresence.yaml
kempersc fc405445c6 Refactor and update schema definitions
- Removed obsolete slots: `has_or_had_custodian_observation`, `provider`, and `specificity_annotation`.
- Updated `has_or_had_score` slot to use `SpecificityScore` class and modified its description and examples.
- Added new slots: `end_seconds`, `end_time`, `has_archive_path`, `has_or_had_custodian_name`, `protocol_name`, and `protocol_version`.
- Introduced a script `check_annotation_types.py` to validate the presence and structure of `custodian_types` in YAML files.
- Added a script `update_specificity.py` to automate updates related to `SpecificityAnnotation` to `SpecificityScore`.
2026-02-01 19:55:38 +01:00

54 lines
1.7 KiB
YAML

id: https://nde.nl/ontology/hc/class/DigitalPresence
name: digital_presence_class
title: Digital Presence Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
crm: http://www.cidoc-crm.org/cidoc-crm/
schema: http://schema.org/
default_prefix: hc
imports:
- linkml:types
- ../slots/has_or_had_identifier
- ../slots/has_or_had_type
classes:
DigitalPresence:
class_uri: crm:E1_CRM_Entity
description: |
Represents a digital presence being asserted about (e.g. as primary).
Wrapper that links a specific presence instance (URI) to its type classification.
**MIGRATION SOURCE**: Created from digital_presence_type slot migration (Rule 53, 2026-01-25).
**Pattern**: Replaces `digital_presence_type` slot on assertion with structured object:
- `has_or_had_identifier`: URI of the presence (SocialMediaProfile, Website, etc.)
- `has_or_had_type`: Classification (DigitalPresenceType)
exact_mappings:
- crm:E1_CRM_Entity
slots:
- has_or_had_identifier
- has_or_had_type
slot_usage:
has_or_had_identifier:
description: URI of the digital presence instance (e.g. hc:social-media/fb).
range: uriorcurie
required: true
has_or_had_type:
range: DigitalPresenceType
required: true
inlined: true
annotations:
custodian_types: '["*"]'
specificity_score: 0.5
specificity_rationale: "Used for asserting properties of digital presences."
comments:
- "CREATED from digital_presence_type migration per slot_fixes.yaml (Rule 53)"
- "Wrapper for linking presence instance to its type"