release: public alpha 0.6.0 baseline
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://jwebot.example/schemas/debug-event.schema.json",
|
||||
"title": "JWeBot privacy-safe debug event",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["version", "timestamp", "name", "status"],
|
||||
"properties": {
|
||||
"version": {"const": 1},
|
||||
"timestamp": {"type": "string", "format": "date-time"},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9_.-]{1,120}$"
|
||||
},
|
||||
"status": {
|
||||
"enum": ["ok", "error", "timeout", "skipped", "uncertain"]
|
||||
},
|
||||
"elapsed_ms": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"event_hash": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-f0-9]{0,64}$"
|
||||
},
|
||||
"group_hash": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-f0-9]{0,64}$"
|
||||
},
|
||||
"error_class": {
|
||||
"type": "string",
|
||||
"pattern": "^[A-Za-z0-9_.-]{0,120}$"
|
||||
},
|
||||
"fields": {
|
||||
"type": "object",
|
||||
"maxProperties": 32,
|
||||
"additionalProperties": {
|
||||
"type": ["string", "number", "integer", "boolean", "null"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user