changedOutput schema / properties / messages / items / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "from": {
- "anyOf": [
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "address"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "group": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "address"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "group"
- ],
- "type": "object"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "inbox_id": {
- "type": "string"
- },
- "labels": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "processing_status": {
- "enum": [
- "pending",
- "processing",
- "ready",
- "failed"
- ],
- "type": "string"
- },
- "received_at": {
- "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
- "type": "string"
- },
- "subject": {
- "type": [
- "string",
- "null"
- ]
- },
- "thread_id": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "inbox_id",
- "thread_id",
- "received_at",
- "processing_status",
- "labels",
- "from",
- "subject"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "attachments": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "content_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "disposition": {
- "type": [
- "string",
- "null"
- ]
- },
- "filename": {
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "type": "string"
- },
- "mime_type": {
- "type": "string"
- },
- "related": {
- "type": "boolean"
- },
- "size": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "filename",
- "size",
- "mime_type",
- "disposition",
- "content_id",
- "related"
- ],
- "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": {
- "description": "For truncated bodies, use get_message. For not_ready, check again later. For plain_text_unavailable, use full format if html_available.",
- "enum": [
- "not_ready",
- "plain_text_unavailable",
- "truncated",
- "complete"
- ],
- "type": "string"
- },
- "cc": {
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "address"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "group": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "address"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "group"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "from": {
- "anyOf": [
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "address"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "group": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "address"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "group"
- ],
- "type": "object"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "html_available": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- },
- "inbox_id": {
- "type": "string"
- },
- "labels": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "processing_status": {
- "enum": [
- "pending",
- "processing",
- "ready",
- "failed"
- ],
- "type": "string"
- },
- "received_at": {
- "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
- "type": "string"
- },
- "reply": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "in_reply_to": {
- "type": "string"
- },
- "subject": {
- "type": [
- "string",
- "null"
- ]
- },
- "to": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "in_reply_to",
- "to",
- "subject"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "reply_to": {
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "address"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "group": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "address"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "group"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "subject": {
- "type": [
- "string",
- "null"
- ]
- },
- "thread_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "to": {
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "address"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "group": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "address"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "group"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- }
- },
- "required": [
- "id",
- "inbox_id",
- "thread_id",
- "received_at",
- "processing_status",
- "labels",
- "from",
- "reply_to",
- "to",
- "cc",
- "subject",
- "body",
- "body_source",
- "body_status",
- "html_available",
- "attachments",
- "reply"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "address"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "group": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "address"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "group"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "inbox_id": {
+ "type": "string"
+ },
+ "labels": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "processing_status": {
+ "enum": [
+ "pending",
+ "processing",
+ "ready",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "received_at": {
+ "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
+ "type": "string"
+ },
+ "subject": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "thread_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "inbox_id",
+ "thread_id",
+ "received_at",
+ "processing_status",
+ "labels",
+ "from",
+ "subject"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "attachments": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "content_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "disposition": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "filename": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "mime_type": {
+ "type": "string"
+ },
+ "related": {
+ "type": "boolean"
+ },
+ "size": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "filename",
+ "size",
+ "mime_type",
+ "disposition",
+ "content_id",
+ "related"
+ ],
+ "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": {
+ "description": "complete: body is not truncated. truncated: get_message returns the whole body. not_ready: no parsed content yet; while processing_status is pending or processing, read again shortly; when it is failed, read the original with read_raw_message. plain_text_unavailable: read format full if html_available.",
+ "enum": [
+ "not_ready",
+ "plain_text_unavailable",
+ "truncated",
+ "complete"
+ ],
+ "type": "string"
+ },
+ "cc": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "address"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "group": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "address"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "group"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "from": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "address"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "group": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "address"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "group"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "html_available": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "inbox_id": {
+ "type": "string"
+ },
+ "labels": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "processing_status": {
+ "enum": [
+ "pending",
+ "processing",
+ "ready",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "received_at": {
+ "description": "Absolute ISO 8601 service timestamp in UTC (Z), with millisecond precision.",
+ "type": "string"
+ },
+ "reply": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "in_reply_to": {
+ "type": "string"
+ },
+ "subject": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "to": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "in_reply_to",
+ "to",
+ "subject"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Suggested in_reply_to, recipients and subject for send_message. to comes from sender-written headers: check it against the assignment."
+ },
+ "reply_to": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "address"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "group": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "address"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "group"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "subject": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "thread_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "to": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "address"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "group": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "address"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "group"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "inbox_id",
+ "thread_id",
+ "received_at",
+ "processing_status",
+ "labels",
+ "from",
+ "reply_to",
+ "to",
+ "cc",
+ "subject",
+ "body",
+ "body_source",
+ "body_status",
+ "html_available",
+ "attachments",
+ "reply"
+ ],
+ "type": "object"
+ }
+]