{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "extends": "./schema-definitions.json#",
  "properties": {
    "tcpv4-port": {
      "allOf": [{
        "$ref": "#/definitions/tcpv4port"
      }, {
        "description": "Start allocating ports at this value, going upward",
        "default": 6001
      }]
    },
    "backend-url": {
      "description": "The backend url that varnish will cache",
      "type": "string"
    },
    "web-checker": {
      "description": "Controls automated cache checker, disabled if null or empty"
      "properties": {
        "frontend-url": {
          "description": "Override entry-point-url web checker will check the HTTP headers of all links in the web site, '%(ip)s' and '%(port)s' being substituted with varnish's listening ip and port, respectively",
          "default": "http://%(ip)s:%(port)s/",
          "type": "string"
        },
        "mail-address": {
          "description": "Email address to which web checker result is sent",
          "type": "string"
        },
        "smtp-host": {
          "description": "The smtp server to be used to send the web checker result",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}
