{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tilaa/json-schema/tilaa-post-v1-virtual-machines-request-schema.json",
  "title": "PostV1VirtualMachinesRequest",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/tilaa-openapi-generated.yml#/components/schemas/PostV1VirtualMachinesRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the VPS (Auto-generated if unspecified)."
    },
    "dns_name": {
      "type": "string",
      "description": "DNS name of the VPS (Auto-generated as [name].tilaa.cloud if unspecified)."
    },
    "ram": {
      "type": "string",
      "description": "RAM size in MB."
    },
    "storage": {
      "type": "string",
      "description": "Storage size in GB."
    },
    "storage_type": {
      "type": "string",
      "description": "Storage type (hdd or ssd)."
    },
    "template": {
      "type": "string",
      "description": "Template id to provision."
    },
    "snapshot": {
      "type": "string",
      "description": "Snapshot id to provision (Overrides template if specified)."
    },
    "site": {
      "type": "string",
      "description": "Site id to provision in."
    },
    "cpu_count": {
      "type": "string",
      "description": "Number of CPU cores."
    },
    "cpu_cap": {
      "type": "string",
      "description": "CPU capacity limit in percent."
    }
  },
  "required": [
    "ram",
    "storage",
    "storage_type",
    "template"
  ]
}