make tcpv4-port and font-url-list configurable and add json schemas.
[slapos.git] / software / cloudooo / instance-cloudoo-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": 23000
11       }]
12     },
13     "font-url-list": {
14       "description": "List of URLs from which fonts are to be downloaded",
15       "default": [],
16       "items": {
17         "type": "string"
18       },
19       "type": "array"
20     }
21     "backend-count": {
22       "description": "Number of backend cloudooo instances",
23       "default": 1,
24       "type": "integer"
25     }
26   }
27 }