@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,71 @@
1
+ {
2
+ "$id": "https://grexx.net/studio-next/schemas/directRole.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": "directRole"
29
+ },
30
+ "_uid": {
31
+ "description": "Deterministic UUID derived from case-ID.",
32
+ "format": "uuid",
33
+ "type": "string"
34
+ },
35
+ "attribute": {
36
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
37
+ },
38
+ "condition": {
39
+ "$ref": "abstractCondition.schema.json"
40
+ },
41
+ "description": {
42
+ "$ref": "template/inlineTemplate.schema.json"
43
+ },
44
+ "inactive": {
45
+ "type": "boolean"
46
+ },
47
+ "interfaceStudioProduct": {
48
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
49
+ },
50
+ "metaCaseToOtap": {
51
+ "type": "boolean"
52
+ },
53
+ "ourProductId": {
54
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
55
+ },
56
+ "roleName": {
57
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
58
+ },
59
+ "securityprofile": {
60
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
61
+ }
62
+ },
63
+ "required": [
64
+ "_type",
65
+ "_uid",
66
+ "roleName"
67
+ ],
68
+ "title": "directRole",
69
+ "type": "object",
70
+ "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/directRole.json."
71
+ }
@@ -0,0 +1,75 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/fileUploadProfile.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" : "fileUploadProfile"
29
+ },
30
+ "_uid" : {
31
+ "description" : "Deterministic UUID derived from case-ID.",
32
+ "format" : "uuid",
33
+ "type" : "string"
34
+ },
35
+ "allowedExtensions" : {
36
+ "items" : {
37
+ "type" : "string"
38
+ },
39
+ "type" : "array"
40
+ },
41
+ "description" : {
42
+ "$ref" : "template/inlineTemplate.schema.json"
43
+ },
44
+ "disallowedExtensions" : {
45
+ "items" : {
46
+ "type" : "string"
47
+ },
48
+ "type" : "array"
49
+ },
50
+ "inactive" : {
51
+ "type" : "boolean"
52
+ },
53
+ "interfaceStudioProduct" : {
54
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
55
+ },
56
+ "maxFileSize" : {
57
+ "type" : "integer"
58
+ },
59
+ "metaCaseToOtap" : {
60
+ "type" : "boolean"
61
+ },
62
+ "minFileSize" : {
63
+ "type" : "integer"
64
+ },
65
+ "name" : {
66
+ "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
67
+ },
68
+ "ourProductId" : {
69
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
70
+ }
71
+ },
72
+ "required" : [ "_type", "_uid" ],
73
+ "title" : "fileUploadProfile",
74
+ "type" : "object"
75
+ }
@@ -0,0 +1,144 @@
1
+ {
2
+ "$id": "https://grexx.net/studio-next/schemas/forEach.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": "forEach"
29
+ },
30
+ "_uid": {
31
+ "description": "Deterministic UUID derived from case-ID.",
32
+ "format": "uuid",
33
+ "type": "string"
34
+ },
35
+ "description": {
36
+ "$ref": "template/inlineTemplate.schema.json"
37
+ },
38
+ "each": {
39
+ "items": {
40
+ "$ref": "abstractRule.schema.json"
41
+ },
42
+ "type": "array"
43
+ },
44
+ "for": {
45
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
46
+ },
47
+ "forDataset": {
48
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
49
+ },
50
+ "inactive": {
51
+ "type": "boolean"
52
+ },
53
+ "interfaceStudioProduct": {
54
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
55
+ },
56
+ "metaCaseToOtap": {
57
+ "type": "boolean"
58
+ },
59
+ "multivalueTemplate": {
60
+ "$ref": "template/inlineTemplate.schema.json"
61
+ },
62
+ "name": {
63
+ "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
64
+ },
65
+ "ourProductId": {
66
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
67
+ },
68
+ "progressTemplate": {
69
+ "$ref": "template/inlineTemplate.schema.json"
70
+ },
71
+ "progressTitle": {
72
+ "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
73
+ },
74
+ "showProgress": {
75
+ "type": "boolean"
76
+ },
77
+ "useCaseIDOnly": {
78
+ "type": "boolean"
79
+ }
80
+ },
81
+ "required": [
82
+ "_type",
83
+ "_uid"
84
+ ],
85
+ "title": "forEach",
86
+ "type": "object",
87
+ "allOf": [
88
+ {
89
+ "properties": {
90
+ "multivalueTemplate": false
91
+ }
92
+ },
93
+ {
94
+ "if": {
95
+ "anyOf": [
96
+ {
97
+ "properties": {
98
+ "showProgress": {
99
+ "const": "true"
100
+ }
101
+ },
102
+ "required": [
103
+ "showProgress"
104
+ ]
105
+ },
106
+ {
107
+ "properties": {
108
+ "showProgress": {
109
+ "const": "true"
110
+ }
111
+ },
112
+ "required": [
113
+ "showProgress"
114
+ ]
115
+ }
116
+ ]
117
+ },
118
+ "then": {},
119
+ "else": {
120
+ "properties": {
121
+ "progressTitle": false
122
+ }
123
+ }
124
+ },
125
+ {
126
+ "if": {
127
+ "properties": {
128
+ "showProgress": {
129
+ "const": "true"
130
+ }
131
+ },
132
+ "required": [
133
+ "showProgress"
134
+ ]
135
+ },
136
+ "then": {
137
+ "required": [
138
+ "progressTitle"
139
+ ]
140
+ }
141
+ }
142
+ ],
143
+ "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/forEach.json."
144
+ }
@@ -0,0 +1,119 @@
1
+ {
2
+ "$id": "https://grexx.net/studio-next/schemas/form.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": "form"
29
+ },
30
+ "_uid": {
31
+ "description": "Deterministic UUID derived from case-ID.",
32
+ "format": "uuid",
33
+ "type": "string"
34
+ },
35
+ "condition": {
36
+ "$ref": "conditionList.schema.json"
37
+ },
38
+ "cssClass": {
39
+ "items": {
40
+ "type": "string"
41
+ },
42
+ "type": "array"
43
+ },
44
+ "dataset": {
45
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
46
+ },
47
+ "description": {
48
+ "$ref": "template/inlineTemplate.schema.json"
49
+ },
50
+ "formGroup": {
51
+ "$ref": "formGroup.schema.json"
52
+ },
53
+ "formLogic": {
54
+ "items": {
55
+ "$ref": "abstractRule.schema.json"
56
+ },
57
+ "type": "array"
58
+ },
59
+ "formVersion": {
60
+ "type": "string"
61
+ },
62
+ "inactive": {
63
+ "type": "boolean"
64
+ },
65
+ "instruction": {
66
+ "$ref": "template/inlineTemplate.schema.json"
67
+ },
68
+ "interfaceStudioProduct": {
69
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
70
+ },
71
+ "isMultiTaskForm": {
72
+ "type": "boolean"
73
+ },
74
+ "logic": {
75
+ "additionalProperties": true,
76
+ "type": "object"
77
+ },
78
+ "metaCaseToOtap": {
79
+ "type": "boolean"
80
+ },
81
+ "name": {
82
+ "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
83
+ },
84
+ "onStart": {
85
+ "items": {
86
+ "$ref": "abstractRule.schema.json"
87
+ },
88
+ "type": "array"
89
+ },
90
+ "ourProductId": {
91
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
92
+ },
93
+ "rights": {
94
+ "items": {
95
+ "$ref": "formRight.schema.json"
96
+ },
97
+ "type": "array"
98
+ }
99
+ },
100
+ "required": [
101
+ "_type",
102
+ "_uid"
103
+ ],
104
+ "title": "form",
105
+ "type": "object",
106
+ "allOf": [
107
+ {
108
+ "properties": {
109
+ "isMultiTaskForm": false
110
+ }
111
+ },
112
+ {
113
+ "properties": {
114
+ "onStart": false
115
+ }
116
+ }
117
+ ],
118
+ "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/form.json."
119
+ }
@@ -0,0 +1,149 @@
1
+ {
2
+ "$id": "https://grexx.net/studio-next/schemas/formAction.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": "formAction"
29
+ },
30
+ "_uid": {
31
+ "description": "Deterministic UUID derived from case-ID.",
32
+ "format": "uuid",
33
+ "type": "string"
34
+ },
35
+ "actions": {
36
+ "items": {
37
+ "$ref": "abstractRule.schema.json"
38
+ },
39
+ "type": "array"
40
+ },
41
+ "dataType": {
42
+ "$ref": "template/inlineTemplate.schema.json"
43
+ },
44
+ "datafield": {
45
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
46
+ },
47
+ "description": {
48
+ "$ref": "template/inlineTemplate.schema.json"
49
+ },
50
+ "fieldsJSON": {
51
+ "additionalProperties": true,
52
+ "type": "object"
53
+ },
54
+ "formButton": {
55
+ "items": {
56
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
57
+ },
58
+ "type": "array"
59
+ },
60
+ "formField": {
61
+ "items": {
62
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
63
+ },
64
+ "type": "array"
65
+ },
66
+ "formGroup": {
67
+ "items": {
68
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
69
+ },
70
+ "type": "array"
71
+ },
72
+ "inactive": {
73
+ "type": "boolean"
74
+ },
75
+ "interfaceStudioProduct": {
76
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
77
+ },
78
+ "metaCaseToOtap": {
79
+ "type": "boolean"
80
+ },
81
+ "multivalueType": {
82
+ "$ref": "template/inlineTemplate.schema.json"
83
+ },
84
+ "ourProductId": {
85
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
86
+ },
87
+ "picklist": {
88
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
89
+ },
90
+ "progressTemplate": {
91
+ "$ref": "template/inlineTemplate.schema.json"
92
+ },
93
+ "progressTitle": {
94
+ "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
95
+ },
96
+ "relatedPlugin": {
97
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
98
+ },
99
+ "settingsJSON": {
100
+ "additionalProperties": true,
101
+ "type": "object"
102
+ },
103
+ "showProgress": {
104
+ "type": "boolean"
105
+ },
106
+ "type": {
107
+ "type": "string"
108
+ },
109
+ "value": {
110
+ "$ref": "template/inlineTemplate.schema.json"
111
+ }
112
+ },
113
+ "required": [
114
+ "_type",
115
+ "_uid"
116
+ ],
117
+ "title": "formAction",
118
+ "type": "object",
119
+ "allOf": [
120
+ {
121
+ "properties": {
122
+ "dataType": false
123
+ }
124
+ },
125
+ {
126
+ "properties": {
127
+ "multivalueType": false
128
+ }
129
+ },
130
+ {
131
+ "if": {
132
+ "properties": {
133
+ "type": {
134
+ "const": "action.setvalue"
135
+ }
136
+ },
137
+ "required": [
138
+ "type"
139
+ ]
140
+ },
141
+ "then": {
142
+ "required": [
143
+ "value"
144
+ ]
145
+ }
146
+ }
147
+ ],
148
+ "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/formAction.json."
149
+ }
@@ -0,0 +1,81 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/formActionAi.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" : "formActionAi"
29
+ },
30
+ "_uid" : {
31
+ "description" : "Deterministic UUID derived from case-ID.",
32
+ "format" : "uuid",
33
+ "type" : "string"
34
+ },
35
+ "aiModel" : {
36
+ "type" : "string"
37
+ },
38
+ "description" : {
39
+ "$ref" : "template/inlineTemplate.schema.json"
40
+ },
41
+ "formField" : {
42
+ "items" : {
43
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
44
+ },
45
+ "type" : "array"
46
+ },
47
+ "inactive" : {
48
+ "type" : "boolean"
49
+ },
50
+ "interfaceStudioProduct" : {
51
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
52
+ },
53
+ "metaCaseToOtap" : {
54
+ "type" : "boolean"
55
+ },
56
+ "model" : {
57
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
58
+ },
59
+ "ourProductId" : {
60
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
61
+ },
62
+ "progressTemplate" : {
63
+ "$ref" : "template/inlineTemplate.schema.json"
64
+ },
65
+ "progressTitle" : {
66
+ "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
67
+ },
68
+ "prompt" : {
69
+ "$ref" : "template/inlineTemplate.schema.json"
70
+ },
71
+ "showProgress" : {
72
+ "type" : "boolean"
73
+ },
74
+ "type" : {
75
+ "type" : "string"
76
+ }
77
+ },
78
+ "required" : [ "_type", "_uid" ],
79
+ "title" : "formActionAi",
80
+ "type" : "object"
81
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "$id" : "https://grexx.net/studio-next/schemas/formActionInlineJavascript.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" : "formActionInlineJavascript"
29
+ },
30
+ "_uid" : {
31
+ "description" : "Deterministic UUID derived from case-ID.",
32
+ "format" : "uuid",
33
+ "type" : "string"
34
+ },
35
+ "codeBlock" : {
36
+ "type" : "string"
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
+ "progressTemplate" : {
54
+ "$ref" : "template/inlineTemplate.schema.json"
55
+ },
56
+ "progressTitle" : {
57
+ "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
58
+ },
59
+ "showProgress" : {
60
+ "type" : "boolean"
61
+ }
62
+ },
63
+ "required" : [ "_type", "_uid" ],
64
+ "title" : "formActionInlineJavascript",
65
+ "type" : "object"
66
+ }