{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-submit-intent-body-schema.json",
  "title": "SubmitIntentBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentstack-tech-agentnet-chain-control-api-openapi.yml#/components/schemas/SubmitIntentBody",
  "properties": {
    "agent_uuid": {
      "type": "string",
      "minLength": 4,
      "title": "Agent Uuid"
    },
    "intent_type": {
      "$ref": "#/$defs/IntentType",
      "default": "fleet.run"
    },
    "payload": {
      "additionalProperties": true,
      "type": "object",
      "title": "Payload"
    },
    "caip2": {
      "type": "string",
      "minLength": 3,
      "title": "Caip2"
    },
    "nonce": {
      "type": "string",
      "minLength": 1,
      "title": "Nonce"
    },
    "deadline_unix": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Deadline Unix",
      "default": 0
    },
    "signer_caip10": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Signer Caip10"
    },
    "evidence_tier": {
      "$ref": "#/$defs/EvidenceTier",
      "default": "none"
    },
    "proof_kind": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Proof Kind"
    },
    "proof_ref": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Proof Ref"
    }
  },
  "type": "object",
  "required": [
    "agent_uuid",
    "caip2",
    "nonce"
  ],
  "$defs": {
    "EvidenceTier": {
      "type": "string",
      "enum": [
        "none",
        "l0_batch",
        "chain_anchor"
      ],
      "title": "EvidenceTier",
      "description": "Optional evidence plane activation for a Fleet run."
    },
    "IntentType": {
      "type": "string",
      "enum": [
        "fleet.run",
        "mcp.tool",
        "mcp.tool.single",
        "logic.flow"
      ],
      "title": "IntentType"
    }
  }
}