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.memory-graph.schema.json
2026-07-13 18:51:38 +01:00

77 lines
1.8 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://gamecult.dev/epiphany/cultnet/epiphany.memory-graph.schema.json",
"title": "Epiphany Memory Graph",
"description": "Unified typed memory graph for repo architecture/dataflow, role memory, heartbeat pressure, incubation, agency, candidate interventions, and evidence. Embeddings are cache metadata, not canonical truth.",
"type": "object",
"additionalProperties": false,
"properties": {
"schemaVersion": { "const": "epiphany.memory_graph.v1" },
"graphId": {
"type": "string"
},
"source": {
"type": ["object", "null"],
"additionalProperties": false,
"required": ["kind", "identity", "revision"],
"properties": {
"kind": { "type": "string" },
"identity": { "type": "string" },
"revision": { "type": "integer", "minimum": 0 }
}
},
"domains": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"nodes": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"edges": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"summaries": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"embeddingManifest": {
"type": [
"object",
"null"
],
"additionalProperties": true
},
"freshness": {
"type": [
"object",
"null"
],
"additionalProperties": true
},
"lifecycleReceipts": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
},
"required": [
"schemaVersion",
"graphId"
]
}