blob: 6b1502c4a27c53a97d9fe013e7e1a29d6ebde204 [file] [log] [blame]
Michael Landof5f13c42017-02-19 12:35:04 +02001{
2 "$schema": "http://json-schema.org/draft-04/schema#",
3 "type": "object",
4 "properties": {
5 "general": {
6 "type": "object",
7 "properties": {
8 "affinityData": {
9 "type": "string",
10 "enum": [
11 "",
12 "Affinity",
13 "Anti Affinity",
14 "None"
15 ],
16 "default": ""
17 },
18 "availability": {
19 "type": "object",
20 "properties": {
21 "useAvailabilityZonesForHighAvailability": {
22 "type": "boolean",
23 "default": false
24 }
25 },
26 "additionalProperties": false
27 },
28 "regionsData": {
29 "type": "object",
30 "properties": {
31 "multiRegion": {
32 "type": "boolean",
33 "default": false
34 },
35 "regions": {
36 "type": "array",
37 "items": {
38 "type": "string",
39 "enum": [
40 "",
41 "1",
42 "2",
43 "3",
44 "4",
45 "5",
46 "6",
47 "7",
48 "8",
49 "9"
50 ],
51 "default": ""
52 }
53 }
54 },
55 "additionalProperties": false
56 },
57 "storageDataReplication": {
58 "type": "object",
59 "properties": {
60 "storageReplicationAcrossRegion": {
61 "type": "boolean",
62 "default": false
63 },
64 "storageReplicationSize": {
65 "type": "number",
66 "maximum": 100,
67 "exclusiveMaximum": true
68 },
69 "storageReplicationFrequency": {
70 "type": "number",
71 "minimum": 5
72 },
73 "storageReplicationSource": {
74 "type": "string",
75 "maxLength": 300
76 },
77 "storageReplicationDestination": {
78 "type": "string",
79 "maxLength": 300
80 }
81 },
82 "additionalProperties": false
83 }
84 },
85 "additionalProperties": false
86 }
87 },
88 "additionalProperties": false
89}