Package-level declarations
Types
A single event's shape, parsed from a tracking-plan JSON Schema document.
Generates typed Tracker.track<EventName>(...) extension functions from a schemaFile tracking-plan document (see parseTrackingPlan for the supported shape) into outputDirectory.
One property of an EventSchema.
The JSON Schema "type" values this generator understands.
Thrown by parseTrackingPlan when the document doesn't match the expected shape.
Functions
Generates a single Kotlin source file with one Tracker.track<EventName>(...) extension function per events, typed from each event's declared properties. Required properties become non-nullable parameters; optional properties become nullable parameters defaulting to null and are omitted from the emitted event when left null.
Parses a tracking-plan document into EventSchemas. Only a minimal subset of JSON Schema is understood — this is the initial slice of the codegen engine (see the autograph-schema module's README section for what's deferred). Expected shape: