{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kenna-security/json-schema/kenna-security-applications-historical-vuln-counts-by-risk-level-schema-schema.json",
  "title": "applications_historical_vuln_counts_by_risk_level_schema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kenna-security-application-reporting-api-openapi.yml#/components/schemas/applications_historical_vuln_counts_by_risk_level_schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The application ID."
    },
    "name": {
      "type": "string",
      "description": "The application name."
    },
    "historical_vulnerability_count_by_risk": {
      "$ref": "#/$defs/low_medium_high_counts_schema"
    }
  },
  "$defs": {
    "low_medium_high_counts_schema": {
      "type": "object",
      "description": "The key is a year, month, and day (YYYY-MM-DD).",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "low": {
            "type": "number",
            "format": "float",
            "description": "The low count."
          },
          "medium": {
            "type": "number",
            "format": "float",
            "description": "The medium count."
          },
          "high": {
            "type": "number",
            "format": "float",
            "description": "The high count."
          }
        }
      }
    }
  }
}