{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kenna-security/json-schema/kenna-security-show-top-fix-groups-schema-schema.json",
  "title": "show_top_fix_groups_schema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kenna-security-asset-groups-api-openapi.yml#/components/schemas/show_top_fix_groups_schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32"
    },
    "name": {
      "type": "string"
    },
    "risk_meter_score": {
      "type": "integer",
      "format": "int32"
    },
    "top_fixes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "fix_group_number": {
            "type": "integer",
            "format": "int32"
          },
          "risk_score_reduction": {
            "type": "integer",
            "format": "int32"
          },
          "fixes": {
            "$ref": "#/$defs/top_fixes_info_schema"
          }
        }
      }
    }
  },
  "$defs": {
    "top_fixes_info_schema": {
      "type": "object",
      "properties": {
        "assets": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32",
                "description": "The asset ID."
              },
              "application": {
                "type": "string",
                "description": "Asset's Application name.  The value will be `null` if not used."
              },
              "database": {
                "type": "string",
                "description": "Asset's database name.  The value will be `null` if not used."
              },
              "display_locator": {
                "type": "string",
                "description": "Indicates which locator is to be displayed in the Explore UI."
              },
              "ec2": {
                "type": "string",
                "description": "Asset's Amazon EC2 name.  The value will be `null` if not used."
              },
              "file": {
                "type": "string",
                "description": "Asset's file name.  The value will be `null` if not used."
              },
              "fqdn": {
                "type": "string",
                "description": "The Fully Qualified Domain Name of the asset.  The value will be `null` if not used."
              },
              "hostname": {
                "type": "string",
                "description": "The host name of the asset.  The value will be `null` if not used"
              },
              "ip_address": {
                "type": "string",
                "description": "The IP address of the asset.  The value will be `null` if not used."
              },
              "netbios": {
                "type": "string",
                "description": "Net BIOS version.  The value will be `null` if not used."
              },
              "locator": {
                "type": "string",
                "description": "Value associated with the primary locator of the asset."
              },
              "mac_address": {
                "type": "string",
                "description": "The Media Access Control address of the asset.  The value will be `null` if not used."
              },
              "operating_system": {
                "type": "string",
                "description": "The asset's operating system.  The value will be `null` if not available."
              },
              "url": {
                "type": "string",
                "description": "The asset's URL.  The value will be `null` if not used."
              }
            }
          }
        },
        "category": {
          "type": "string"
        },
        "consequence": {
          "type": "string"
        },
        "cves": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "diagnosis": {
          "type": "string"
        },
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "solution": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "urls": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}