{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cayra-io/json-schema/cayra-io-activation-response-schema.json",
  "title": "ActivationResponse",
  "description": "Response model for license activation",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cayra-io-client-api-openapi.yml#/components/schemas/ActivationResponse",
  "properties": {
    "success": {
      "type": "boolean",
      "title": "Success"
    },
    "activation_id": {
      "type": "string",
      "title": "Activation Id"
    },
    "license_token": {
      "type": "string",
      "title": "License Token",
      "description": "JWT token for offline validation"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "title": "Expires At"
    },
    "features": {
      "type": "object",
      "title": "Features"
    },
    "limits": {
      "type": "object",
      "title": "Limits"
    },
    "public_key": {
      "type": "string",
      "title": "Public Key",
      "description": "RSA public key for token verification"
    }
  },
  "type": "object",
  "required": [
    "success",
    "activation_id",
    "license_token",
    "expires_at",
    "features",
    "limits",
    "public_key"
  ]
}