reverse-skills-max: initial public release (restored, redacted, hardened)
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://jsra.local/schemas/adversarial_trace.schema.json",
|
||||
"title": "JSRA Adversarial Runtime Trace",
|
||||
"type": "object",
|
||||
"required": ["state"],
|
||||
"properties": {
|
||||
"exportedAt": { "type": "integer", "minimum": 0 },
|
||||
"state": {
|
||||
"type": "object",
|
||||
"required": ["mode", "events", "patches", "realms", "health"],
|
||||
"properties": {
|
||||
"mode": { "enum": ["observe", "intervene"] },
|
||||
"events": { "type": "array", "items": { "$ref": "#/$defs/event" } },
|
||||
"patches": { "type": "array", "items": { "type": "object" } },
|
||||
"realms": { "type": "array", "items": { "type": "object" } },
|
||||
"dropped": { "type": "integer", "minimum": 0 },
|
||||
"health": { "type": "object" }
|
||||
},
|
||||
"additionalProperties": true
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"$defs": {
|
||||
"event": {
|
||||
"type": "object",
|
||||
"required": ["event_id", "trace_id", "type", "timestamp"],
|
||||
"properties": {
|
||||
"event_id": { "type": "string", "minLength": 1 },
|
||||
"trace_id": { "type": "string", "minLength": 1 },
|
||||
"type": { "type": "string", "minLength": 1 },
|
||||
"timestamp": { "type": "integer", "minimum": 0 }
|
||||
},
|
||||
"additionalProperties": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user