glam/schemas/20251121/linkml/modules/classes/GenerationEvent.yaml
kempersc 3da90b940e
All checks were successful
Deploy Frontend / build-and-deploy (push) Successful in 2m4s
feat(schema): complete multiple slot_fixes.yaml migrations
Session 2026-01-19: Completed remaining migrations per Rules 53/56/60.

Major migrations:
1. claim_type → has_or_had_type + ClaimType/ClaimTypes (60+ concrete types in 11 categories)
2. circumstances_of_death → is_deceased + DeceasedStatus + CauseOfDeath
3. claims_count → has_or_had_quantity + Quantity (with based_on_claim for provenance)
4. classification_status → has_or_had_type + ClassificationStatusType

Created files:
- ClaimType.yaml, ClaimTypes.yaml (abstract base + 60+ concrete subclasses)
- DeceasedStatus.yaml, CauseOfDeath.yaml, CauseOfDeathTypeEnum.yaml
- ClassificationStatus.yaml, ClassificationStatusType.yaml, ClassificationStatusTypes.yaml
- CITESAppendix.yaml, City.yaml, CertaintyLevel.yaml
- is_deceased.yaml, is_or_was_caused_by.yaml, based_on_claim.yaml

Archived slots:
- claim_type, circumstances_of_death, claims_count, classification_status

Added Rule 60 to AGENTS.md: No Migration Deferral - agents MUST execute all migrations.

All 527 slot_fixes.yaml entries now complete (100%).
2026-01-19 13:05:53 +01:00

90 lines
2.7 KiB
YAML

# GenerationEvent - Event representing the generation/creation of something
#
# Created per slot_fixes.yaml migration for: chapters_generated_at
# Revision specifies: GenerationEvent with has_or_had_provenance + temporal_extent
# Creation date: 2026-01-19
id: https://nde.nl/ontology/hc/class/GenerationEvent
name: generation_event_class
title: Generation Event Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
prov: http://www.w3.org/ns/prov#
schema: http://schema.org/
imports:
- linkml:types
- ../slots/has_or_had_provenance
- ./Provenance
- ../slots/temporal_extent
- ./TimeSpan
- ../slots/has_or_had_description
default_prefix: hc
classes:
GenerationEvent:
description: >-
An event representing the generation or creation of an entity.
**USAGE**:
Used for tracking when and how something was generated, including:
- Video chapter generation (manual, AI, imported)
- Content extraction events
- Automated processing activities
**STRUCTURE**:
- temporal_extent: When the generation occurred (TimeSpan)
- has_or_had_provenance: Who/what performed the generation (Provenance)
- has_or_had_description: Details about the generation process
**ONTOLOGY ALIGNMENT**:
- Maps to prov:Generation (PROV-O generation event)
- Also maps to schema:CreateAction (Schema.org action)
class_uri: prov:Generation
exact_mappings:
- prov:Generation
close_mappings:
- schema:CreateAction
slots:
- temporal_extent
- has_or_had_provenance
- has_or_had_description
slot_usage:
temporal_extent:
description: When the generation event occurred
range: TimeSpan
required: false
inlined: true
examples:
- value:
begin_of_the_begin: "2024-01-15T10:30:00Z"
end_of_the_end: "2024-01-15T10:30:00Z"
description: Point-in-time generation event
has_or_had_provenance:
description: Provenance information about who/what generated the entity
range: Provenance
required: false
inlined: true
examples:
- value:
has_or_had_agent:
has_or_had_type: SOFTWARE
has_or_had_name: "YouTube Auto-Chapters"
description: AI-generated chapters
has_or_had_description:
description: Additional details about the generation process
range: string
required: false
examples:
- value: "Generated using Whisper transcript segmentation"
description: Description of generation method