{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentpmt-com/json-schema/agentpmt-com-body-bysig-apply-wallet-update-upc-by-sig-apply-wallet-update-post-schema.json",
  "title": "Body_bysig_apply_wallet_update_upc_by_sig_apply_wallet_update_post",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentpmt-com-openapi.json#/components/schemas/Body_bysig_apply_wallet_update_upc_by_sig_apply_wallet_update_post",
  "properties": {
    "chain": {
      "type": "string",
      "title": "Chain"
    },
    "contract_address": {
      "type": "string",
      "title": "Contract Address"
    },
    "hashed_id": {
      "type": "string",
      "title": "Hashed Id"
    },
    "digest": {
      "type": "string",
      "title": "Digest"
    },
    "set_custom_merkle_root": {
      "type": "boolean",
      "title": "Set Custom Merkle Root",
      "default": false
    },
    "new_custom_merkle_root": {
      "type": "string",
      "title": "New Custom Merkle Root",
      "default": "0x0000000000000000000000000000000000000000000000000000000000000000"
    },
    "set_max_tx_debit": {
      "type": "boolean",
      "title": "Set Max Tx Debit",
      "default": false
    },
    "new_max_tx_debit": {
      "type": "string",
      "title": "New Max Tx Debit",
      "default": "0"
    },
    "set_core_managed": {
      "type": "boolean",
      "title": "Set Core Managed",
      "default": false
    },
    "new_core_managed": {
      "type": "boolean",
      "title": "New Core Managed",
      "default": false
    },
    "tokens_to_enable": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Tokens To Enable"
    },
    "tokens_to_disable": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Tokens To Disable"
    },
    "upserts": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Upserts"
    },
    "adds": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Adds"
    },
    "removes": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Removes"
    },
    "nonce": {
      "type": "string",
      "title": "Nonce"
    },
    "deadline": {
      "type": "string",
      "title": "Deadline"
    },
    "signature": {
      "type": "string",
      "title": "Signature"
    },
    "payor": {
      "type": "string",
      "title": "Payor"
    },
    "from_private_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "From Private Key"
    }
  },
  "type": "object",
  "required": [
    "chain",
    "contract_address",
    "hashed_id",
    "digest",
    "nonce",
    "deadline",
    "signature",
    "payor"
  ]
}