changedOutput schema / anyOf
Previous value: -[
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "attachments": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "filename": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "mime_type": {
- "type": "string"
- },
- "size": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "filename",
- "mime_type",
- "size"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "bcc": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "body": {
- "type": [
- "string",
- "null"
- ]
- },
- "body_source": {
- "anyOf": [
- {
- "enum": [
- "reply_text",
- "text",
- "html"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "reply_text is heuristic extraction, not the original body. Use full format for quoted history, forwards or ambiguous inline answers; complete means untruncated, not original."
- },
- "body_status": {
- "const": "complete",
- "type": "string"
- },
- "cc": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "created_at": {
- "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
- "type": "string"
- },
- "error_code": {
- "type": [
- "string",
- "null"
- ]
- },
- "from": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- },
- "html_available": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- },
- "in_reply_to": {
- "type": [
- "string",
- "null"
- ]
- },
- "inbox_id": {
- "type": "string"
- },
- "labels": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "recipient_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "status": {
- "const": "accepted",
- "description": "Accepted by the email provider, not confirmation of delivery.",
- "type": "string"
- },
- "subject": {
- "type": "string"
- },
- "thread_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "to": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "id",
- "inbox_id",
- "thread_id",
- "created_at",
- "recipient_count",
- "error_code",
- "in_reply_to",
- "labels",
- "from",
- "to",
- "cc",
- "bcc",
- "subject",
- "body",
- "body_source",
- "body_status",
- "html_available",
- "attachments",
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "attachments": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "filename": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "mime_type": {
- "type": "string"
- },
- "size": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "filename",
- "mime_type",
- "size"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "bcc": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "body": {
- "type": [
- "string",
- "null"
- ]
- },
- "body_source": {
- "anyOf": [
- {
- "enum": [
- "reply_text",
- "text",
- "html"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "reply_text is heuristic extraction, not the original body. Use full format for quoted history, forwards or ambiguous inline answers; complete means untruncated, not original."
- },
- "body_status": {
- "const": "complete",
- "type": "string"
- },
- "cc": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "created_at": {
- "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
- "type": "string"
- },
- "error_code": {
- "type": [
- "string",
- "null"
- ]
- },
- "from": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- },
- "guidance": {
- "type": "string"
- },
- "html_available": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- },
- "in_reply_to": {
- "type": [
- "string",
- "null"
- ]
- },
- "inbox_id": {
- "type": "string"
- },
- "labels": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "recipient_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "status": {
- "enum": [
- "rejected",
- "unknown"
- ],
- "type": "string"
- },
- "subject": {
- "type": "string"
- },
- "thread_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "to": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "id",
- "inbox_id",
- "thread_id",
- "created_at",
- "recipient_count",
- "error_code",
- "in_reply_to",
- "labels",
- "from",
- "to",
- "cc",
- "bcc",
- "subject",
- "body",
- "body_source",
- "body_status",
- "html_available",
- "attachments",
- "status",
- "guidance"
- ],
- "type": "object"
- }
- ]
- },
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "created_at": {
- "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
- "type": "string"
- },
- "error_code": {
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "type": "string"
- },
- "in_reply_to": {
- "type": [
- "string",
- "null"
- ]
- },
- "inbox_id": {
- "type": "string"
- },
- "labels": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "provider_message_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "recipient_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "reply_text": {
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "const": "accepted",
- "description": "Accepted by the email provider, not confirmation of delivery.",
- "type": "string"
- },
- "submission": {
- "additionalProperties": false,
- "properties": {
- "attachments": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "content": {
- "type": "string"
- },
- "contentId": {
- "type": "string"
- },
- "disposition": {
- "enum": [
- "attachment",
- "inline"
- ],
- "type": "string"
- },
- "filename": {
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "filename",
- "type",
- "content",
- "disposition"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "bcc": {
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "cc": {
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "from": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- }
- ]
- },
- "headers": {
- "additionalProperties": false,
- "properties": {
- "In-Reply-To": {
- "type": "string"
- },
- "References": {
- "type": "string"
- }
- },
- "required": [
- "In-Reply-To",
- "References"
- ],
- "type": "object"
- },
- "html": {
- "type": "string"
- },
- "subject": {
- "type": "string"
- },
- "text": {
- "type": "string"
- },
- "to": {
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- }
- },
- "required": [
- "from",
- "to",
- "cc",
- "bcc",
- "subject",
- "text",
- "attachments"
- ],
- "type": "object"
- },
- "thread_id": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "inbox_id",
- "thread_id",
- "created_at",
- "recipient_count",
- "error_code",
- "in_reply_to",
- "labels",
- "reply_text",
- "provider_message_id",
- "submission",
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "created_at": {
- "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
- "type": "string"
- },
- "error_code": {
- "type": [
- "string",
- "null"
- ]
- },
- "guidance": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "in_reply_to": {
- "type": [
- "string",
- "null"
- ]
- },
- "inbox_id": {
- "type": "string"
- },
- "labels": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "provider_message_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "recipient_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "reply_text": {
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "enum": [
- "rejected",
- "unknown"
- ],
- "type": "string"
- },
- "submission": {
- "additionalProperties": false,
- "properties": {
- "attachments": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "content": {
- "type": "string"
- },
- "contentId": {
- "type": "string"
- },
- "disposition": {
- "enum": [
- "attachment",
- "inline"
- ],
- "type": "string"
- },
- "filename": {
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "filename",
- "type",
- "content",
- "disposition"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "bcc": {
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "cc": {
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "from": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- }
- ]
- },
- "headers": {
- "additionalProperties": false,
- "properties": {
- "In-Reply-To": {
- "type": "string"
- },
- "References": {
- "type": "string"
- }
- },
- "required": [
- "In-Reply-To",
- "References"
- ],
- "type": "object"
- },
- "html": {
- "type": "string"
- },
- "subject": {
- "type": "string"
- },
- "text": {
- "type": "string"
- },
- "to": {
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- }
- },
- "required": [
- "from",
- "to",
- "cc",
- "bcc",
- "subject",
- "text",
- "attachments"
- ],
- "type": "object"
- },
- "thread_id": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "inbox_id",
- "thread_id",
- "created_at",
- "recipient_count",
- "error_code",
- "in_reply_to",
- "labels",
- "reply_text",
- "provider_message_id",
- "submission",
- "status",
- "guidance"
- ],
- "type": "object"
- }
- ]
- }
-]New value: +[
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "attachments": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "mime_type": {
+ "type": "string"
+ },
+ "size": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "filename",
+ "mime_type",
+ "size"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "bcc": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "body": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "body_source": {
+ "anyOf": [
+ {
+ "enum": [
+ "reply_text",
+ "text",
+ "html"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "reply_text: only the newly written text, extracted without quoted history; empty when none was found. For forwards, quoted history or answers written inline, read format full. text: the plain-text body. html: text taken from the HTML body."
+ },
+ "body_status": {
+ "const": "complete",
+ "type": "string"
+ },
+ "cc": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "created_at": {
+ "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
+ "type": "string"
+ },
+ "error_code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "from": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ },
+ "html_available": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "in_reply_to": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "inbox_id": {
+ "type": "string"
+ },
+ "labels": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "recipient_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "status": {
+ "const": "accepted",
+ "description": "Accepted by the email provider, not confirmation of delivery.",
+ "type": "string"
+ },
+ "subject": {
+ "type": "string"
+ },
+ "thread_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "to": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "inbox_id",
+ "thread_id",
+ "created_at",
+ "recipient_count",
+ "error_code",
+ "in_reply_to",
+ "labels",
+ "from",
+ "to",
+ "cc",
+ "bcc",
+ "subject",
+ "body",
+ "body_source",
+ "body_status",
+ "html_available",
+ "attachments",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "attachments": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "mime_type": {
+ "type": "string"
+ },
+ "size": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "filename",
+ "mime_type",
+ "size"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "bcc": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "body": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "body_source": {
+ "anyOf": [
+ {
+ "enum": [
+ "reply_text",
+ "text",
+ "html"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "reply_text: only the newly written text, extracted without quoted history; empty when none was found. For forwards, quoted history or answers written inline, read format full. text: the plain-text body. html: text taken from the HTML body."
+ },
+ "body_status": {
+ "const": "complete",
+ "type": "string"
+ },
+ "cc": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "created_at": {
+ "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
+ "type": "string"
+ },
+ "error_code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "from": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ },
+ "guidance": {
+ "type": "string"
+ },
+ "html_available": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "in_reply_to": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "inbox_id": {
+ "type": "string"
+ },
+ "labels": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "recipient_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "status": {
+ "enum": [
+ "rejected",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "subject": {
+ "type": "string"
+ },
+ "thread_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "to": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "inbox_id",
+ "thread_id",
+ "created_at",
+ "recipient_count",
+ "error_code",
+ "in_reply_to",
+ "labels",
+ "from",
+ "to",
+ "cc",
+ "bcc",
+ "subject",
+ "body",
+ "body_source",
+ "body_status",
+ "html_available",
+ "attachments",
+ "status",
+ "guidance"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "created_at": {
+ "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
+ "type": "string"
+ },
+ "error_code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "in_reply_to": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "inbox_id": {
+ "type": "string"
+ },
+ "labels": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "provider_message_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recipient_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "reply_text": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "const": "accepted",
+ "description": "Accepted by the email provider, not confirmation of delivery.",
+ "type": "string"
+ },
+ "submission": {
+ "additionalProperties": false,
+ "properties": {
+ "attachments": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "content": {
+ "type": "string"
+ },
+ "contentId": {
+ "type": "string"
+ },
+ "disposition": {
+ "enum": [
+ "attachment",
+ "inline"
+ ],
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "filename",
+ "type",
+ "content",
+ "disposition"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "bcc": {
+ "items": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "cc": {
+ "items": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "from": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "headers": {
+ "additionalProperties": false,
+ "properties": {
+ "In-Reply-To": {
+ "type": "string"
+ },
+ "References": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "In-Reply-To",
+ "References"
+ ],
+ "type": "object"
+ },
+ "html": {
+ "type": "string"
+ },
+ "subject": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "to": {
+ "items": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "cc",
+ "bcc",
+ "subject",
+ "text",
+ "attachments"
+ ],
+ "type": "object"
+ },
+ "thread_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "inbox_id",
+ "thread_id",
+ "created_at",
+ "recipient_count",
+ "error_code",
+ "in_reply_to",
+ "labels",
+ "reply_text",
+ "provider_message_id",
+ "submission",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "created_at": {
+ "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
+ "type": "string"
+ },
+ "error_code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "guidance": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "in_reply_to": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "inbox_id": {
+ "type": "string"
+ },
+ "labels": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "provider_message_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recipient_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "reply_text": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "enum": [
+ "rejected",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "submission": {
+ "additionalProperties": false,
+ "properties": {
+ "attachments": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "content": {
+ "type": "string"
+ },
+ "contentId": {
+ "type": "string"
+ },
+ "disposition": {
+ "enum": [
+ "attachment",
+ "inline"
+ ],
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "filename",
+ "type",
+ "content",
+ "disposition"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "bcc": {
+ "items": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "cc": {
+ "items": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "from": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "headers": {
+ "additionalProperties": false,
+ "properties": {
+ "In-Reply-To": {
+ "type": "string"
+ },
+ "References": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "In-Reply-To",
+ "References"
+ ],
+ "type": "object"
+ },
+ "html": {
+ "type": "string"
+ },
+ "subject": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "to": {
+ "items": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "cc",
+ "bcc",
+ "subject",
+ "text",
+ "attachments"
+ ],
+ "type": "object"
+ },
+ "thread_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "inbox_id",
+ "thread_id",
+ "created_at",
+ "recipient_count",
+ "error_code",
+ "in_reply_to",
+ "labels",
+ "reply_text",
+ "provider_message_id",
+ "submission",
+ "status",
+ "guidance"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+]