{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Instance",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "project_id",
    "network_id",
    "service_account",
    "subnet_id"
  ],
  "properties": {
    "project_id": {
      "type": "string"
    },
    "network_id": {
      "type": "string"
    },
    "service_account": {
      "type": "string"
    },
    "subnet_id": {
      "type": "string"
    },
    "image": {
      "type": "string"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "nullable": true
    },
    "name": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": [
        "ssh"
      ]
    },
    "type": {
      "type": "string",
      "default": "e2-micro"
    },
    "user_data_file": {
      "type": "string"
    },
    "zones": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": [
        "b"
      ]
    }
  }
}
