{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-test-labs/json-schema/azure-test-labs-gallery-image-list-schema.json",
  "title": "GalleryImageList",
  "description": "The response of a list operation.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-test-labs-galleryimages-api-openapi.yml#/components/schemas/GalleryImageList",
  "properties": {
    "nextLink": {
      "description": "Link for next set of results.",
      "type": "string"
    },
    "value": {
      "description": "Results of the list operation.",
      "items": {
        "$ref": "#/$defs/GalleryImage"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "GalleryImage": {
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ],
      "description": "A gallery image.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/GalleryImageProperties",
          "description": "The properties of the resource.",
          "x-ms-client-flatten": true
        }
      },
      "required": [
        "properties"
      ],
      "type": "object"
    },
    "GalleryImageProperties": {
      "description": "Properties of a gallery image.",
      "properties": {
        "author": {
          "description": "The author of the gallery image.",
          "type": "string"
        },
        "createdDate": {
          "description": "The creation date of the gallery image.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "description": {
          "description": "The description of the gallery image.",
          "type": "string"
        },
        "enabled": {
          "description": "Indicates whether this gallery image is enabled.",
          "type": "boolean"
        },
        "icon": {
          "description": "The icon of the gallery image.",
          "type": "string"
        },
        "imageReference": {
          "$ref": "#/$defs/GalleryImageReference",
          "description": "The image reference of the gallery image."
        },
        "isPlanAuthorized": {
          "description": "Indicates if the plan has been authorized for programmatic deployment.",
          "type": "boolean"
        },
        "planId": {
          "description": "The third party plan that applies to this image",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GalleryImageReference": {
      "description": "The reference information for an Azure Marketplace image.",
      "properties": {
        "offer": {
          "description": "The offer of the gallery image.",
          "type": "string"
        },
        "osType": {
          "description": "The OS type of the gallery image.",
          "type": "string"
        },
        "publisher": {
          "description": "The publisher of the gallery image.",
          "type": "string"
        },
        "sku": {
          "description": "The SKU of the gallery image.",
          "type": "string"
        },
        "version": {
          "description": "The version of the gallery image.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Resource": {
      "description": "An Azure resource.",
      "properties": {
        "id": {
          "description": "The identifier of the resource.",
          "readOnly": true,
          "type": "string"
        },
        "location": {
          "description": "The location of the resource.",
          "type": "string"
        },
        "name": {
          "description": "The name of the resource.",
          "readOnly": true,
          "type": "string"
        },
        "tags": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "The tags of the resource.",
          "type": "object"
        },
        "type": {
          "description": "The type of the resource.",
          "readOnly": true,
          "type": "string"
        }
      },
      "type": "object",
      "x-ms-azure-resource": true
    }
  }
}