@grexx/grexxlinter 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/cli.js +14973 -0
  2. package/lsp.js +23977 -0
  3. package/package.json +19 -0
  4. package/schemas/.coverage.json +10987 -0
  5. package/schemas/abstract.schema.json +842 -0
  6. package/schemas/abstractAttribute.schema.json +38 -0
  7. package/schemas/abstractAttributeFormField.schema.json +50 -0
  8. package/schemas/abstractCondition.schema.json +74 -0
  9. package/schemas/abstractRight.schema.json +74 -0
  10. package/schemas/abstractRole.schema.json +50 -0
  11. package/schemas/abstractRule.schema.json +182 -0
  12. package/schemas/activity.schema.json +1328 -0
  13. package/schemas/activityAttribute.schema.json +73 -0
  14. package/schemas/activityRight.schema.json +64 -0
  15. package/schemas/agent.schema.json +179 -0
  16. package/schemas/agentTool.schema.json +118 -0
  17. package/schemas/attribute.schema.json +286 -0
  18. package/schemas/casetype.schema.json +256 -0
  19. package/schemas/catchBlock.schema.json +76 -0
  20. package/schemas/common.schema.json +63 -0
  21. package/schemas/conditionList.schema.json +67 -0
  22. package/schemas/container.schema.json +88 -0
  23. package/schemas/cssVariables.schema.json +90 -0
  24. package/schemas/customThrow.schema.json +73 -0
  25. package/schemas/dataRetentionProfile.schema.json +90 -0
  26. package/schemas/dataset.schema.json +579 -0
  27. package/schemas/datasetColumn.schema.json +423 -0
  28. package/schemas/datasetCondition.schema.json +409 -0
  29. package/schemas/datasetRight.schema.json +86 -0
  30. package/schemas/datasource.schema.json +73 -0
  31. package/schemas/dateProfile.schema.json +87 -0
  32. package/schemas/directRole.schema.json +71 -0
  33. package/schemas/fileUploadProfile.schema.json +75 -0
  34. package/schemas/forEach.schema.json +144 -0
  35. package/schemas/form.schema.json +119 -0
  36. package/schemas/formAction.schema.json +149 -0
  37. package/schemas/formActionAi.schema.json +81 -0
  38. package/schemas/formActionInlineJavascript.schema.json +66 -0
  39. package/schemas/formButton.schema.json +84 -0
  40. package/schemas/formGroup.schema.json +99 -0
  41. package/schemas/formRight.schema.json +86 -0
  42. package/schemas/formfield.schema.json +339 -0
  43. package/schemas/gridActivity.schema.json +80 -0
  44. package/schemas/gridColumn.schema.json +111 -0
  45. package/schemas/hasRoleCondition.schema.json +63 -0
  46. package/schemas/ifthenelse.schema.json +78 -0
  47. package/schemas/indirectRole.schema.json +74 -0
  48. package/schemas/job.schema.json +63 -0
  49. package/schemas/jobStep.schema.json +68 -0
  50. package/schemas/llmModel.schema.json +79 -0
  51. package/schemas/mapping.schema.json +690 -0
  52. package/schemas/menuItem.schema.json +519 -0
  53. package/schemas/menuItemRight.schema.json +64 -0
  54. package/schemas/metadata.schema.json +96 -0
  55. package/schemas/navigation.schema.json +86 -0
  56. package/schemas/notCondition.schema.json +60 -0
  57. package/schemas/parallelBlock.schema.json +75 -0
  58. package/schemas/picklist.schema.json +113 -0
  59. package/schemas/picklistItem.schema.json +71 -0
  60. package/schemas/platformAttribute.schema.json +300 -0
  61. package/schemas/platformRole.schema.json +191 -0
  62. package/schemas/platformconstants.schema.json +94 -0
  63. package/schemas/plugin.schema.json +99 -0
  64. package/schemas/pluginLibrary.schema.json +78 -0
  65. package/schemas/requestContext.schema.json +183 -0
  66. package/schemas/roleName.schema.json +115 -0
  67. package/schemas/ruleList.schema.json +72 -0
  68. package/schemas/securityProfile.schema.json +63 -0
  69. package/schemas/securityRequirement.schema.json +63 -0
  70. package/schemas/simpleCondition.schema.json +466 -0
  71. package/schemas/staticFile.schema.json +63 -0
  72. package/schemas/tag.schema.json +62 -0
  73. package/schemas/taskQueue.schema.json +69 -0
  74. package/schemas/template/activitymeta.schema.json +36 -0
  75. package/schemas/template/attribute.schema.json +31 -0
  76. package/schemas/template/calculate-dataset.schema.json +31 -0
  77. package/schemas/template/casemeta.schema.json +18 -0
  78. package/schemas/template/casetypemeta.schema.json +19 -0
  79. package/schemas/template/comment.schema.json +36 -0
  80. package/schemas/template/datasetColumn.schema.json +31 -0
  81. package/schemas/template/date-function.schema.json +232 -0
  82. package/schemas/template/definitionmeta.schema.json +73 -0
  83. package/schemas/template/file.schema.json +39 -0
  84. package/schemas/template/foreach.schema.json +67 -0
  85. package/schemas/template/formfield.schema.json +21 -0
  86. package/schemas/template/formula.schema.json +18 -0
  87. package/schemas/template/hasRole.schema.json +18 -0
  88. package/schemas/template/historic.schema.json +21 -0
  89. package/schemas/template/html.schema.json +165 -0
  90. package/schemas/template/icon.schema.json +18 -0
  91. package/schemas/template/if.schema.json +30 -0
  92. package/schemas/template/inlineTemplate.schema.json +26 -0
  93. package/schemas/template/isnull.schema.json +21 -0
  94. package/schemas/template/isofcasetype.schema.json +24 -0
  95. package/schemas/template/iterator.schema.json +61 -0
  96. package/schemas/template/json.schema.json +55 -0
  97. package/schemas/template/math.schema.json +210 -0
  98. package/schemas/template/meta.schema.json +164 -0
  99. package/schemas/template/metadefinitionmeta.schema.json +36 -0
  100. package/schemas/template/multivalue.schema.json +210 -0
  101. package/schemas/template/page.schema.json +21 -0
  102. package/schemas/template/parameter.schema.json +24 -0
  103. package/schemas/template/parameterDefinition.schema.json +27 -0
  104. package/schemas/template/parameterIdDefinition.schema.json +28 -0
  105. package/schemas/template/parseError.schema.json +48 -0
  106. package/schemas/template/picklist.schema.json +27 -0
  107. package/schemas/template/pseudoTemplate.schema.json +27 -0
  108. package/schemas/template/requestcontext.schema.json +52 -0
  109. package/schemas/template/returnType.schema.json +26 -0
  110. package/schemas/template/spacialMath.schema.json +77 -0
  111. package/schemas/template/special.schema.json +19 -0
  112. package/schemas/template/staticFile.schema.json +39 -0
  113. package/schemas/template/system.schema.json +22 -0
  114. package/schemas/template/systemconfig.schema.json +21 -0
  115. package/schemas/template/taskattribute.schema.json +21 -0
  116. package/schemas/template/taskdata.schema.json +24 -0
  117. package/schemas/template/taskmeta.schema.json +180 -0
  118. package/schemas/template/taskqueuemeta.schema.json +36 -0
  119. package/schemas/template/template.schema.json +27 -0
  120. package/schemas/template/templatePart.schema.json +638 -0
  121. package/schemas/template/text.schema.json +18 -0
  122. package/schemas/template/url.schema.json +77 -0
  123. package/schemas/template/urlParameter.schema.json +21 -0
  124. package/schemas/template/user.schema.json +36 -0
  125. package/schemas/template/userProperty.schema.json +22 -0
  126. package/schemas/template/usersession.schema.json +18 -0
  127. package/schemas/template/util.schema.json +434 -0
  128. package/schemas/template/xml.schema.json +55 -0
  129. package/schemas/template.schema.json +74 -0
  130. package/schemas/theme.schema.json +63 -0
  131. package/schemas/trigger.schema.json +413 -0
  132. package/schemas/tryBlock.schema.json +99 -0
  133. package/schemas/view.schema.json +159 -0
  134. package/schemas/webhook.schema.json +77 -0
  135. package/schemas/while.schema.json +130 -0
  136. package/schemas/widget.schema.json +1416 -0
  137. package/schemas/widgetRight.schema.json +85 -0
@@ -0,0 +1,164 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/template/meta.schema.json",
3
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
4
+ "allOf" : [ {
5
+ "if" : {
6
+ "properties" : {
7
+ "value" : {
8
+ "const" : "actor"
9
+ }
10
+ },
11
+ "required" : [ "value" ]
12
+ },
13
+ "then" : {
14
+ "properties" : {
15
+ "link" : {
16
+ "$ref" : "templatePart.schema.json"
17
+ }
18
+ }
19
+ }
20
+ }, {
21
+ "if" : {
22
+ "properties" : {
23
+ "value" : {
24
+ "const" : "caseid"
25
+ }
26
+ },
27
+ "required" : [ "value" ]
28
+ },
29
+ "then" : {
30
+ "properties" : {
31
+ "link" : {
32
+ "$ref" : "templatePart.schema.json"
33
+ }
34
+ }
35
+ }
36
+ }, {
37
+ "if" : {
38
+ "properties" : {
39
+ "value" : {
40
+ "const" : "casetype"
41
+ }
42
+ },
43
+ "required" : [ "value" ]
44
+ },
45
+ "then" : {
46
+ "properties" : {
47
+ "link" : {
48
+ "$ref" : "templatePart.schema.json"
49
+ }
50
+ }
51
+ }
52
+ }, {
53
+ "if" : {
54
+ "properties" : {
55
+ "value" : {
56
+ "const" : "origin"
57
+ }
58
+ },
59
+ "required" : [ "value" ]
60
+ },
61
+ "then" : {
62
+ "properties" : {
63
+ "link" : {
64
+ "$ref" : "templatePart.schema.json"
65
+ }
66
+ }
67
+ }
68
+ }, {
69
+ "if" : {
70
+ "properties" : {
71
+ "value" : {
72
+ "const" : "origintask"
73
+ }
74
+ },
75
+ "required" : [ "value" ]
76
+ },
77
+ "then" : {
78
+ "properties" : {
79
+ "link" : {
80
+ "$ref" : "templatePart.schema.json"
81
+ }
82
+ }
83
+ }
84
+ }, {
85
+ "if" : {
86
+ "properties" : {
87
+ "value" : {
88
+ "const" : "parentcase"
89
+ }
90
+ },
91
+ "required" : [ "value" ]
92
+ },
93
+ "then" : {
94
+ "properties" : {
95
+ "link" : {
96
+ "$ref" : "templatePart.schema.json"
97
+ }
98
+ }
99
+ }
100
+ }, {
101
+ "if" : {
102
+ "properties" : {
103
+ "value" : {
104
+ "const" : "related"
105
+ }
106
+ },
107
+ "required" : [ "value" ]
108
+ },
109
+ "then" : {
110
+ "properties" : {
111
+ "link" : {
112
+ "$ref" : "templatePart.schema.json"
113
+ }
114
+ }
115
+ }
116
+ }, {
117
+ "if" : {
118
+ "properties" : {
119
+ "value" : {
120
+ "const" : "requestor"
121
+ }
122
+ },
123
+ "required" : [ "value" ]
124
+ },
125
+ "then" : {
126
+ "properties" : {
127
+ "link" : {
128
+ "$ref" : "templatePart.schema.json"
129
+ }
130
+ }
131
+ }
132
+ }, {
133
+ "if" : {
134
+ "properties" : {
135
+ "value" : {
136
+ "const" : "src"
137
+ }
138
+ },
139
+ "required" : [ "value" ]
140
+ },
141
+ "then" : {
142
+ "properties" : {
143
+ "link" : {
144
+ "$ref" : "templatePart.schema.json"
145
+ }
146
+ }
147
+ }
148
+ } ],
149
+ "properties" : {
150
+ "returnType" : {
151
+ "$ref" : "returnType.schema.json"
152
+ },
153
+ "type" : {
154
+ "const" : "meta"
155
+ },
156
+ "value" : {
157
+ "enum" : [ "actor", "caseid", "casetype", "compilecache", "datecreated", "datefinished", "lastactive", "lastimported", "lastmodified", "locked", "origin", "origintask", "parentcase", "reference", "related", "requestor", "src" ],
158
+ "type" : "string"
159
+ }
160
+ },
161
+ "required" : [ "type", "value" ],
162
+ "title" : "meta",
163
+ "type" : "object"
164
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/template/metadefinitionmeta.schema.json",
3
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
4
+ "allOf" : [ {
5
+ "if" : {
6
+ "properties" : {
7
+ "operator" : {
8
+ "const" : "ctAttrIdsForPlfAttr"
9
+ }
10
+ },
11
+ "required" : [ "operator" ]
12
+ },
13
+ "then" : {
14
+ "properties" : {
15
+ "platformAttribute" : {
16
+ "$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
17
+ }
18
+ }
19
+ }
20
+ } ],
21
+ "properties" : {
22
+ "operator" : {
23
+ "enum" : [ "ctAttrIdsForPlfAttr" ],
24
+ "type" : "string"
25
+ },
26
+ "returnType" : {
27
+ "$ref" : "returnType.schema.json"
28
+ },
29
+ "type" : {
30
+ "const" : "metadefinitionmeta"
31
+ }
32
+ },
33
+ "required" : [ "type", "operator" ],
34
+ "title" : "metadefinitionmeta",
35
+ "type" : "object"
36
+ }
@@ -0,0 +1,210 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/template/multivalue.schema.json",
3
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
4
+ "allOf" : [ {
5
+ "if" : {
6
+ "properties" : {
7
+ "operator" : {
8
+ "const" : "difference"
9
+ }
10
+ },
11
+ "required" : [ "operator" ]
12
+ },
13
+ "then" : {
14
+ "properties" : {
15
+ "params" : {
16
+ "items" : {
17
+ "$ref" : "inlineTemplate.schema.json"
18
+ },
19
+ "type" : "array"
20
+ }
21
+ }
22
+ }
23
+ }, {
24
+ "if" : {
25
+ "properties" : {
26
+ "operator" : {
27
+ "const" : "intersection"
28
+ }
29
+ },
30
+ "required" : [ "operator" ]
31
+ },
32
+ "then" : {
33
+ "properties" : {
34
+ "params" : {
35
+ "items" : {
36
+ "$ref" : "inlineTemplate.schema.json"
37
+ },
38
+ "type" : "array"
39
+ }
40
+ }
41
+ }
42
+ }, {
43
+ "if" : {
44
+ "properties" : {
45
+ "operator" : {
46
+ "const" : "minus"
47
+ }
48
+ },
49
+ "required" : [ "operator" ]
50
+ },
51
+ "then" : {
52
+ "properties" : {
53
+ "params" : {
54
+ "items" : {
55
+ "$ref" : "inlineTemplate.schema.json"
56
+ },
57
+ "type" : "array"
58
+ }
59
+ }
60
+ }
61
+ }, {
62
+ "if" : {
63
+ "properties" : {
64
+ "operator" : {
65
+ "const" : "union"
66
+ }
67
+ },
68
+ "required" : [ "operator" ]
69
+ },
70
+ "then" : {
71
+ "properties" : {
72
+ "params" : {
73
+ "items" : {
74
+ "$ref" : "inlineTemplate.schema.json"
75
+ },
76
+ "type" : "array"
77
+ }
78
+ }
79
+ }
80
+ }, {
81
+ "if" : {
82
+ "properties" : {
83
+ "operator" : {
84
+ "const" : "contains"
85
+ }
86
+ },
87
+ "required" : [ "operator" ]
88
+ },
89
+ "then" : {
90
+ "properties" : {
91
+ "element" : {
92
+ "$ref" : "inlineTemplate.schema.json"
93
+ },
94
+ "param" : {
95
+ "$ref" : "inlineTemplate.schema.json"
96
+ }
97
+ }
98
+ }
99
+ }, {
100
+ "if" : {
101
+ "properties" : {
102
+ "operator" : {
103
+ "const" : "count"
104
+ }
105
+ },
106
+ "required" : [ "operator" ]
107
+ },
108
+ "then" : {
109
+ "properties" : {
110
+ "param" : {
111
+ "$ref" : "inlineTemplate.schema.json"
112
+ }
113
+ }
114
+ }
115
+ }, {
116
+ "if" : {
117
+ "properties" : {
118
+ "operator" : {
119
+ "const" : "join"
120
+ }
121
+ },
122
+ "required" : [ "operator" ]
123
+ },
124
+ "then" : {
125
+ "properties" : {
126
+ "param" : {
127
+ "$ref" : "inlineTemplate.schema.json"
128
+ },
129
+ "separator" : {
130
+ "$ref" : "inlineTemplate.schema.json"
131
+ }
132
+ }
133
+ }
134
+ }, {
135
+ "if" : {
136
+ "properties" : {
137
+ "operator" : {
138
+ "const" : "pickany"
139
+ }
140
+ },
141
+ "required" : [ "operator" ]
142
+ },
143
+ "then" : {
144
+ "properties" : {
145
+ "count" : {
146
+ "type" : "integer"
147
+ },
148
+ "param" : {
149
+ "$ref" : "inlineTemplate.schema.json"
150
+ }
151
+ }
152
+ }
153
+ }, {
154
+ "if" : {
155
+ "properties" : {
156
+ "operator" : {
157
+ "const" : "picknth"
158
+ }
159
+ },
160
+ "required" : [ "operator" ]
161
+ },
162
+ "then" : {
163
+ "properties" : {
164
+ "nth" : {
165
+ "$ref" : "inlineTemplate.schema.json"
166
+ },
167
+ "param" : {
168
+ "$ref" : "inlineTemplate.schema.json"
169
+ }
170
+ }
171
+ }
172
+ }, {
173
+ "if" : {
174
+ "properties" : {
175
+ "operator" : {
176
+ "const" : "sort"
177
+ }
178
+ },
179
+ "required" : [ "operator" ]
180
+ },
181
+ "then" : {
182
+ "properties" : {
183
+ "param" : {
184
+ "$ref" : "inlineTemplate.schema.json"
185
+ },
186
+ "sortDirection" : {
187
+ "$ref" : "inlineTemplate.schema.json"
188
+ },
189
+ "sortDirectionFixed" : {
190
+ "type" : "string"
191
+ }
192
+ }
193
+ }
194
+ } ],
195
+ "properties" : {
196
+ "operator" : {
197
+ "enum" : [ "difference", "intersection", "minus", "union", "contains", "count", "join", "pickany", "picknth", "sort" ],
198
+ "type" : "string"
199
+ },
200
+ "returnType" : {
201
+ "$ref" : "returnType.schema.json"
202
+ },
203
+ "type" : {
204
+ "const" : "multivalue"
205
+ }
206
+ },
207
+ "required" : [ "type", "operator" ],
208
+ "title" : "multivalue",
209
+ "type" : "object"
210
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/template/page.schema.json",
3
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
4
+ "properties" : {
5
+ "link" : {
6
+ "$ref" : "templatePart.schema.json"
7
+ },
8
+ "page" : {
9
+ "$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
10
+ },
11
+ "returnType" : {
12
+ "$ref" : "returnType.schema.json"
13
+ },
14
+ "type" : {
15
+ "const" : "page"
16
+ }
17
+ },
18
+ "required" : [ "type" ],
19
+ "title" : "page",
20
+ "type" : "object"
21
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/template/parameter.schema.json",
3
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
4
+ "properties" : {
5
+ "link" : {
6
+ "$ref" : "templatePart.schema.json"
7
+ },
8
+ "parameter" : {
9
+ "type" : "string"
10
+ },
11
+ "returnType" : {
12
+ "$ref" : "returnType.schema.json"
13
+ },
14
+ "template" : {
15
+ "$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
16
+ },
17
+ "type" : {
18
+ "const" : "parameter"
19
+ }
20
+ },
21
+ "required" : [ "type" ],
22
+ "title" : "parameter",
23
+ "type" : "object"
24
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/template/parameterDefinition.schema.json",
3
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
4
+ "properties" : {
5
+ "defaultValue" : {
6
+ "$ref" : "inlineTemplate.schema.json"
7
+ },
8
+ "id" : {
9
+ "type" : "string"
10
+ },
11
+ "name" : {
12
+ "type" : "string"
13
+ },
14
+ "parameterType" : {
15
+ "type" : "object"
16
+ },
17
+ "returnType" : {
18
+ "$ref" : "returnType.schema.json"
19
+ },
20
+ "type" : {
21
+ "const" : "parameterDefinition"
22
+ }
23
+ },
24
+ "required" : [ "type" ],
25
+ "title" : "parameterDefinition",
26
+ "type" : "object"
27
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/template/parameterIdDefinition.schema.json",
3
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
4
+ "properties" : {
5
+ "defaultValue" : {
6
+ "$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
7
+ },
8
+ "grexxObjectType" : {
9
+ "enum" : [ "dataset" ],
10
+ "type" : "string"
11
+ },
12
+ "id" : {
13
+ "type" : "string"
14
+ },
15
+ "name" : {
16
+ "type" : "string"
17
+ },
18
+ "returnType" : {
19
+ "$ref" : "returnType.schema.json"
20
+ },
21
+ "type" : {
22
+ "const" : "parameterIdDefinition"
23
+ }
24
+ },
25
+ "required" : [ "type", "grexxObjectType" ],
26
+ "title" : "parameterIdDefinition",
27
+ "type" : "object"
28
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/template/parseError.schema.json",
3
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
4
+ "allOf" : [ {
5
+ "if" : {
6
+ "properties" : {
7
+ "operator" : {
8
+ "const" : "errorString"
9
+ }
10
+ },
11
+ "required" : [ "operator" ]
12
+ },
13
+ "then" : {
14
+ "properties" : {
15
+ "causedByText" : {
16
+ "$ref" : "inlineTemplate.schema.json"
17
+ },
18
+ "detailedAlways" : {
19
+ "type" : "boolean"
20
+ },
21
+ "detailedDebugErrorRights" : {
22
+ "type" : "boolean"
23
+ },
24
+ "detailedDevBoxx" : {
25
+ "type" : "boolean"
26
+ },
27
+ "noErrorText" : {
28
+ "$ref" : "inlineTemplate.schema.json"
29
+ }
30
+ }
31
+ }
32
+ } ],
33
+ "properties" : {
34
+ "operator" : {
35
+ "enum" : [ "hasError", "errorString" ],
36
+ "type" : "string"
37
+ },
38
+ "returnType" : {
39
+ "$ref" : "returnType.schema.json"
40
+ },
41
+ "type" : {
42
+ "const" : "parseError"
43
+ }
44
+ },
45
+ "required" : [ "type", "operator" ],
46
+ "title" : "parseError",
47
+ "type" : "object"
48
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/template/picklist.schema.json",
3
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
4
+ "properties" : {
5
+ "notFoundBehaviour" : {
6
+ "type" : "string"
7
+ },
8
+ "param" : {
9
+ "$ref" : "inlineTemplate.schema.json"
10
+ },
11
+ "picklist" : {
12
+ "$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
13
+ },
14
+ "picklistBase" : {
15
+ "$ref" : "inlineTemplate.schema.json"
16
+ },
17
+ "returnType" : {
18
+ "$ref" : "returnType.schema.json"
19
+ },
20
+ "type" : {
21
+ "const" : "picklist"
22
+ }
23
+ },
24
+ "required" : [ "type" ],
25
+ "title" : "picklist",
26
+ "type" : "object"
27
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/template/pseudoTemplate.schema.json",
3
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
4
+ "properties" : {
5
+ "operator" : {
6
+ "type" : "string"
7
+ },
8
+ "placeholders" : {
9
+ "type" : "object"
10
+ },
11
+ "returnType" : {
12
+ "$ref" : "returnType.schema.json"
13
+ },
14
+ "text" : {
15
+ "type" : "string"
16
+ },
17
+ "type" : {
18
+ "const" : "pseudoTemplate"
19
+ },
20
+ "uniqueID" : {
21
+ "type" : "string"
22
+ }
23
+ },
24
+ "required" : [ "type" ],
25
+ "title" : "pseudoTemplate",
26
+ "type" : "object"
27
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/template/requestcontext.schema.json",
3
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
4
+ "allOf" : [ {
5
+ "if" : {
6
+ "properties" : {
7
+ "value" : {
8
+ "const" : "rootCaseid"
9
+ }
10
+ },
11
+ "required" : [ "value" ]
12
+ },
13
+ "then" : {
14
+ "properties" : {
15
+ "link" : {
16
+ "$ref" : "templatePart.schema.json"
17
+ }
18
+ }
19
+ }
20
+ }, {
21
+ "if" : {
22
+ "properties" : {
23
+ "value" : {
24
+ "const" : "widgetDataCaseid"
25
+ }
26
+ },
27
+ "required" : [ "value" ]
28
+ },
29
+ "then" : {
30
+ "properties" : {
31
+ "link" : {
32
+ "$ref" : "templatePart.schema.json"
33
+ }
34
+ }
35
+ }
36
+ } ],
37
+ "properties" : {
38
+ "returnType" : {
39
+ "$ref" : "returnType.schema.json"
40
+ },
41
+ "type" : {
42
+ "const" : "requestcontext"
43
+ },
44
+ "value" : {
45
+ "enum" : [ "rootCaseid", "widgetDataCaseid" ],
46
+ "type" : "string"
47
+ }
48
+ },
49
+ "required" : [ "type", "value" ],
50
+ "title" : "requestcontext",
51
+ "type" : "object"
52
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/template/returnType.schema.json",
3
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
4
+ "properties" : {
5
+ "flags" : {
6
+ "properties" : {
7
+ "multilanguage" : {
8
+ "type" : "boolean"
9
+ },
10
+ "multivalue" : {
11
+ "type" : "boolean"
12
+ },
13
+ "multivalueType" : {
14
+ "enum" : [ "set", "list" ],
15
+ "type" : "string"
16
+ }
17
+ },
18
+ "type" : "object"
19
+ },
20
+ "type" : {
21
+ "type" : "string"
22
+ }
23
+ },
24
+ "title" : "returnType",
25
+ "type" : "object"
26
+ }