{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-msg-to-html-result-schema.json",
  "title": "MsgToHtmlResult",
  "description": "Result of converting an MSG file to HTML string",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-convertdocument-api-openapi.yml#/components/schemas/MsgToHtmlResult",
  "type": "object",
  "properties": {
    "Successful": {
      "description": "True if the operation was successful, false otherwise",
      "type": "boolean"
    },
    "Content": {
      "description": "An HTML string version of the MSG file",
      "type": "string"
    },
    "Body": {
      "description": "The main body of the MSG file's email as an HTML string",
      "type": "string"
    },
    "From": {
      "description": "The From sender of the MSG file's email",
      "type": "string"
    },
    "To": {
      "description": "The To recipients of the MSG file's email",
      "type": "string"
    },
    "Cc": {
      "description": "The CC recipients of the MSG file's email",
      "type": "string"
    },
    "ReceivedTime": {
      "description": "The time that the MSG file's email was received",
      "type": "string"
    },
    "Subject": {
      "description": "The subject of the MSG file's email",
      "type": "string"
    },
    "Attachments": {
      "description": "List of all attachments for the MSG file",
      "type": "array",
      "items": {
        "$ref": "#/$defs/MsgAttachment"
      }
    }
  },
  "$defs": {
    "MsgAttachment": {
      "description": "An MSG file attachment",
      "type": "object",
      "properties": {
        "Name": {
          "description": "Name of the attachment, including file extension",
          "type": "string"
        },
        "Content": {
          "format": "byte",
          "description": "The MSG attachment as a byte[]",
          "type": "string"
        }
      }
    }
  }
}