{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-sitewise/json-schema/amazon-iot-sitewise-describe-search-response-schema.json",
  "title": "DescribeSearchResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-sitewise-searches-api-openapi.yml#/components/schemas/DescribeSearchResponse",
  "type": "object",
  "properties": {
    "searchId": {
      "type": "string",
      "description": "The unique identifier of the search."
    },
    "workspaceName": {
      "type": "string",
      "description": "The name of the workspace the search runs against."
    },
    "status": {
      "type": "string",
      "enum": [
        "QUEUED",
        "RUNNING",
        "SUCCEEDED",
        "FAILED"
      ],
      "description": "The current status of the search."
    },
    "queryStatement": {
      "type": "string",
      "description": "The natural-language query that was submitted for the search."
    },
    "searchType": {
      "type": "string",
      "enum": [
        "DEEP",
        "QUICK"
      ],
      "description": "The search strategy used for the search."
    },
    "statusReason": {
      "type": "string",
      "description": "A human-readable explanation of the current status. Populated when the search has FAILED."
    },
    "startedAt": {
      "type": "string",
      "description": "The time at which the search was started."
    },
    "groupId": {
      "type": "string",
      "description": "The group identifier associated with the search, if one was supplied on the request."
    }
  },
  "required": [
    "searchId",
    "workspaceName",
    "status",
    "queryStatement",
    "searchType"
  ]
}