-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschema.json
122 lines (122 loc) · 4.31 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/root.json",
"type": "object",
"title": "The Root Schema",
"required": ["hosts"],
"properties": {
"hosts": {
"$id": "#/properties/hosts",
"type": "array",
"title": "The Hosts Schema",
"items": {
"$id": "#/properties/hosts/items",
"type": "object",
"title": "The Items Schema",
"required": ["name", "VMs"],
"properties": {
"name": {
"$id": "#/properties/hosts/items/properties/name",
"type": "string",
"title": "The Name Schema",
"description": "Name of the VMHost",
"default": "",
"examples": ["172.28.11.45"],
"pattern": "^(.*)$"
},
"VMs": {
"$id": "#/properties/hosts/items/properties/VMs",
"type": "array",
"title": "The Vms Schema",
"description": "VMs currently on the Host",
"default": null,
"items": {
"$id": "#/properties/hosts/items/properties/VMs/items",
"type": "object",
"title": "The Items Schema",
"required": ["name", "originalStorage", "tempStorage"],
"properties": {
"name": {
"$id": "#/properties/hosts/items/properties/VMs/items/properties/name",
"type": "string",
"title": "The Name Schema",
"description": "The VM Name",
"default": "",
"examples": ["accpac"],
"pattern": "^(.*)$"
},
"originalStorage": {
"$id": "#/properties/hosts/items/properties/VMs/items/properties/originalStorage",
"type": "string",
"enum": [
"eql1.cll-hlr2",
"eql1.cll-sgn1",
"eql1.cll-sip1",
"eql1.cll1",
"eql1.mailstore1",
"eql1.netbrain",
"eql1.rep1",
"eql1.rep2",
"eql1.rep3",
"eql1.rep4",
"eql1.rep5",
"eql1.tmp.cll-bll1",
"eql1.tmp.cll-ggn1",
"eql1.tmp.cll-hlr1",
"eql1.tmp.cll1",
"eql1.tmp.rep4",
"eql1.vcsa",
"eql1.vol1",
"eql1.vol2",
"eql1.vol3",
"eql1.vol4",
"eql1.vol5",
"eql2.cll-bll1",
"eql2.cll-ggn1",
"eql2.cll-hlr1",
"eql2.cll1",
"eql2.files",
"eql2.myknet",
"eql2.rep2",
"eql2.rep3",
"eql2.rep4",
"eql2.templates",
"eql2.tmp.cll-hrl2",
"eql2.tmp.cll-sgn1",
"eql2.tmp.cll-sip1",
"eql2.tmp.cll1",
"eql2.tmp.eql1.rep12",
"eql2.tmp.mailstore1",
"eql2.tmp.vcsa",
"eql2.tmp.vol12",
"eql2.tmp.vol45",
"eql2.vcsa",
"eql2.vol1",
"eql2.vol2",
"eql2.vol3",
"eql2.zenoss"
],
"title": "The Originalstorage Schema",
"description": "vCenter Datastore VM was on before migrations",
"default": "",
"examples": ["eql1.rep1"],
"pattern": "^(.*)$"
},
"tempStorage": {
"$id": "#/properties/hosts/items/properties/VMs/items/properties/tempStorage",
"type": "string",
"title": "The Tempstorage Schema",
"description": "vCenter Datastore migrated to temporarily for the purpose of removing them from current array",
"default": "",
"examples": ["eql2.tmp.eql1.rep12"],
"pattern": "^(.*)$"
}
}
}
}
}
}
}
}
}