Metadata-Version: 2.4
Name: knot0_event_types
Version: 2.0.34
Summary: Pydantic models for Knot0 CloudEvents payloads (generated from JSON Schemas)
License-Expression: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: pydantic<3,>=2.0
Requires-Dist: jsonschema>=4.17.0

knot0-event-types (Python)

Pydantic models for Knot0 CloudEvents payloads, generated from JSON Schemas in `schemas-v2/events/**`.

Install
```
pip install knot0_event_types
```

Usage
```
from knot0_event_types_v2.cloud_event import CloudEvent
# from knot0_event_types_v2.events.v1.orchestration.workflow_started import OrchestrationWorkflowStartedPayload

evt = CloudEvent[type(None)](
    specversion='1.0',
    type='v1.orchestration.workflow.started',
    source='orchestration-service',
    id='...',
    data={}
)
```

Notes
- Generated event payload models live under `knot0_event_types_v2.events.*`.
- CloudEvent is provided for envelope typing; runtime validation should use JSON Schemas.

