{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudtrail/json-schema/amazon-cloudtrail-start-query-request-schema.json",
  "title": "StartQueryRequest",
  "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/StartQueryRequest",
  "type": "object",
  "properties": {
    "QueryStatement": {
      "type": "string",
      "description": "The SQL code of your query."
    },
    "DeliveryS3Uri": {
      "type": "string",
      "description": "The URI for the S3 bucket where CloudTrail delivers the query results."
    },
    "QueryAlias": {
      "type": "string",
      "description": "The alias that identifies a query template."
    },
    "QueryParameters": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The query parameters for the specified QueryAlias."
    },
    "EventDataStoreOwnerAccountId": {
      "type": "string",
      "description": "The account ID of the event data store owner."
    }
  }
}