{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/SearchJob", "title": "SearchJob", "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier for the search job" }, "query": { "type": "string", "description": "The search query that was executed" }, "status": { "type": "string", "description": "The current job status", "enum": [ "running", "completed", "failed", "cancelled" ] }, "dataset": { "type": "string", "description": "The dataset being searched" }, "startTime": { "type": "integer", "description": "Job start time as a Unix timestamp" }, "endTime": { "type": "integer", "description": "Job end time as a Unix timestamp" }, "numResults": { "type": "integer", "description": "Number of results found" }, "numScanned": { "type": "integer", "description": "Number of events scanned" }, "error": { "type": "string", "description": "Error message if the job failed" } } }