{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "FNE–AXIOMESH agent request v1", "description": "Data-only requests. Runtime checks also enforce primality, dimensions, residue ranges, action membership, and repository path containment.", "$defs": { "residue": { "type": "integer", "minimum": 0, "maximum": 250 }, "matrix": { "type": "array", "maxItems": 128, "items": { "type": "array", "minItems": 1, "maxItems": 32, "items": { "$ref": "#/$defs/residue" } } }, "word": { "type": "array", "maxItems": 256, "items": { "type": "string", "pattern": "^[A-Za-z0-9_.+\\-]{1,64}$" } } }, "oneOf": [ { "type": "object", "required": [ "task", "p", "query", "operators", "memory" ], "additionalProperties": false, "properties": { "task": { "const": "revalidate" }, "p": { "type": "integer", "minimum": 2, "maximum": 251 }, "query": { "type": "array", "maxItems": 128, "items": { "type": "array", "minItems": 1, "maxItems": 32, "items": { "$ref": "#/$defs/residue" } }, "minItems": 1 }, "operators": { "type": "object", "maxProperties": 16, "patternProperties": { "^[A-Za-z0-9_.+\\-]{1,64}$": { "$ref": "#/$defs/matrix" } }, "additionalProperties": false }, "memory": { "type": "object", "required": [ "matrix", "rhs" ], "additionalProperties": false, "properties": { "matrix": { "$ref": "#/$defs/matrix" }, "rhs": { "type": "array", "maxItems": 128, "items": { "$ref": "#/$defs/residue" } } } }, "product_budget": { "type": "integer", "minimum": 0, "maximum": 512 } } }, { "type": "object", "required": [ "task", "p", "query", "operators", "memory" ], "additionalProperties": false, "properties": { "task": { "const": "compile" }, "p": { "type": "integer", "minimum": 2, "maximum": 251 }, "query": { "type": "array", "maxItems": 128, "items": { "type": "array", "minItems": 1, "maxItems": 32, "items": { "$ref": "#/$defs/residue" } }, "minItems": 1 }, "operators": { "type": "object", "maxProperties": 16, "patternProperties": { "^[A-Za-z0-9_.+\\-]{1,64}$": { "$ref": "#/$defs/matrix" } }, "additionalProperties": false }, "memory": { "type": "object", "required": [ "matrix", "rhs" ], "additionalProperties": false, "properties": { "matrix": { "$ref": "#/$defs/matrix" }, "rhs": { "type": "array", "maxItems": 128, "items": { "$ref": "#/$defs/residue" } } } }, "product_budget": { "type": "integer", "minimum": 0, "maximum": 512 }, "erasure_budget": { "type": "integer", "minimum": 0, "maximum": 32 }, "word": { "$ref": "#/$defs/word" } } }, { "type": "object", "required": [ "task", "capsule", "word" ], "additionalProperties": false, "properties": { "task": { "const": "recover_and_run" }, "capsule": { "type": "string", "minLength": 1, "maxLength": 256 }, "word": { "$ref": "#/$defs/word" } } } ] }