{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-get-errors-in-file-with-filters-schema.json",
  "title": "GetErrorsInFileWithFilters",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-errors-api-openapi.yml#/components/schemas/GetErrorsInFileWithFilters",
  "additionalProperties": false,
  "properties": {
    "CICDRunId": {
      "format": "double",
      "type": "number"
    },
    "authors": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "branch": {
      "type": [
        "string",
        "null"
      ]
    },
    "categories": {
      "items": {
        "$ref": "#/$defs/Category"
      },
      "type": "array"
    },
    "codeStatus": {
      "items": {
        "$ref": "#/$defs/CodeStatus"
      },
      "type": "array"
    },
    "excludeCategories": {
      "items": {
        "$ref": "#/$defs/Category"
      },
      "type": "array"
    },
    "filePath": {
      "type": "string"
    },
    "fileTypes": {
      "items": {
        "$ref": "#/$defs/ProjectFileType"
      },
      "type": "array"
    },
    "repository": {
      "type": "string"
    },
    "repositoryId": {
      "type": "string"
    },
    "search": {
      "$ref": "#/$defs/Search"
    },
    "severities": {
      "items": {
        "$ref": "#/$defs/Severity"
      },
      "type": "array"
    },
    "sourceTypes": {
      "items": {
        "$ref": "#/$defs/SourceType"
      },
      "type": "array"
    },
    "tags": {
      "items": {
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "key"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "types": {
      "items": {
        "$ref": "#/$defs/Type"
      },
      "type": "array"
    }
  },
  "required": [
    "repository",
    "sourceTypes",
    "filePath"
  ],
  "type": "object",
  "$defs": {
    "Category": {
      "enum": [
        "IAM",
        "Compute",
        "Monitoring",
        "Networking",
        "Kubernetes",
        "General",
        "Storage",
        "Secrets",
        "Public",
        "Vulnerabilities",
        "Drift",
        "Licenses"
      ],
      "type": "string"
    },
    "CodeStatus": {
      "enum": [
        "hasFix"
      ],
      "type": "string"
    },
    "ProjectFileType": {
      "enum": [
        "build.gradle",
        "gradle.properties",
        "build.gradle.kts",
        "pom.xml",
        "requirements.txt",
        "package-lock.json",
        "package.json",
        "bower.json",
        "go.sum",
        "go.mod"
      ],
      "type": "string"
    },
    "Search": {
      "additionalProperties": false,
      "properties": {
        "options": {
          "items": {
            "enum": [
              "path",
              "code"
            ],
            "type": "string"
          },
          "type": "array"
        },
        "text": {
          "type": "string"
        },
        "title": {
          "enum": [
            "title",
            "constructive_title",
            "descriptive_title"
          ],
          "type": "string"
        }
      },
      "required": [
        "text",
        "options"
      ],
      "type": "object"
    },
    "Severity": {
      "enum": [
        "CRITICAL",
        "HIGH",
        "MEDIUM",
        "LOW",
        "INFO"
      ],
      "type": "string"
    },
    "SourceType": {
      "enum": [
        "Github",
        "Bitbucket",
        "Gitlab",
        "AzureRepos",
        "cli",
        "AWS",
        "Azure",
        "GCP",
        "Docker",
        "githubEnterprise",
        "gitlabEnterprise",
        "bitbucketEnterprise",
        "terraformCloud",
        "githubActions",
        "circleci",
        "codebuild",
        "jenkins",
        "tfcRunTasks",
        "tfeRunTasks",
        "admissionController",
        "terraformEnterprise"
      ],
      "type": "string"
    },
    "Type": {
      "enum": [
        "Errors",
        "Suppressed",
        "Passed",
        "Fixed",
        "Awaiting Remediation"
      ],
      "type": "string"
    }
  }
}