@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,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/attribute.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"properties" : {
|
|
5
|
+
"attribute" : {
|
|
6
|
+
"$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
|
|
7
|
+
},
|
|
8
|
+
"join" : {
|
|
9
|
+
"type" : "boolean"
|
|
10
|
+
},
|
|
11
|
+
"joinString" : {
|
|
12
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
13
|
+
},
|
|
14
|
+
"link" : {
|
|
15
|
+
"$ref" : "templatePart.schema.json"
|
|
16
|
+
},
|
|
17
|
+
"picklistAction" : {
|
|
18
|
+
"enum" : [ "value", "label", "fastLabel" ],
|
|
19
|
+
"type" : "string"
|
|
20
|
+
},
|
|
21
|
+
"returnType" : {
|
|
22
|
+
"$ref" : "returnType.schema.json"
|
|
23
|
+
},
|
|
24
|
+
"type" : {
|
|
25
|
+
"const" : "attribute"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required" : [ "type" ],
|
|
29
|
+
"title" : "attribute",
|
|
30
|
+
"type" : "object"
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/calculate-dataset.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"properties" : {
|
|
5
|
+
"attribute" : {
|
|
6
|
+
"$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
|
|
7
|
+
},
|
|
8
|
+
"column" : {
|
|
9
|
+
"$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
|
|
10
|
+
},
|
|
11
|
+
"dataset" : {
|
|
12
|
+
"$ref" : "../common.schema.json#/$defs/caseIdOrParameter"
|
|
13
|
+
},
|
|
14
|
+
"operation" : {
|
|
15
|
+
"enum" : [ "average", "count", "max", "min", "sum" ],
|
|
16
|
+
"type" : "string"
|
|
17
|
+
},
|
|
18
|
+
"returnType" : {
|
|
19
|
+
"$ref" : "returnType.schema.json"
|
|
20
|
+
},
|
|
21
|
+
"type" : {
|
|
22
|
+
"const" : "calculate-dataset"
|
|
23
|
+
},
|
|
24
|
+
"value" : {
|
|
25
|
+
"type" : "string"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required" : [ "type", "operation" ],
|
|
29
|
+
"title" : "calculate-dataset",
|
|
30
|
+
"type" : "object"
|
|
31
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/casemeta.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"properties" : {
|
|
5
|
+
"returnType" : {
|
|
6
|
+
"$ref" : "returnType.schema.json"
|
|
7
|
+
},
|
|
8
|
+
"type" : {
|
|
9
|
+
"const" : "casemeta"
|
|
10
|
+
},
|
|
11
|
+
"value" : {
|
|
12
|
+
"const" : "id"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required" : [ "type", "value" ],
|
|
16
|
+
"title" : "casemeta",
|
|
17
|
+
"type" : "object"
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/casetypemeta.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"properties" : {
|
|
5
|
+
"metaName" : {
|
|
6
|
+
"enum" : [ "caseid", "devref", "name", "originid" ],
|
|
7
|
+
"type" : "string"
|
|
8
|
+
},
|
|
9
|
+
"returnType" : {
|
|
10
|
+
"$ref" : "returnType.schema.json"
|
|
11
|
+
},
|
|
12
|
+
"type" : {
|
|
13
|
+
"const" : "casetypemeta"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required" : [ "type", "metaName" ],
|
|
17
|
+
"title" : "casetypemeta",
|
|
18
|
+
"type" : "object"
|
|
19
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/comment.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"allOf" : [ {
|
|
5
|
+
"if" : {
|
|
6
|
+
"properties" : {
|
|
7
|
+
"operator" : {
|
|
8
|
+
"const" : "comment"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required" : [ "operator" ]
|
|
12
|
+
},
|
|
13
|
+
"then" : {
|
|
14
|
+
"properties" : {
|
|
15
|
+
"comment" : {
|
|
16
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
} ],
|
|
21
|
+
"properties" : {
|
|
22
|
+
"operator" : {
|
|
23
|
+
"enum" : [ "comment" ],
|
|
24
|
+
"type" : "string"
|
|
25
|
+
},
|
|
26
|
+
"returnType" : {
|
|
27
|
+
"$ref" : "returnType.schema.json"
|
|
28
|
+
},
|
|
29
|
+
"type" : {
|
|
30
|
+
"const" : "comment"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required" : [ "type", "operator" ],
|
|
34
|
+
"title" : "comment",
|
|
35
|
+
"type" : "object"
|
|
36
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/datasetColumn.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"properties" : {
|
|
5
|
+
"attribute" : {
|
|
6
|
+
"$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
|
|
7
|
+
},
|
|
8
|
+
"column" : {
|
|
9
|
+
"$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
|
|
10
|
+
},
|
|
11
|
+
"dataset" : {
|
|
12
|
+
"$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
|
|
13
|
+
},
|
|
14
|
+
"link" : {
|
|
15
|
+
"$ref" : "templatePart.schema.json"
|
|
16
|
+
},
|
|
17
|
+
"operation" : {
|
|
18
|
+
"enum" : [ "column" ],
|
|
19
|
+
"type" : "string"
|
|
20
|
+
},
|
|
21
|
+
"returnType" : {
|
|
22
|
+
"$ref" : "returnType.schema.json"
|
|
23
|
+
},
|
|
24
|
+
"type" : {
|
|
25
|
+
"const" : "datasetColumn"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required" : [ "type", "operation" ],
|
|
29
|
+
"title" : "datasetColumn",
|
|
30
|
+
"type" : "object"
|
|
31
|
+
}
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/date-function.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"allOf" : [ {
|
|
5
|
+
"if" : {
|
|
6
|
+
"properties" : {
|
|
7
|
+
"operator" : {
|
|
8
|
+
"const" : "addBusinessDays"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required" : [ "operator" ]
|
|
12
|
+
},
|
|
13
|
+
"then" : {
|
|
14
|
+
"properties" : {
|
|
15
|
+
"parameter" : {
|
|
16
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
17
|
+
},
|
|
18
|
+
"startdate" : {
|
|
19
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}, {
|
|
24
|
+
"if" : {
|
|
25
|
+
"properties" : {
|
|
26
|
+
"operator" : {
|
|
27
|
+
"const" : "addBusinessHours"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"required" : [ "operator" ]
|
|
31
|
+
},
|
|
32
|
+
"then" : {
|
|
33
|
+
"properties" : {
|
|
34
|
+
"parameter" : {
|
|
35
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
36
|
+
},
|
|
37
|
+
"startdate" : {
|
|
38
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}, {
|
|
43
|
+
"if" : {
|
|
44
|
+
"properties" : {
|
|
45
|
+
"operator" : {
|
|
46
|
+
"const" : "addBusinessMinutes"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"required" : [ "operator" ]
|
|
50
|
+
},
|
|
51
|
+
"then" : {
|
|
52
|
+
"properties" : {
|
|
53
|
+
"parameter" : {
|
|
54
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
55
|
+
},
|
|
56
|
+
"startdate" : {
|
|
57
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}, {
|
|
62
|
+
"if" : {
|
|
63
|
+
"properties" : {
|
|
64
|
+
"operator" : {
|
|
65
|
+
"const" : "adddays"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required" : [ "operator" ]
|
|
69
|
+
},
|
|
70
|
+
"then" : {
|
|
71
|
+
"properties" : {
|
|
72
|
+
"parameter" : {
|
|
73
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
74
|
+
},
|
|
75
|
+
"startdate" : {
|
|
76
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}, {
|
|
81
|
+
"if" : {
|
|
82
|
+
"properties" : {
|
|
83
|
+
"operator" : {
|
|
84
|
+
"const" : "addhours"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"required" : [ "operator" ]
|
|
88
|
+
},
|
|
89
|
+
"then" : {
|
|
90
|
+
"properties" : {
|
|
91
|
+
"parameter" : {
|
|
92
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
93
|
+
},
|
|
94
|
+
"startdate" : {
|
|
95
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}, {
|
|
100
|
+
"if" : {
|
|
101
|
+
"properties" : {
|
|
102
|
+
"operator" : {
|
|
103
|
+
"const" : "addminutes"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"required" : [ "operator" ]
|
|
107
|
+
},
|
|
108
|
+
"then" : {
|
|
109
|
+
"properties" : {
|
|
110
|
+
"parameter" : {
|
|
111
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
112
|
+
},
|
|
113
|
+
"startdate" : {
|
|
114
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}, {
|
|
119
|
+
"if" : {
|
|
120
|
+
"properties" : {
|
|
121
|
+
"operator" : {
|
|
122
|
+
"const" : "addmonths"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"required" : [ "operator" ]
|
|
126
|
+
},
|
|
127
|
+
"then" : {
|
|
128
|
+
"properties" : {
|
|
129
|
+
"parameter" : {
|
|
130
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
131
|
+
},
|
|
132
|
+
"startdate" : {
|
|
133
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}, {
|
|
138
|
+
"if" : {
|
|
139
|
+
"properties" : {
|
|
140
|
+
"operator" : {
|
|
141
|
+
"const" : "addweeks"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"required" : [ "operator" ]
|
|
145
|
+
},
|
|
146
|
+
"then" : {
|
|
147
|
+
"properties" : {
|
|
148
|
+
"parameter" : {
|
|
149
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
150
|
+
},
|
|
151
|
+
"startdate" : {
|
|
152
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}, {
|
|
157
|
+
"if" : {
|
|
158
|
+
"properties" : {
|
|
159
|
+
"operator" : {
|
|
160
|
+
"const" : "addyears"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"required" : [ "operator" ]
|
|
164
|
+
},
|
|
165
|
+
"then" : {
|
|
166
|
+
"properties" : {
|
|
167
|
+
"parameter" : {
|
|
168
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
169
|
+
},
|
|
170
|
+
"startdate" : {
|
|
171
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}, {
|
|
176
|
+
"if" : {
|
|
177
|
+
"properties" : {
|
|
178
|
+
"operator" : {
|
|
179
|
+
"const" : "dateDiff"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"required" : [ "operator" ]
|
|
183
|
+
},
|
|
184
|
+
"then" : {
|
|
185
|
+
"properties" : {
|
|
186
|
+
"enddate" : {
|
|
187
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
188
|
+
},
|
|
189
|
+
"startdate" : {
|
|
190
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
191
|
+
},
|
|
192
|
+
"timeUnit" : {
|
|
193
|
+
"type" : "string"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}, {
|
|
198
|
+
"if" : {
|
|
199
|
+
"properties" : {
|
|
200
|
+
"operator" : {
|
|
201
|
+
"const" : "formatdate"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"required" : [ "operator" ]
|
|
205
|
+
},
|
|
206
|
+
"then" : {
|
|
207
|
+
"properties" : {
|
|
208
|
+
"dateFormat" : {
|
|
209
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
210
|
+
},
|
|
211
|
+
"datetime" : {
|
|
212
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
} ],
|
|
217
|
+
"properties" : {
|
|
218
|
+
"operator" : {
|
|
219
|
+
"enum" : [ "addBusinessDays", "addBusinessHours", "addBusinessMinutes", "adddays", "addhours", "addminutes", "addmonths", "addweeks", "addyears", "currentdate", "dateDiff", "formatdate" ],
|
|
220
|
+
"type" : "string"
|
|
221
|
+
},
|
|
222
|
+
"returnType" : {
|
|
223
|
+
"$ref" : "returnType.schema.json"
|
|
224
|
+
},
|
|
225
|
+
"type" : {
|
|
226
|
+
"const" : "date-function"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"required" : [ "type", "operator" ],
|
|
230
|
+
"title" : "date-function",
|
|
231
|
+
"type" : "object"
|
|
232
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/definitionmeta.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"allOf" : [ {
|
|
5
|
+
"if" : {
|
|
6
|
+
"properties" : {
|
|
7
|
+
"operator" : {
|
|
8
|
+
"const" : "static"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required" : [ "operator" ]
|
|
12
|
+
},
|
|
13
|
+
"then" : {
|
|
14
|
+
"properties" : {
|
|
15
|
+
"studioCaseid" : {
|
|
16
|
+
"$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}, {
|
|
21
|
+
"if" : {
|
|
22
|
+
"properties" : {
|
|
23
|
+
"operator" : {
|
|
24
|
+
"const" : "template"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required" : [ "operator" ]
|
|
28
|
+
},
|
|
29
|
+
"then" : {
|
|
30
|
+
"properties" : {
|
|
31
|
+
"studioCaseid" : {
|
|
32
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
} ],
|
|
37
|
+
"properties" : {
|
|
38
|
+
"grexxObjectPlatform" : {
|
|
39
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
40
|
+
},
|
|
41
|
+
"grexxObjectType" : {
|
|
42
|
+
"type" : "string"
|
|
43
|
+
},
|
|
44
|
+
"linkRelated" : {
|
|
45
|
+
"$ref" : "templatePart.schema.json"
|
|
46
|
+
},
|
|
47
|
+
"map" : {
|
|
48
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
49
|
+
},
|
|
50
|
+
"metaName" : {
|
|
51
|
+
"type" : "string"
|
|
52
|
+
},
|
|
53
|
+
"operator" : {
|
|
54
|
+
"enum" : [ "all", "current", "link", "static", "template" ],
|
|
55
|
+
"type" : "string"
|
|
56
|
+
},
|
|
57
|
+
"returnType" : {
|
|
58
|
+
"$ref" : "returnType.schema.json"
|
|
59
|
+
},
|
|
60
|
+
"reverseLinkRelated" : {
|
|
61
|
+
"$ref" : "templatePart.schema.json"
|
|
62
|
+
},
|
|
63
|
+
"reverseMetaName" : {
|
|
64
|
+
"type" : "string"
|
|
65
|
+
},
|
|
66
|
+
"type" : {
|
|
67
|
+
"const" : "definitionmeta"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required" : [ "type" ],
|
|
71
|
+
"title" : "definitionmeta",
|
|
72
|
+
"type" : "object"
|
|
73
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/file.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"allOf" : [ {
|
|
5
|
+
"if" : {
|
|
6
|
+
"properties" : {
|
|
7
|
+
"operator" : {
|
|
8
|
+
"const" : "tempURL"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required" : [ "operator" ]
|
|
12
|
+
},
|
|
13
|
+
"then" : {
|
|
14
|
+
"properties" : {
|
|
15
|
+
"duration" : {
|
|
16
|
+
"type" : "integer"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
} ],
|
|
21
|
+
"properties" : {
|
|
22
|
+
"file" : {
|
|
23
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
24
|
+
},
|
|
25
|
+
"operator" : {
|
|
26
|
+
"enum" : [ "contenttype", "extension", "filename", "size", "tempURL" ],
|
|
27
|
+
"type" : "string"
|
|
28
|
+
},
|
|
29
|
+
"returnType" : {
|
|
30
|
+
"$ref" : "returnType.schema.json"
|
|
31
|
+
},
|
|
32
|
+
"type" : {
|
|
33
|
+
"const" : "file"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required" : [ "type", "operator" ],
|
|
37
|
+
"title" : "file",
|
|
38
|
+
"type" : "object"
|
|
39
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/foreach.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"allOf" : [ {
|
|
5
|
+
"if" : {
|
|
6
|
+
"properties" : {
|
|
7
|
+
"value" : {
|
|
8
|
+
"const" : "currentitem"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required" : [ "value" ]
|
|
12
|
+
},
|
|
13
|
+
"then" : {
|
|
14
|
+
"properties" : {
|
|
15
|
+
"activity" : {
|
|
16
|
+
"$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
|
|
17
|
+
},
|
|
18
|
+
"link" : {
|
|
19
|
+
"$ref" : "templatePart.schema.json"
|
|
20
|
+
},
|
|
21
|
+
"ruleID" : {
|
|
22
|
+
"$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}, {
|
|
27
|
+
"if" : {
|
|
28
|
+
"properties" : {
|
|
29
|
+
"value" : {
|
|
30
|
+
"const" : "currentrow"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required" : [ "value" ]
|
|
34
|
+
},
|
|
35
|
+
"then" : {
|
|
36
|
+
"properties" : {
|
|
37
|
+
"column" : {
|
|
38
|
+
"$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
|
|
39
|
+
},
|
|
40
|
+
"dataset" : {
|
|
41
|
+
"$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
|
|
42
|
+
},
|
|
43
|
+
"link" : {
|
|
44
|
+
"$ref" : "templatePart.schema.json"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
} ],
|
|
49
|
+
"properties" : {
|
|
50
|
+
"level" : {
|
|
51
|
+
"type" : "integer"
|
|
52
|
+
},
|
|
53
|
+
"returnType" : {
|
|
54
|
+
"$ref" : "returnType.schema.json"
|
|
55
|
+
},
|
|
56
|
+
"type" : {
|
|
57
|
+
"const" : "foreach"
|
|
58
|
+
},
|
|
59
|
+
"value" : {
|
|
60
|
+
"enum" : [ "currentitem", "currentrow" ],
|
|
61
|
+
"type" : "string"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required" : [ "type", "value" ],
|
|
65
|
+
"title" : "foreach",
|
|
66
|
+
"type" : "object"
|
|
67
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/formfield.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"properties" : {
|
|
5
|
+
"formfield" : {
|
|
6
|
+
"$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
|
|
7
|
+
},
|
|
8
|
+
"link" : {
|
|
9
|
+
"$ref" : "templatePart.schema.json"
|
|
10
|
+
},
|
|
11
|
+
"returnType" : {
|
|
12
|
+
"$ref" : "returnType.schema.json"
|
|
13
|
+
},
|
|
14
|
+
"type" : {
|
|
15
|
+
"const" : "formfield"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required" : [ "type" ],
|
|
19
|
+
"title" : "formfield",
|
|
20
|
+
"type" : "object"
|
|
21
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/formula.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"properties" : {
|
|
5
|
+
"param" : {
|
|
6
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
7
|
+
},
|
|
8
|
+
"returnType" : {
|
|
9
|
+
"$ref" : "returnType.schema.json"
|
|
10
|
+
},
|
|
11
|
+
"type" : {
|
|
12
|
+
"const" : "formula"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required" : [ "type" ],
|
|
16
|
+
"title" : "formula",
|
|
17
|
+
"type" : "object"
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/hasRole.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"properties" : {
|
|
5
|
+
"returnType" : {
|
|
6
|
+
"$ref" : "returnType.schema.json"
|
|
7
|
+
},
|
|
8
|
+
"roleid" : {
|
|
9
|
+
"$ref" : "../common.schema.json#/$defs/caseIdOrFileReference"
|
|
10
|
+
},
|
|
11
|
+
"type" : {
|
|
12
|
+
"const" : "hasRole"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required" : [ "type" ],
|
|
16
|
+
"title" : "hasRole",
|
|
17
|
+
"type" : "object"
|
|
18
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/historic.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"properties" : {
|
|
5
|
+
"date" : {
|
|
6
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
7
|
+
},
|
|
8
|
+
"returnType" : {
|
|
9
|
+
"$ref" : "returnType.schema.json"
|
|
10
|
+
},
|
|
11
|
+
"template" : {
|
|
12
|
+
"$ref" : "inlineTemplate.schema.json"
|
|
13
|
+
},
|
|
14
|
+
"type" : {
|
|
15
|
+
"const" : "historic"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required" : [ "type" ],
|
|
19
|
+
"title" : "historic",
|
|
20
|
+
"type" : "object"
|
|
21
|
+
}
|