{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudtrail/json-schema/amazon-cloudtrail-generate-query-request-schema.json",
  "title": "GenerateQueryRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudtrail-query-api-openapi.yml#/components/schemas/GenerateQueryRequest",
  "type": "object",
  "properties": {
    "EventDataStores": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The ARN (or ID suffix of the ARN) of the event data store that you want to query. You can only specify one event data store."
    },
    "Prompt": {
      "type": "string",
      "description": "The prompt that you want to use to generate the query. The prompt must be in English. For example prompts, see Example prompts in the CloudTrail user guide."
    }
  },
  "required": [
    "EventDataStores",
    "Prompt"
  ]
}