22 lines
1.1 KiB
JSON
22 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://muse.local/framework/framework-event-v1.schema.json",
|
|
"title": "FrameworkEvent",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["framework", "frameworkVersion", "sessionId", "sourceSeq", "kind", "phase", "safeDetails", "observedAt"],
|
|
"properties": {
|
|
"framework": {"type": "string", "minLength": 1, "maxLength": 64},
|
|
"frameworkVersion": {"type": "string", "minLength": 1, "maxLength": 64},
|
|
"sessionId": {"type": ["string", "null"], "maxLength": 128},
|
|
"sourceSeq": {"type": "integer", "minimum": 1},
|
|
"sourceEventId": {"type": ["string", "null"], "maxLength": 256},
|
|
"runId": {"type": ["string", "null"], "maxLength": 128},
|
|
"kind": {"enum": ["session", "turn", "step", "model", "tool", "agent", "transport", "unknown"]},
|
|
"phase": {"enum": ["started", "progress", "completed", "failed"]},
|
|
"safeDetails": {"type": "object"},
|
|
"payloadSha256": {"type": ["string", "null"], "pattern": "^sha256:[0-9a-f]{64}$"},
|
|
"observedAt": {"type": "string", "minLength": 1}
|
|
}
|
|
}
|