{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kenna-security/json-schema/kenna-security-application-put-response-schema-schema.json",
  "title": "application_put_response_schema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kenna-security-applications-api-openapi.yml#/components/schemas/application_put_response_schema",
  "type": "object",
  "properties": {
    "application": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "default": 0
        },
        "name": {
          "type": "string"
        },
        "repo_url": {
          "type": "string"
        },
        "host_name": {
          "type": "string"
        },
        "owner": {
          "type": "string"
        },
        "team_name": {
          "type": "string"
        },
        "business_units": {
          "type": "string"
        },
        "notes": {
          "type": "string"
        },
        "risk_meter_score": {
          "type": "integer",
          "default": 0
        },
        "vulnerability_count": {
          "type": "integer",
          "default": 0
        },
        "asset_count": {
          "type": "integer",
          "default": 0
        },
        "total_vulnerability_count": {
          "type": "integer",
          "default": 0
        },
        "external_facing": {
          "type": "boolean",
          "default": true
        },
        "priority": {
          "type": "integer",
          "default": 0
        },
        "open_vulnerability_count_by_risk_level": {
          "type": "object",
          "properties": {
            "high": {
              "type": "integer",
              "default": 0
            },
            "medium": {
              "type": "integer",
              "default": 0
            },
            "low": {
              "type": "integer",
              "default": 0
            },
            "total": {
              "type": "integer",
              "default": 0
            }
          }
        },
        "historical_risk_meter_scores": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "date": {
                "type": "string"
              },
              "score": {
                "type": "integer",
                "default": 0
              }
            }
          }
        },
        "identifiers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}