{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/security-scorecard/main/json-schema/security-scorecard-likelihood-assessment-v2-get-response-schema.json",
  "title": "LikelihoodAssessmentV2GetResponse",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/security-scorecard-securityscorecard-openapi.yml#/components/schemas/LikelihoodAssessmentV2GetResponse",
  "allOf": [
    {
      "title": "LikelihoodAssessmentV2Base",
      "type": "object",
      "properties": {
        "request_id": {
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "description": "Unique identifier for the request",
          "type": "string"
        },
        "score": {
          "type": "object",
          "properties": {
            "start": {
              "type": "number",
              "description": "Initial score"
            },
            "end": {
              "type": "number",
              "description": "End score"
            },
            "rating": {
              "type": "string",
              "description": "Rating type"
            }
          },
          "required": [
            "start",
            "end",
            "rating"
          ]
        },
        "rating_breakdown": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "info_security_objective": {
                "type": "string",
                "description": "Information Security Objective"
              },
              "score": {
                "type": "number",
                "description": "Score"
              },
              "rating": {
                "type": "string",
                "description": "Rating"
              }
            },
            "required": [
              "info_security_objective",
              "score",
              "rating"
            ]
          }
        },
        "rating_breakdown_info": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "info_security_objective": {
                "type": "string",
                "description": "Information Security Objective"
              },
              "info_security_activity": {
                "type": "string",
                "description": "Information Security Activity"
              },
              "score": {
                "type": "number",
                "description": "Score"
              },
              "rating": {
                "type": "string",
                "description": "Rating"
              }
            },
            "required": [
              "info_security_objective",
              "score",
              "rating",
              "info_security_activity"
            ]
          }
        },
        "enhance_information_security_activity": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "info_security_activity": {
                "type": "string",
                "description": "Information security activity"
              },
              "info_security_objective": {
                "type": "string",
                "description": "Information security objective"
              },
              "recommendation": {
                "type": "string",
                "description": "Recommendation"
              },
              "criticality": {
                "type": "string",
                "description": "Criticality"
              },
              "current_information": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "type": "string",
                      "description": "title of the issue type"
                    },
                    "key": {
                      "type": "string",
                      "description": "key of the issue type"
                    }
                  },
                  "required": [
                    "title",
                    "key"
                  ]
                }
              },
              "findings_count": {
                "type": "number",
                "description": "Finding count"
              }
            },
            "required": [
              "info_security_objective",
              "info_security_activity",
              "recommendation",
              "criticality",
              "current_information"
            ]
          }
        },
        "ransomware_and_data_breach_incidents": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "severity": {
                "type": "string",
                "description": "Current information"
              },
              "no_of_issues": {
                "type": "number",
                "description": "Current information"
              },
              "indicator_key": {
                "type": "string",
                "description": "indicator key"
              },
              "information_security_indicator": {
                "type": "string",
                "description": "Information security indicator"
              }
            },
            "required": [
              "severity",
              "no_of_issues",
              "indicator_key",
              "information_security_indicator"
            ]
          }
        },
        "suspicious_activity": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "severity": {
                "type": "string",
                "description": "Severity"
              },
              "no_of_issues": {
                "type": "number",
                "description": "No of issues"
              },
              "indicator_key": {
                "type": "string",
                "description": "indicator key"
              },
              "information_security_indicator": {
                "type": "string",
                "description": "Information security indicator"
              }
            },
            "required": [
              "severity",
              "no_of_issues",
              "indicator_key",
              "information_security_indicator"
            ]
          }
        },
        "exposed_services_to_investigate": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "severity": {
                "type": "string",
                "description": "Severity"
              },
              "no_of_issues": {
                "type": "number",
                "description": "No of issues"
              },
              "indicator_key": {
                "type": "string",
                "description": "indicator key"
              },
              "information_security_indicator": {
                "type": "string",
                "description": "Information security indicator"
              }
            },
            "required": [
              "severity",
              "no_of_issues",
              "indicator_key",
              "information_security_indicator"
            ]
          }
        }
      },
      "required": [
        "score",
        "rating_breakdown",
        "rating_breakdown_info",
        "enhance_information_security_activity",
        "ransomware_and_data_breach_incidents",
        "suspicious_activity",
        "exposed_services_to_investigate"
      ]
    },
    {
      "type": "object",
      "properties": {
        "vulnerabilities_to_address": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "cve_nvd_severity": {
                "type": "string",
                "description": "Current information"
              },
              "no_of_vulnerabilities": {
                "type": "number",
                "description": "Current information"
              },
              "no_of_cisa_known_vulnerabilities": {
                "type": "number",
                "description": "Information security indicator"
              }
            },
            "required": [
              "cve_nvd_severity",
              "no_of_vulnerabilities",
              "no_of_cisa_known_vulnerabilities"
            ]
          }
        }
      }
    }
  ]
}