{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fortify/main/json-schema/fortify-generate-report-request-schema.json",
  "title": "GenerateReportRequest",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fortify-saved-reports-api-openapi.yml#/components/schemas/GenerateReportRequest",
  "type": "object",
  "required": [
    "name",
    "reportDefinitionId"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name for the generated report"
    },
    "reportDefinitionId": {
      "type": "integer",
      "format": "int64",
      "description": "Report definition to use"
    },
    "format": {
      "type": "string",
      "description": "Output format",
      "enum": [
        "PDF",
        "DOC",
        "XLS"
      ]
    },
    "inputReportParameters": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "identifier": {
            "type": "string"
          },
          "paramValue": {
            "type": "string"
          }
        }
      }
    }
  }
}