{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commentary-dev/json-schema/commentary-dev-interaction-response-progress-schema.json",
  "title": "InteractionResponseProgress",
  "description": "Browser-human recipient progress for the current exact revision. Does not change the Interaction lifecycle or prove external execution. Agent receipt transports do not expose this projection.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/commentary-dev-interactions-api-openapi.yml#/components/schemas/InteractionResponseProgress",
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "revisionId": {
      "type": "string"
    },
    "responded": {
      "type": "boolean"
    },
    "revisionChanges": {
      "type": [
        "string",
        "null"
      ]
    },
    "previousResponses": {
      "type": "array",
      "maxItems": 10,
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "value": {
            "type": [
              "string",
              "null"
            ]
          },
          "contentPurged": {
            "type": "boolean"
          }
        }
      }
    },
    "next": {
      "type": "string",
      "enum": [
        "you",
        "agent",
        "approvers",
        "revision",
        "none"
      ]
    },
    "message": {
      "type": "string"
    },
    "availableActionIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "approvedActionIds": {
      "type": "array",
      "description": "Actions whose current approval policy is satisfied; not proof of execution.",
      "items": {
        "type": "string"
      }
    },
    "receipts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "actionId": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "value": {
            "type": [
              "string",
              "null"
            ]
          },
          "contentPurged": {
            "type": "boolean"
          }
        }
      }
    }
  }
}