{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/messageContentTextObject", "title": "Text", "type": "object", "description": "The text content that is part of a message.", "properties": { "type": { "description": "Always `text`.", "type": "string", "enum": [ "text" ], "x-ms-enum": { "name": "messageContentTextObjectType", "modelAsString": true, "values": [ { "value": "text", "description": "The message content text Object type" } ] } }, "text": { "type": "object", "properties": { "value": { "description": "The data that makes up the text.", "type": "string" }, "annotations": { "type": "array", "items": { "oneOf": [ { "$ref": "#/components/schemas/messageContentTextAnnotationsFileCitationObject" }, { "$ref": "#/components/schemas/messageContentTextAnnotationsFilePathObject" } ] } } }, "required": [ "value", "annotations" ] } }, "required": [ "type", "text" ] }