Add new code new version
[sdc.git] / openecomp-ui / test / softwareProduct / details / vspQschema.js
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 export const vspQschema = {
22         '$schema': 'http://json-schema.org/draft-04/schema#',
23         'type': 'object',
24         'properties': {
25                 'general': {
26                         'type': 'object',
27                         'properties': {
28                                 'affinityData': {
29                                         'type': 'object',
30                                         'properties': {
31                                                 'affinityGrouping': {},
32                                                 'antiAffinityGrouping': {}
33                                         }
34                                 },
35                                 'availability': {
36                                         'type': 'object',
37                                         'properties': {
38                                                 'useAvailabilityZonesForHighAvailability': {}
39                                         }
40                                 },
41                                 'regionsData': {
42                                         'type': 'object',
43                                         'properties': {
44                                                 'multiRegion': {},
45                                                 'regions': {}
46                                         }
47                                 },
48                                 'storageDataReplication': {
49                                         'type': 'object',
50                                         'properties': {
51                                                 'storageReplicationAcrossRegion': {},
52                                                 'storageReplicationSize': {},
53                                                 'storageReplicationFrequency': {},
54                                                 'storageReplicationSource': {},
55                                                 'storageReplicationDestination': {}
56                                         }
57                                 }
58                         }
59                 }
60         }
61 };