{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/checkmarx/main/json-schema/checkmarx-query-schema.json",
  "title": "Query",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/checkmarx-queries-api-openapi.yml#/components/schemas/Query",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Query unique identifier"
    },
    "name": {
      "type": "string",
      "description": "Query name"
    },
    "group": {
      "type": "string",
      "description": "Query group"
    },
    "language": {
      "type": "string",
      "description": "Target programming language"
    },
    "severity": {
      "type": "string",
      "enum": [
        "High",
        "Medium",
        "Low",
        "Info"
      ],
      "description": "Default severity"
    },
    "cweId": {
      "type": "integer",
      "description": "Associated CWE identifier"
    },
    "isCustom": {
      "type": "boolean",
      "description": "Whether this is a custom query"
    }
  }
}