{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/cortex-xsoar-api-create-incident-request-structure.json", "name": "CreateIncidentRequest", "description": "CreateIncidentRequest schema from Palo Alto Networks Cortex XSOAR REST API", "type": "object", "properties": { "name": { "type": "string", "description": "Incident name." }, "type": { "type": "string", "description": "Incident type name." }, "severity": { "type": "int32", "enum": [ 0, 1, 2, 3, 4, 5 ] }, "owner": { "type": "string" }, "occurred": { "type": "datetime" }, "details": { "type": "string" }, "labels": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string" }, "value": { "type": "string" } } } }, "createInvestigation": { "type": "boolean", "description": "Whether to automatically create an investigation for this incident.", "default": true }, "CustomFields": { "type": "object", "additionalProperties": true }, "rawJson": { "type": "string" } }, "required": [ "name" ] }