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,106 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "kind": {
6
+ "type": "string",
7
+ "const": "oracle-procedure"
8
+ },
9
+ "package": {
10
+ "type": "string",
11
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
12
+ },
13
+ "procedure": {
14
+ "type": "string",
15
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
16
+ },
17
+ "signatureRef": {
18
+ "type": "string"
19
+ },
20
+ "transaction": {
21
+ "type": "string",
22
+ "const": "caller-owned"
23
+ },
24
+ "inputs": {
25
+ "type": "object",
26
+ "propertyNames": {
27
+ "type": "string",
28
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
29
+ },
30
+ "additionalProperties": {
31
+ "type": "object",
32
+ "properties": {
33
+ "from": {
34
+ "type": "string"
35
+ },
36
+ "mode": {
37
+ "type": "string",
38
+ "enum": [
39
+ "in",
40
+ "in-out"
41
+ ]
42
+ }
43
+ },
44
+ "required": [
45
+ "from",
46
+ "mode"
47
+ ],
48
+ "additionalProperties": false
49
+ }
50
+ },
51
+ "outputs": {
52
+ "type": "object",
53
+ "properties": {
54
+ "recordKey": {
55
+ "type": "object",
56
+ "properties": {
57
+ "from": {
58
+ "type": "string",
59
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
60
+ }
61
+ },
62
+ "required": [
63
+ "from"
64
+ ],
65
+ "additionalProperties": false
66
+ },
67
+ "recordVersion": {
68
+ "type": "object",
69
+ "properties": {
70
+ "from": {
71
+ "type": "string",
72
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
73
+ }
74
+ },
75
+ "required": [
76
+ "from"
77
+ ],
78
+ "additionalProperties": false
79
+ }
80
+ },
81
+ "required": [
82
+ "recordKey",
83
+ "recordVersion"
84
+ ],
85
+ "additionalProperties": false
86
+ },
87
+ "errorContract": {
88
+ "type": "string"
89
+ },
90
+ "authorizationContract": {
91
+ "type": "string"
92
+ }
93
+ },
94
+ "required": [
95
+ "kind",
96
+ "package",
97
+ "procedure",
98
+ "signatureRef",
99
+ "transaction",
100
+ "inputs",
101
+ "outputs",
102
+ "errorContract",
103
+ "authorizationContract"
104
+ ],
105
+ "additionalProperties": false
106
+ }
@@ -0,0 +1,174 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "oneOf": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "schemaVersion": {
8
+ "type": "number",
9
+ "const": 1
10
+ },
11
+ "provenance": {
12
+ "type": "string",
13
+ "minLength": 1,
14
+ "maxLength": 512
15
+ },
16
+ "kind": {
17
+ "type": "string",
18
+ "const": "authorization"
19
+ },
20
+ "rowPredicate": {
21
+ "type": "string",
22
+ "maxLength": 65536
23
+ },
24
+ "expression": {
25
+ "type": "string",
26
+ "maxLength": 65536
27
+ }
28
+ },
29
+ "required": [
30
+ "schemaVersion",
31
+ "provenance",
32
+ "kind"
33
+ ],
34
+ "additionalProperties": false
35
+ },
36
+ {
37
+ "type": "object",
38
+ "properties": {
39
+ "schemaVersion": {
40
+ "type": "number",
41
+ "const": 1
42
+ },
43
+ "provenance": {
44
+ "type": "string",
45
+ "minLength": 1,
46
+ "maxLength": 512
47
+ },
48
+ "kind": {
49
+ "type": "string",
50
+ "const": "key"
51
+ },
52
+ "fields": {
53
+ "minItems": 1,
54
+ "maxItems": 16,
55
+ "type": "array",
56
+ "items": {
57
+ "type": "string",
58
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
59
+ }
60
+ }
61
+ },
62
+ "required": [
63
+ "schemaVersion",
64
+ "provenance",
65
+ "kind",
66
+ "fields"
67
+ ],
68
+ "additionalProperties": false
69
+ },
70
+ {
71
+ "type": "object",
72
+ "properties": {
73
+ "schemaVersion": {
74
+ "type": "number",
75
+ "const": 1
76
+ },
77
+ "provenance": {
78
+ "type": "string",
79
+ "minLength": 1,
80
+ "maxLength": 512
81
+ },
82
+ "kind": {
83
+ "type": "string",
84
+ "const": "command"
85
+ },
86
+ "transaction": {
87
+ "type": "string",
88
+ "const": "caller-owned"
89
+ },
90
+ "overload": {
91
+ "type": "string",
92
+ "minLength": 1,
93
+ "maxLength": 32
94
+ },
95
+ "parameters": {
96
+ "type": "object",
97
+ "propertyNames": {
98
+ "type": "string",
99
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
100
+ },
101
+ "additionalProperties": {
102
+ "type": "object",
103
+ "properties": {
104
+ "mode": {
105
+ "type": "string",
106
+ "enum": [
107
+ "in",
108
+ "out",
109
+ "in-out"
110
+ ]
111
+ },
112
+ "type": {
113
+ "type": "string",
114
+ "enum": [
115
+ "NUMBER",
116
+ "PLS_INTEGER",
117
+ "BINARY_INTEGER",
118
+ "VARCHAR2",
119
+ "CHAR",
120
+ "NVARCHAR2",
121
+ "NCHAR",
122
+ "DATE",
123
+ "TIMESTAMP"
124
+ ]
125
+ },
126
+ "defaulted": {
127
+ "default": false,
128
+ "type": "boolean"
129
+ }
130
+ },
131
+ "required": [
132
+ "mode",
133
+ "type",
134
+ "defaulted"
135
+ ],
136
+ "additionalProperties": false
137
+ }
138
+ }
139
+ },
140
+ "required": [
141
+ "schemaVersion",
142
+ "provenance",
143
+ "kind",
144
+ "transaction",
145
+ "parameters"
146
+ ],
147
+ "additionalProperties": false
148
+ },
149
+ {
150
+ "type": "object",
151
+ "properties": {
152
+ "schemaVersion": {
153
+ "type": "number",
154
+ "const": 1
155
+ },
156
+ "provenance": {
157
+ "type": "string",
158
+ "minLength": 1,
159
+ "maxLength": 512
160
+ },
161
+ "kind": {
162
+ "type": "string",
163
+ "const": "errors"
164
+ }
165
+ },
166
+ "required": [
167
+ "schemaVersion",
168
+ "provenance",
169
+ "kind"
170
+ ],
171
+ "additionalProperties": false
172
+ }
173
+ ]
174
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "code": {
6
+ "type": "string"
7
+ },
8
+ "message": {
9
+ "type": "string"
10
+ },
11
+ "severity": {
12
+ "type": "string",
13
+ "enum": [
14
+ "error",
15
+ "warning",
16
+ "info"
17
+ ]
18
+ }
19
+ },
20
+ "required": [
21
+ "code",
22
+ "message",
23
+ "severity"
24
+ ],
25
+ "additionalProperties": false
26
+ }
@@ -0,0 +1,141 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "read": {
6
+ "type": "object",
7
+ "properties": {
8
+ "kind": {
9
+ "type": "string",
10
+ "enum": [
11
+ "oracle-table",
12
+ "oracle-view"
13
+ ]
14
+ },
15
+ "object": {
16
+ "type": "string",
17
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
18
+ },
19
+ "key": {
20
+ "minItems": 1,
21
+ "maxItems": 16,
22
+ "type": "array",
23
+ "items": {
24
+ "type": "string",
25
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
26
+ }
27
+ },
28
+ "keyContract": {
29
+ "type": "string"
30
+ },
31
+ "fields": {
32
+ "type": "object",
33
+ "propertyNames": {
34
+ "type": "string",
35
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
36
+ },
37
+ "additionalProperties": {
38
+ "type": "object",
39
+ "properties": {
40
+ "column": {
41
+ "type": "string",
42
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
43
+ },
44
+ "type": {
45
+ "type": "string",
46
+ "enum": [
47
+ "string",
48
+ "integer",
49
+ "decimal",
50
+ "date",
51
+ "timestamp",
52
+ "boolean"
53
+ ]
54
+ },
55
+ "nullable": {
56
+ "type": "boolean"
57
+ },
58
+ "maxLength": {
59
+ "type": "integer",
60
+ "exclusiveMinimum": 0,
61
+ "maximum": 9007199254740991
62
+ },
63
+ "precision": {
64
+ "type": "integer",
65
+ "exclusiveMinimum": 0,
66
+ "maximum": 9007199254740991
67
+ },
68
+ "scale": {
69
+ "type": "integer",
70
+ "minimum": -9007199254740991,
71
+ "maximum": 9007199254740991
72
+ },
73
+ "enum": {
74
+ "maxItems": 100,
75
+ "type": "array",
76
+ "items": {
77
+ "type": "string",
78
+ "maxLength": 128
79
+ }
80
+ }
81
+ },
82
+ "required": [
83
+ "column",
84
+ "type",
85
+ "nullable"
86
+ ],
87
+ "additionalProperties": false
88
+ }
89
+ }
90
+ },
91
+ "required": [
92
+ "kind",
93
+ "object",
94
+ "key",
95
+ "fields"
96
+ ],
97
+ "additionalProperties": false
98
+ },
99
+ "authorization": {
100
+ "type": "object",
101
+ "properties": {
102
+ "readContract": {
103
+ "type": "string"
104
+ },
105
+ "writeContract": {
106
+ "type": "string"
107
+ }
108
+ },
109
+ "required": [
110
+ "readContract"
111
+ ],
112
+ "additionalProperties": false
113
+ },
114
+ "capabilities": {
115
+ "default": {},
116
+ "type": "object",
117
+ "properties": {
118
+ "optimisticLock": {
119
+ "type": "object",
120
+ "properties": {
121
+ "field": {
122
+ "type": "string",
123
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
124
+ }
125
+ },
126
+ "required": [
127
+ "field"
128
+ ],
129
+ "additionalProperties": false
130
+ }
131
+ },
132
+ "additionalProperties": false
133
+ }
134
+ },
135
+ "required": [
136
+ "read",
137
+ "authorization",
138
+ "capabilities"
139
+ ],
140
+ "additionalProperties": false
141
+ }
@@ -0,0 +1,95 @@
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
+ "kind": {
10
+ "type": "string",
11
+ "enum": [
12
+ "schema",
13
+ "unit",
14
+ "compiler",
15
+ "sql-read",
16
+ "sql-write",
17
+ "import",
18
+ "browser-observation",
19
+ "browser-automation",
20
+ "authorization",
21
+ "upgrade",
22
+ "packaging"
23
+ ]
24
+ },
25
+ "status": {
26
+ "type": "string",
27
+ "enum": [
28
+ "passed",
29
+ "failed",
30
+ "not-run",
31
+ "blocked",
32
+ "stale"
33
+ ]
34
+ },
35
+ "sourceDigest": {
36
+ "type": "string",
37
+ "pattern": "^[a-f0-9]{64}$"
38
+ },
39
+ "generatorDigest": {
40
+ "type": "string",
41
+ "pattern": "^[a-f0-9]{64}$"
42
+ },
43
+ "configurationDigest": {
44
+ "type": "string",
45
+ "pattern": "^[a-f0-9]{64}$"
46
+ },
47
+ "fixtureDigest": {
48
+ "type": "string",
49
+ "pattern": "^[a-f0-9]{64}$"
50
+ },
51
+ "profile": {
52
+ "type": "string"
53
+ },
54
+ "tool": {
55
+ "type": "string"
56
+ },
57
+ "runner": {
58
+ "type": "string",
59
+ "enum": [
60
+ "local",
61
+ "mock",
62
+ "oracle",
63
+ "native-host"
64
+ ]
65
+ },
66
+ "timestamp": {
67
+ "type": "string"
68
+ },
69
+ "artifacts": {
70
+ "type": "array",
71
+ "items": {
72
+ "type": "string"
73
+ }
74
+ },
75
+ "reason": {
76
+ "type": "string"
77
+ }
78
+ },
79
+ "required": [
80
+ "schemaVersion",
81
+ "kind",
82
+ "status",
83
+ "sourceDigest",
84
+ "generatorDigest",
85
+ "configurationDigest",
86
+ "fixtureDigest",
87
+ "profile",
88
+ "tool",
89
+ "runner",
90
+ "timestamp",
91
+ "artifacts",
92
+ "reason"
93
+ ],
94
+ "additionalProperties": false
95
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "column": {
6
+ "type": "string",
7
+ "pattern": "^[A-Za-z][A-Za-z0-9_$#]{0,127}$"
8
+ },
9
+ "type": {
10
+ "type": "string",
11
+ "enum": [
12
+ "string",
13
+ "integer",
14
+ "decimal",
15
+ "date",
16
+ "timestamp",
17
+ "boolean"
18
+ ]
19
+ },
20
+ "nullable": {
21
+ "type": "boolean"
22
+ },
23
+ "maxLength": {
24
+ "type": "integer",
25
+ "exclusiveMinimum": 0,
26
+ "maximum": 9007199254740991
27
+ },
28
+ "precision": {
29
+ "type": "integer",
30
+ "exclusiveMinimum": 0,
31
+ "maximum": 9007199254740991
32
+ },
33
+ "scale": {
34
+ "type": "integer",
35
+ "minimum": -9007199254740991,
36
+ "maximum": 9007199254740991
37
+ },
38
+ "enum": {
39
+ "maxItems": 100,
40
+ "type": "array",
41
+ "items": {
42
+ "type": "string",
43
+ "maxLength": 128
44
+ }
45
+ }
46
+ },
47
+ "required": [
48
+ "column",
49
+ "type",
50
+ "nullable"
51
+ ],
52
+ "additionalProperties": false
53
+ }