{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/casafari/json-schema/casafari-alerts-api-rotate-secret-request-schema-schema.json",
  "title": "RotateSecretRequestSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/casafari-alerts-api-webhooks-api-openapi.yml#/components/schemas/AlertsApiRotateSecretRequestSchema",
  "properties": {
    "immediate": {
      "type": "boolean",
      "title": "Immediate",
      "description": "When false (default), the previous secrets keep working for a 24-hour grace window so you can switch the new secret before the old one stops signing; deliveries carry a signature for each active secret meanwhile. When true, the previous secrets are revoked immediately and only the new one signs — use this only when a secret is compromised.",
      "default": false
    }
  },
  "type": "object"
}