{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/folio/main/json-schema/folio-message-request-schema.json",
  "title": "Mail Entity Schema",
  "description": "The mail message that can be sent via mail",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/folio-mod-batch-print-batchprint-openapi.yml#/components/schemas/messageRequest",
  "type": "object",
  "properties": {
    "notificationId": {
      "description": "notification ID",
      "type": "string"
    },
    "from": {
      "description": "sender's address",
      "type": "string"
    },
    "to": {
      "description": "receiver's address",
      "type": "string"
    },
    "outputFormat": {
      "description": "format type: `text/html` or `text/plain`",
      "type": "string"
    },
    "body": {
      "description": "text of email",
      "type": "string"
    }
  },
  "additionalProperties": true,
  "required": [
    "body"
  ]
}