{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fleetkeep-co-uk/json-schema/fleetkeep-co-uk-outbound-preview-schema.json",
  "title": "OutboundPreview",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fleetkeep-co-uk-bookings-api-openapi.yml#/components/schemas/OutboundPreview",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "action",
    "recipient",
    "subject",
    "text",
    "digest",
    "confirmationToken",
    "expiresAt"
  ],
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "contact.verification.send",
        "booking.garage_email.send"
      ]
    },
    "contactId": {
      "type": "string",
      "format": "uuid"
    },
    "bookingId": {
      "type": "string",
      "format": "uuid"
    },
    "recipient": {
      "type": "string",
      "format": "email"
    },
    "subject": {
      "type": "string",
      "maxLength": 240
    },
    "text": {
      "type": "string",
      "maxLength": 10000
    },
    "digest": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "confirmationToken": {
      "type": "string"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}