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,117 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "use": {
6
+ "type": "string",
7
+ "pattern": "^block:[a-z0-9-]+\\/[a-z0-9-]+@\\d+\\.\\d+\\.\\d+(?:-[a-z0-9.-]+)?$"
8
+ },
9
+ "parameters": {
10
+ "type": "object",
11
+ "properties": {
12
+ "title": {
13
+ "type": "string",
14
+ "minLength": 1,
15
+ "maxLength": 180
16
+ },
17
+ "editableFields": {
18
+ "default": [],
19
+ "maxItems": 32,
20
+ "type": "array",
21
+ "items": {
22
+ "type": "string",
23
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
24
+ }
25
+ },
26
+ "createEnabled": {
27
+ "default": false,
28
+ "type": "boolean"
29
+ },
30
+ "editEnabled": {
31
+ "default": false,
32
+ "type": "boolean"
33
+ },
34
+ "deleteEnabled": {
35
+ "default": false,
36
+ "type": "boolean",
37
+ "const": false
38
+ },
39
+ "groupField": {
40
+ "type": "string",
41
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
42
+ },
43
+ "filterField": {
44
+ "type": "string",
45
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
46
+ },
47
+ "timeField": {
48
+ "type": "string",
49
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
50
+ },
51
+ "detailField": {
52
+ "type": "string",
53
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
54
+ },
55
+ "parentField": {
56
+ "type": "string",
57
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
58
+ }
59
+ },
60
+ "required": [
61
+ "title",
62
+ "editableFields",
63
+ "createEnabled",
64
+ "editEnabled",
65
+ "deleteEnabled"
66
+ ],
67
+ "additionalProperties": false
68
+ },
69
+ "bindings": {
70
+ "type": "object",
71
+ "properties": {
72
+ "records": {
73
+ "type": "string"
74
+ },
75
+ "saveRecord": {
76
+ "type": "string"
77
+ }
78
+ },
79
+ "required": [
80
+ "records"
81
+ ],
82
+ "additionalProperties": false
83
+ },
84
+ "ownership": {
85
+ "default": "managed",
86
+ "type": "string",
87
+ "enum": [
88
+ "managed",
89
+ "extended",
90
+ "detached"
91
+ ]
92
+ },
93
+ "extensions": {
94
+ "default": {},
95
+ "type": "object",
96
+ "propertyNames": {
97
+ "type": "string",
98
+ "enum": [
99
+ "beforeSaveValidation",
100
+ "afterSaveNotification"
101
+ ]
102
+ },
103
+ "additionalProperties": {
104
+ "type": "string",
105
+ "maxLength": 65536
106
+ }
107
+ }
108
+ },
109
+ "required": [
110
+ "use",
111
+ "parameters",
112
+ "bindings",
113
+ "ownership",
114
+ "extensions"
115
+ ],
116
+ "additionalProperties": false
117
+ }
@@ -0,0 +1,54 @@
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
+ "resolverPolicyVersion": {
14
+ "type": "string",
15
+ "const": "1"
16
+ },
17
+ "blueprintSemanticDigest": {
18
+ "type": "string",
19
+ "pattern": "^[a-f0-9]{64}$"
20
+ },
21
+ "catalogDigest": {
22
+ "type": "string",
23
+ "pattern": "^[a-f0-9]{64}$"
24
+ },
25
+ "compatibilityProfile": {
26
+ "type": "string"
27
+ },
28
+ "packages": {
29
+ "type": "object",
30
+ "propertyNames": {
31
+ "type": "string"
32
+ },
33
+ "additionalProperties": {
34
+ "type": "string",
35
+ "pattern": "^[a-f0-9]{64}$"
36
+ }
37
+ },
38
+ "contractDigest": {
39
+ "type": "string",
40
+ "pattern": "^[a-f0-9]{64}$"
41
+ }
42
+ },
43
+ "required": [
44
+ "schemaVersion",
45
+ "generatorVersion",
46
+ "resolverPolicyVersion",
47
+ "blueprintSemanticDigest",
48
+ "catalogDigest",
49
+ "compatibilityProfile",
50
+ "packages",
51
+ "contractDigest"
52
+ ],
53
+ "additionalProperties": false
54
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "path": {
6
+ "type": "string",
7
+ "minLength": 1,
8
+ "maxLength": 1024
9
+ },
10
+ "before": {
11
+ "anyOf": [
12
+ {
13
+ "type": "string",
14
+ "pattern": "^[a-f0-9]{64}$"
15
+ },
16
+ {
17
+ "type": "null"
18
+ }
19
+ ]
20
+ },
21
+ "after": {
22
+ "anyOf": [
23
+ {
24
+ "type": "string",
25
+ "pattern": "^[a-f0-9]{64}$"
26
+ },
27
+ {
28
+ "type": "null"
29
+ }
30
+ ]
31
+ },
32
+ "content": {
33
+ "anyOf": [
34
+ {
35
+ "type": "string",
36
+ "maxLength": 65536
37
+ },
38
+ {
39
+ "type": "null"
40
+ }
41
+ ]
42
+ },
43
+ "reason": {
44
+ "type": "string"
45
+ }
46
+ },
47
+ "required": [
48
+ "path",
49
+ "before",
50
+ "after",
51
+ "content",
52
+ "reason"
53
+ ],
54
+ "additionalProperties": false
55
+ }
@@ -0,0 +1,105 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "instanceId": {
6
+ "type": "string",
7
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
8
+ },
9
+ "blockId": {
10
+ "type": "string",
11
+ "pattern": "^block:[a-z0-9-]+\\/[a-z0-9-]+$"
12
+ },
13
+ "version": {
14
+ "type": "string",
15
+ "pattern": "^\\d+\\.\\d+\\.\\d+(?:-[a-z0-9.-]+)?$"
16
+ },
17
+ "mode": {
18
+ "type": "string",
19
+ "enum": [
20
+ "managed",
21
+ "extended",
22
+ "detached"
23
+ ]
24
+ },
25
+ "files": {
26
+ "type": "object",
27
+ "propertyNames": {
28
+ "type": "string",
29
+ "minLength": 1,
30
+ "maxLength": 1024
31
+ },
32
+ "additionalProperties": {
33
+ "type": "string",
34
+ "pattern": "^[a-f0-9]{64}$"
35
+ }
36
+ },
37
+ "bases": {
38
+ "type": "object",
39
+ "propertyNames": {
40
+ "type": "string",
41
+ "minLength": 1,
42
+ "maxLength": 1024
43
+ },
44
+ "additionalProperties": {
45
+ "type": "string",
46
+ "pattern": "^[a-f0-9]{64}$"
47
+ }
48
+ },
49
+ "allocation": {
50
+ "type": "object",
51
+ "properties": {
52
+ "page": {
53
+ "type": "integer",
54
+ "exclusiveMinimum": 0,
55
+ "maximum": 9007199254740991
56
+ },
57
+ "dialog": {
58
+ "anyOf": [
59
+ {
60
+ "type": "integer",
61
+ "exclusiveMinimum": 0,
62
+ "maximum": 9007199254740991
63
+ },
64
+ {
65
+ "type": "null"
66
+ }
67
+ ]
68
+ },
69
+ "prefix": {
70
+ "type": "string",
71
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
72
+ }
73
+ },
74
+ "required": [
75
+ "page",
76
+ "dialog",
77
+ "prefix"
78
+ ],
79
+ "additionalProperties": false
80
+ },
81
+ "consumers": {
82
+ "type": "array",
83
+ "items": {
84
+ "type": "string",
85
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
86
+ }
87
+ },
88
+ "provenance": {
89
+ "type": "string",
90
+ "pattern": "^[a-f0-9]{64}$"
91
+ }
92
+ },
93
+ "required": [
94
+ "instanceId",
95
+ "blockId",
96
+ "version",
97
+ "mode",
98
+ "files",
99
+ "bases",
100
+ "allocation",
101
+ "consumers",
102
+ "provenance"
103
+ ],
104
+ "additionalProperties": false
105
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "title": {
6
+ "type": "string",
7
+ "minLength": 1,
8
+ "maxLength": 180
9
+ },
10
+ "editableFields": {
11
+ "default": [],
12
+ "maxItems": 32,
13
+ "type": "array",
14
+ "items": {
15
+ "type": "string",
16
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
17
+ }
18
+ },
19
+ "createEnabled": {
20
+ "default": false,
21
+ "type": "boolean"
22
+ },
23
+ "editEnabled": {
24
+ "default": false,
25
+ "type": "boolean"
26
+ },
27
+ "deleteEnabled": {
28
+ "default": false,
29
+ "type": "boolean",
30
+ "const": false
31
+ },
32
+ "groupField": {
33
+ "type": "string",
34
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
35
+ },
36
+ "filterField": {
37
+ "type": "string",
38
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
39
+ },
40
+ "timeField": {
41
+ "type": "string",
42
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
43
+ },
44
+ "detailField": {
45
+ "type": "string",
46
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
47
+ },
48
+ "parentField": {
49
+ "type": "string",
50
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
51
+ }
52
+ },
53
+ "required": [
54
+ "title",
55
+ "editableFields",
56
+ "createEnabled",
57
+ "editEnabled",
58
+ "deleteEnabled"
59
+ ],
60
+ "additionalProperties": false
61
+ }