{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fortify/main/json-schema/fortify-report-definition-list-response-schema.json",
  "title": "ReportDefinitionListResponse",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fortify-reports-api-openapi.yml#/components/schemas/ReportDefinitionListResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ReportDefinition"
      }
    },
    "count": {
      "type": "integer",
      "format": "int32"
    }
  },
  "$defs": {
    "ReportDefinition": {
      "type": "object",
      "description": "A report definition template",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int64",
          "description": "Unique identifier"
        },
        "name": {
          "type": "string",
          "description": "Report name"
        },
        "templateDocId": {
          "type": "integer",
          "format": "int64",
          "description": "Template document identifier"
        },
        "type": {
          "type": "string",
          "description": "Report type",
          "enum": [
            "ISSUE",
            "PROJECT",
            "PORTFOLIO"
          ]
        },
        "parameters": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "identifier": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}