{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cryptodataapi-com/json-schema/cryptodataapi-com-apikey-info-schema.json",
  "title": "APIKeyInfo",
  "description": "API key information (without the full key).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cryptodataapi-com-authentication-api-openapi.yml#/components/schemas/APIKeyInfo",
  "properties": {
    "key_prefix": {
      "type": "string",
      "title": "Key Prefix"
    },
    "email": {
      "type": "string",
      "title": "Email"
    },
    "tier": {
      "type": "string",
      "title": "Tier"
    },
    "is_active": {
      "type": "boolean",
      "title": "Is Active"
    },
    "requests_today": {
      "type": "integer",
      "title": "Requests Today"
    },
    "daily_limit": {
      "title": "Daily Limit",
      "type": [
        "integer",
        "null"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "expires_at": {
      "title": "Expires At",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "per_minute_limit": {
      "title": "Per Minute Limit",
      "type": [
        "integer",
        "null"
      ]
    },
    "email_verified": {
      "type": "boolean",
      "title": "Email Verified",
      "default": false
    },
    "verified_daily_limit": {
      "title": "Verified Daily Limit",
      "type": [
        "integer",
        "null"
      ]
    },
    "upgrade_message": {
      "title": "Upgrade Message",
      "type": [
        "string",
        "null"
      ]
    },
    "rate_limit_scope": {
      "title": "Rate Limit Scope",
      "type": [
        "string",
        "null"
      ]
    },
    "upgrade": {
      "title": "Upgrade",
      "additionalProperties": true,
      "type": [
        "object",
        "null"
      ]
    }
  },
  "type": "object",
  "required": [
    "key_prefix",
    "email",
    "tier",
    "is_active",
    "requests_today",
    "daily_limit",
    "created_at",
    "expires_at"
  ]
}