{
  "$defs": {
    "ParsedTemplateFinding": {
      "additionalProperties": false,
      "properties": {
        "title": {
          "maxLength": 255,
          "title": "Title",
          "type": "string"
        },
        "category": {
          "anyOf": [
            {
              "maxLength": 128,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Category"
        },
        "attack_class": {
          "anyOf": [
            {
              "maxLength": 128,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Attack Class"
        },
        "custom_rating_sum": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Custom Rating Sum"
        },
        "rating": {
          "anyOf": [
            {
              "enum": [
                "Critical",
                "High",
                "Medium",
                "Low",
                "Info"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": "Info",
          "title": "Rating"
        },
        "cvss2_score": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cvss2 Score"
        },
        "cvss2_vector": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cvss2 Vector"
        },
        "cvss3_score": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cvss3 Score"
        },
        "cvss3_vector": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cvss3 Vector"
        },
        "cvss4_score": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cvss4 Score"
        },
        "cvss4_vector": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cvss4 Vector"
        },
        "pci_compliant": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pci Compliant"
        },
        "pci_status": {
          "anyOf": [
            {
              "enum": [
                "Pass",
                "Fail",
                ""
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pci Status"
        },
        "exploit_available": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Exploit Available"
        },
        "background": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Background"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Description"
        },
        "recommendation": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Recommendation"
        },
        "summary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Summary"
        },
        "retest_update": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Retest Update"
        },
        "custom_field_values": {
          "additionalProperties": {
            "type": "string"
          },
          "title": "Custom Field Values",
          "type": "object"
        },
        "approval_status": {
          "enum": [
            "Draft",
            "Approved",
            "Deprecated"
          ],
          "title": "Approval Status",
          "type": "string"
        },
        "reference": {
          "maxLength": 255,
          "title": "Reference",
          "type": "string"
        },
        "tool_results": {
          "items": {
            "$ref": "#/$defs/ParsedToolResult"
          },
          "title": "Tool Results",
          "type": "array"
        },
        "references": {
          "items": {
            "$ref": "#/$defs/ParsedTemplateFindingReference"
          },
          "title": "References",
          "type": "array"
        }
      },
      "required": [
        "title",
        "custom_field_values",
        "approval_status",
        "reference",
        "tool_results",
        "references"
      ],
      "title": "ParsedTemplateFinding",
      "type": "object"
    },
    "ParsedTemplateFindingReference": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "maxLength": 32,
          "title": "Type",
          "type": "string"
        },
        "reference": {
          "maxLength": 255,
          "title": "Reference",
          "type": "string"
        },
        "title": {
          "maxLength": 255,
          "title": "Title",
          "type": "string"
        },
        "description": {
          "default": "",
          "title": "Description",
          "type": "string"
        },
        "url": {
          "default": "",
          "title": "Url",
          "type": "string"
        }
      },
      "required": [
        "type",
        "reference",
        "title"
      ],
      "title": "ParsedTemplateFindingReference",
      "type": "object"
    },
    "ParsedToolResult": {
      "additionalProperties": false,
      "properties": {
        "tool": {
          "maxLength": 32,
          "title": "Tool",
          "type": "string"
        },
        "identifier": {
          "maxLength": 128,
          "title": "Identifier",
          "type": "string"
        },
        "title": {
          "default": "",
          "maxLength": 512,
          "title": "Title",
          "type": "string"
        },
        "rating": {
          "anyOf": [
            {
              "enum": [
                "Critical",
                "High",
                "Medium",
                "Low",
                "Info"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": "Info",
          "title": "Rating"
        },
        "ignore": {
          "default": false,
          "title": "Ignore",
          "type": "boolean"
        }
      },
      "required": [
        "tool",
        "identifier"
      ],
      "title": "ParsedToolResult",
      "type": "object"
    }
  },
  "items": {
    "$ref": "#/$defs/ParsedTemplateFinding"
  },
  "title": "ParsedTemplateFindingList",
  "type": "array"
}
