Start to test all json schema and files.
[slapos.git] / software / varnish / instance-varnish-input-schema.json
1 {
2   "$schema": "http://json-schema.org/draft-04/schema#",
3   "extends": "./schema-definitions.json#",
4   "properties": {
5     "tcpv4-port": {
6       "allOf": [{
7         "$ref": "#/definitions/tcpv4port"
8       }, {
9         "description": "Start allocating ports at this value, going upward",
10         "default": 6001
11       }]
12     },
13     "backend-url": {
14       "description": "The backend url that varnish will cache",
15       "type": "string"
16     },
17     "web-checker": {
18       "description": "Controls automated cache checker, disabled if null or empty",
19       "properties": {
20         "frontend-url": {
21           "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",
22           "default": "http://%(ip)s:%(port)s/",
23           "type": "string"
24         },
25         "mail-address": {
26           "description": "Email address to which web checker result is sent",
27           "type": "string"
28         },
29         "smtp-host": {
30           "description": "The smtp server to be used to send the web checker result",
31           "type": "string"
32         }
33       },
34       "type": "object"
35     }
36   }
37 }