{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/groundmail-dev/json-schema/groundmail-dev-cloudflare-integration-response-schema.json",
  "title": "CloudflareIntegrationResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/groundmail-dev-integrations-api-openapi.yml#/components/schemas/CloudflareIntegrationResponse",
  "type": "object",
  "required": [
    "cloudflare"
  ],
  "properties": {
    "cloudflare": {
      "$ref": "#/$defs/CloudflareIntegrationStatus"
    }
  },
  "$defs": {
    "CloudflareIntegrationStatus": {
      "type": "object",
      "required": [
        "connected",
        "hint",
        "connectedAt"
      ],
      "properties": {
        "connected": {
          "type": "boolean"
        },
        "hint": {
          "type": [
            "string",
            "null"
          ],
          "description": "Last 4 characters of the stored token"
        },
        "connectedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      }
    }
  }
}