This repository has been archived on 2026-10-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Epiphany/schemas/cultnet/epiphany.model-connector-envelope.schema.json
2026-08-24 02:26:04 +02:00

24 lines
862 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://gamecult.dev/epiphany/cultnet/epiphany.model-connector-envelope.schema.json",
"title": "Epiphany Model Connector Encrypted Envelope",
"type": "object",
"required": ["schema_id", "request_id", "message_kind", "nonce", "ciphertext"],
"properties": {
"schema_id": { "const": "epiphany.model_connector_envelope.v1" },
"request_id": { "type": "string", "minLength": 1 },
"message_kind": { "enum": ["model_request", "model_result"] },
"nonce": {
"type": "array",
"items": { "type": "integer", "minimum": 0, "maximum": 255 },
"minItems": 12,
"maxItems": 12
},
"ciphertext": {
"type": "array",
"items": { "type": "integer", "minimum": 0, "maximum": 255 },
"minItems": 1
}
},
"additionalProperties": false
}