Thing/schemas/gamecult.eve.command_receipt.v1.schema.json
2026-07-10 04:03:05 +01:00

74 lines
1.3 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "gamecult.eve.command_receipt.v1",
"title": "Eve Command Receipt",
"type": "object",
"required": [
"schema",
"receiptId",
"commandId",
"command",
"state",
"ownerRepo",
"authority",
"providerId",
"surfaceId",
"sourceVersion"
],
"properties": {
"schema": {
"const": "gamecult.eve.command_receipt.v1"
},
"receiptId": {
"type": "string",
"minLength": 1
},
"commandId": {
"type": "string"
},
"command": {
"type": "string",
"minLength": 1
},
"state": {
"type": "string",
"enum": [
"accepted",
"denied",
"pending",
"reconciled"
]
},
"ownerRepo": {
"type": "string",
"minLength": 1
},
"authority": {
"type": "string",
"minLength": 1
},
"providerId": {
"type": "string"
},
"surfaceId": {
"type": "string"
},
"message": {
"type": "string"
},
"diagnostics": {
"type": "array",
"items": {
"type": "object"
}
},
"issuedAtUtc": {
"type": "string"
},
"sourceVersion": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": true
}