{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendraven-ai/json-schema/sendraven-ai-forwarding-address-schema.json",
  "title": "ForwardingAddress",
  "description": "An outside inbox that a copy of the workspace's received mail is forwarded to. Nothing is forwarded until the address is confirmed by clicking the link emailed to it. The confirmation token is never in any response.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendraven-ai-forwarding-addresses-api-openapi.yml#/components/schemas/ForwardingAddress",
  "type": "object",
  "required": [
    "id",
    "email",
    "status",
    "inbound_domain",
    "confirmation_sent_at",
    "confirmation_expires_at",
    "confirmed_at",
    "created_at"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "The destination, lower-cased."
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "active"
      ],
      "description": "pending until the confirmation link is clicked; only active addresses receive forwards."
    },
    "inbound_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "Forward only mail received on this domain. null forwards mail received on every domain."
    },
    "confirmation_sent_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the latest confirmation email was sent."
    },
    "confirmation_expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the latest confirmation link stops working (72 hours after it was sent). null once active."
    },
    "confirmed_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}