{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cayra-io/json-schema/cayra-io-license-status-response-schema.json",
  "title": "LicenseStatusResponse",
  "description": "Response model for license status check",
  "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/LicenseStatusResponse",
  "properties": {
    "license_id": {
      "type": "string",
      "format": "uuid",
      "title": "License Id"
    },
    "is_valid": {
      "type": "boolean",
      "title": "Is Valid"
    },
    "is_active": {
      "type": "boolean",
      "title": "Is Active"
    },
    "is_expired": {
      "type": "boolean",
      "title": "Is Expired"
    },
    "is_revoked": {
      "type": "boolean",
      "title": "Is Revoked"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "title": "Expires At"
    },
    "current_activations": {
      "type": "integer",
      "title": "Current Activations"
    },
    "max_activations": {
      "type": "integer",
      "title": "Max Activations"
    },
    "features": {
      "type": "object",
      "title": "Features"
    },
    "limits": {
      "type": "object",
      "title": "Limits"
    }
  },
  "type": "object",
  "required": [
    "license_id",
    "is_valid",
    "is_active",
    "is_expired",
    "is_revoked",
    "expires_at",
    "current_activations",
    "max_activations"
  ]
}