Event schema v1
Every adapter — first-party or community — emits these events. Stable. Versioned. MIT licensed. Forever backwards compatible within v1.
Canonical source: tribunal/spec/event-schema-v1.json
The 22 event types
Adapters emit any subset of these. The agent vendor decides which are observable.
Root envelope
Every event — regardless of type — has this shape:
| Field | Type | Required | Notes |
|---|
Validation
The daemon validates every inbound event against this schema and rejects malformed events with HTTP 422. Use jsonschema (Python) or ajv (JS) to validate ahead of time.
# Python
from jsonschema import validate
import json
schema = json.load(open("event-schema-v1.json"))
validate(my_event, schema)