aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/tosca/policy-yaml-to-json-with-datatypes.json
blob: d470d928ddad5f77c51e63b46d4934b4efe9a2c4 (plain)
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
{
    "schema": {
        "uniqueItems": "true",
        "format": "tabs-top",
        "type": "array",
        "title": "Properties with different types",
        "items": {
            "type": "object",
            "title": "Properties with different types",
            "required": [
                "memSize"
            ],
            "properties": {
                "cpus": {
                    "propertyOrder": 1001,
                    "uniqueItems": "true",
                    "format": "tabs-top",
                    "type": "array",
                    "items": {
                        "type": "object",
                        "required": [],
                        "properties": {
                            "closedLoopControlName": {
                                "propertyOrder": 1002,
                                "type": "string"
                            }
                        }
                    }
                },
                "domain": {
                    "propertyOrder": 1009,
                    "type": "object",
                    "required": [],
                    "properties": {
                        "closedLoopControlName": {
                            "propertyOrder": 1002,
                            "type": "string"
                        }
                    }
                },
                "thresholdValue": {
                    "propertyOrder": 1007,
                    "uniqueItems": "true",
                    "format": "select",
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "ports": {
                    "propertyOrder": 1003,
                    "type": "object",
                    "items": {
                        "type": "string"
                    }
                },
                "closedLoopEventStatus": {
                    "propertyOrder": 1004,
                    "type": "object",
                    "items": {
                        "type": "integer"
                    }
                },
                "version": {
                    "propertyOrder": 1008,
                    "uniqueItems": "true",
                    "format": "tabs-top",
                    "type": "array",
                    "items": {
                        "type": "object",
                        "required": [],
                        "properties": {
                            "closedLoopControlName": {
                                "propertyOrder": 1002,
                                "type": "string"
                            }
                        }
                    }
                },
                "memSize": {
                    "propertyOrder": 1006,
                    "required": [],
                    "properties": {
                        "name": {
                            "propertyOrder": 20002,
                            "required": [
                                "severity"
                            ],
                            "properties": {
                                "severity": {
                                    "propertyOrder": 20003,
                                    "type": "string"
                                }
                            }
                        }
                    }
                },
                "direction": {
                    "propertyOrder": 1005,
                    "type": "object",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        }
    }
}