Microsoft Azure · Schema

Image file

References an image [File](/docs/api-reference/files) in the content of a message.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

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

JSON Schema

microsoft-azure-messagecontentimagefileobject-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/messageContentImageFileObject",
  "title": "Image file",
  "type": "object",
  "description": "References an image [File](/docs/api-reference/files) in the content of a message.",
  "properties": {
    "type": {
      "description": "Always `image_file`.",
      "type": "string",
      "enum": [
        "image_file"
      ],
      "x-ms-enum": {
        "name": "MessageContentImageFileObjectType",
        "modelAsString": true,
        "values": [
          {
            "value": "image_file",
            "description": "The message content image file type"
          }
        ]
      }
    },
    "image_file": {
      "type": "object",
      "properties": {
        "file_id": {
          "description": "The [File](/docs/api-reference/files) ID of the image in the message content.",
          "type": "string"
        }
      },
      "required": [
        "file_id"
      ]
    }
  },
  "required": [
    "type",
    "image_file"
  ]
}