{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://github.com/GameCult/CultLib/contracts/cultnet/cultnet.operation-response.schema.json", "title": "CultNet Operation Response", "type": "object", "required": ["schemaVersion", "messageId", "serviceId", "operation", "status", "payloadSchema", "payload"], "additionalProperties": false, "properties": { "schemaVersion": { "const": "cultnet.operation_response.v0" }, "messageId": { "type": "string", "minLength": 1 }, "serviceId": { "type": "string", "minLength": 1 }, "operation": { "type": "string", "minLength": 1 }, "status": { "type": "string", "minLength": 1 }, "payloadSchema": { "type": "string", "minLength": 1 }, "payloadEncoding": { "const": "messagepack-base64" }, "payload": { "type": "string", "minLength": 1, "contentEncoding": "base64" }, "diagnostics": { "type": "array", "items": { "type": "string" } }, "sourceRuntimeId": { "type": "string", "minLength": 1 } } }