{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-management/json-schema/amazon-iot-device-management-update-dimension-response-schema.json",
  "title": "UpdateDimensionResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-management-dimensions-api-openapi.yml#/components/schemas/UpdateDimensionResponse",
  "type": "object",
  "properties": {
    "name": {
      "allOf": [
        {
          "$ref": "#/$defs/DimensionName"
        },
        {
          "description": "A unique identifier for the dimension."
        }
      ]
    },
    "arn": {
      "allOf": [
        {
          "$ref": "#/$defs/DimensionArn"
        },
        {
          "description": "The Amazon Resource Name (ARN)of the created dimension."
        }
      ]
    },
    "type": {
      "allOf": [
        {
          "$ref": "#/$defs/DimensionType"
        },
        {
          "description": "The type of the dimension."
        }
      ]
    },
    "stringValues": {
      "allOf": [
        {
          "$ref": "#/$defs/DimensionStringValues"
        },
        {
          "description": "The value or list of values used to scope the dimension. For example, for topic filters, this is the pattern used to match the MQTT topic name."
        }
      ]
    },
    "creationDate": {
      "allOf": [
        {
          "$ref": "#/$defs/Timestamp"
        },
        {
          "description": "The date and time, in milliseconds since epoch, when the dimension was initially created."
        }
      ]
    },
    "lastModifiedDate": {
      "allOf": [
        {
          "$ref": "#/$defs/Timestamp"
        },
        {
          "description": "The date and time, in milliseconds since epoch, when the dimension was most recently updated."
        }
      ]
    }
  },
  "$defs": {
    "DimensionArn": {
      "type": "string"
    },
    "DimensionName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9:_-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "DimensionStringValue": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "DimensionStringValues": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DimensionStringValue"
      },
      "minItems": 1,
      "maxItems": 100
    },
    "DimensionType": {
      "type": "string",
      "enum": [
        "TOPIC_FILTER"
      ]
    },
    "Timestamp": {
      "type": "string",
      "format": "date-time"
    }
  }
}