Microsoft Azure · Schema

Text

The text content that is part of a message.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
type string Always `text`.
text object
View JSON Schema on GitHub

JSON Schema

microsoft-azure-messagecontenttextobject-schema.json Raw ↑
{
  "$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"
  ]
}