{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kinesis/json-schema/kinesis-image-generation-destination-config-schema.json",
  "title": "ImageGenerationDestinationConfig",
  "description": "The structure that contains the information required to deliver images to a customer.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kinesis-update-image-generation-configuration-api-openapi.yml#/components/schemas/ImageGenerationDestinationConfig",
  "type": "object",
  "required": [
    "Uri",
    "DestinationRegion"
  ],
  "properties": {
    "Uri": {
      "allOf": [
        {
          "$ref": "#/$defs/DestinationUri"
        },
        {
          "description": "The Uniform Resource Identifier (URI) that identifies where the images will be delivered."
        }
      ]
    },
    "DestinationRegion": {
      "allOf": [
        {
          "$ref": "#/$defs/DestinationRegion"
        },
        {
          "description": "The AWS Region of the S3 bucket where images will be delivered. This <code>DestinationRegion</code> must match the Region where the stream is located."
        }
      ]
    }
  },
  "$defs": {
    "DestinationRegion": {
      "type": "string",
      "pattern": "^[a-z]+(-[a-z]+)?-[a-z]+-[0-9]$",
      "minLength": 9,
      "maxLength": 14
    },
    "DestinationUri": {
      "type": "string",
      "pattern": "^[a-zA-Z_0-9]+:(//)?([^/]+)/?([^*]*)$",
      "minLength": 1,
      "maxLength": 255
    }
  }
}