{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/jfrog/main/json-schema/jfrog-build-summary-schema.json",
  "title": "BuildSummary",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/jfrog-summary-api-openapi.yml#/components/schemas/BuildSummary",
  "type": "object",
  "properties": {
    "build": {
      "type": "object",
      "properties": {
        "build_name": {
          "type": "string"
        },
        "build_number": {
          "type": "string"
        }
      }
    },
    "issues": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Issue"
      }
    }
  },
  "$defs": {
    "Issue": {
      "type": "object",
      "properties": {
        "issue_id": {
          "type": "string"
        },
        "severity": {
          "type": "string",
          "enum": [
            "Low",
            "Medium",
            "High",
            "Critical"
          ]
        },
        "summary": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "issue_type": {
          "type": "string"
        },
        "provider": {
          "type": "string"
        },
        "cves": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "cve": {
                "type": "string"
              },
              "cvss_v2_score": {
                "type": "string"
              },
              "cvss_v3_score": {
                "type": "string"
              }
            }
          }
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "impacted_artifacts": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "display_name": {
                "type": "string"
              },
              "path": {
                "type": "string"
              },
              "sha256": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}