{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/report.schema.json",
    "title": "Report",
    "description": "",
    "type": "object",
    "required": ["options", "reports"],
    "properties": {
        "options": {
            "type": "object"
        },
        "curl": {
            "$ref": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/curl-report.schema.json"
        },
        "openapi": {
            "$ref": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/openapi-report.schema.json"
        },
        "graphql": {
            "$ref": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/graphql-report.schema.json"
        },
        "reports": {
            "type": "array",
            "items": {
                "type": "object",
                "required": [
                    "id",
                    "name",
                    "startTime",
                    "scans",
                    "issues"
                ],
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "startTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "endTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "operation": {
                        "type": "object",
                        "required": ["id"],
                        "properties": {
                            "id": {
                                "type": "string"
                            }
                        }
                    },
                    "data": {
                        "type": "object"
                    },
                    "scans": {
                        "type": "array",
                        "items": {
                            "$ref": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/scan-report.schema.json"
                        }
                    },
                    "issues": {
                        "type": "array",
                        "items": {
                            "$ref": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/issue-report.schema.json"
                        }
                    }
                }
            }
        }
    }
}