aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/example/json-editor-schema/tca-policy-json-editor-schema.json
blob: 11b91dfb4f2fc931800b20738828182a62ace6b8 (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
109
110
111
112
113
114
115
{
	"schema": {
		"uniqueItems": "true",
		"format": "tabs-top",
		"type": "array",
		"title": "Thresholds",
		"items": {
			"type": "object",
			"title": "Thresholds",
			"required": [
				"dummySignatures"
			],
			"properties": {
				"severity": {
					"propertyOrder": 1004,
					"title": "event severity or priority",
					"type": "string",
					"enum": [
						"CRITICAL",
						"MAJOR",
						"MINOR",
						"WARNING",
						"NORMAL"
					]
				},
				"fieldPath": {
					"propertyOrder": 1003,
					"title": "Field Path",
					"type": "string"
				},
				"thresholdValue": {
					"propertyOrder": 1005,
					"default": 0,
					"maximum": 65535,
					"title": "ThresholdValue",
					"type": "integer",
					"minimum": 0
				},
				"dummySignatures": {
					"propertyOrder": 1007,
					"uniqueItems": "true",
					"format": "tabs-top",
					"title": "dummy Signatures",
					"type": "array",
					"items": {
						"type": "object",
						"required": [
							"signature",
							"traversal"
						],
						"properties": {
							"signature": {
								"propertyOrder": 1008,
								"required": [
									"filter_clause"
								],
								"properties": {
									"filter_clause": {
										"propertyOrder": 20002,
										"title": "Filter Clause",
										"type": "string",
										"enum": [
											"OR",
											"AND",
											"NOT"
										]
									}
								}
							},
							"traversal": {
								"propertyOrder": 1009,
								"required": [
									"traversal"
								],
								"properties": {
									"traversal": {
										"propertyOrder": 20003,
										"title": "Dummy Traverse",
										"type": "string",
										"enum": [
											"ONE",
											"TWO",
											"THREE"
										]
									}
								}
							}
						}
					}
				},
				"closedLoopControlName": {
					"propertyOrder": 1001,
					"title": "A UNIQUE string identifying the Closed Loop ID this event is for.",
					"type": "string"
				},
				"version": {
					"propertyOrder": 1006,
					"minLength": 1,
					"title": "Version for the closed loop message",
					"type": "string"
				},
				"direction": {
					"propertyOrder": 1002,
					"type": "string",
					"enum": [
						"LESS",
						"LESS_OR_EQUAL",
						"GREATER",
						"GREATER_OR_EQUAL"
					]
				}
			}
		}
	}
}