{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gmi-cloud/main/json-schema/gmi-cloud-create-sandbox-control-request-schema.json",
  "title": "CreateSandboxControlRequest",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gmi-cloud-sandbox-openapi.yml#/components/schemas/CreateSandboxControlRequest",
  "type": "object",
  "required": [
    "template_id"
  ],
  "properties": {
    "template_id": {
      "type": "string",
      "description": "Template identifier or name. A snapshot-as-template `snapshotID` is also valid here."
    },
    "idc_name": {
      "type": "string",
      "description": "Target data center name, e.g. us-central1-c. Optional: when omitted, the organization's configured default data center is used (maintained by the platform administrator); if the organization has no default configured, the request returns 400. Note that Templates are bound to a data center: the effective data center (whether explicit or default) must match the one that owns the Template referenced by `template_id`, otherwise the request is treated as template-not-found.\n"
    },
    "timeout": {
      "type": "integer",
      "format": "int64",
      "description": "Time-to-live in seconds. When omitted or 0 or less, 300 seconds is used."
    },
    "env_vars": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Customer-defined key/value pairs; the platform does not interpret them. The list endpoint can filter by them."
    }
  }
}