{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cryptodataapi-com/json-schema/cryptodataapi-com-apikey-rotate-response-schema.json",
  "title": "APIKeyRotateResponse",
  "description": "Response after rotating an API 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/APIKeyRotateResponse",
  "properties": {
    "api_key": {
      "type": "string",
      "title": "Api Key"
    },
    "key_prefix": {
      "type": "string",
      "title": "Key Prefix"
    },
    "message": {
      "type": "string",
      "title": "Message",
      "default": "Your old API key has been invalidated. Save this new key securely."
    }
  },
  "type": "object",
  "required": [
    "api_key",
    "key_prefix"
  ]
}