{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-eml-to-html-result-schema.json",
  "title": "EmlToHtmlResult",
  "description": "Result of converting an EML 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/EmlToHtmlResult",
  "type": "object",
  "properties": {
    "Successful": {
      "description": "True if the operation was successful, false otherwise",
      "type": "boolean"
    },
    "Content": {
      "description": "An HTML string version of the EML file",
      "type": "string"
    },
    "Body": {
      "description": "The main body of the EML file's email as an HTML string",
      "type": "string"
    },
    "From": {
      "description": "The From sender of the EML file's email",
      "type": "string"
    },
    "To": {
      "description": "The To recipients of the EML file's email",
      "type": "string"
    },
    "Cc": {
      "description": "The CC recipients of the EML file's email",
      "type": "string"
    },
    "DateSent": {
      "description": "The date and time that the EML file's email was sent",
      "type": "string"
    },
    "Subject": {
      "description": "The subject of the EML file's email",
      "type": "string"
    },
    "Attachments": {
      "description": "List of all attachments for the EML file",
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmlAttachment"
      }
    }
  },
  "$defs": {
    "EmlAttachment": {
      "description": "An EML file attachment",
      "type": "object",
      "properties": {
        "Name": {
          "description": "Name of the attachment, including file extension",
          "type": "string"
        },
        "Content": {
          "format": "byte",
          "description": "The EML attachment as a byte[]",
          "type": "string"
        }
      }
    }
  }
}