{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/daytona-io/json-schema/daytona-io-create-runner-schema.json",
  "title": "CreateRunner",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/daytona-io-runners-api-openapi.yml#/components/schemas/CreateRunner",
  "properties": {
    "regionId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "tags": {
      "description": "Tags to associate with the runner",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "sandboxClass": {
      "allOf": [
        {
          "$ref": "#/$defs/CreateRunnerSandboxClass"
        }
      ],
      "default": "container",
      "description": "The sandbox class supported by the runner. Defaults to container when omitted or null."
    }
  },
  "required": [
    "name",
    "regionId"
  ],
  "type": "object",
  "$defs": {
    "CreateRunnerSandboxClass": {
      "description": "The sandbox class supported by the runner. Defaults to container when omitted or null.",
      "enum": [
        "container",
        "linux-vm",
        "windows",
        null
      ],
      "type": [
        "string",
        "null"
      ]
    }
  }
}