{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-image-builder/refs/heads/main/json-schema/ec2-image-builder-image-scan-state-schema.json",
  "title": "ImageScanState",
  "description": "Shows the vulnerability scan status for a specific image, and the reason for that status.",
  "type": "object",
  "properties": {
    "status": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ImageScanStatus"
        },
        {
          "description": "The current state of vulnerability scans for the image."
        }
      ]
    },
    "reason": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonEmptyString"
        },
        {
          "description": "The reason for the scan status for the image."
        }
      ]
    }
  }
}