{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/neckrez-tech/json-schema/neckrez-tech-deploy-in-schema.json",
  "title": "DeployIn",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/neckrez-tech-openapi.json#/components/schemas/DeployIn",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1,
      "title": "Name"
    },
    "provider": {
      "type": "string",
      "title": "Provider"
    },
    "location_code": {
      "type": "string",
      "title": "Location Code"
    },
    "os_id": {
      "type": "string",
      "title": "Os Id",
      "default": ""
    },
    "os_version": {
      "type": "string",
      "title": "Os Version",
      "default": ""
    },
    "app_id": {
      "type": "string",
      "title": "App Id",
      "default": ""
    },
    "plan_id": {
      "type": "string",
      "title": "Plan Id"
    },
    "root_password": {
      "type": "string",
      "title": "Root Password",
      "default": ""
    },
    "addon_auto_backups": {
      "type": "boolean",
      "title": "Addon Auto Backups",
      "default": false
    },
    "addon_ddos": {
      "type": "boolean",
      "title": "Addon Ddos",
      "default": false
    },
    "addon_limited_user": {
      "type": "boolean",
      "title": "Addon Limited User",
      "default": false
    },
    "cloud_init": {
      "type": "string",
      "maxLength": 16384,
      "title": "Cloud Init",
      "default": ""
    },
    "ssh_key": {
      "type": "string",
      "maxLength": 8192,
      "title": "Ssh Key",
      "default": ""
    },
    "billing": {
      "type": "string",
      "enum": [
        "hourly",
        "monthly"
      ],
      "title": "Billing",
      "default": "hourly"
    }
  },
  "type": "object",
  "required": [
    "name",
    "provider",
    "location_code",
    "plan_id"
  ]
}