{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xpay-sh/json-schema/xpay-sh-wallet-schema.json",
  "title": "Wallet",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xpay-sh-openapi.json#/components/schemas/Wallet",
  "type": "object",
  "properties": {
    "userId": {
      "type": "string"
    },
    "walletAddress": {
      "type": "string"
    },
    "balance": {
      "type": "number",
      "description": "Total USDC balance"
    },
    "availableBalance": {
      "type": "number",
      "description": "Balance available for spending"
    },
    "pendingLocks": {
      "type": "object",
      "additionalProperties": {
        "type": "number"
      }
    },
    "totalLocked": {
      "type": "number"
    },
    "totalDeposited": {
      "type": "number"
    },
    "totalSpent": {
      "type": "number"
    }
  }
}