{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-proof-to-task-body-schema.json",
  "title": "ProofToTaskBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentstack-tech-agentnet-api-openapi.yml#/components/schemas/ProofToTaskBody",
  "properties": {
    "agent_uuid": {
      "type": "string",
      "minLength": 8,
      "title": "Agent Uuid"
    },
    "run_uuid": {
      "type": "string",
      "minLength": 8,
      "title": "Run Uuid"
    },
    "receipt_hash": {
      "type": "string",
      "minLength": 16,
      "title": "Receipt Hash"
    },
    "purchase_batch_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Purchase Batch Id"
    },
    "merkle_root": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Merkle Root"
    },
    "checkpoint_hash": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Checkpoint Hash"
    },
    "submit_on_chain": {
      "type": "boolean",
      "title": "Submit On Chain",
      "default": false
    },
    "agent_on_chain_id": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Agent On Chain Id",
      "default": 0
    }
  },
  "type": "object",
  "required": [
    "agent_uuid",
    "run_uuid",
    "receipt_hash"
  ]
}