Skip to content

schema

schema ¤

Column-name constants and schema definitions for the ts-shape event log.

The canonical event-log uses OCEL 2.0 column names (ocel:*) with a few ts-shape-prefixed columns for fields that have no OCEL counterpart but are useful for downstream consumers (interval starts, durations, severity, etc.). XES column names (concept:name, time:timestamp, case:concept:name, lifecycle:transition, org:resource) are produced only by the flat exporter; they do not appear in the canonical schema.

register_object_type ¤

register_object_type(name: str) -> None

Register a custom OCEL object type so adapters can emit it.

validate ¤

validate(eventlog: EventLog) -> None

Raise ValueError if the event log violates the canonical schema.