{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/edge-network/json-schema/edge-network-vm-schema.json",
  "title": "Vm",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/edge-network-openapi.json#/components/schemas/Vm",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "description": "Lifecycle status. Poll until \"running\" before attempting SSH."
    },
    "size": {
      "type": "string",
      "enum": [
        "nano",
        "small",
        "medium",
        "large",
        "xlarge"
      ]
    },
    "vcpu": {
      "type": "number"
    },
    "ram": {
      "type": "number",
      "description": "RAM in GB."
    },
    "disk": {
      "type": "number",
      "description": "Disk in GB."
    },
    "region": {
      "type": "string"
    },
    "os": {
      "type": "string"
    },
    "network": {
      "type": "object",
      "properties": {
        "publicIp": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  },
  "required": [
    "id",
    "name",
    "status"
  ]
}