{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nanotoll-dev/json-schema/nanotoll-dev-free-key-response-schema.json",
  "title": "FreeKeyResponse",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nanotoll-dev-openapi.json#/components/schemas/FreeKeyResponse",
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Bearer token for all billed services."
    },
    "funding_address": {
      "type": "string",
      "description": "Base USDC deposit address for this account. Fund it to upgrade the trial key to a permanent paid key."
    },
    "chain": {
      "type": "string",
      "description": "Deposit chain."
    },
    "token": {
      "type": "string",
      "description": "Deposit token."
    },
    "credit_balance": {
      "type": "number",
      "description": "Free grant in USDC."
    },
    "key_type": {
      "type": "string",
      "enum": [
        "free"
      ]
    },
    "expires_at": {
      "type": "string",
      "description": "Free-key expiry, RFC3339 UTC (e.g. 2026-11-23T06:21:21Z). null = never expires."
    }
  },
  "required": [
    "api_key",
    "funding_address",
    "chain",
    "token",
    "credit_balance",
    "key_type",
    "expires_at"
  ]
}