apexrest 1.2.0 → 1.3.0-beta.1

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 (151) hide show
  1. package/README.md +9 -3
  2. package/README.uk.md +9 -3
  3. package/dist/codex-compat/plugins/apexrest-apex/.codex-plugin/plugin.json +1 -1
  4. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/evidence/block%3Aanalytics%2Fstatus-summary%401.0.0.json +19 -0
  5. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/evidence/block%3Acrud%2Freport-dialog%401.0.0.json +19 -0
  6. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/evidence/block%3Aread%2Fdetail%401.0.0.json +19 -0
  7. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/evidence/block%3Aread%2Ffiltered-list%401.0.0.json +19 -0
  8. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/evidence/block%3Aread%2Fhistory%401.0.0.json +19 -0
  9. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/evidence/block%3Aread%2Fmaster-detail%401.0.0.json +19 -0
  10. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/generator.json +5 -0
  11. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/manifest.json +29 -0
  12. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/packages/analytics/status-summary/1.0.0/block.yaml +59 -0
  13. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/packages/analytics/status-summary/1.0.0/renderer.json +14 -0
  14. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/packages/crud/report-dialog/1.0.0/block.yaml +66 -0
  15. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/packages/crud/report-dialog/1.0.0/renderer.json +14 -0
  16. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/packages/read/detail/1.0.0/block.yaml +59 -0
  17. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/packages/read/detail/1.0.0/renderer.json +14 -0
  18. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/packages/read/filtered-list/1.0.0/block.yaml +59 -0
  19. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/packages/read/filtered-list/1.0.0/renderer.json +14 -0
  20. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/packages/read/history/1.0.0/block.yaml +59 -0
  21. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/packages/read/history/1.0.0/renderer.json +14 -0
  22. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/packages/read/master-detail/1.0.0/block.yaml +59 -0
  23. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/packages/read/master-detail/1.0.0/renderer.json +14 -0
  24. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/profiles.json +10 -0
  25. package/dist/codex-compat/plugins/apexrest-apex/resources/blocks/revocations.json +1 -0
  26. package/dist/codex-compat/plugins/apexrest-apex/resources/blueprints/crm.yaml +172 -0
  27. package/dist/codex-compat/plugins/apexrest-apex/resources/blueprints/index.json +12 -0
  28. package/dist/codex-compat/plugins/apexrest-apex/resources/blueprints/service-desk.yaml +120 -0
  29. package/dist/codex-compat/plugins/apexrest-apex/resources/panel/index.html +7 -0
  30. package/dist/codex-compat/plugins/apexrest-apex/resources/panel/panel.js +234 -2
  31. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-allocation.schema.json +33 -0
  32. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-block.schema.json +208 -0
  33. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-blueprint.schema.json +664 -0
  34. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-command.schema.json +106 -0
  35. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-contract.schema.json +174 -0
  36. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-diagnostic.schema.json +26 -0
  37. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-entity.schema.json +141 -0
  38. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-evidence.schema.json +95 -0
  39. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-field.schema.json +53 -0
  40. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-instance.schema.json +117 -0
  41. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-lock.schema.json +54 -0
  42. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-operation.schema.json +55 -0
  43. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-owner.schema.json +105 -0
  44. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-parameters.schema.json +61 -0
  45. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-plan.schema.json +1010 -0
  46. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-renderer.schema.json +69 -0
  47. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/composer-state.schema.json +146 -0
  48. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/deploy-plan.schema.json +760 -169
  49. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/operations.schema.json +486 -0
  50. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/project.schema.json +13 -0
  51. package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/sync-state.schema.json +238 -0
  52. package/dist/codex-compat/plugins/apexrest-apex/resources/third-party/node_modules__yaml__LICENSE +13 -0
  53. package/dist/codex-compat/plugins/apexrest-apex/runtime/apexrest.mjs +21 -11
  54. package/dist/codex-compat/plugins/apexrest-apex/runtime/chunk-2BBNJVKW.mjs +1996 -0
  55. package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-HOKFFGSZ.mjs → chunk-33GE2NWZ.mjs} +1 -1
  56. package/dist/codex-compat/plugins/apexrest-apex/runtime/chunk-5JI3XEAK.mjs +14 -0
  57. package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-2ZUNLCLK.mjs → chunk-BAHECVGO.mjs} +30 -10
  58. package/dist/{runtime/chunk-SPZVXAM5.mjs → codex-compat/plugins/apexrest-apex/runtime/chunk-CYPFCUNE.mjs} +7 -4
  59. package/dist/{runtime/chunk-3MDDJFXN.mjs → codex-compat/plugins/apexrest-apex/runtime/chunk-EBBEN4AV.mjs} +29 -6
  60. package/dist/{runtime/chunk-NDZ2RWQU.mjs → codex-compat/plugins/apexrest-apex/runtime/chunk-ESDVN7DS.mjs} +3 -2
  61. package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-AQZLLQ3D.mjs → chunk-FTTPESNK.mjs} +2 -2
  62. package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-S24BD6PY.mjs → chunk-G3KR57BY.mjs} +1 -1
  63. package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-TXVQLYTH.mjs → chunk-HKJVCGQQ.mjs} +118 -87
  64. package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-WK5GP4ES.mjs → chunk-KQ5IDT7Z.mjs} +2 -2
  65. package/dist/{runtime/chunk-7RZW5QV2.mjs → codex-compat/plugins/apexrest-apex/runtime/chunk-RWGJITHZ.mjs} +5 -5
  66. package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-IX6V6ZGW.mjs → chunk-WXP75UUP.mjs} +5 -5
  67. package/dist/codex-compat/plugins/apexrest-apex/runtime/chunk-YPLIIQ4Y.mjs +10233 -0
  68. package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-QIVPMPU3.mjs → chunk-YQHHPRJH.mjs} +1 -1
  69. package/dist/codex-compat/plugins/apexrest-apex/runtime/mcp.mjs +7 -7
  70. package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-apexlang/SKILL.md +1 -1
  71. package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-compose/SKILL.md +18 -0
  72. package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-compose/agents/openai.yaml +4 -0
  73. package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-compose/references/workflow.md +15 -0
  74. package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-deploy/SKILL.md +3 -1
  75. package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-menu/SKILL.md +3 -1
  76. package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-menu/references/cli-catalog.md +8 -1
  77. package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-project/SKILL.md +2 -0
  78. package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-work/SKILL.md +3 -1
  79. package/dist/resources/blocks/evidence/block%3Aanalytics%2Fstatus-summary%401.0.0.json +19 -0
  80. package/dist/resources/blocks/evidence/block%3Acrud%2Freport-dialog%401.0.0.json +19 -0
  81. package/dist/resources/blocks/evidence/block%3Aread%2Fdetail%401.0.0.json +19 -0
  82. package/dist/resources/blocks/evidence/block%3Aread%2Ffiltered-list%401.0.0.json +19 -0
  83. package/dist/resources/blocks/evidence/block%3Aread%2Fhistory%401.0.0.json +19 -0
  84. package/dist/resources/blocks/evidence/block%3Aread%2Fmaster-detail%401.0.0.json +19 -0
  85. package/dist/resources/blocks/generator.json +5 -0
  86. package/dist/resources/blocks/manifest.json +29 -0
  87. package/dist/resources/blocks/packages/analytics/status-summary/1.0.0/block.yaml +59 -0
  88. package/dist/resources/blocks/packages/analytics/status-summary/1.0.0/renderer.json +14 -0
  89. package/dist/resources/blocks/packages/crud/report-dialog/1.0.0/block.yaml +66 -0
  90. package/dist/resources/blocks/packages/crud/report-dialog/1.0.0/renderer.json +14 -0
  91. package/dist/resources/blocks/packages/read/detail/1.0.0/block.yaml +59 -0
  92. package/dist/resources/blocks/packages/read/detail/1.0.0/renderer.json +14 -0
  93. package/dist/resources/blocks/packages/read/filtered-list/1.0.0/block.yaml +59 -0
  94. package/dist/resources/blocks/packages/read/filtered-list/1.0.0/renderer.json +14 -0
  95. package/dist/resources/blocks/packages/read/history/1.0.0/block.yaml +59 -0
  96. package/dist/resources/blocks/packages/read/history/1.0.0/renderer.json +14 -0
  97. package/dist/resources/blocks/packages/read/master-detail/1.0.0/block.yaml +59 -0
  98. package/dist/resources/blocks/packages/read/master-detail/1.0.0/renderer.json +14 -0
  99. package/dist/resources/blocks/profiles.json +10 -0
  100. package/dist/resources/blocks/revocations.json +1 -0
  101. package/dist/resources/blueprints/crm.yaml +172 -0
  102. package/dist/resources/blueprints/index.json +12 -0
  103. package/dist/resources/blueprints/service-desk.yaml +120 -0
  104. package/dist/resources/panel/index.html +7 -0
  105. package/dist/resources/panel/panel.js +234 -2
  106. package/dist/resources/schemas/composer-allocation.schema.json +33 -0
  107. package/dist/resources/schemas/composer-block.schema.json +208 -0
  108. package/dist/resources/schemas/composer-blueprint.schema.json +664 -0
  109. package/dist/resources/schemas/composer-command.schema.json +106 -0
  110. package/dist/resources/schemas/composer-contract.schema.json +174 -0
  111. package/dist/resources/schemas/composer-diagnostic.schema.json +26 -0
  112. package/dist/resources/schemas/composer-entity.schema.json +141 -0
  113. package/dist/resources/schemas/composer-evidence.schema.json +95 -0
  114. package/dist/resources/schemas/composer-field.schema.json +53 -0
  115. package/dist/resources/schemas/composer-instance.schema.json +117 -0
  116. package/dist/resources/schemas/composer-lock.schema.json +54 -0
  117. package/dist/resources/schemas/composer-operation.schema.json +55 -0
  118. package/dist/resources/schemas/composer-owner.schema.json +105 -0
  119. package/dist/resources/schemas/composer-parameters.schema.json +61 -0
  120. package/dist/resources/schemas/composer-plan.schema.json +1010 -0
  121. package/dist/resources/schemas/composer-renderer.schema.json +69 -0
  122. package/dist/resources/schemas/composer-state.schema.json +146 -0
  123. package/dist/resources/schemas/deploy-plan.schema.json +760 -169
  124. package/dist/resources/schemas/operations.schema.json +486 -0
  125. package/dist/resources/schemas/project.schema.json +13 -0
  126. package/dist/resources/schemas/sync-state.schema.json +238 -0
  127. package/dist/resources/third-party/node_modules__yaml__LICENSE +13 -0
  128. package/dist/runtime/apexrest.mjs +21 -11
  129. package/dist/runtime/chunk-2BBNJVKW.mjs +1996 -0
  130. package/dist/runtime/{chunk-HOKFFGSZ.mjs → chunk-33GE2NWZ.mjs} +1 -1
  131. package/dist/runtime/chunk-5JI3XEAK.mjs +14 -0
  132. package/dist/runtime/{chunk-2ZUNLCLK.mjs → chunk-BAHECVGO.mjs} +30 -10
  133. package/dist/{codex-compat/plugins/apexrest-apex/runtime/chunk-SPZVXAM5.mjs → runtime/chunk-CYPFCUNE.mjs} +7 -4
  134. package/dist/{codex-compat/plugins/apexrest-apex/runtime/chunk-3MDDJFXN.mjs → runtime/chunk-EBBEN4AV.mjs} +29 -6
  135. package/dist/{codex-compat/plugins/apexrest-apex/runtime/chunk-NDZ2RWQU.mjs → runtime/chunk-ESDVN7DS.mjs} +3 -2
  136. package/dist/runtime/{chunk-AQZLLQ3D.mjs → chunk-FTTPESNK.mjs} +2 -2
  137. package/dist/runtime/{chunk-S24BD6PY.mjs → chunk-G3KR57BY.mjs} +1 -1
  138. package/dist/runtime/{chunk-TXVQLYTH.mjs → chunk-HKJVCGQQ.mjs} +118 -87
  139. package/dist/runtime/{chunk-WK5GP4ES.mjs → chunk-KQ5IDT7Z.mjs} +2 -2
  140. package/dist/{codex-compat/plugins/apexrest-apex/runtime/chunk-7RZW5QV2.mjs → runtime/chunk-RWGJITHZ.mjs} +5 -5
  141. package/dist/runtime/{chunk-IX6V6ZGW.mjs → chunk-WXP75UUP.mjs} +5 -5
  142. package/dist/runtime/chunk-YPLIIQ4Y.mjs +10233 -0
  143. package/dist/runtime/{chunk-QIVPMPU3.mjs → chunk-YQHHPRJH.mjs} +1 -1
  144. package/dist/runtime/mcp.mjs +7 -7
  145. package/package.json +10 -3
  146. package/dist/codex-compat/plugins/apexrest-apex/runtime/chunk-4MYHJ2IU.mjs +0 -1208
  147. package/dist/codex-compat/plugins/apexrest-apex/runtime/chunk-BD2AVCFU.mjs +0 -367
  148. package/dist/codex-compat/plugins/apexrest-apex/runtime/chunk-YLXJ6H4J.mjs +0 -14
  149. package/dist/runtime/chunk-4MYHJ2IU.mjs +0 -1208
  150. package/dist/runtime/chunk-BD2AVCFU.mjs +0 -367
  151. package/dist/runtime/chunk-YLXJ6H4J.mjs +0 -14
@@ -0,0 +1,664 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "schemaVersion": {
6
+ "type": "number",
7
+ "const": 1
8
+ },
9
+ "application": {
10
+ "type": "object",
11
+ "properties": {
12
+ "mode": {
13
+ "type": "string",
14
+ "const": "extend"
15
+ },
16
+ "environment": {
17
+ "type": "string",
18
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
19
+ },
20
+ "compatibilityProfile": {
21
+ "type": "string"
22
+ },
23
+ "preserve": {
24
+ "type": "object",
25
+ "properties": {
26
+ "authentication": {
27
+ "type": "boolean",
28
+ "const": true
29
+ },
30
+ "authorization": {
31
+ "type": "boolean",
32
+ "const": true
33
+ },
34
+ "unmanagedSource": {
35
+ "type": "boolean",
36
+ "const": true
37
+ }
38
+ },
39
+ "required": [
40
+ "authentication",
41
+ "authorization",
42
+ "unmanagedSource"
43
+ ],
44
+ "additionalProperties": false
45
+ }
46
+ },
47
+ "required": [
48
+ "mode",
49
+ "compatibilityProfile",
50
+ "preserve"
51
+ ],
52
+ "additionalProperties": false
53
+ },
54
+ "entities": {
55
+ "type": "object",
56
+ "propertyNames": {
57
+ "type": "string",
58
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
59
+ },
60
+ "additionalProperties": {
61
+ "type": "object",
62
+ "properties": {
63
+ "read": {
64
+ "type": "object",
65
+ "properties": {
66
+ "kind": {
67
+ "type": "string",
68
+ "enum": [
69
+ "oracle-table",
70
+ "oracle-view"
71
+ ]
72
+ },
73
+ "object": {
74
+ "type": "string",
75
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
76
+ },
77
+ "key": {
78
+ "minItems": 1,
79
+ "maxItems": 16,
80
+ "type": "array",
81
+ "items": {
82
+ "type": "string",
83
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
84
+ }
85
+ },
86
+ "keyContract": {
87
+ "type": "string"
88
+ },
89
+ "fields": {
90
+ "type": "object",
91
+ "propertyNames": {
92
+ "type": "string",
93
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
94
+ },
95
+ "additionalProperties": {
96
+ "type": "object",
97
+ "properties": {
98
+ "column": {
99
+ "type": "string",
100
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
101
+ },
102
+ "type": {
103
+ "type": "string",
104
+ "enum": [
105
+ "string",
106
+ "integer",
107
+ "decimal",
108
+ "date",
109
+ "timestamp",
110
+ "boolean"
111
+ ]
112
+ },
113
+ "nullable": {
114
+ "type": "boolean"
115
+ },
116
+ "maxLength": {
117
+ "type": "integer",
118
+ "exclusiveMinimum": 0,
119
+ "maximum": 9007199254740991
120
+ },
121
+ "precision": {
122
+ "type": "integer",
123
+ "exclusiveMinimum": 0,
124
+ "maximum": 9007199254740991
125
+ },
126
+ "scale": {
127
+ "type": "integer",
128
+ "minimum": -9007199254740991,
129
+ "maximum": 9007199254740991
130
+ },
131
+ "enum": {
132
+ "maxItems": 100,
133
+ "type": "array",
134
+ "items": {
135
+ "type": "string",
136
+ "maxLength": 128
137
+ }
138
+ }
139
+ },
140
+ "required": [
141
+ "column",
142
+ "type",
143
+ "nullable"
144
+ ],
145
+ "additionalProperties": false
146
+ }
147
+ }
148
+ },
149
+ "required": [
150
+ "kind",
151
+ "object",
152
+ "key",
153
+ "fields"
154
+ ],
155
+ "additionalProperties": false
156
+ },
157
+ "authorization": {
158
+ "type": "object",
159
+ "properties": {
160
+ "readContract": {
161
+ "type": "string"
162
+ },
163
+ "writeContract": {
164
+ "type": "string"
165
+ }
166
+ },
167
+ "required": [
168
+ "readContract"
169
+ ],
170
+ "additionalProperties": false
171
+ },
172
+ "capabilities": {
173
+ "default": {},
174
+ "type": "object",
175
+ "properties": {
176
+ "optimisticLock": {
177
+ "type": "object",
178
+ "properties": {
179
+ "field": {
180
+ "type": "string",
181
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
182
+ }
183
+ },
184
+ "required": [
185
+ "field"
186
+ ],
187
+ "additionalProperties": false
188
+ }
189
+ },
190
+ "additionalProperties": false
191
+ }
192
+ },
193
+ "required": [
194
+ "read",
195
+ "authorization",
196
+ "capabilities"
197
+ ],
198
+ "additionalProperties": false
199
+ }
200
+ },
201
+ "commands": {
202
+ "default": {},
203
+ "type": "object",
204
+ "propertyNames": {
205
+ "type": "string",
206
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
207
+ },
208
+ "additionalProperties": {
209
+ "type": "object",
210
+ "properties": {
211
+ "kind": {
212
+ "type": "string",
213
+ "const": "oracle-procedure"
214
+ },
215
+ "package": {
216
+ "type": "string",
217
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
218
+ },
219
+ "procedure": {
220
+ "type": "string",
221
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
222
+ },
223
+ "signatureRef": {
224
+ "type": "string"
225
+ },
226
+ "transaction": {
227
+ "type": "string",
228
+ "const": "caller-owned"
229
+ },
230
+ "inputs": {
231
+ "type": "object",
232
+ "propertyNames": {
233
+ "type": "string",
234
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
235
+ },
236
+ "additionalProperties": {
237
+ "type": "object",
238
+ "properties": {
239
+ "from": {
240
+ "type": "string"
241
+ },
242
+ "mode": {
243
+ "type": "string",
244
+ "enum": [
245
+ "in",
246
+ "in-out"
247
+ ]
248
+ }
249
+ },
250
+ "required": [
251
+ "from",
252
+ "mode"
253
+ ],
254
+ "additionalProperties": false
255
+ }
256
+ },
257
+ "outputs": {
258
+ "type": "object",
259
+ "properties": {
260
+ "recordKey": {
261
+ "type": "object",
262
+ "properties": {
263
+ "from": {
264
+ "type": "string",
265
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
266
+ }
267
+ },
268
+ "required": [
269
+ "from"
270
+ ],
271
+ "additionalProperties": false
272
+ },
273
+ "recordVersion": {
274
+ "type": "object",
275
+ "properties": {
276
+ "from": {
277
+ "type": "string",
278
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
279
+ }
280
+ },
281
+ "required": [
282
+ "from"
283
+ ],
284
+ "additionalProperties": false
285
+ }
286
+ },
287
+ "required": [
288
+ "recordKey",
289
+ "recordVersion"
290
+ ],
291
+ "additionalProperties": false
292
+ },
293
+ "errorContract": {
294
+ "type": "string"
295
+ },
296
+ "authorizationContract": {
297
+ "type": "string"
298
+ }
299
+ },
300
+ "required": [
301
+ "kind",
302
+ "package",
303
+ "procedure",
304
+ "signatureRef",
305
+ "transaction",
306
+ "inputs",
307
+ "outputs",
308
+ "errorContract",
309
+ "authorizationContract"
310
+ ],
311
+ "additionalProperties": false
312
+ }
313
+ },
314
+ "contracts": {
315
+ "default": {},
316
+ "type": "object",
317
+ "propertyNames": {
318
+ "type": "string",
319
+ "pattern": "^project:[a-z0-9-]+$"
320
+ },
321
+ "additionalProperties": {
322
+ "oneOf": [
323
+ {
324
+ "type": "object",
325
+ "properties": {
326
+ "schemaVersion": {
327
+ "type": "number",
328
+ "const": 1
329
+ },
330
+ "provenance": {
331
+ "type": "string",
332
+ "minLength": 1,
333
+ "maxLength": 512
334
+ },
335
+ "kind": {
336
+ "type": "string",
337
+ "const": "authorization"
338
+ },
339
+ "rowPredicate": {
340
+ "type": "string",
341
+ "maxLength": 65536
342
+ },
343
+ "expression": {
344
+ "type": "string",
345
+ "maxLength": 65536
346
+ }
347
+ },
348
+ "required": [
349
+ "schemaVersion",
350
+ "provenance",
351
+ "kind"
352
+ ],
353
+ "additionalProperties": false
354
+ },
355
+ {
356
+ "type": "object",
357
+ "properties": {
358
+ "schemaVersion": {
359
+ "type": "number",
360
+ "const": 1
361
+ },
362
+ "provenance": {
363
+ "type": "string",
364
+ "minLength": 1,
365
+ "maxLength": 512
366
+ },
367
+ "kind": {
368
+ "type": "string",
369
+ "const": "key"
370
+ },
371
+ "fields": {
372
+ "minItems": 1,
373
+ "maxItems": 16,
374
+ "type": "array",
375
+ "items": {
376
+ "type": "string",
377
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
378
+ }
379
+ }
380
+ },
381
+ "required": [
382
+ "schemaVersion",
383
+ "provenance",
384
+ "kind",
385
+ "fields"
386
+ ],
387
+ "additionalProperties": false
388
+ },
389
+ {
390
+ "type": "object",
391
+ "properties": {
392
+ "schemaVersion": {
393
+ "type": "number",
394
+ "const": 1
395
+ },
396
+ "provenance": {
397
+ "type": "string",
398
+ "minLength": 1,
399
+ "maxLength": 512
400
+ },
401
+ "kind": {
402
+ "type": "string",
403
+ "const": "command"
404
+ },
405
+ "transaction": {
406
+ "type": "string",
407
+ "const": "caller-owned"
408
+ },
409
+ "overload": {
410
+ "type": "string",
411
+ "minLength": 1,
412
+ "maxLength": 32
413
+ },
414
+ "parameters": {
415
+ "type": "object",
416
+ "propertyNames": {
417
+ "type": "string",
418
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
419
+ },
420
+ "additionalProperties": {
421
+ "type": "object",
422
+ "properties": {
423
+ "mode": {
424
+ "type": "string",
425
+ "enum": [
426
+ "in",
427
+ "out",
428
+ "in-out"
429
+ ]
430
+ },
431
+ "type": {
432
+ "type": "string",
433
+ "enum": [
434
+ "NUMBER",
435
+ "PLS_INTEGER",
436
+ "BINARY_INTEGER",
437
+ "VARCHAR2",
438
+ "CHAR",
439
+ "NVARCHAR2",
440
+ "NCHAR",
441
+ "DATE",
442
+ "TIMESTAMP"
443
+ ]
444
+ },
445
+ "defaulted": {
446
+ "default": false,
447
+ "type": "boolean"
448
+ }
449
+ },
450
+ "required": [
451
+ "mode",
452
+ "type",
453
+ "defaulted"
454
+ ],
455
+ "additionalProperties": false
456
+ }
457
+ }
458
+ },
459
+ "required": [
460
+ "schemaVersion",
461
+ "provenance",
462
+ "kind",
463
+ "transaction",
464
+ "parameters"
465
+ ],
466
+ "additionalProperties": false
467
+ },
468
+ {
469
+ "type": "object",
470
+ "properties": {
471
+ "schemaVersion": {
472
+ "type": "number",
473
+ "const": 1
474
+ },
475
+ "provenance": {
476
+ "type": "string",
477
+ "minLength": 1,
478
+ "maxLength": 512
479
+ },
480
+ "kind": {
481
+ "type": "string",
482
+ "const": "errors"
483
+ }
484
+ },
485
+ "required": [
486
+ "schemaVersion",
487
+ "provenance",
488
+ "kind"
489
+ ],
490
+ "additionalProperties": false
491
+ }
492
+ ]
493
+ }
494
+ },
495
+ "blocks": {
496
+ "type": "object",
497
+ "propertyNames": {
498
+ "type": "string",
499
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
500
+ },
501
+ "additionalProperties": {
502
+ "type": "object",
503
+ "properties": {
504
+ "use": {
505
+ "type": "string",
506
+ "pattern": "^block:[a-z0-9-]+\\/[a-z0-9-]+@\\d+\\.\\d+\\.\\d+(?:-[a-z0-9.-]+)?$"
507
+ },
508
+ "parameters": {
509
+ "type": "object",
510
+ "properties": {
511
+ "title": {
512
+ "type": "string",
513
+ "minLength": 1,
514
+ "maxLength": 180
515
+ },
516
+ "editableFields": {
517
+ "default": [],
518
+ "maxItems": 32,
519
+ "type": "array",
520
+ "items": {
521
+ "type": "string",
522
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
523
+ }
524
+ },
525
+ "createEnabled": {
526
+ "default": false,
527
+ "type": "boolean"
528
+ },
529
+ "editEnabled": {
530
+ "default": false,
531
+ "type": "boolean"
532
+ },
533
+ "deleteEnabled": {
534
+ "default": false,
535
+ "type": "boolean",
536
+ "const": false
537
+ },
538
+ "groupField": {
539
+ "type": "string",
540
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
541
+ },
542
+ "filterField": {
543
+ "type": "string",
544
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
545
+ },
546
+ "timeField": {
547
+ "type": "string",
548
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
549
+ },
550
+ "detailField": {
551
+ "type": "string",
552
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
553
+ },
554
+ "parentField": {
555
+ "type": "string",
556
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
557
+ }
558
+ },
559
+ "required": [
560
+ "title",
561
+ "editableFields",
562
+ "createEnabled",
563
+ "editEnabled",
564
+ "deleteEnabled"
565
+ ],
566
+ "additionalProperties": false
567
+ },
568
+ "bindings": {
569
+ "type": "object",
570
+ "properties": {
571
+ "records": {
572
+ "type": "string"
573
+ },
574
+ "saveRecord": {
575
+ "type": "string"
576
+ }
577
+ },
578
+ "required": [
579
+ "records"
580
+ ],
581
+ "additionalProperties": false
582
+ },
583
+ "ownership": {
584
+ "default": "managed",
585
+ "type": "string",
586
+ "enum": [
587
+ "managed",
588
+ "extended",
589
+ "detached"
590
+ ]
591
+ },
592
+ "extensions": {
593
+ "default": {},
594
+ "type": "object",
595
+ "propertyNames": {
596
+ "type": "string",
597
+ "enum": [
598
+ "beforeSaveValidation",
599
+ "afterSaveNotification"
600
+ ]
601
+ },
602
+ "additionalProperties": {
603
+ "type": "string",
604
+ "maxLength": 65536
605
+ }
606
+ }
607
+ },
608
+ "required": [
609
+ "use",
610
+ "parameters",
611
+ "bindings",
612
+ "ownership",
613
+ "extensions"
614
+ ],
615
+ "additionalProperties": false
616
+ }
617
+ },
618
+ "connections": {
619
+ "default": [],
620
+ "maxItems": 256,
621
+ "type": "array",
622
+ "items": {
623
+ "type": "object",
624
+ "properties": {
625
+ "from": {
626
+ "type": "string"
627
+ },
628
+ "to": {
629
+ "type": "string"
630
+ },
631
+ "behavior": {
632
+ "type": "object",
633
+ "properties": {
634
+ "coalesce": {
635
+ "type": "boolean",
636
+ "const": true
637
+ }
638
+ },
639
+ "required": [
640
+ "coalesce"
641
+ ],
642
+ "additionalProperties": false
643
+ }
644
+ },
645
+ "required": [
646
+ "from",
647
+ "to",
648
+ "behavior"
649
+ ],
650
+ "additionalProperties": false
651
+ }
652
+ }
653
+ },
654
+ "required": [
655
+ "schemaVersion",
656
+ "application",
657
+ "entities",
658
+ "commands",
659
+ "contracts",
660
+ "blocks",
661
+ "connections"
662
+ ],
663
+ "additionalProperties": false
664
+ }