47 lines
815 B
JSON
47 lines
815 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"title": "RunEvent v1",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"eventId",
|
|
"attemptId",
|
|
"sequence",
|
|
"occurredAt",
|
|
"type",
|
|
"payload"
|
|
],
|
|
"properties": {
|
|
"eventId": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 128
|
|
},
|
|
"attemptId": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 128
|
|
},
|
|
"sequence": {
|
|
"type": "integer",
|
|
"minimum": 1
|
|
},
|
|
"occurredAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"progress",
|
|
"log",
|
|
"artifact_ready",
|
|
"input_requested",
|
|
"diagnostic"
|
|
]
|
|
},
|
|
"payload": {
|
|
"type": "object"
|
|
}
|
|
}
|
|
}
|