{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dremiocorporation/main/json-schema/dremiocorporation-post-v0-projects-projectid-engines-request-schema.json",
  "title": "PostV0ProjectsProjectidEnginesRequest",
  "x-generated": "2026-10-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/dremiocorporation-openapi-generated.yml#/components/schemas/PostV0ProjectsProjectidEnginesRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The user-defined name for an engine."
    },
    "size": {
      "type": "string",
      "description": "The size of the engine."
    },
    "minReplicas": {
      "type": "integer",
      "description": "The minimum number of engine replicas that will be enabled at any given time."
    },
    "maxReplicas": {
      "type": "integer",
      "description": "The maximum number of engine replicas that will be enabled at any given time."
    },
    "autoStopDelaySeconds": {
      "type": "integer",
      "description": "The time (in seconds) that auto-stop is delayed."
    },
    "queueTimeLimitSeconds": {
      "type": "integer",
      "description": "The maximum amount of time (in seconds) that a query will wait in the engine's queue before it is canceled."
    },
    "runtimeLimitSeconds": {
      "type": "integer",
      "description": "The maximum amount of time (in seconds) that a query can run before being terminated."
    },
    "drainTimeLimitSeconds": {
      "type": "integer",
      "description": "The maximum amount of time (in seconds) that an engine replica will continue to run after the engine is resized, disabled, or deleted before it is terminated."
    },
    "description": {
      "type": "string",
      "description": "The description for the engine."
    },
    "maxConcurrency": {
      "type": "integer",
      "description": "The maximum number of concurrent queries that an engine replica can handle."
    },
    "requestId": {
      "type": "string",
      "description": "Idempotency key (UUID)."
    }
  },
  "required": [
    "name",
    "size",
    "minReplicas",
    "maxReplicas",
    "autoStopDelaySeconds",
    "queueTimeLimitSeconds",
    "runtimeLimitSeconds",
    "drainTimeLimitSeconds",
    "maxConcurrency",
    "requestId"
  ]
}