Amazon IoT SiteWise · JSON Structure

Iot Sitewise Image File Structure

Contains an image file.

Type: object Properties: 2 Required: 2
Asset ManagementIndustrial IoTIoTTime Series Data

ImageFile is a JSON Structure definition published by Amazon IoT SiteWise, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

data type

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-sitewise/refs/heads/main/json-structure/iot-sitewise-image-file-structure.json",
  "name": "ImageFile",
  "description": "Contains an image file.",
  "type": "object",
  "properties": {
    "data": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ImageFileData"
        },
        {
          "description": "The image file contents, represented as a base64-encoded string. The file size must be less than 1 MB."
        }
      ]
    },
    "type": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ImageFileType"
        },
        {
          "description": "The file type of the image."
        }
      ]
    }
  },
  "required": [
    "data",
    "type"
  ]
}