{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/transmitly-io/json-schema/transmitly-io-inbound-route-input-schema.json",
  "title": "InboundRouteInput",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/transmitly-io-inbound-api-openapi.yml#/components/schemas/InboundRouteInput",
  "type": "object",
  "required": [
    "address",
    "action"
  ],
  "properties": {
    "address": {
      "type": "string",
      "description": "Full address or @domain catch-all"
    },
    "action": {
      "type": "string",
      "enum": [
        "forward",
        "relay",
        "webhook",
        "ticket",
        "drop"
      ]
    },
    "destination": {
      "type": "string",
      "description": "Required for forward and relay"
    },
    "note": {
      "type": "string"
    },
    "webhook_enabled": {
      "type": "boolean",
      "description": "Emit email.inbound after routing. Defaults to true; ignored for the webhook action, which always emits."
    }
  }
}