{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/namailu-cz/json-schema/namailu-cz-webhook-secret-rotate-response-schema.json",
  "title": "WebhookSecretRotateResponse",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/namailu-cz-openapi.json#/components/schemas/WebhookSecretRotateResponse",
  "properties": {
    "inbox_id": {
      "type": "string",
      "title": "Inbox Id"
    },
    "webhook_secret": {
      "type": "string",
      "title": "Webhook Secret",
      "description": "New secret, returned by this response only."
    },
    "generation": {
      "type": "integer",
      "title": "Generation"
    },
    "previous_valid_until": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Previous Valid Until"
    }
  },
  "type": "object",
  "required": [
    "inbox_id",
    "webhook_secret",
    "generation",
    "previous_valid_until"
  ]
}