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.runtime.archived-session.schema.json
2026-08-10 01:51:52 +01:00

36 lines
1.7 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://gamecult.dev/epiphany/cultnet/epiphany.runtime.archived-session.schema.json",
"title": "Epiphany Archived Runtime Session",
"description": "Permanent tombstone and evidence accumulator for one fully closed model-session execution generation.",
"type": "object",
"additionalProperties": false,
"properties": {
"schemaVersion": { "type": "string", "const": "epiphany.runtime.archived_session.v0" },
"archiveId": { "type": "string", "minLength": 1 },
"sessionId": { "type": "string", "minLength": 1 },
"archivedAt": { "type": "string", "format": "date-time" },
"jobIds": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
"jobResultIds": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
"modelRequestIds": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
"toolIntentIds": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
"terminalJobStatusCounts": { "type": "object", "additionalProperties": { "type": "integer", "minimum": 0 } },
"retiredTypeCounts": { "type": "object", "additionalProperties": { "type": "integer", "minimum": 0 } },
"retiredEnvelopeCount": { "type": "integer", "minimum": 1 },
"retiredChainDigest": { "type": "string", "pattern": "^sha256:[0-9a-f]{64}$" }
},
"required": [
"schemaVersion",
"archiveId",
"sessionId",
"archivedAt",
"jobIds",
"jobResultIds",
"modelRequestIds",
"toolIntentIds",
"terminalJobStatusCounts",
"retiredTypeCounts",
"retiredEnvelopeCount",
"retiredChainDigest"
]
}