{
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",

  "title": "Input Parameters",
  "properties": {
    "port": {
      "title": "Backend port",
      "description": "Port where the service is running on the backend",
      "default": 80,
      "type": "integer"
    },
    "frontend-custom_domain": {
      "title": "Custom Domain",
      "description": "Custom Domain to use for the website",
      "type": "string",
      "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,6}$"
    },

    "frontend-server-alias": {
      "title": "Server Alias",
      "description": "Server Alias List separated by space",
      "type": "string",
      "default": ""
    },

    "frontend-type": {
      "title": "Backend Type",
      "description": "Type of slave. If redirect, the slave will redirect to the given url. If zope, the rewrite rules will be compatible with Virtual Host Monster",
      "type": "string",
      "default": "",
      "enum": ["", "zope", "redirect"]
    },

    "frontend-path": {
      "title": "Backend Path",
      "description": "Path to proxy to in the backend",
      "type": "string",
      "default": ""
    },

    "frontend-default-path": {
      "title": "Default Path",
      "description": "Provide default path to redirect user to",
      "type": "string",
      "default": ""
    },

    "frontend-https-only": {
      "title": "HTTPS Only",
      "description": "If set to true, http request are redirect to https",
      "type": "boolean",
      "default": false
    },

    "frontend-enable_cache": {
      "title": "Enable Cache",
      "description": "If set to true, the cache is used",
      "type": "boolean",
      "default": false
    }
  }
}