121 lines
2.6 KiB
JSON
121 lines
2.6 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,
|
|
"description": "Provider-state generation that causally owns this result. It is not implicitly an Eve surface version."
|
|
},
|
|
"presentationSurfaceVersion": {
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"description": "Optional advertised base-surface version that a renderer must mount before exposing terminal presentation finality."
|
|
},
|
|
"invocationHash": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "Canonical digest of the immutable invocation envelope finalized by this receipt."
|
|
},
|
|
"navigation": {
|
|
"type": "object",
|
|
"required": [
|
|
"verseId",
|
|
"surfaceId"
|
|
],
|
|
"properties": {
|
|
"verseId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"authorityRuntimeId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"providerId": {
|
|
"type": "string"
|
|
},
|
|
"surfaceId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"surfaceKind": {
|
|
"type": "string"
|
|
},
|
|
"rendezvousEndpoints": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"uniqueItems": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
}
|