{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/africanmarketos-com/json-schema/africanmarketos-com-project-memory-response-schema.json",
  "title": "ProjectMemoryResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/africanmarketos-com-project-memory-api-openapi.yml#/components/schemas/ProjectMemoryResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "project_memory": {
      "type": "object",
      "properties": {
        "project_id": {
          "type": "string"
        },
        "content_trust": {
          "type": "object",
          "properties": {
            "origin": {
              "type": "string"
            },
            "instruction_authority": {
              "type": "string",
              "enum": [
                "none"
              ]
            },
            "untrusted_paths": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "policy": {
              "type": "string"
            }
          },
          "additionalProperties": true
        },
        "agent_context": {
          "type": "object",
          "properties": {
            "project_id": {
              "type": "string"
            },
            "memory_item_count": {
              "type": "integer"
            },
            "evidence_reference_count": {
              "type": "integer"
            },
            "has_verified_historical_receipt": {
              "type": "boolean"
            },
            "execution_authorized": {
              "type": "boolean",
              "enum": [
                false
              ]
            },
            "raw_content_omitted": {
              "type": "boolean"
            }
          },
          "additionalProperties": true
        },
        "last_verdict": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "origin": {
              "type": "string",
              "enum": [
                "caller_authored_memory_summary",
                "verified_decision_receipt"
              ]
            },
            "receipt_verified": {
              "type": "boolean"
            },
            "decision_check_id": {
              "type": [
                "string",
                "null"
              ]
            },
            "response_hash": {
              "type": [
                "string",
                "null"
              ]
            },
            "evaluated_at": {
              "type": [
                "string",
                "null"
              ]
            },
            "recommendation": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "additionalProperties": true
        }
      },
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}