{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/revolut/main/json-schema/revolut-webhook-signing-secret-rotate-request-schema.json",
  "title": "WebhookSigningSecretRotateRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revolut-webhooks-v2-api-openapi.yml#/components/schemas/WebhookSigningSecretRotateRequest",
  "type": "object",
  "properties": {
    "expiration_period": {
      "type": "string",
      "format": "duration",
      "description": "The expiration period for the signing secret in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601#Durations). If set, when you rotate the secret, it continues to be valid until the expiration period has passed. Otherwise, on rotation, the secret is invalidated immediately. The maximum value is 7 days.",
      "maximum": "P7D",
      "default": "P0D"
    }
  }
}