{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fatheron-dev/json-schema/fatheron-dev-support-inbound-email-schema.json",
  "title": "SupportInboundEmail",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fatheron-dev-webhooks-api-openapi.yml#/components/schemas/SupportInboundEmail",
  "properties": {
    "from_email": {
      "type": "string",
      "format": "email",
      "title": "From Email"
    },
    "to_email": {
      "type": "string",
      "format": "email",
      "title": "To Email",
      "default": "support@fatheron.com"
    },
    "subject": {
      "type": "string",
      "maxLength": 500,
      "minLength": 1,
      "title": "Subject"
    },
    "body_text": {
      "type": "string",
      "maxLength": 20000,
      "minLength": 1,
      "title": "Body Text"
    },
    "message_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Message Id"
    },
    "in_reply_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "In Reply To"
    }
  },
  "type": "object",
  "required": [
    "from_email",
    "subject",
    "body_text"
  ]
}