{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/checkmarx/main/json-schema/checkmarx-create-scan-request-schema.json", "title": "CreateScanRequest", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/checkmarx-scans-api-openapi.yml#/components/schemas/CreateScanRequest", "type": "object", "required": [ "project", "type", "handler" ], "properties": { "project": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "string", "format": "uuid", "description": "Project ID to scan" } } }, "type": { "type": "string", "enum": [ "git", "upload" ], "description": "Source type" }, "handler": { "type": "object", "properties": { "repoUrl": { "type": "string", "description": "Git repository URL (for git type)" }, "branch": { "type": "string", "description": "Branch to scan (for git type)" }, "uploadUrl": { "type": "string", "description": "Pre-signed upload URL (for upload type)" } } }, "config": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "sast", "sca", "kics", "apisec" ] }, "value": { "type": "object", "additionalProperties": true } } }, "description": "Per-engine scan configuration" }, "tags": { "type": "object", "additionalProperties": { "type": "string" } } } }