@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.
- package/cli.js +14973 -0
- package/lsp.js +23977 -0
- package/package.json +19 -0
- package/schemas/.coverage.json +10987 -0
- package/schemas/abstract.schema.json +842 -0
- package/schemas/abstractAttribute.schema.json +38 -0
- package/schemas/abstractAttributeFormField.schema.json +50 -0
- package/schemas/abstractCondition.schema.json +74 -0
- package/schemas/abstractRight.schema.json +74 -0
- package/schemas/abstractRole.schema.json +50 -0
- package/schemas/abstractRule.schema.json +182 -0
- package/schemas/activity.schema.json +1328 -0
- package/schemas/activityAttribute.schema.json +73 -0
- package/schemas/activityRight.schema.json +64 -0
- package/schemas/agent.schema.json +179 -0
- package/schemas/agentTool.schema.json +118 -0
- package/schemas/attribute.schema.json +286 -0
- package/schemas/casetype.schema.json +256 -0
- package/schemas/catchBlock.schema.json +76 -0
- package/schemas/common.schema.json +63 -0
- package/schemas/conditionList.schema.json +67 -0
- package/schemas/container.schema.json +88 -0
- package/schemas/cssVariables.schema.json +90 -0
- package/schemas/customThrow.schema.json +73 -0
- package/schemas/dataRetentionProfile.schema.json +90 -0
- package/schemas/dataset.schema.json +579 -0
- package/schemas/datasetColumn.schema.json +423 -0
- package/schemas/datasetCondition.schema.json +409 -0
- package/schemas/datasetRight.schema.json +86 -0
- package/schemas/datasource.schema.json +73 -0
- package/schemas/dateProfile.schema.json +87 -0
- package/schemas/directRole.schema.json +71 -0
- package/schemas/fileUploadProfile.schema.json +75 -0
- package/schemas/forEach.schema.json +144 -0
- package/schemas/form.schema.json +119 -0
- package/schemas/formAction.schema.json +149 -0
- package/schemas/formActionAi.schema.json +81 -0
- package/schemas/formActionInlineJavascript.schema.json +66 -0
- package/schemas/formButton.schema.json +84 -0
- package/schemas/formGroup.schema.json +99 -0
- package/schemas/formRight.schema.json +86 -0
- package/schemas/formfield.schema.json +339 -0
- package/schemas/gridActivity.schema.json +80 -0
- package/schemas/gridColumn.schema.json +111 -0
- package/schemas/hasRoleCondition.schema.json +63 -0
- package/schemas/ifthenelse.schema.json +78 -0
- package/schemas/indirectRole.schema.json +74 -0
- package/schemas/job.schema.json +63 -0
- package/schemas/jobStep.schema.json +68 -0
- package/schemas/llmModel.schema.json +79 -0
- package/schemas/mapping.schema.json +690 -0
- package/schemas/menuItem.schema.json +519 -0
- package/schemas/menuItemRight.schema.json +64 -0
- package/schemas/metadata.schema.json +96 -0
- package/schemas/navigation.schema.json +86 -0
- package/schemas/notCondition.schema.json +60 -0
- package/schemas/parallelBlock.schema.json +75 -0
- package/schemas/picklist.schema.json +113 -0
- package/schemas/picklistItem.schema.json +71 -0
- package/schemas/platformAttribute.schema.json +300 -0
- package/schemas/platformRole.schema.json +191 -0
- package/schemas/platformconstants.schema.json +94 -0
- package/schemas/plugin.schema.json +99 -0
- package/schemas/pluginLibrary.schema.json +78 -0
- package/schemas/requestContext.schema.json +183 -0
- package/schemas/roleName.schema.json +115 -0
- package/schemas/ruleList.schema.json +72 -0
- package/schemas/securityProfile.schema.json +63 -0
- package/schemas/securityRequirement.schema.json +63 -0
- package/schemas/simpleCondition.schema.json +466 -0
- package/schemas/staticFile.schema.json +63 -0
- package/schemas/tag.schema.json +62 -0
- package/schemas/taskQueue.schema.json +69 -0
- package/schemas/template/activitymeta.schema.json +36 -0
- package/schemas/template/attribute.schema.json +31 -0
- package/schemas/template/calculate-dataset.schema.json +31 -0
- package/schemas/template/casemeta.schema.json +18 -0
- package/schemas/template/casetypemeta.schema.json +19 -0
- package/schemas/template/comment.schema.json +36 -0
- package/schemas/template/datasetColumn.schema.json +31 -0
- package/schemas/template/date-function.schema.json +232 -0
- package/schemas/template/definitionmeta.schema.json +73 -0
- package/schemas/template/file.schema.json +39 -0
- package/schemas/template/foreach.schema.json +67 -0
- package/schemas/template/formfield.schema.json +21 -0
- package/schemas/template/formula.schema.json +18 -0
- package/schemas/template/hasRole.schema.json +18 -0
- package/schemas/template/historic.schema.json +21 -0
- package/schemas/template/html.schema.json +165 -0
- package/schemas/template/icon.schema.json +18 -0
- package/schemas/template/if.schema.json +30 -0
- package/schemas/template/inlineTemplate.schema.json +26 -0
- package/schemas/template/isnull.schema.json +21 -0
- package/schemas/template/isofcasetype.schema.json +24 -0
- package/schemas/template/iterator.schema.json +61 -0
- package/schemas/template/json.schema.json +55 -0
- package/schemas/template/math.schema.json +210 -0
- package/schemas/template/meta.schema.json +164 -0
- package/schemas/template/metadefinitionmeta.schema.json +36 -0
- package/schemas/template/multivalue.schema.json +210 -0
- package/schemas/template/page.schema.json +21 -0
- package/schemas/template/parameter.schema.json +24 -0
- package/schemas/template/parameterDefinition.schema.json +27 -0
- package/schemas/template/parameterIdDefinition.schema.json +28 -0
- package/schemas/template/parseError.schema.json +48 -0
- package/schemas/template/picklist.schema.json +27 -0
- package/schemas/template/pseudoTemplate.schema.json +27 -0
- package/schemas/template/requestcontext.schema.json +52 -0
- package/schemas/template/returnType.schema.json +26 -0
- package/schemas/template/spacialMath.schema.json +77 -0
- package/schemas/template/special.schema.json +19 -0
- package/schemas/template/staticFile.schema.json +39 -0
- package/schemas/template/system.schema.json +22 -0
- package/schemas/template/systemconfig.schema.json +21 -0
- package/schemas/template/taskattribute.schema.json +21 -0
- package/schemas/template/taskdata.schema.json +24 -0
- package/schemas/template/taskmeta.schema.json +180 -0
- package/schemas/template/taskqueuemeta.schema.json +36 -0
- package/schemas/template/template.schema.json +27 -0
- package/schemas/template/templatePart.schema.json +638 -0
- package/schemas/template/text.schema.json +18 -0
- package/schemas/template/url.schema.json +77 -0
- package/schemas/template/urlParameter.schema.json +21 -0
- package/schemas/template/user.schema.json +36 -0
- package/schemas/template/userProperty.schema.json +22 -0
- package/schemas/template/usersession.schema.json +18 -0
- package/schemas/template/util.schema.json +434 -0
- package/schemas/template/xml.schema.json +55 -0
- package/schemas/template.schema.json +74 -0
- package/schemas/theme.schema.json +63 -0
- package/schemas/trigger.schema.json +413 -0
- package/schemas/tryBlock.schema.json +99 -0
- package/schemas/view.schema.json +159 -0
- package/schemas/webhook.schema.json +77 -0
- package/schemas/while.schema.json +130 -0
- package/schemas/widget.schema.json +1416 -0
- package/schemas/widgetRight.schema.json +85 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/formButton.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
|
+
},
|
|
19
|
+
"type" : "array"
|
|
20
|
+
},
|
|
21
|
+
"_origin" : {
|
|
22
|
+
"type" : "string"
|
|
23
|
+
},
|
|
24
|
+
"_src" : {
|
|
25
|
+
"type" : "string"
|
|
26
|
+
},
|
|
27
|
+
"_type" : {
|
|
28
|
+
"const" : "formButton"
|
|
29
|
+
},
|
|
30
|
+
"_uid" : {
|
|
31
|
+
"description" : "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format" : "uuid",
|
|
33
|
+
"type" : "string"
|
|
34
|
+
},
|
|
35
|
+
"backgroundColor" : {
|
|
36
|
+
"type" : "string"
|
|
37
|
+
},
|
|
38
|
+
"cssClass" : {
|
|
39
|
+
"items" : {
|
|
40
|
+
"type" : "string"
|
|
41
|
+
},
|
|
42
|
+
"type" : "array"
|
|
43
|
+
},
|
|
44
|
+
"description" : {
|
|
45
|
+
"$ref" : "template/inlineTemplate.schema.json"
|
|
46
|
+
},
|
|
47
|
+
"disabled" : {
|
|
48
|
+
"type" : "boolean"
|
|
49
|
+
},
|
|
50
|
+
"hide" : {
|
|
51
|
+
"type" : "boolean"
|
|
52
|
+
},
|
|
53
|
+
"inactive" : {
|
|
54
|
+
"type" : "boolean"
|
|
55
|
+
},
|
|
56
|
+
"interfaceStudioProduct" : {
|
|
57
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
58
|
+
},
|
|
59
|
+
"label" : {
|
|
60
|
+
"$ref" : "template/inlineTemplate.schema.json"
|
|
61
|
+
},
|
|
62
|
+
"logic" : {
|
|
63
|
+
"items" : {
|
|
64
|
+
"$ref" : "abstractRule.schema.json"
|
|
65
|
+
},
|
|
66
|
+
"type" : "array"
|
|
67
|
+
},
|
|
68
|
+
"metaCaseToOtap" : {
|
|
69
|
+
"type" : "boolean"
|
|
70
|
+
},
|
|
71
|
+
"name" : {
|
|
72
|
+
"$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
|
|
73
|
+
},
|
|
74
|
+
"ourProductId" : {
|
|
75
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
76
|
+
},
|
|
77
|
+
"width" : {
|
|
78
|
+
"type" : "integer"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"required" : [ "_type", "_uid" ],
|
|
82
|
+
"title" : "formButton",
|
|
83
|
+
"type" : "object"
|
|
84
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/formGroup.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
|
+
},
|
|
19
|
+
"type" : "array"
|
|
20
|
+
},
|
|
21
|
+
"_origin" : {
|
|
22
|
+
"type" : "string"
|
|
23
|
+
},
|
|
24
|
+
"_src" : {
|
|
25
|
+
"type" : "string"
|
|
26
|
+
},
|
|
27
|
+
"_type" : {
|
|
28
|
+
"const" : "formGroup"
|
|
29
|
+
},
|
|
30
|
+
"_uid" : {
|
|
31
|
+
"description" : "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format" : "uuid",
|
|
33
|
+
"type" : "string"
|
|
34
|
+
},
|
|
35
|
+
"buttons" : {
|
|
36
|
+
"items" : {
|
|
37
|
+
"$ref" : "formButton.schema.json"
|
|
38
|
+
},
|
|
39
|
+
"type" : "array"
|
|
40
|
+
},
|
|
41
|
+
"cssClass" : {
|
|
42
|
+
"items" : {
|
|
43
|
+
"type" : "string"
|
|
44
|
+
},
|
|
45
|
+
"type" : "array"
|
|
46
|
+
},
|
|
47
|
+
"description" : {
|
|
48
|
+
"$ref" : "template/inlineTemplate.schema.json"
|
|
49
|
+
},
|
|
50
|
+
"formFields" : {
|
|
51
|
+
"items" : {
|
|
52
|
+
"$ref" : "formfield.schema.json"
|
|
53
|
+
},
|
|
54
|
+
"type" : "array"
|
|
55
|
+
},
|
|
56
|
+
"groups" : {
|
|
57
|
+
"items" : {
|
|
58
|
+
"$ref" : "formGroup.schema.json"
|
|
59
|
+
},
|
|
60
|
+
"type" : "array"
|
|
61
|
+
},
|
|
62
|
+
"hide" : {
|
|
63
|
+
"type" : "boolean"
|
|
64
|
+
},
|
|
65
|
+
"inactive" : {
|
|
66
|
+
"type" : "boolean"
|
|
67
|
+
},
|
|
68
|
+
"instruction" : {
|
|
69
|
+
"$ref" : "template/inlineTemplate.schema.json"
|
|
70
|
+
},
|
|
71
|
+
"interfaceStudioProduct" : {
|
|
72
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
73
|
+
},
|
|
74
|
+
"metaCaseToOtap" : {
|
|
75
|
+
"type" : "boolean"
|
|
76
|
+
},
|
|
77
|
+
"name" : {
|
|
78
|
+
"$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
|
|
79
|
+
},
|
|
80
|
+
"offset" : {
|
|
81
|
+
"type" : "integer"
|
|
82
|
+
},
|
|
83
|
+
"ourProductId" : {
|
|
84
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
85
|
+
},
|
|
86
|
+
"tooltip" : {
|
|
87
|
+
"$ref" : "template/inlineTemplate.schema.json"
|
|
88
|
+
},
|
|
89
|
+
"type" : {
|
|
90
|
+
"type" : "string"
|
|
91
|
+
},
|
|
92
|
+
"width" : {
|
|
93
|
+
"type" : "integer"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"required" : [ "_type", "_uid" ],
|
|
97
|
+
"title" : "formGroup",
|
|
98
|
+
"type" : "object"
|
|
99
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://grexx.net/studio-next/schemas/formRight.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
|
+
},
|
|
19
|
+
"type": "array"
|
|
20
|
+
},
|
|
21
|
+
"_origin": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"_src": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"_type": {
|
|
28
|
+
"const": "formRight"
|
|
29
|
+
},
|
|
30
|
+
"_uid": {
|
|
31
|
+
"description": "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format": "uuid",
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"condition": {
|
|
36
|
+
"$ref": "abstractCondition.schema.json"
|
|
37
|
+
},
|
|
38
|
+
"description": {
|
|
39
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
40
|
+
},
|
|
41
|
+
"inactive": {
|
|
42
|
+
"type": "boolean"
|
|
43
|
+
},
|
|
44
|
+
"interfaceStudioProduct": {
|
|
45
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
46
|
+
},
|
|
47
|
+
"metaCaseToOtap": {
|
|
48
|
+
"type": "boolean"
|
|
49
|
+
},
|
|
50
|
+
"ourProductId": {
|
|
51
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
52
|
+
},
|
|
53
|
+
"roleName": {
|
|
54
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
55
|
+
},
|
|
56
|
+
"type": {
|
|
57
|
+
"enum": [
|
|
58
|
+
"widget_view",
|
|
59
|
+
"activity_request",
|
|
60
|
+
"activity_execute",
|
|
61
|
+
"activity_trigger",
|
|
62
|
+
"activity_agent_request",
|
|
63
|
+
"activity_agent_execute",
|
|
64
|
+
"activity_agent_suggest_request",
|
|
65
|
+
"activity_agent_suggest_execute",
|
|
66
|
+
"dataset_view",
|
|
67
|
+
"form_view",
|
|
68
|
+
"menuItem_view",
|
|
69
|
+
"debug_action",
|
|
70
|
+
"any_right"
|
|
71
|
+
],
|
|
72
|
+
"type": "string"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"required": [
|
|
76
|
+
"_type",
|
|
77
|
+
"_uid",
|
|
78
|
+
"description",
|
|
79
|
+
"condition",
|
|
80
|
+
"roleName",
|
|
81
|
+
"type"
|
|
82
|
+
],
|
|
83
|
+
"title": "formRight",
|
|
84
|
+
"type": "object",
|
|
85
|
+
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/formRight.json."
|
|
86
|
+
}
|
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://grexx.net/studio-next/schemas/formfield.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
|
+
},
|
|
19
|
+
"type": "array"
|
|
20
|
+
},
|
|
21
|
+
"_origin": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"_src": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"_type": {
|
|
28
|
+
"const": "formfield"
|
|
29
|
+
},
|
|
30
|
+
"_uid": {
|
|
31
|
+
"description": "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format": "uuid",
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"addActivity": {
|
|
36
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
37
|
+
},
|
|
38
|
+
"addActivityBase": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"anonymizeFormfield": {
|
|
42
|
+
"type": "boolean"
|
|
43
|
+
},
|
|
44
|
+
"attribute": {
|
|
45
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
46
|
+
},
|
|
47
|
+
"column": {
|
|
48
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
49
|
+
},
|
|
50
|
+
"cssClass": {
|
|
51
|
+
"items": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
"type": "array"
|
|
55
|
+
},
|
|
56
|
+
"currency": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"currentCasetypes": {
|
|
60
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
61
|
+
},
|
|
62
|
+
"dateProfile": {
|
|
63
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
64
|
+
},
|
|
65
|
+
"description": {
|
|
66
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
67
|
+
},
|
|
68
|
+
"externalReference": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"fileProfile": {
|
|
72
|
+
"items": {
|
|
73
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
74
|
+
},
|
|
75
|
+
"type": "array"
|
|
76
|
+
},
|
|
77
|
+
"filesizeMax": {
|
|
78
|
+
"type": "integer"
|
|
79
|
+
},
|
|
80
|
+
"filesizeMin": {
|
|
81
|
+
"type": "integer"
|
|
82
|
+
},
|
|
83
|
+
"fileuploadInstruction": {
|
|
84
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
85
|
+
},
|
|
86
|
+
"formfieldDefaultValue": {
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
"hide": {
|
|
90
|
+
"type": "boolean"
|
|
91
|
+
},
|
|
92
|
+
"inactive": {
|
|
93
|
+
"type": "boolean"
|
|
94
|
+
},
|
|
95
|
+
"instruction": {
|
|
96
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
97
|
+
},
|
|
98
|
+
"interfaceStudioProduct": {
|
|
99
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
100
|
+
},
|
|
101
|
+
"isBigDatatype": {
|
|
102
|
+
"type": "boolean"
|
|
103
|
+
},
|
|
104
|
+
"labelStyle": {
|
|
105
|
+
"type": "string"
|
|
106
|
+
},
|
|
107
|
+
"labelWidth": {
|
|
108
|
+
"type": "integer"
|
|
109
|
+
},
|
|
110
|
+
"logic": {
|
|
111
|
+
"additionalProperties": true,
|
|
112
|
+
"type": "object"
|
|
113
|
+
},
|
|
114
|
+
"metaCaseToOtap": {
|
|
115
|
+
"type": "boolean"
|
|
116
|
+
},
|
|
117
|
+
"multiLanguage": {
|
|
118
|
+
"type": "boolean"
|
|
119
|
+
},
|
|
120
|
+
"multitaskPlatformAttribute": {
|
|
121
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
122
|
+
},
|
|
123
|
+
"multivalue": {
|
|
124
|
+
"type": "boolean"
|
|
125
|
+
},
|
|
126
|
+
"multivalueInputSeparator": {
|
|
127
|
+
"items": {
|
|
128
|
+
"type": "string"
|
|
129
|
+
},
|
|
130
|
+
"type": "array"
|
|
131
|
+
},
|
|
132
|
+
"multivalueMax": {
|
|
133
|
+
"type": "integer"
|
|
134
|
+
},
|
|
135
|
+
"multivalueMin": {
|
|
136
|
+
"type": "integer"
|
|
137
|
+
},
|
|
138
|
+
"multivalueType": {
|
|
139
|
+
"enum": [
|
|
140
|
+
"set",
|
|
141
|
+
"list"
|
|
142
|
+
],
|
|
143
|
+
"type": "string"
|
|
144
|
+
},
|
|
145
|
+
"name": {
|
|
146
|
+
"$ref": "common.schema.json#/$defs/multilanguageStringStructure"
|
|
147
|
+
},
|
|
148
|
+
"offset": {
|
|
149
|
+
"type": "integer"
|
|
150
|
+
},
|
|
151
|
+
"operator": {
|
|
152
|
+
"enum": [
|
|
153
|
+
"==",
|
|
154
|
+
"eq",
|
|
155
|
+
"equals",
|
|
156
|
+
"==text==",
|
|
157
|
+
"!==text!==",
|
|
158
|
+
"!==text==",
|
|
159
|
+
"!==",
|
|
160
|
+
"<>",
|
|
161
|
+
"!=",
|
|
162
|
+
"neq",
|
|
163
|
+
"!==",
|
|
164
|
+
">=",
|
|
165
|
+
"gte",
|
|
166
|
+
">",
|
|
167
|
+
"gt",
|
|
168
|
+
"<=",
|
|
169
|
+
"lte",
|
|
170
|
+
"<",
|
|
171
|
+
"lt",
|
|
172
|
+
"contains",
|
|
173
|
+
"notcontains",
|
|
174
|
+
"!contains",
|
|
175
|
+
"stringcontains",
|
|
176
|
+
"notstringcontains",
|
|
177
|
+
"!stringcontains",
|
|
178
|
+
"multivaluecontains",
|
|
179
|
+
"mvcontains",
|
|
180
|
+
"notmultivaluecontains",
|
|
181
|
+
"notmvcontains",
|
|
182
|
+
"!multivaluecontains",
|
|
183
|
+
"anyin",
|
|
184
|
+
"notanyin",
|
|
185
|
+
"!anyin",
|
|
186
|
+
"allin",
|
|
187
|
+
"notallin",
|
|
188
|
+
"!allin",
|
|
189
|
+
"vectorsearch",
|
|
190
|
+
"in",
|
|
191
|
+
"notin",
|
|
192
|
+
"!in",
|
|
193
|
+
"innonnull",
|
|
194
|
+
"notinnonnull",
|
|
195
|
+
"!innonnull",
|
|
196
|
+
"like",
|
|
197
|
+
"notlike",
|
|
198
|
+
"!like",
|
|
199
|
+
"beginsWith",
|
|
200
|
+
"begins",
|
|
201
|
+
"startswith",
|
|
202
|
+
"notBeginsWith",
|
|
203
|
+
"notbegins",
|
|
204
|
+
"notstartswith",
|
|
205
|
+
"!beginsWith",
|
|
206
|
+
"endsWith",
|
|
207
|
+
"ends",
|
|
208
|
+
"notEndsWith",
|
|
209
|
+
"notends",
|
|
210
|
+
"!endsWith",
|
|
211
|
+
"equalswildcard",
|
|
212
|
+
"notequalswildcard",
|
|
213
|
+
"!equalswildcard",
|
|
214
|
+
"equalswildcardlhs",
|
|
215
|
+
"notequalswildcardlhs",
|
|
216
|
+
"!equalswildcardlhs"
|
|
217
|
+
],
|
|
218
|
+
"type": "string"
|
|
219
|
+
},
|
|
220
|
+
"optional": {
|
|
221
|
+
"type": "boolean"
|
|
222
|
+
},
|
|
223
|
+
"ourProductId": {
|
|
224
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
225
|
+
},
|
|
226
|
+
"picklist": {
|
|
227
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
228
|
+
},
|
|
229
|
+
"picklistBase": {
|
|
230
|
+
"type": "string"
|
|
231
|
+
},
|
|
232
|
+
"picklistShowLinkToCase": {
|
|
233
|
+
"type": "boolean"
|
|
234
|
+
},
|
|
235
|
+
"placeholder": {
|
|
236
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
237
|
+
},
|
|
238
|
+
"placeholderUseLabel": {
|
|
239
|
+
"type": "boolean"
|
|
240
|
+
},
|
|
241
|
+
"readonly": {
|
|
242
|
+
"type": "boolean"
|
|
243
|
+
},
|
|
244
|
+
"render": {
|
|
245
|
+
"type": "string"
|
|
246
|
+
},
|
|
247
|
+
"textRows": {
|
|
248
|
+
"type": "integer"
|
|
249
|
+
},
|
|
250
|
+
"tooltip": {
|
|
251
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
252
|
+
},
|
|
253
|
+
"type": {
|
|
254
|
+
"enum": [
|
|
255
|
+
"boolean",
|
|
256
|
+
"date",
|
|
257
|
+
"datetime",
|
|
258
|
+
"integer",
|
|
259
|
+
"long",
|
|
260
|
+
"double",
|
|
261
|
+
"string",
|
|
262
|
+
"string",
|
|
263
|
+
"text",
|
|
264
|
+
"mediumstring",
|
|
265
|
+
"smallstring",
|
|
266
|
+
"tinystring",
|
|
267
|
+
"caseid",
|
|
268
|
+
"case",
|
|
269
|
+
"internalexternalcaseid",
|
|
270
|
+
"internalexternalcaseid",
|
|
271
|
+
"taskid",
|
|
272
|
+
"task",
|
|
273
|
+
"jsonobject",
|
|
274
|
+
"json",
|
|
275
|
+
"file",
|
|
276
|
+
"inlinetemplate",
|
|
277
|
+
"money",
|
|
278
|
+
"uuid",
|
|
279
|
+
"datasetrow",
|
|
280
|
+
"versionedid",
|
|
281
|
+
"point2d",
|
|
282
|
+
"polygon2d",
|
|
283
|
+
"grexxblob",
|
|
284
|
+
"singlecurrencymoney"
|
|
285
|
+
],
|
|
286
|
+
"type": "string"
|
|
287
|
+
},
|
|
288
|
+
"validation": {
|
|
289
|
+
"type": "string"
|
|
290
|
+
},
|
|
291
|
+
"width": {
|
|
292
|
+
"type": "integer"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"required": [
|
|
296
|
+
"_type",
|
|
297
|
+
"_uid"
|
|
298
|
+
],
|
|
299
|
+
"title": "formfield",
|
|
300
|
+
"type": "object",
|
|
301
|
+
"allOf": [
|
|
302
|
+
{
|
|
303
|
+
"properties": {
|
|
304
|
+
"addActivity": false
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"properties": {
|
|
309
|
+
"logic": false
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"properties": {
|
|
314
|
+
"addActivityBase": false
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"properties": {
|
|
319
|
+
"picklistBase": false
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"properties": {
|
|
324
|
+
"placeholder": false
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"properties": {
|
|
329
|
+
"placeholderUseLabel": false
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"properties": {
|
|
334
|
+
"textRows": false
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
],
|
|
338
|
+
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/formfield.json."
|
|
339
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/gridActivity.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
|
+
},
|
|
19
|
+
"type" : "array"
|
|
20
|
+
},
|
|
21
|
+
"_origin" : {
|
|
22
|
+
"type" : "string"
|
|
23
|
+
},
|
|
24
|
+
"_src" : {
|
|
25
|
+
"type" : "string"
|
|
26
|
+
},
|
|
27
|
+
"_type" : {
|
|
28
|
+
"const" : "gridActivity"
|
|
29
|
+
},
|
|
30
|
+
"_uid" : {
|
|
31
|
+
"description" : "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format" : "uuid",
|
|
33
|
+
"type" : "string"
|
|
34
|
+
},
|
|
35
|
+
"activity" : {
|
|
36
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
37
|
+
},
|
|
38
|
+
"breaker" : {
|
|
39
|
+
"type" : "boolean"
|
|
40
|
+
},
|
|
41
|
+
"checkRights" : {
|
|
42
|
+
"enum" : [ "checkOnce", "inlineAll" ],
|
|
43
|
+
"type" : "string"
|
|
44
|
+
},
|
|
45
|
+
"description" : {
|
|
46
|
+
"$ref" : "template/inlineTemplate.schema.json"
|
|
47
|
+
},
|
|
48
|
+
"icon" : {
|
|
49
|
+
"type" : "string"
|
|
50
|
+
},
|
|
51
|
+
"inactive" : {
|
|
52
|
+
"type" : "boolean"
|
|
53
|
+
},
|
|
54
|
+
"interfaceStudioProduct" : {
|
|
55
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
56
|
+
},
|
|
57
|
+
"metaCaseToOtap" : {
|
|
58
|
+
"type" : "boolean"
|
|
59
|
+
},
|
|
60
|
+
"ourProductId" : {
|
|
61
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
62
|
+
},
|
|
63
|
+
"title" : {
|
|
64
|
+
"$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
|
|
65
|
+
},
|
|
66
|
+
"type" : {
|
|
67
|
+
"enum" : [ "single", "multi", "multiForm", "standalone", "quickStandalone", "quickSingle", "singleInline", "quickInline", "inlineAdd", "inlineEdit" ],
|
|
68
|
+
"type" : "string"
|
|
69
|
+
},
|
|
70
|
+
"useActivityTitle" : {
|
|
71
|
+
"type" : "boolean"
|
|
72
|
+
},
|
|
73
|
+
"whenDoneRefreshType" : {
|
|
74
|
+
"type" : "string"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"required" : [ "_type", "_uid" ],
|
|
78
|
+
"title" : "gridActivity",
|
|
79
|
+
"type" : "object"
|
|
80
|
+
}
|