{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sap-commerce-cloud/json-schema/sap-commerce-cloud-image-list-schema.json",
  "title": "ImageList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sap-commerce-cloud-media-api-openapi.yml#/components/schemas/ImageList",
  "type": "object",
  "properties": {
    "images": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Image"
      }
    }
  },
  "$defs": {
    "Image": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "Image URL"
        },
        "altText": {
          "type": "string",
          "description": "Alternative text"
        },
        "format": {
          "type": "string",
          "description": "Image format (thumbnail, product, zoom, cartIcon)"
        },
        "imageType": {
          "type": "string",
          "enum": [
            "PRIMARY",
            "GALLERY"
          ],
          "description": "Image type"
        },
        "galleryIndex": {
          "type": "integer",
          "description": "Position in gallery"
        }
      }
    }
  }
}