{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CreateEntryRequest",
  "description": "CreateEntryRequest schema from Palo Alto Networks Cortex XSOAR REST API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/cortex-xsoar-api-create-entry-request-schema.json",
  "type": "object",
  "properties": {
    "investigationId": {
      "type": "string",
      "description": "ID of the investigation to add the entry to."
    },
    "data": {
      "type": "string",
      "description": "Entry content text or command to execute."
    },
    "markdown": {
      "type": "boolean",
      "description": "Whether to render the content as Markdown.",
      "default": false
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "investigationId",
    "data"
  ]
}
