Constant AGENT_RUN_SCHEMA_JSON
Source pub const AGENT_RUN_SCHEMA_JSON: &str = "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.fleetforge.dev/agent_run.json\",\n \"title\": \"AgentRun Adapter Envelope\",\n \"type\": \"object\",\n \"required\": [\"adapter\", \"version\", \"action\", \"run_id\", \"timestamp\"],\n \"additionalProperties\": true,\n \"properties\": {\n \"adapter\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"version\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"action\": {\n \"type\": \"string\",\n \"enum\": [\n \"start\",\n \"emit\",\n \"checkpoint\",\n \"restore\",\n \"complete\",\n \"error\"\n ]\n },\n \"run_id\": {\n \"type\": \"string\",\n \"format\": \"uuid\"\n },\n \"step_id\": {\n \"type\": \"string\",\n \"format\": \"uuid\"\n },\n \"attempt\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"payload\": {\n \"type\": \"object\"\n },\n \"checkpoint\": {\n \"type\": \"object\"\n },\n \"attestation_ids\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"format\": \"uuid\"\n }\n },\n \"subject_id\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"material_digests\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"string\",\n \"minLength\": 1\n }\n },\n \"policy_decision_id\": {\n \"type\": \"string\",\n \"format\": \"uuid\"\n },\n \"capability_token\": {\n \"$ref\": \"https://schemas.fleetforge.dev/capability_token.json\"\n },\n \"capability_token_id\": {\n \"type\": \"string\",\n \"format\": \"uuid\"\n },\n \"timestamp\": {\n \"type\": \"string\",\n \"format\": \"date-time\"\n },\n \"traceparent\": {\n \"type\": \"string\"\n }\n }\n}\n";