{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grokzilla-shop/json-schema/grokzilla-shop-address-validate-request-schema.json",
  "title": "AddressValidateRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grokzilla-shop-openapi.json#/components/schemas/AddressValidateRequest",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "address": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "description": "Address to validate"
    },
    "chain": {
      "type": "string",
      "enum": [
        "evm",
        "solana",
        "bitcoin",
        "auto"
      ],
      "default": "auto"
    },
    "check_code": {
      "type": "boolean",
      "default": false,
      "description": "When chain is evm, call eth_getCode on Base to set type eoa|contract"
    },
    "request_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "pattern": "^[A-Za-z0-9._:-]+$",
      "description": "Optional idempotency key. Echoed back; a credit-pack redemption with the same request_id and body is charged once."
    }
  },
  "required": [
    "address"
  ]
}