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,1010 @@
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
+ "generatorVersion": {
10
+ "type": "string",
11
+ "const": "1"
12
+ },
13
+ "kind": {
14
+ "type": "string",
15
+ "enum": [
16
+ "composition",
17
+ "recovery-resume",
18
+ "recovery-restore"
19
+ ]
20
+ },
21
+ "status": {
22
+ "type": "string",
23
+ "enum": [
24
+ "materializable",
25
+ "blocked"
26
+ ]
27
+ },
28
+ "projectId": {
29
+ "type": "string"
30
+ },
31
+ "blueprintPath": {
32
+ "type": "string",
33
+ "minLength": 1,
34
+ "maxLength": 1024
35
+ },
36
+ "blueprintDigest": {
37
+ "type": "string",
38
+ "pattern": "^[a-f0-9]{64}$"
39
+ },
40
+ "catalogDigest": {
41
+ "type": "string",
42
+ "pattern": "^[a-f0-9]{64}$"
43
+ },
44
+ "configurationDigest": {
45
+ "type": "string",
46
+ "pattern": "^[a-f0-9]{64}$"
47
+ },
48
+ "toolchainDigest": {
49
+ "type": "string",
50
+ "pattern": "^[a-f0-9]{64}$"
51
+ },
52
+ "sourceInventory": {
53
+ "type": "object",
54
+ "propertyNames": {
55
+ "type": "string",
56
+ "minLength": 1,
57
+ "maxLength": 1024
58
+ },
59
+ "additionalProperties": {
60
+ "type": "string",
61
+ "pattern": "^[a-f0-9]{64}$"
62
+ }
63
+ },
64
+ "stateDigest": {
65
+ "anyOf": [
66
+ {
67
+ "type": "string",
68
+ "pattern": "^[a-f0-9]{64}$"
69
+ },
70
+ {
71
+ "type": "null"
72
+ }
73
+ ]
74
+ },
75
+ "validation": {
76
+ "type": "string",
77
+ "enum": [
78
+ "compiler",
79
+ "source-only"
80
+ ]
81
+ },
82
+ "mode": {
83
+ "type": "string",
84
+ "enum": [
85
+ "offline",
86
+ "connected"
87
+ ]
88
+ },
89
+ "contextDigest": {
90
+ "type": "string",
91
+ "pattern": "^[a-f0-9]{64}$"
92
+ },
93
+ "environment": {
94
+ "type": [
95
+ "string",
96
+ "null"
97
+ ]
98
+ },
99
+ "review": {
100
+ "type": "object",
101
+ "properties": {
102
+ "entities": {
103
+ "type": "object",
104
+ "propertyNames": {
105
+ "type": "string",
106
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
107
+ },
108
+ "additionalProperties": {
109
+ "type": "object",
110
+ "properties": {
111
+ "read": {
112
+ "type": "object",
113
+ "properties": {
114
+ "kind": {
115
+ "type": "string",
116
+ "enum": [
117
+ "oracle-table",
118
+ "oracle-view"
119
+ ]
120
+ },
121
+ "object": {
122
+ "type": "string",
123
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
124
+ },
125
+ "key": {
126
+ "minItems": 1,
127
+ "maxItems": 16,
128
+ "type": "array",
129
+ "items": {
130
+ "type": "string",
131
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
132
+ }
133
+ },
134
+ "keyContract": {
135
+ "type": "string"
136
+ },
137
+ "fields": {
138
+ "type": "object",
139
+ "propertyNames": {
140
+ "type": "string",
141
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
142
+ },
143
+ "additionalProperties": {
144
+ "type": "object",
145
+ "properties": {
146
+ "column": {
147
+ "type": "string",
148
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
149
+ },
150
+ "type": {
151
+ "type": "string",
152
+ "enum": [
153
+ "string",
154
+ "integer",
155
+ "decimal",
156
+ "date",
157
+ "timestamp",
158
+ "boolean"
159
+ ]
160
+ },
161
+ "nullable": {
162
+ "type": "boolean"
163
+ },
164
+ "maxLength": {
165
+ "type": "integer",
166
+ "exclusiveMinimum": 0,
167
+ "maximum": 9007199254740991
168
+ },
169
+ "precision": {
170
+ "type": "integer",
171
+ "exclusiveMinimum": 0,
172
+ "maximum": 9007199254740991
173
+ },
174
+ "scale": {
175
+ "type": "integer",
176
+ "minimum": -9007199254740991,
177
+ "maximum": 9007199254740991
178
+ },
179
+ "enum": {
180
+ "maxItems": 100,
181
+ "type": "array",
182
+ "items": {
183
+ "type": "string",
184
+ "maxLength": 128
185
+ }
186
+ }
187
+ },
188
+ "required": [
189
+ "column",
190
+ "type",
191
+ "nullable"
192
+ ],
193
+ "additionalProperties": false
194
+ }
195
+ }
196
+ },
197
+ "required": [
198
+ "kind",
199
+ "object",
200
+ "key",
201
+ "fields"
202
+ ],
203
+ "additionalProperties": false
204
+ },
205
+ "authorization": {
206
+ "type": "object",
207
+ "properties": {
208
+ "readContract": {
209
+ "type": "string"
210
+ },
211
+ "writeContract": {
212
+ "type": "string"
213
+ }
214
+ },
215
+ "required": [
216
+ "readContract"
217
+ ],
218
+ "additionalProperties": false
219
+ },
220
+ "capabilities": {
221
+ "default": {},
222
+ "type": "object",
223
+ "properties": {
224
+ "optimisticLock": {
225
+ "type": "object",
226
+ "properties": {
227
+ "field": {
228
+ "type": "string",
229
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
230
+ }
231
+ },
232
+ "required": [
233
+ "field"
234
+ ],
235
+ "additionalProperties": false
236
+ }
237
+ },
238
+ "additionalProperties": false
239
+ }
240
+ },
241
+ "required": [
242
+ "read",
243
+ "authorization",
244
+ "capabilities"
245
+ ],
246
+ "additionalProperties": false
247
+ }
248
+ },
249
+ "commands": {
250
+ "type": "object",
251
+ "propertyNames": {
252
+ "type": "string",
253
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
254
+ },
255
+ "additionalProperties": {
256
+ "type": "object",
257
+ "properties": {
258
+ "kind": {
259
+ "type": "string",
260
+ "const": "oracle-procedure"
261
+ },
262
+ "package": {
263
+ "type": "string",
264
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
265
+ },
266
+ "procedure": {
267
+ "type": "string",
268
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
269
+ },
270
+ "signatureRef": {
271
+ "type": "string"
272
+ },
273
+ "transaction": {
274
+ "type": "string",
275
+ "const": "caller-owned"
276
+ },
277
+ "inputs": {
278
+ "type": "object",
279
+ "propertyNames": {
280
+ "type": "string",
281
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
282
+ },
283
+ "additionalProperties": {
284
+ "type": "object",
285
+ "properties": {
286
+ "from": {
287
+ "type": "string"
288
+ },
289
+ "mode": {
290
+ "type": "string",
291
+ "enum": [
292
+ "in",
293
+ "in-out"
294
+ ]
295
+ }
296
+ },
297
+ "required": [
298
+ "from",
299
+ "mode"
300
+ ],
301
+ "additionalProperties": false
302
+ }
303
+ },
304
+ "outputs": {
305
+ "type": "object",
306
+ "properties": {
307
+ "recordKey": {
308
+ "type": "object",
309
+ "properties": {
310
+ "from": {
311
+ "type": "string",
312
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
313
+ }
314
+ },
315
+ "required": [
316
+ "from"
317
+ ],
318
+ "additionalProperties": false
319
+ },
320
+ "recordVersion": {
321
+ "type": "object",
322
+ "properties": {
323
+ "from": {
324
+ "type": "string",
325
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
326
+ }
327
+ },
328
+ "required": [
329
+ "from"
330
+ ],
331
+ "additionalProperties": false
332
+ }
333
+ },
334
+ "required": [
335
+ "recordKey",
336
+ "recordVersion"
337
+ ],
338
+ "additionalProperties": false
339
+ },
340
+ "errorContract": {
341
+ "type": "string"
342
+ },
343
+ "authorizationContract": {
344
+ "type": "string"
345
+ }
346
+ },
347
+ "required": [
348
+ "kind",
349
+ "package",
350
+ "procedure",
351
+ "signatureRef",
352
+ "transaction",
353
+ "inputs",
354
+ "outputs",
355
+ "errorContract",
356
+ "authorizationContract"
357
+ ],
358
+ "additionalProperties": false
359
+ }
360
+ },
361
+ "contracts": {
362
+ "type": "object",
363
+ "propertyNames": {
364
+ "type": "string"
365
+ },
366
+ "additionalProperties": {
367
+ "oneOf": [
368
+ {
369
+ "type": "object",
370
+ "properties": {
371
+ "schemaVersion": {
372
+ "type": "number",
373
+ "const": 1
374
+ },
375
+ "provenance": {
376
+ "type": "string",
377
+ "minLength": 1,
378
+ "maxLength": 512
379
+ },
380
+ "kind": {
381
+ "type": "string",
382
+ "const": "authorization"
383
+ },
384
+ "rowPredicate": {
385
+ "type": "string",
386
+ "maxLength": 65536
387
+ },
388
+ "expression": {
389
+ "type": "string",
390
+ "maxLength": 65536
391
+ }
392
+ },
393
+ "required": [
394
+ "schemaVersion",
395
+ "provenance",
396
+ "kind"
397
+ ],
398
+ "additionalProperties": false
399
+ },
400
+ {
401
+ "type": "object",
402
+ "properties": {
403
+ "schemaVersion": {
404
+ "type": "number",
405
+ "const": 1
406
+ },
407
+ "provenance": {
408
+ "type": "string",
409
+ "minLength": 1,
410
+ "maxLength": 512
411
+ },
412
+ "kind": {
413
+ "type": "string",
414
+ "const": "key"
415
+ },
416
+ "fields": {
417
+ "minItems": 1,
418
+ "maxItems": 16,
419
+ "type": "array",
420
+ "items": {
421
+ "type": "string",
422
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
423
+ }
424
+ }
425
+ },
426
+ "required": [
427
+ "schemaVersion",
428
+ "provenance",
429
+ "kind",
430
+ "fields"
431
+ ],
432
+ "additionalProperties": false
433
+ },
434
+ {
435
+ "type": "object",
436
+ "properties": {
437
+ "schemaVersion": {
438
+ "type": "number",
439
+ "const": 1
440
+ },
441
+ "provenance": {
442
+ "type": "string",
443
+ "minLength": 1,
444
+ "maxLength": 512
445
+ },
446
+ "kind": {
447
+ "type": "string",
448
+ "const": "command"
449
+ },
450
+ "transaction": {
451
+ "type": "string",
452
+ "const": "caller-owned"
453
+ },
454
+ "overload": {
455
+ "type": "string",
456
+ "minLength": 1,
457
+ "maxLength": 32
458
+ },
459
+ "parameters": {
460
+ "type": "object",
461
+ "propertyNames": {
462
+ "type": "string",
463
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
464
+ },
465
+ "additionalProperties": {
466
+ "type": "object",
467
+ "properties": {
468
+ "mode": {
469
+ "type": "string",
470
+ "enum": [
471
+ "in",
472
+ "out",
473
+ "in-out"
474
+ ]
475
+ },
476
+ "type": {
477
+ "type": "string",
478
+ "enum": [
479
+ "NUMBER",
480
+ "PLS_INTEGER",
481
+ "BINARY_INTEGER",
482
+ "VARCHAR2",
483
+ "CHAR",
484
+ "NVARCHAR2",
485
+ "NCHAR",
486
+ "DATE",
487
+ "TIMESTAMP"
488
+ ]
489
+ },
490
+ "defaulted": {
491
+ "default": false,
492
+ "type": "boolean"
493
+ }
494
+ },
495
+ "required": [
496
+ "mode",
497
+ "type",
498
+ "defaulted"
499
+ ],
500
+ "additionalProperties": false
501
+ }
502
+ }
503
+ },
504
+ "required": [
505
+ "schemaVersion",
506
+ "provenance",
507
+ "kind",
508
+ "transaction",
509
+ "parameters"
510
+ ],
511
+ "additionalProperties": false
512
+ },
513
+ {
514
+ "type": "object",
515
+ "properties": {
516
+ "schemaVersion": {
517
+ "type": "number",
518
+ "const": 1
519
+ },
520
+ "provenance": {
521
+ "type": "string",
522
+ "minLength": 1,
523
+ "maxLength": 512
524
+ },
525
+ "kind": {
526
+ "type": "string",
527
+ "const": "errors"
528
+ }
529
+ },
530
+ "required": [
531
+ "schemaVersion",
532
+ "provenance",
533
+ "kind"
534
+ ],
535
+ "additionalProperties": false
536
+ }
537
+ ]
538
+ }
539
+ },
540
+ "packages": {
541
+ "type": "object",
542
+ "propertyNames": {
543
+ "type": "string"
544
+ },
545
+ "additionalProperties": {
546
+ "type": "object",
547
+ "properties": {
548
+ "digest": {
549
+ "type": "string",
550
+ "pattern": "^[a-f0-9]{64}$"
551
+ },
552
+ "origin": {
553
+ "type": "string"
554
+ },
555
+ "license": {
556
+ "type": "string"
557
+ },
558
+ "effects": {
559
+ "type": "object",
560
+ "properties": {
561
+ "local": {
562
+ "type": "array",
563
+ "items": {
564
+ "type": "string"
565
+ }
566
+ },
567
+ "deployment": {
568
+ "type": "array",
569
+ "items": {
570
+ "type": "string"
571
+ }
572
+ },
573
+ "applicationRuntime": {
574
+ "type": "array",
575
+ "items": {
576
+ "type": "string"
577
+ }
578
+ },
579
+ "authentication": {
580
+ "type": "string",
581
+ "const": "preserve"
582
+ }
583
+ },
584
+ "required": [
585
+ "local",
586
+ "deployment",
587
+ "applicationRuntime",
588
+ "authentication"
589
+ ],
590
+ "additionalProperties": false
591
+ },
592
+ "dependencies": {
593
+ "type": "array",
594
+ "items": {
595
+ "type": "string"
596
+ }
597
+ }
598
+ },
599
+ "required": [
600
+ "digest",
601
+ "origin",
602
+ "license",
603
+ "effects",
604
+ "dependencies"
605
+ ],
606
+ "additionalProperties": false
607
+ }
608
+ }
609
+ },
610
+ "required": [
611
+ "entities",
612
+ "commands",
613
+ "contracts",
614
+ "packages"
615
+ ],
616
+ "additionalProperties": false
617
+ },
618
+ "recovery": {
619
+ "type": "object",
620
+ "properties": {
621
+ "journalId": {
622
+ "type": "string",
623
+ "format": "uuid",
624
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
625
+ },
626
+ "sourcePlanDigest": {
627
+ "type": "string",
628
+ "pattern": "^[a-f0-9]{64}$"
629
+ },
630
+ "recordsDigest": {
631
+ "type": "string",
632
+ "pattern": "^[a-f0-9]{64}$"
633
+ }
634
+ },
635
+ "required": [
636
+ "journalId",
637
+ "sourcePlanDigest",
638
+ "recordsDigest"
639
+ ],
640
+ "additionalProperties": false
641
+ },
642
+ "allocations": {
643
+ "type": "object",
644
+ "propertyNames": {
645
+ "type": "string",
646
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
647
+ },
648
+ "additionalProperties": {
649
+ "type": "object",
650
+ "properties": {
651
+ "page": {
652
+ "type": "integer",
653
+ "exclusiveMinimum": 0,
654
+ "maximum": 9007199254740991
655
+ },
656
+ "dialog": {
657
+ "anyOf": [
658
+ {
659
+ "type": "integer",
660
+ "exclusiveMinimum": 0,
661
+ "maximum": 9007199254740991
662
+ },
663
+ {
664
+ "type": "null"
665
+ }
666
+ ]
667
+ },
668
+ "prefix": {
669
+ "type": "string",
670
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
671
+ }
672
+ },
673
+ "required": [
674
+ "page",
675
+ "dialog",
676
+ "prefix"
677
+ ],
678
+ "additionalProperties": false
679
+ }
680
+ },
681
+ "operations": {
682
+ "maxItems": 2048,
683
+ "type": "array",
684
+ "items": {
685
+ "type": "object",
686
+ "properties": {
687
+ "path": {
688
+ "type": "string",
689
+ "minLength": 1,
690
+ "maxLength": 1024
691
+ },
692
+ "before": {
693
+ "anyOf": [
694
+ {
695
+ "type": "string",
696
+ "pattern": "^[a-f0-9]{64}$"
697
+ },
698
+ {
699
+ "type": "null"
700
+ }
701
+ ]
702
+ },
703
+ "after": {
704
+ "anyOf": [
705
+ {
706
+ "type": "string",
707
+ "pattern": "^[a-f0-9]{64}$"
708
+ },
709
+ {
710
+ "type": "null"
711
+ }
712
+ ]
713
+ },
714
+ "content": {
715
+ "anyOf": [
716
+ {
717
+ "type": "string",
718
+ "maxLength": 65536
719
+ },
720
+ {
721
+ "type": "null"
722
+ }
723
+ ]
724
+ },
725
+ "reason": {
726
+ "type": "string"
727
+ }
728
+ },
729
+ "required": [
730
+ "path",
731
+ "before",
732
+ "after",
733
+ "content",
734
+ "reason"
735
+ ],
736
+ "additionalProperties": false
737
+ }
738
+ },
739
+ "state": {
740
+ "anyOf": [
741
+ {
742
+ "type": "object",
743
+ "properties": {
744
+ "schemaVersion": {
745
+ "type": "number",
746
+ "const": 1
747
+ },
748
+ "generatorVersion": {
749
+ "type": "string",
750
+ "const": "1"
751
+ },
752
+ "generationDigest": {
753
+ "type": "string",
754
+ "pattern": "^[a-f0-9]{64}$"
755
+ },
756
+ "blueprintDigest": {
757
+ "type": "string",
758
+ "pattern": "^[a-f0-9]{64}$"
759
+ },
760
+ "lockDigest": {
761
+ "type": "string",
762
+ "pattern": "^[a-f0-9]{64}$"
763
+ },
764
+ "owners": {
765
+ "type": "object",
766
+ "propertyNames": {
767
+ "type": "string",
768
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
769
+ },
770
+ "additionalProperties": {
771
+ "type": "object",
772
+ "properties": {
773
+ "instanceId": {
774
+ "type": "string",
775
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
776
+ },
777
+ "blockId": {
778
+ "type": "string",
779
+ "pattern": "^block:[a-z0-9-]+\\/[a-z0-9-]+$"
780
+ },
781
+ "version": {
782
+ "type": "string",
783
+ "pattern": "^\\d+\\.\\d+\\.\\d+(?:-[a-z0-9.-]+)?$"
784
+ },
785
+ "mode": {
786
+ "type": "string",
787
+ "enum": [
788
+ "managed",
789
+ "extended",
790
+ "detached"
791
+ ]
792
+ },
793
+ "files": {
794
+ "type": "object",
795
+ "propertyNames": {
796
+ "type": "string",
797
+ "minLength": 1,
798
+ "maxLength": 1024
799
+ },
800
+ "additionalProperties": {
801
+ "type": "string",
802
+ "pattern": "^[a-f0-9]{64}$"
803
+ }
804
+ },
805
+ "bases": {
806
+ "type": "object",
807
+ "propertyNames": {
808
+ "type": "string",
809
+ "minLength": 1,
810
+ "maxLength": 1024
811
+ },
812
+ "additionalProperties": {
813
+ "type": "string",
814
+ "pattern": "^[a-f0-9]{64}$"
815
+ }
816
+ },
817
+ "allocation": {
818
+ "type": "object",
819
+ "properties": {
820
+ "page": {
821
+ "type": "integer",
822
+ "exclusiveMinimum": 0,
823
+ "maximum": 9007199254740991
824
+ },
825
+ "dialog": {
826
+ "anyOf": [
827
+ {
828
+ "type": "integer",
829
+ "exclusiveMinimum": 0,
830
+ "maximum": 9007199254740991
831
+ },
832
+ {
833
+ "type": "null"
834
+ }
835
+ ]
836
+ },
837
+ "prefix": {
838
+ "type": "string",
839
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
840
+ }
841
+ },
842
+ "required": [
843
+ "page",
844
+ "dialog",
845
+ "prefix"
846
+ ],
847
+ "additionalProperties": false
848
+ },
849
+ "consumers": {
850
+ "type": "array",
851
+ "items": {
852
+ "type": "string",
853
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
854
+ }
855
+ },
856
+ "provenance": {
857
+ "type": "string",
858
+ "pattern": "^[a-f0-9]{64}$"
859
+ }
860
+ },
861
+ "required": [
862
+ "instanceId",
863
+ "blockId",
864
+ "version",
865
+ "mode",
866
+ "files",
867
+ "bases",
868
+ "allocation",
869
+ "consumers",
870
+ "provenance"
871
+ ],
872
+ "additionalProperties": false
873
+ }
874
+ }
875
+ },
876
+ "required": [
877
+ "schemaVersion",
878
+ "generatorVersion",
879
+ "generationDigest",
880
+ "blueprintDigest",
881
+ "lockDigest",
882
+ "owners"
883
+ ],
884
+ "additionalProperties": false
885
+ },
886
+ {
887
+ "type": "null"
888
+ }
889
+ ]
890
+ },
891
+ "lock": {
892
+ "anyOf": [
893
+ {
894
+ "type": "object",
895
+ "properties": {
896
+ "schemaVersion": {
897
+ "type": "number",
898
+ "const": 1
899
+ },
900
+ "generatorVersion": {
901
+ "type": "string",
902
+ "const": "1"
903
+ },
904
+ "resolverPolicyVersion": {
905
+ "type": "string",
906
+ "const": "1"
907
+ },
908
+ "blueprintSemanticDigest": {
909
+ "type": "string",
910
+ "pattern": "^[a-f0-9]{64}$"
911
+ },
912
+ "catalogDigest": {
913
+ "type": "string",
914
+ "pattern": "^[a-f0-9]{64}$"
915
+ },
916
+ "compatibilityProfile": {
917
+ "type": "string"
918
+ },
919
+ "packages": {
920
+ "type": "object",
921
+ "propertyNames": {
922
+ "type": "string"
923
+ },
924
+ "additionalProperties": {
925
+ "type": "string",
926
+ "pattern": "^[a-f0-9]{64}$"
927
+ }
928
+ },
929
+ "contractDigest": {
930
+ "type": "string",
931
+ "pattern": "^[a-f0-9]{64}$"
932
+ }
933
+ },
934
+ "required": [
935
+ "schemaVersion",
936
+ "generatorVersion",
937
+ "resolverPolicyVersion",
938
+ "blueprintSemanticDigest",
939
+ "catalogDigest",
940
+ "compatibilityProfile",
941
+ "packages",
942
+ "contractDigest"
943
+ ],
944
+ "additionalProperties": false
945
+ },
946
+ {
947
+ "type": "null"
948
+ }
949
+ ]
950
+ },
951
+ "diagnostics": {
952
+ "type": "array",
953
+ "items": {
954
+ "type": "object",
955
+ "properties": {
956
+ "code": {
957
+ "type": "string"
958
+ },
959
+ "message": {
960
+ "type": "string"
961
+ },
962
+ "severity": {
963
+ "type": "string",
964
+ "enum": [
965
+ "error",
966
+ "warning",
967
+ "info"
968
+ ]
969
+ }
970
+ },
971
+ "required": [
972
+ "code",
973
+ "message",
974
+ "severity"
975
+ ],
976
+ "additionalProperties": false
977
+ }
978
+ },
979
+ "digest": {
980
+ "type": "string",
981
+ "pattern": "^[a-f0-9]{64}$"
982
+ }
983
+ },
984
+ "required": [
985
+ "schemaVersion",
986
+ "generatorVersion",
987
+ "kind",
988
+ "status",
989
+ "projectId",
990
+ "blueprintPath",
991
+ "blueprintDigest",
992
+ "catalogDigest",
993
+ "configurationDigest",
994
+ "toolchainDigest",
995
+ "sourceInventory",
996
+ "stateDigest",
997
+ "validation",
998
+ "mode",
999
+ "contextDigest",
1000
+ "environment",
1001
+ "review",
1002
+ "allocations",
1003
+ "operations",
1004
+ "state",
1005
+ "lock",
1006
+ "diagnostics",
1007
+ "digest"
1008
+ ],
1009
+ "additionalProperties": false
1010
+ }