@grexx/grexxlinter 0.2.1 → 0.2.343
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.
- package/cli.js +3 -3
- package/lsp.js +2 -2
- package/package.json +1 -1
- package/schemas/.coverage.json +3176 -1101
- package/schemas/activityAttribute.schema.json +116 -55
- package/schemas/activityRight.schema.json +65 -45
- package/schemas/agentTool.schema.json +3 -1
- package/schemas/attribute.schema.json +32 -0
- package/schemas/catchBlock.schema.json +82 -56
- package/schemas/conditionList.schema.json +69 -50
- package/schemas/customThrow.schema.json +82 -54
- package/schemas/dataRetentionProfile.schema.json +70 -65
- package/schemas/datasetColumn.schema.json +11 -0
- package/schemas/datasetRight.schema.json +0 -1
- package/schemas/datasource.schema.json +64 -54
- package/schemas/fileUploadProfile.schema.json +60 -55
- package/schemas/forEach.schema.json +33 -0
- package/schemas/formRight.schema.json +0 -1
- package/schemas/formfield.schema.json +44 -0
- package/schemas/ifthenelse.schema.json +73 -57
- package/schemas/jobStep.schema.json +47 -52
- package/schemas/llmModel.schema.json +98 -58
- package/schemas/metadata.schema.json +3 -1
- package/schemas/navigation.schema.json +31 -3
- package/schemas/picklistItem.schema.json +49 -54
- package/schemas/platformAttribute.schema.json +66 -0
- package/schemas/requestContext.schema.json +10 -0
- package/schemas/securityProfile.schema.json +53 -47
- package/schemas/securityRequirement.schema.json +52 -47
- package/schemas/simpleCondition.schema.json +15 -0
- package/schemas/tag.schema.json +43 -48
- package/schemas/taskQueue.schema.json +56 -51
- package/schemas/template/date-function.schema.json +1 -0
- package/schemas/template/html.schema.json +1 -0
- package/schemas/template/if.schema.json +1 -0
- package/schemas/template/iterator.schema.json +1 -0
- package/schemas/template/multivalue.schema.json +1 -0
- package/schemas/template/picklist.schema.json +1 -0
- package/schemas/template/util.schema.json +4 -0
- package/schemas/trigger.schema.json +33 -0
- package/schemas/tryBlock.schema.json +2 -2
- package/schemas/view.schema.json +1 -2
- package/schemas/webhook.schema.json +46 -58
- package/schemas/while.schema.json +33 -0
- package/schemas/widget.schema.json +197 -2
- package/schemas/widgetRight.schema.json +0 -1
|
@@ -1,63 +1,68 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id"
|
|
3
|
-
"$schema"
|
|
4
|
-
"additionalProperties"
|
|
5
|
-
"properties"
|
|
6
|
-
"_id"
|
|
7
|
-
"type"
|
|
8
|
-
},
|
|
9
|
-
"_interfaceID"
|
|
10
|
-
"type"
|
|
11
|
-
},
|
|
12
|
-
"_isInterface"
|
|
13
|
-
"type"
|
|
14
|
-
},
|
|
15
|
-
"_knownIDs"
|
|
16
|
-
"items"
|
|
17
|
-
"type"
|
|
2
|
+
"$id": "https://grexx.net/studio-next/schemas/securityRequirement.schema.json",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"properties": {
|
|
6
|
+
"_id": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"_interfaceID": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"_isInterface": {
|
|
13
|
+
"type": "boolean"
|
|
14
|
+
},
|
|
15
|
+
"_knownIDs": {
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string"
|
|
18
18
|
},
|
|
19
|
-
"type"
|
|
19
|
+
"type": "array"
|
|
20
20
|
},
|
|
21
|
-
"_origin"
|
|
22
|
-
"type"
|
|
21
|
+
"_origin": {
|
|
22
|
+
"type": "string"
|
|
23
23
|
},
|
|
24
|
-
"_src"
|
|
25
|
-
"type"
|
|
24
|
+
"_src": {
|
|
25
|
+
"type": "string"
|
|
26
26
|
},
|
|
27
|
-
"_type"
|
|
28
|
-
"const"
|
|
27
|
+
"_type": {
|
|
28
|
+
"const": "securityRequirement"
|
|
29
29
|
},
|
|
30
|
-
"_uid"
|
|
31
|
-
"description"
|
|
32
|
-
"format"
|
|
33
|
-
"type"
|
|
30
|
+
"_uid": {
|
|
31
|
+
"description": "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format": "uuid",
|
|
33
|
+
"type": "string"
|
|
34
34
|
},
|
|
35
|
-
"description"
|
|
36
|
-
"$ref"
|
|
35
|
+
"description": {
|
|
36
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
37
37
|
},
|
|
38
|
-
"inactive"
|
|
39
|
-
"type"
|
|
38
|
+
"inactive": {
|
|
39
|
+
"type": "boolean"
|
|
40
40
|
},
|
|
41
|
-
"interfaceStudioProduct"
|
|
42
|
-
"$ref"
|
|
41
|
+
"interfaceStudioProduct": {
|
|
42
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
43
43
|
},
|
|
44
|
-
"key"
|
|
45
|
-
"type"
|
|
44
|
+
"key": {
|
|
45
|
+
"type": "string"
|
|
46
46
|
},
|
|
47
|
-
"metaCaseToOtap"
|
|
48
|
-
"type"
|
|
47
|
+
"metaCaseToOtap": {
|
|
48
|
+
"type": "boolean"
|
|
49
49
|
},
|
|
50
|
-
"ourProductId"
|
|
51
|
-
"$ref"
|
|
50
|
+
"ourProductId": {
|
|
51
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
52
52
|
},
|
|
53
|
-
"value"
|
|
54
|
-
"items"
|
|
55
|
-
"type"
|
|
53
|
+
"value": {
|
|
54
|
+
"items": {
|
|
55
|
+
"type": "string"
|
|
56
56
|
},
|
|
57
|
-
"type"
|
|
57
|
+
"type": "array"
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
"required"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
"required": [
|
|
61
|
+
"_type",
|
|
62
|
+
"_uid",
|
|
63
|
+
"key"
|
|
64
|
+
],
|
|
65
|
+
"title": "securityRequirement",
|
|
66
|
+
"type": "object",
|
|
67
|
+
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/securityRequirement.json."
|
|
68
|
+
}
|
|
@@ -193,6 +193,11 @@
|
|
|
193
193
|
"title": "simpleCondition",
|
|
194
194
|
"type": "object",
|
|
195
195
|
"allOf": [
|
|
196
|
+
{
|
|
197
|
+
"properties": {
|
|
198
|
+
"leftFieldStaticItem": false
|
|
199
|
+
}
|
|
200
|
+
},
|
|
196
201
|
{
|
|
197
202
|
"if": {
|
|
198
203
|
"anyOf": [
|
|
@@ -225,6 +230,16 @@
|
|
|
225
230
|
}
|
|
226
231
|
}
|
|
227
232
|
},
|
|
233
|
+
{
|
|
234
|
+
"properties": {
|
|
235
|
+
"parentCondition": false
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"properties": {
|
|
240
|
+
"rightFieldStaticItem": false
|
|
241
|
+
}
|
|
242
|
+
},
|
|
228
243
|
{
|
|
229
244
|
"if": {
|
|
230
245
|
"anyOf": [
|
package/schemas/tag.schema.json
CHANGED
|
@@ -1,62 +1,57 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://grexx.net/studio-next/schemas/tag.schema.json",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
-
"additionalProperties": false,
|
|
5
|
-
"properties": {
|
|
6
|
-
"_id": {
|
|
7
|
-
"type": "string"
|
|
8
|
-
},
|
|
9
|
-
"_interfaceID": {
|
|
10
|
-
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"_isInterface": {
|
|
13
|
-
"type": "boolean"
|
|
14
|
-
},
|
|
15
|
-
"_knownIDs": {
|
|
16
|
-
"items": {
|
|
17
|
-
"type": "string"
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/tag.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"additionalProperties" : false,
|
|
5
|
+
"properties" : {
|
|
6
|
+
"_id" : {
|
|
7
|
+
"type" : "string"
|
|
8
|
+
},
|
|
9
|
+
"_interfaceID" : {
|
|
10
|
+
"type" : "string"
|
|
11
|
+
},
|
|
12
|
+
"_isInterface" : {
|
|
13
|
+
"type" : "boolean"
|
|
14
|
+
},
|
|
15
|
+
"_knownIDs" : {
|
|
16
|
+
"items" : {
|
|
17
|
+
"type" : "string"
|
|
18
18
|
},
|
|
19
|
-
"type": "array"
|
|
19
|
+
"type" : "array"
|
|
20
20
|
},
|
|
21
|
-
"_origin": {
|
|
22
|
-
"type": "string"
|
|
21
|
+
"_origin" : {
|
|
22
|
+
"type" : "string"
|
|
23
23
|
},
|
|
24
|
-
"_src": {
|
|
25
|
-
"type": "string"
|
|
24
|
+
"_src" : {
|
|
25
|
+
"type" : "string"
|
|
26
26
|
},
|
|
27
|
-
"_type": {
|
|
28
|
-
"const": "tag"
|
|
27
|
+
"_type" : {
|
|
28
|
+
"const" : "tag"
|
|
29
29
|
},
|
|
30
|
-
"_uid": {
|
|
31
|
-
"description": "Deterministic UUID derived from case-ID.",
|
|
32
|
-
"format": "uuid",
|
|
33
|
-
"type": "string"
|
|
30
|
+
"_uid" : {
|
|
31
|
+
"description" : "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format" : "uuid",
|
|
33
|
+
"type" : "string"
|
|
34
34
|
},
|
|
35
|
-
"description": {
|
|
36
|
-
"$ref": "template/inlineTemplate.schema.json"
|
|
35
|
+
"description" : {
|
|
36
|
+
"$ref" : "template/inlineTemplate.schema.json"
|
|
37
37
|
},
|
|
38
|
-
"inactive": {
|
|
39
|
-
"type": "boolean"
|
|
38
|
+
"inactive" : {
|
|
39
|
+
"type" : "boolean"
|
|
40
40
|
},
|
|
41
|
-
"interfaceStudioProduct": {
|
|
42
|
-
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
41
|
+
"interfaceStudioProduct" : {
|
|
42
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
43
43
|
},
|
|
44
|
-
"metaCaseToOtap": {
|
|
45
|
-
"type": "boolean"
|
|
44
|
+
"metaCaseToOtap" : {
|
|
45
|
+
"type" : "boolean"
|
|
46
46
|
},
|
|
47
|
-
"name": {
|
|
48
|
-
"$ref": "common.schema.json#/$defs/multilanguageStringStructure"
|
|
47
|
+
"name" : {
|
|
48
|
+
"$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
|
|
49
49
|
},
|
|
50
|
-
"ourProductId": {
|
|
51
|
-
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
50
|
+
"ourProductId" : {
|
|
51
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
"required": [
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
],
|
|
59
|
-
"title": "tag",
|
|
60
|
-
"type": "object",
|
|
61
|
-
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/tag.json."
|
|
62
|
-
}
|
|
54
|
+
"required" : [ "_type", "_uid" ],
|
|
55
|
+
"title" : "tag",
|
|
56
|
+
"type" : "object"
|
|
57
|
+
}
|
|
@@ -1,69 +1,74 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id"
|
|
3
|
-
"$schema"
|
|
4
|
-
"additionalProperties"
|
|
5
|
-
"properties"
|
|
6
|
-
"_id"
|
|
7
|
-
"type"
|
|
8
|
-
},
|
|
9
|
-
"_interfaceID"
|
|
10
|
-
"type"
|
|
11
|
-
},
|
|
12
|
-
"_isInterface"
|
|
13
|
-
"type"
|
|
14
|
-
},
|
|
15
|
-
"_knownIDs"
|
|
16
|
-
"items"
|
|
17
|
-
"type"
|
|
2
|
+
"$id": "https://grexx.net/studio-next/schemas/taskQueue.schema.json",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"properties": {
|
|
6
|
+
"_id": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"_interfaceID": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"_isInterface": {
|
|
13
|
+
"type": "boolean"
|
|
14
|
+
},
|
|
15
|
+
"_knownIDs": {
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string"
|
|
18
18
|
},
|
|
19
|
-
"type"
|
|
19
|
+
"type": "array"
|
|
20
20
|
},
|
|
21
|
-
"_origin"
|
|
22
|
-
"type"
|
|
21
|
+
"_origin": {
|
|
22
|
+
"type": "string"
|
|
23
23
|
},
|
|
24
|
-
"_src"
|
|
25
|
-
"type"
|
|
24
|
+
"_src": {
|
|
25
|
+
"type": "string"
|
|
26
26
|
},
|
|
27
|
-
"_type"
|
|
28
|
-
"const"
|
|
27
|
+
"_type": {
|
|
28
|
+
"const": "taskQueue"
|
|
29
29
|
},
|
|
30
|
-
"_uid"
|
|
31
|
-
"description"
|
|
32
|
-
"format"
|
|
33
|
-
"type"
|
|
30
|
+
"_uid": {
|
|
31
|
+
"description": "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format": "uuid",
|
|
33
|
+
"type": "string"
|
|
34
34
|
},
|
|
35
|
-
"blockOnFailure"
|
|
36
|
-
"type"
|
|
35
|
+
"blockOnFailure": {
|
|
36
|
+
"type": "boolean"
|
|
37
37
|
},
|
|
38
|
-
"description"
|
|
39
|
-
"$ref"
|
|
38
|
+
"description": {
|
|
39
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
40
40
|
},
|
|
41
|
-
"executeOnlyMostRecentActivity"
|
|
42
|
-
"type"
|
|
41
|
+
"executeOnlyMostRecentActivity": {
|
|
42
|
+
"type": "boolean"
|
|
43
43
|
},
|
|
44
|
-
"inactive"
|
|
45
|
-
"type"
|
|
44
|
+
"inactive": {
|
|
45
|
+
"type": "boolean"
|
|
46
46
|
},
|
|
47
|
-
"interfaceStudioProduct"
|
|
48
|
-
"$ref"
|
|
47
|
+
"interfaceStudioProduct": {
|
|
48
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
49
49
|
},
|
|
50
|
-
"metaCaseToOtap"
|
|
51
|
-
"type"
|
|
50
|
+
"metaCaseToOtap": {
|
|
51
|
+
"type": "boolean"
|
|
52
52
|
},
|
|
53
|
-
"name"
|
|
54
|
-
"$ref"
|
|
53
|
+
"name": {
|
|
54
|
+
"$ref": "common.schema.json#/$defs/multilanguageStringStructure"
|
|
55
55
|
},
|
|
56
|
-
"ourProductId"
|
|
57
|
-
"$ref"
|
|
56
|
+
"ourProductId": {
|
|
57
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
58
58
|
},
|
|
59
|
-
"rateLimitPerHourAttribute"
|
|
60
|
-
"$ref"
|
|
59
|
+
"rateLimitPerHourAttribute": {
|
|
60
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
61
61
|
},
|
|
62
|
-
"type"
|
|
63
|
-
"type"
|
|
62
|
+
"type": {
|
|
63
|
+
"type": "string"
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
"required"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
"required": [
|
|
67
|
+
"_type",
|
|
68
|
+
"_uid",
|
|
69
|
+
"name"
|
|
70
|
+
],
|
|
71
|
+
"title": "taskQueue",
|
|
72
|
+
"type": "object",
|
|
73
|
+
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/taskQueue.json."
|
|
74
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"$ref" : "inlineTemplate.schema.json"
|
|
10
10
|
},
|
|
11
11
|
"operator" : {
|
|
12
|
+
"enum" : [ "==", "eq", "equals", "==text==", "!==text!==", "!==text==", "!==", "<>", "!=", "neq", "!==", ">=", "gte", ">", "gt", "<=", "lte", "<", "lt", "contains", "notcontains", "!contains", "stringcontains", "notstringcontains", "!stringcontains", "multivaluecontains", "mvcontains", "notmultivaluecontains", "notmvcontains", "!multivaluecontains", "anyin", "notanyin", "!anyin", "allin", "notallin", "!allin", "vectorsearch", "in", "notin", "!in", "innonnull", "notinnonnull", "!innonnull", "like", "notlike", "!like", "beginsWith", "begins", "startswith", "notBeginsWith", "notbegins", "notstartswith", "!beginsWith", "endsWith", "ends", "notEndsWith", "notends", "!endsWith", "equalswildcard", "notequalswildcard", "!equalswildcard", "equalswildcardlhs", "notequalswildcardlhs", "!equalswildcardlhs" ],
|
|
12
13
|
"type" : "string"
|
|
13
14
|
},
|
|
14
15
|
"returnType" : {
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"then" : {
|
|
68
68
|
"properties" : {
|
|
69
69
|
"charset" : {
|
|
70
|
+
"enum" : [ "UTF-8", "UTF-16", "ISO-8859-1", "US-ASCII", "base64" ],
|
|
70
71
|
"type" : "string"
|
|
71
72
|
},
|
|
72
73
|
"param" : {
|
|
@@ -155,12 +156,15 @@
|
|
|
155
156
|
"then" : {
|
|
156
157
|
"properties" : {
|
|
157
158
|
"algorithm" : {
|
|
159
|
+
"enum" : [ "SHA-256", "SHA-512", "HMAC-SHA-512", "HMAC-SHA-256", "hmac-sha-1", "sha-1", "md5", "java" ],
|
|
158
160
|
"type" : "string"
|
|
159
161
|
},
|
|
160
162
|
"outputEncoding" : {
|
|
163
|
+
"enum" : [ "hex", "base64" ],
|
|
161
164
|
"type" : "string"
|
|
162
165
|
},
|
|
163
166
|
"pepper" : {
|
|
167
|
+
"enum" : [ "none", "atalanta" ],
|
|
164
168
|
"type" : "string"
|
|
165
169
|
},
|
|
166
170
|
"salt" : {
|
|
@@ -121,6 +121,38 @@
|
|
|
121
121
|
"title": "trigger",
|
|
122
122
|
"type": "object",
|
|
123
123
|
"allOf": [
|
|
124
|
+
{
|
|
125
|
+
"if": {
|
|
126
|
+
"anyOf": [
|
|
127
|
+
{
|
|
128
|
+
"properties": {
|
|
129
|
+
"showProgress": {
|
|
130
|
+
"const": "true"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"required": [
|
|
134
|
+
"showProgress"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"properties": {
|
|
139
|
+
"showProgress": {
|
|
140
|
+
"const": "true"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"required": [
|
|
144
|
+
"showProgress"
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"then": {},
|
|
150
|
+
"else": {
|
|
151
|
+
"properties": {
|
|
152
|
+
"progressTemplate": false
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
124
156
|
{
|
|
125
157
|
"if": {
|
|
126
158
|
"anyOf": [
|
|
@@ -387,6 +419,7 @@
|
|
|
387
419
|
},
|
|
388
420
|
"then": {
|
|
389
421
|
"required": [
|
|
422
|
+
"progressTemplate",
|
|
390
423
|
"progressTitle"
|
|
391
424
|
]
|
|
392
425
|
}
|
package/schemas/view.schema.json
CHANGED
|
@@ -1,77 +1,65 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://grexx.net/studio-next/schemas/webhook.schema.json",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
-
"additionalProperties": false,
|
|
5
|
-
"properties": {
|
|
6
|
-
"_id": {
|
|
7
|
-
"type": "string"
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/webhook.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"additionalProperties" : false,
|
|
5
|
+
"properties" : {
|
|
6
|
+
"_id" : {
|
|
7
|
+
"type" : "string"
|
|
8
8
|
},
|
|
9
|
-
"_interfaceID": {
|
|
10
|
-
"type": "string"
|
|
9
|
+
"_interfaceID" : {
|
|
10
|
+
"type" : "string"
|
|
11
11
|
},
|
|
12
|
-
"_isInterface": {
|
|
13
|
-
"type": "boolean"
|
|
12
|
+
"_isInterface" : {
|
|
13
|
+
"type" : "boolean"
|
|
14
14
|
},
|
|
15
|
-
"_knownIDs": {
|
|
16
|
-
"items": {
|
|
17
|
-
"type": "string"
|
|
15
|
+
"_knownIDs" : {
|
|
16
|
+
"items" : {
|
|
17
|
+
"type" : "string"
|
|
18
18
|
},
|
|
19
|
-
"type": "array"
|
|
19
|
+
"type" : "array"
|
|
20
20
|
},
|
|
21
|
-
"_origin": {
|
|
22
|
-
"type": "string"
|
|
21
|
+
"_origin" : {
|
|
22
|
+
"type" : "string"
|
|
23
23
|
},
|
|
24
|
-
"_src": {
|
|
25
|
-
"type": "string"
|
|
24
|
+
"_src" : {
|
|
25
|
+
"type" : "string"
|
|
26
26
|
},
|
|
27
|
-
"_type": {
|
|
28
|
-
"const": "webhook"
|
|
27
|
+
"_type" : {
|
|
28
|
+
"const" : "webhook"
|
|
29
29
|
},
|
|
30
|
-
"_uid": {
|
|
31
|
-
"description": "Deterministic UUID derived from case-ID.",
|
|
32
|
-
"format": "uuid",
|
|
33
|
-
"type": "string"
|
|
30
|
+
"_uid" : {
|
|
31
|
+
"description" : "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format" : "uuid",
|
|
33
|
+
"type" : "string"
|
|
34
34
|
},
|
|
35
|
-
"dataType": {
|
|
36
|
-
"enum": [
|
|
37
|
-
|
|
38
|
-
],
|
|
39
|
-
"type": "string"
|
|
35
|
+
"dataType" : {
|
|
36
|
+
"enum" : [ "ANALYTICS_JSON" ],
|
|
37
|
+
"type" : "string"
|
|
40
38
|
},
|
|
41
|
-
"description": {
|
|
42
|
-
"$ref": "template/inlineTemplate.schema.json"
|
|
39
|
+
"description" : {
|
|
40
|
+
"$ref" : "template/inlineTemplate.schema.json"
|
|
43
41
|
},
|
|
44
|
-
"event": {
|
|
45
|
-
"enum": [
|
|
46
|
-
|
|
47
|
-
"casedata_change",
|
|
48
|
-
"case_finish"
|
|
49
|
-
],
|
|
50
|
-
"type": "string"
|
|
42
|
+
"event" : {
|
|
43
|
+
"enum" : [ "user_postform", "casedata_change", "case_finish" ],
|
|
44
|
+
"type" : "string"
|
|
51
45
|
},
|
|
52
|
-
"inactive": {
|
|
53
|
-
"type": "boolean"
|
|
46
|
+
"inactive" : {
|
|
47
|
+
"type" : "boolean"
|
|
54
48
|
},
|
|
55
|
-
"interfaceStudioProduct": {
|
|
56
|
-
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
49
|
+
"interfaceStudioProduct" : {
|
|
50
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
57
51
|
},
|
|
58
|
-
"metaCaseToOtap": {
|
|
59
|
-
"type": "boolean"
|
|
52
|
+
"metaCaseToOtap" : {
|
|
53
|
+
"type" : "boolean"
|
|
60
54
|
},
|
|
61
|
-
"ourProductId": {
|
|
62
|
-
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
55
|
+
"ourProductId" : {
|
|
56
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
63
57
|
},
|
|
64
|
-
"url": {
|
|
65
|
-
"$ref": "template/inlineTemplate.schema.json"
|
|
58
|
+
"url" : {
|
|
59
|
+
"$ref" : "template/inlineTemplate.schema.json"
|
|
66
60
|
}
|
|
67
61
|
},
|
|
68
|
-
"required": [
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"url"
|
|
73
|
-
],
|
|
74
|
-
"title": "webhook",
|
|
75
|
-
"type": "object",
|
|
76
|
-
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/webhook.json."
|
|
77
|
-
}
|
|
62
|
+
"required" : [ "_type", "_uid" ],
|
|
63
|
+
"title" : "webhook",
|
|
64
|
+
"type" : "object"
|
|
65
|
+
}
|