Removal of svg lib
[clamp.git] / src / test / resources / example / json-editor-schema / tca-policy-json-editor-schema.json
1 {
2         "schema": {
3                 "uniqueItems": "true",
4                 "format": "tabs",
5                 "type": "array",
6                 "title": "Thresholds",
7                 "items": {
8                         "type": "object",
9                         "title": "Thresholds",
10                         "required": [
11                                 "dummySignatures"
12                         ],
13                         "properties": {
14                                 "severity": {
15                                         "propertyOrder": 1004,
16                                         "title": "event severity or priority",
17                                         "type": "string",
18                                         "enum": [
19                                                 "CRITICAL",
20                                                 "MAJOR",
21                                                 "MINOR",
22                                                 "WARNING",
23                                                 "NORMAL"
24                                         ]
25                                 },
26                                 "fieldPath": {
27                                         "propertyOrder": 1003,
28                                         "title": "Field Path",
29                                         "type": "string"
30                                 },
31                                 "thresholdValue": {
32                                         "propertyOrder": 1005,
33                                         "default": 0,
34                                         "maximum": 65535,
35                                         "title": "ThresholdValue",
36                                         "type": "integer",
37                                         "minimum": 0
38                                 },
39                                 "dummySignatures": {
40                                         "propertyOrder": 1007,
41                                         "uniqueItems": "true",
42                                         "format": "tabs-top",
43                                         "title": "dummy Signatures",
44                                         "type": "array",
45                                         "items": {
46                                                 "type": "object",
47                                                 "required": [
48                                                         "signature",
49                                                         "traversal"
50                                                 ],
51                                                 "properties": {
52                                                         "signature": {
53                                                                 "propertyOrder": 1008,
54                                                                 "required": [
55                                                                         "filter_clause"
56                                                                 ],
57                                                                 "properties": {
58                                                                         "filter_clause": {
59                                                                                 "propertyOrder": 20002,
60                                                                                 "title": "Filter Clause",
61                                                                                 "type": "string",
62                                                                                 "enum": [
63                                                                                         "OR",
64                                                                                         "AND",
65                                                                                         "NOT"
66                                                                                 ]
67                                                                         }
68                                                                 }
69                                                         },
70                                                         "traversal": {
71                                                                 "propertyOrder": 1009,
72                                                                 "required": [
73                                                                         "traversal"
74                                                                 ],
75                                                                 "properties": {
76                                                                         "traversal": {
77                                                                                 "propertyOrder": 20003,
78                                                                                 "title": "Dummy Traverse",
79                                                                                 "type": "string",
80                                                                                 "enum": [
81                                                                                         "ONE",
82                                                                                         "TWO",
83                                                                                         "THREE"
84                                                                                 ]
85                                                                         }
86                                                                 }
87                                                         }
88                                                 }
89                                         }
90                                 },
91                                 "closedLoopControlName": {
92                                         "propertyOrder": 1001,
93                                         "title": "A UNIQUE string identifying the Closed Loop ID this event is for.",
94                                         "type": "string"
95                                 },
96                                 "version": {
97                                         "propertyOrder": 1006,
98                                         "minLength": 1,
99                                         "title": "Version for the closed loop message",
100                                         "type": "string"
101                                 },
102                                 "direction": {
103                                         "propertyOrder": 1002,
104                                         "type": "string",
105                                         "enum": [
106                                                 "LESS",
107                                                 "LESS_OR_EQUAL",
108                                                 "GREATER",
109                                                 "GREATER_OR_EQUAL"
110                                         ]
111                                 }
112                         }
113                 }
114         }
115 }