{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/transmitly-io/json-schema/transmitly-io-inbound-route-schema.json",
  "title": "InboundRoute",
  "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/InboundRoute",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "org_id": {
      "type": "string"
    },
    "address": {
      "type": "string"
    },
    "action": {
      "type": "string",
      "enum": [
        "forward",
        "relay",
        "webhook",
        "ticket",
        "drop"
      ]
    },
    "destination": {
      "type": "string"
    },
    "note": {
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    },
    "webhook_enabled": {
      "type": "boolean",
      "description": "Emit email.inbound after routing. Defaults to true; always true for the webhook action."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}