@nocha/cli 4.6.1 → 4.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/NOCHA.schema.json +1670 -3
  3. package/dist/build-info.json +4 -4
  4. package/dist/dev-offline-compiler.js +682 -7
  5. package/dist/dev-offline-runner.js +48 -6
  6. package/dist/development-live-host.js +13 -1
  7. package/dist/nocha.js +804 -60
  8. package/dist/reference-integrity.json +135 -101
  9. package/dist/references/api/README.md +24 -23
  10. package/dist/references/api/signatures.md +23 -2
  11. package/dist/references/base/server/tooling/sdk-sources.ts +2 -2
  12. package/dist/references/base/src/platform/failure.ts +1 -1
  13. package/dist/references/base/src/types/nocha/assets-media.d.ts +8 -0
  14. package/dist/references/base/src/types/nocha/assets-operations.d.ts +3 -0
  15. package/dist/references/base/src/types/nocha/capability-deadlines.d.ts +6 -0
  16. package/dist/references/base/src/types/nocha/capability-needs.d.ts +7 -0
  17. package/dist/references/base/src/types/nocha/capability-operations.d.ts +3 -1
  18. package/dist/references/base/src/types/nocha/drive-operations.d.ts +56 -0
  19. package/dist/references/base/src/types/nocha/drive-types.d.ts +77 -0
  20. package/dist/references/base/src/types/nocha/drive.d.ts +54 -0
  21. package/dist/references/base/src/types/nocha/error-codes.d.ts +9 -0
  22. package/dist/references/base/src/types/nocha/execution.d.ts +1 -1
  23. package/dist/references/base/src/types/nocha/index.d.ts +4 -0
  24. package/dist/references/base/src/types/nocha/media-read.d.ts +29 -0
  25. package/dist/references/base/src/types/nocha/operation-waiting.d.ts +8 -0
  26. package/dist/references/base/src/types/nocha/operation-wire-types.d.ts +30 -2
  27. package/dist/references/base/src/types/nocha/protocol.d.ts +7 -3
  28. package/dist/references/base/src/types/nocha/types/ai-wire.d.ts +40 -1
  29. package/dist/references/base/src/types/nocha/types/ai.d.ts +1 -1
  30. package/dist/references/base/src/types/nocha/types/assets-wire.d.ts +9 -1
  31. package/dist/references/base/src/types/nocha/types/assets.d.ts +22 -5
  32. package/dist/references/base/src/types/nocha/types/video-sdk-wire.d.ts +174 -13
  33. package/dist/references/base/src/types/nocha/types/video-wire.d.ts +120 -7
  34. package/dist/references/base/src/types/nocha/types/video.d.ts +5 -2
  35. package/dist/references/base/src/types/nocha/video-analysis.d.ts +10 -0
  36. package/dist/references/base/src/types/nocha/video-media.d.ts +1 -3
  37. package/dist/references/duel/server/tooling/sdk-sources.ts +2 -2
  38. package/dist/references/duel/src/types/nocha/assets-media.d.ts +8 -0
  39. package/dist/references/duel/src/types/nocha/assets-operations.d.ts +3 -0
  40. package/dist/references/duel/src/types/nocha/capability-deadlines.d.ts +6 -0
  41. package/dist/references/duel/src/types/nocha/capability-needs.d.ts +7 -0
  42. package/dist/references/duel/src/types/nocha/capability-operations.d.ts +3 -1
  43. package/dist/references/duel/src/types/nocha/drive-operations.d.ts +56 -0
  44. package/dist/references/duel/src/types/nocha/drive-types.d.ts +77 -0
  45. package/dist/references/duel/src/types/nocha/drive.d.ts +54 -0
  46. package/dist/references/duel/src/types/nocha/error-codes.d.ts +9 -0
  47. package/dist/references/duel/src/types/nocha/execution.d.ts +1 -1
  48. package/dist/references/duel/src/types/nocha/index.d.ts +4 -0
  49. package/dist/references/duel/src/types/nocha/media-read.d.ts +29 -0
  50. package/dist/references/duel/src/types/nocha/operation-waiting.d.ts +8 -0
  51. package/dist/references/duel/src/types/nocha/operation-wire-types.d.ts +30 -2
  52. package/dist/references/duel/src/types/nocha/protocol.d.ts +7 -3
  53. package/dist/references/duel/src/types/nocha/types/ai-wire.d.ts +40 -1
  54. package/dist/references/duel/src/types/nocha/types/ai.d.ts +1 -1
  55. package/dist/references/duel/src/types/nocha/types/assets-wire.d.ts +9 -1
  56. package/dist/references/duel/src/types/nocha/types/assets.d.ts +22 -5
  57. package/dist/references/duel/src/types/nocha/types/video-sdk-wire.d.ts +174 -13
  58. package/dist/references/duel/src/types/nocha/types/video-wire.d.ts +120 -7
  59. package/dist/references/duel/src/types/nocha/types/video.d.ts +5 -2
  60. package/dist/references/duel/src/types/nocha/video-analysis.d.ts +10 -0
  61. package/dist/references/duel/src/types/nocha/video-media.d.ts +1 -3
  62. package/dist/references/recipes/README.md +1 -0
  63. package/dist/references/recipes/backend-transaction/src/platform/failure.ts +1 -1
  64. package/dist/references/recipes/drive/NOCHA.json +24 -0
  65. package/dist/references/recipes/drive/README.md +15 -0
  66. package/dist/references/recipes/drive/SKILL.md +24 -0
  67. package/dist/references/recipes/drive/recipe.ts +34 -0
  68. package/dist/references/recipes/music/README.md +1 -1
  69. package/dist/references/recipes/types/nocha/assets-media.d.ts +8 -0
  70. package/dist/references/recipes/types/nocha/assets-operations.d.ts +3 -0
  71. package/dist/references/recipes/types/nocha/capability-deadlines.d.ts +6 -0
  72. package/dist/references/recipes/types/nocha/capability-needs.d.ts +7 -0
  73. package/dist/references/recipes/types/nocha/capability-operations.d.ts +3 -1
  74. package/dist/references/recipes/types/nocha/drive-operations.d.ts +56 -0
  75. package/dist/references/recipes/types/nocha/drive-types.d.ts +77 -0
  76. package/dist/references/recipes/types/nocha/drive.d.ts +54 -0
  77. package/dist/references/recipes/types/nocha/error-codes.d.ts +9 -0
  78. package/dist/references/recipes/types/nocha/execution.d.ts +1 -1
  79. package/dist/references/recipes/types/nocha/index.d.ts +4 -0
  80. package/dist/references/recipes/types/nocha/media-read.d.ts +29 -0
  81. package/dist/references/recipes/types/nocha/operation-waiting.d.ts +8 -0
  82. package/dist/references/recipes/types/nocha/operation-wire-types.d.ts +30 -2
  83. package/dist/references/recipes/types/nocha/protocol.d.ts +7 -3
  84. package/dist/references/recipes/types/nocha/types/ai-wire.d.ts +40 -1
  85. package/dist/references/recipes/types/nocha/types/ai.d.ts +1 -1
  86. package/dist/references/recipes/types/nocha/types/assets-wire.d.ts +9 -1
  87. package/dist/references/recipes/types/nocha/types/assets.d.ts +22 -5
  88. package/dist/references/recipes/types/nocha/types/video-sdk-wire.d.ts +174 -13
  89. package/dist/references/recipes/types/nocha/types/video-wire.d.ts +120 -7
  90. package/dist/references/recipes/types/nocha/types/video.d.ts +5 -2
  91. package/dist/references/recipes/types/nocha/video-analysis.d.ts +10 -0
  92. package/dist/references/recipes/types/nocha/video-media.d.ts +1 -3
  93. package/dist/references/stage/server/tooling/sdk-sources.ts +2 -2
  94. package/dist/references/stage/src/types/nocha/assets-media.d.ts +8 -0
  95. package/dist/references/stage/src/types/nocha/assets-operations.d.ts +3 -0
  96. package/dist/references/stage/src/types/nocha/capability-deadlines.d.ts +6 -0
  97. package/dist/references/stage/src/types/nocha/capability-needs.d.ts +7 -0
  98. package/dist/references/stage/src/types/nocha/capability-operations.d.ts +3 -1
  99. package/dist/references/stage/src/types/nocha/drive-operations.d.ts +56 -0
  100. package/dist/references/stage/src/types/nocha/drive-types.d.ts +77 -0
  101. package/dist/references/stage/src/types/nocha/drive.d.ts +54 -0
  102. package/dist/references/stage/src/types/nocha/error-codes.d.ts +9 -0
  103. package/dist/references/stage/src/types/nocha/execution.d.ts +1 -1
  104. package/dist/references/stage/src/types/nocha/index.d.ts +4 -0
  105. package/dist/references/stage/src/types/nocha/media-read.d.ts +29 -0
  106. package/dist/references/stage/src/types/nocha/operation-waiting.d.ts +8 -0
  107. package/dist/references/stage/src/types/nocha/operation-wire-types.d.ts +30 -2
  108. package/dist/references/stage/src/types/nocha/protocol.d.ts +7 -3
  109. package/dist/references/stage/src/types/nocha/types/ai-wire.d.ts +40 -1
  110. package/dist/references/stage/src/types/nocha/types/ai.d.ts +1 -1
  111. package/dist/references/stage/src/types/nocha/types/assets-wire.d.ts +9 -1
  112. package/dist/references/stage/src/types/nocha/types/assets.d.ts +22 -5
  113. package/dist/references/stage/src/types/nocha/types/video-sdk-wire.d.ts +174 -13
  114. package/dist/references/stage/src/types/nocha/types/video-wire.d.ts +120 -7
  115. package/dist/references/stage/src/types/nocha/types/video.d.ts +5 -2
  116. package/dist/references/stage/src/types/nocha/video-analysis.d.ts +10 -0
  117. package/dist/references/stage/src/types/nocha/video-media.d.ts +1 -3
  118. package/dist/references/workshop/server/tooling/sdk-sources.ts +2 -2
  119. package/dist/references/workshop/src/types/nocha/assets-media.d.ts +8 -0
  120. package/dist/references/workshop/src/types/nocha/assets-operations.d.ts +3 -0
  121. package/dist/references/workshop/src/types/nocha/capability-deadlines.d.ts +6 -0
  122. package/dist/references/workshop/src/types/nocha/capability-needs.d.ts +7 -0
  123. package/dist/references/workshop/src/types/nocha/capability-operations.d.ts +3 -1
  124. package/dist/references/workshop/src/types/nocha/drive-operations.d.ts +56 -0
  125. package/dist/references/workshop/src/types/nocha/drive-types.d.ts +77 -0
  126. package/dist/references/workshop/src/types/nocha/drive.d.ts +54 -0
  127. package/dist/references/workshop/src/types/nocha/error-codes.d.ts +9 -0
  128. package/dist/references/workshop/src/types/nocha/execution.d.ts +1 -1
  129. package/dist/references/workshop/src/types/nocha/index.d.ts +4 -0
  130. package/dist/references/workshop/src/types/nocha/media-read.d.ts +29 -0
  131. package/dist/references/workshop/src/types/nocha/operation-waiting.d.ts +8 -0
  132. package/dist/references/workshop/src/types/nocha/operation-wire-types.d.ts +30 -2
  133. package/dist/references/workshop/src/types/nocha/protocol.d.ts +7 -3
  134. package/dist/references/workshop/src/types/nocha/types/ai-wire.d.ts +40 -1
  135. package/dist/references/workshop/src/types/nocha/types/ai.d.ts +1 -1
  136. package/dist/references/workshop/src/types/nocha/types/assets-wire.d.ts +9 -1
  137. package/dist/references/workshop/src/types/nocha/types/assets.d.ts +22 -5
  138. package/dist/references/workshop/src/types/nocha/types/video-sdk-wire.d.ts +174 -13
  139. package/dist/references/workshop/src/types/nocha/types/video-wire.d.ts +120 -7
  140. package/dist/references/workshop/src/types/nocha/types/video.d.ts +5 -2
  141. package/dist/references/workshop/src/types/nocha/video-analysis.d.ts +10 -0
  142. package/dist/references/workshop/src/types/nocha/video-media.d.ts +1 -3
  143. package/dist/sdk-versions.json +1 -1
  144. package/dist/sdks/@nocha/sdk/dist/assets-operations.d.ts +3 -0
  145. package/dist/sdks/@nocha/sdk/dist/bridge.js +3 -3
  146. package/dist/sdks/@nocha/sdk/dist/capabilities.js +2 -2
  147. package/dist/sdks/@nocha/sdk/dist/capability-deadlines.d.ts +6 -0
  148. package/dist/sdks/@nocha/sdk/dist/capability-needs.d.ts +7 -0
  149. package/dist/sdks/@nocha/sdk/dist/capability-operations.d.ts +3 -1
  150. package/dist/sdks/@nocha/sdk/dist/{chunk-A3QFRV4K.js → chunk-7SH7NNX6.js} +2 -2
  151. package/dist/sdks/@nocha/sdk/dist/{chunk-3ULBSRGX.js → chunk-B34FPFNB.js} +1 -1
  152. package/dist/sdks/@nocha/sdk/dist/{chunk-MNRQELK7.js → chunk-EAC27UOG.js} +152 -7
  153. package/dist/sdks/{@watchirl/experience-sdk/dist/nocha/network-operations.d.ts → @nocha/sdk/dist/drive-operations.d.ts} +21 -18
  154. package/dist/sdks/@nocha/sdk/dist/drive-types.d.ts +76 -0
  155. package/dist/sdks/@nocha/sdk/dist/drive.d.ts +53 -0
  156. package/dist/sdks/@nocha/sdk/dist/error-codes.d.ts +9 -0
  157. package/dist/sdks/@nocha/sdk/dist/execution.d.ts +1 -1
  158. package/dist/sdks/@nocha/sdk/dist/host.js +1 -1
  159. package/dist/sdks/@nocha/sdk/dist/index.d.ts +4 -0
  160. package/dist/sdks/@nocha/sdk/dist/index.js +521 -125
  161. package/dist/sdks/@nocha/sdk/dist/operation-wire-types.d.ts +30 -2
  162. package/dist/sdks/@nocha/sdk/dist/protocol.d.ts +7 -3
  163. package/dist/sdks/@nocha/sdk/dist/protocol.js +19 -1
  164. package/dist/sdks/@nocha/sdk/dist/types/ai-wire.d.ts +40 -1
  165. package/dist/sdks/@nocha/sdk/dist/types/ai.d.ts +1 -1
  166. package/dist/sdks/@nocha/sdk/dist/types/assets-wire.d.ts +9 -1
  167. package/dist/sdks/@nocha/sdk/dist/types/assets.d.ts +22 -5
  168. package/dist/sdks/@nocha/sdk/dist/types/video-sdk-wire.d.ts +174 -13
  169. package/dist/sdks/@nocha/sdk/dist/types/video-wire.d.ts +120 -7
  170. package/dist/sdks/@nocha/sdk/dist/types/video.d.ts +5 -2
  171. package/dist/sdks/@nocha/sdk/dist/video-analysis.d.ts +9 -0
  172. package/dist/sdks/@nocha/sdk/dist/vite.js +3 -1
  173. package/dist/sdks/@nocha/sdk/package.json +1 -1
  174. package/dist/sdks/@watchirl/experience-sdk/dist/index.d.ts +2 -2
  175. package/dist/sdks/@watchirl/experience-sdk/dist/index.js +339 -4523
  176. package/dist/sdks/@watchirl/experience-sdk/dist/legacy-video.d.ts +2 -2
  177. package/dist/sdks/@watchirl/experience-sdk/dist/types.d.ts +1 -1
  178. package/dist/watchirl-sdk.js +333 -4515
  179. package/package.json +1 -1
  180. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/access.d.ts +0 -23
  181. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/ai-operations.d.ts +0 -252
  182. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/assets-operations.d.ts +0 -102
  183. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/assistant-contract.d.ts +0 -29
  184. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/assistant-controls.d.ts +0 -11
  185. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/assistant.d.ts +0 -57
  186. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/automations-operations.d.ts +0 -377
  187. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/automations-types.d.ts +0 -156
  188. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/automations.d.ts +0 -27
  189. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-database.d.ts +0 -17
  190. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-operations.d.ts +0 -71
  191. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-requests.d.ts +0 -57
  192. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-runtime.d.ts +0 -106
  193. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-transactions.d.ts +0 -53
  194. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/bridge.d.ts +0 -6
  195. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/capability-deadlines.d.ts +0 -63
  196. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/capability-needs.d.ts +0 -154
  197. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/capability-operations.d.ts +0 -73
  198. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/clipping-types.d.ts +0 -134
  199. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/connectors-operations.d.ts +0 -103
  200. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/connectors-types.d.ts +0 -10
  201. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/connectors.d.ts +0 -14
  202. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/context.d.ts +0 -18
  203. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/device-operations.d.ts +0 -452
  204. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/device-types.d.ts +0 -53
  205. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/email-operations.d.ts +0 -30
  206. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/email.d.ts +0 -9
  207. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/error-codes.d.ts +0 -299
  208. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/errors.d.ts +0 -36
  209. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/execution.d.ts +0 -15
  210. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/experience-context-types.d.ts +0 -12
  211. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/experience-context.d.ts +0 -8
  212. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/inbox-operations.d.ts +0 -58
  213. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/inbox.d.ts +0 -23
  214. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/index.d.ts +0 -101
  215. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/multiplayer-facade.d.ts +0 -44
  216. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/multiplayer-operations.d.ts +0 -80
  217. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/multiplayer.d.ts +0 -16
  218. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/navigation.d.ts +0 -16
  219. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/network.d.ts +0 -13
  220. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/notifications-operations.d.ts +0 -29
  221. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/notifications.d.ts +0 -9
  222. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/operation-metadata.d.ts +0 -67
  223. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/operation-wire-types.d.ts +0 -319
  224. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/outirl-operations.d.ts +0 -352
  225. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/outirl.d.ts +0 -31
  226. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/presence-operations.d.ts +0 -24
  227. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/protocol.d.ts +0 -378
  228. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/state.d.ts +0 -13
  229. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/storage-operation-types.d.ts +0 -49
  230. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/storage-operations.d.ts +0 -229
  231. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/storage.d.ts +0 -32
  232. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/transport.d.ts +0 -36
  233. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/ai-wire.d.ts +0 -337
  234. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/ai.d.ts +0 -20
  235. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/assets-wire.d.ts +0 -27
  236. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/assets.d.ts +0 -40
  237. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/json.d.ts +0 -8
  238. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/network.d.ts +0 -16
  239. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/outirl.d.ts +0 -326
  240. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/storage.d.ts +0 -74
  241. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/video-sdk-wire.d.ts +0 -460
  242. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/video-wire.d.ts +0 -440
  243. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/video.d.ts +0 -164
  244. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/voice-wire.d.ts +0 -17
  245. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/video-operations.d.ts +0 -646
  246. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/video-properties.d.ts +0 -6
  247. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/viewport-types.d.ts +0 -14
  248. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/viewport.d.ts +0 -7
  249. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/voice.d.ts +0 -13
  250. package/dist/sdks/@watchirl/experience-sdk/dist/nocha/workspace.d.ts +0 -7
@@ -64,6 +64,86 @@
64
64
  {
65
65
  "type": "object",
66
66
  "properties": {
67
+ "exposure": {
68
+ "type": "string",
69
+ "enum": [
70
+ "frontend",
71
+ "backend"
72
+ ]
73
+ },
74
+ "id": {
75
+ "type": "string",
76
+ "pattern": "^[a-z][a-z0-9_-]{0,79}$"
77
+ },
78
+ "description": {
79
+ "default": "Compte connecté",
80
+ "type": "string",
81
+ "minLength": 1,
82
+ "maxLength": 1000
83
+ },
84
+ "operations": {
85
+ "minItems": 1,
86
+ "maxItems": 32,
87
+ "type": "array",
88
+ "items": {
89
+ "type": "string",
90
+ "maxLength": 80,
91
+ "pattern": "^[a-z][a-z0-9_]*(?:\\.[a-z][a-z0-9_]*){1,3}$"
92
+ }
93
+ },
94
+ "spendCapMicrocredits": {
95
+ "type": "string",
96
+ "pattern": "^\\d+$"
97
+ },
98
+ "kind": {
99
+ "type": "string",
100
+ "const": "connector"
101
+ },
102
+ "connector": {
103
+ "type": "string",
104
+ "enum": [
105
+ "gmail",
106
+ "google-sheets",
107
+ "github",
108
+ "notion"
109
+ ]
110
+ },
111
+ "purpose": {
112
+ "type": "string",
113
+ "minLength": 1,
114
+ "maxLength": 1000
115
+ },
116
+ "dataCategories": {
117
+ "minItems": 1,
118
+ "maxItems": 16,
119
+ "type": "array",
120
+ "items": {
121
+ "type": "string",
122
+ "pattern": "^[a-z][a-z_]{1,39}$"
123
+ }
124
+ }
125
+ },
126
+ "required": [
127
+ "id",
128
+ "description",
129
+ "operations",
130
+ "kind",
131
+ "connector",
132
+ "purpose",
133
+ "dataCategories"
134
+ ],
135
+ "additionalProperties": false
136
+ },
137
+ {
138
+ "type": "object",
139
+ "properties": {
140
+ "exposure": {
141
+ "type": "string",
142
+ "enum": [
143
+ "frontend",
144
+ "backend"
145
+ ]
146
+ },
67
147
  "id": {
68
148
  "type": "string",
69
149
  "pattern": "^[a-z][a-z0-9_-]{0,79}$"
@@ -169,6 +249,13 @@
169
249
  {
170
250
  "type": "object",
171
251
  "properties": {
252
+ "exposure": {
253
+ "type": "string",
254
+ "enum": [
255
+ "frontend",
256
+ "backend"
257
+ ]
258
+ },
172
259
  "id": {
173
260
  "type": "string",
174
261
  "pattern": "^[a-z][a-z0-9_-]{0,79}$"
@@ -227,6 +314,7 @@
227
314
  "image.upscale",
228
315
  "audio.sound_effect",
229
316
  "video.extend",
317
+ "audio.voice_change",
230
318
  "text.decision",
231
319
  "voice.call"
232
320
  ]
@@ -245,6 +333,13 @@
245
333
  {
246
334
  "type": "object",
247
335
  "properties": {
336
+ "exposure": {
337
+ "type": "string",
338
+ "enum": [
339
+ "frontend",
340
+ "backend"
341
+ ]
342
+ },
248
343
  "id": {
249
344
  "type": "string",
250
345
  "pattern": "^[a-z][a-z0-9_-]{0,79}$"
@@ -287,7 +382,11 @@
287
382
  "network",
288
383
  "notifications",
289
384
  "inbox",
290
- "email"
385
+ "email",
386
+ "backend",
387
+ "automations",
388
+ "connectors",
389
+ "drive"
291
390
  ]
292
391
  },
293
392
  "resources": {
@@ -342,6 +441,7 @@
342
441
  "image.upscale",
343
442
  "audio.sound_effect",
344
443
  "video.extend",
444
+ "audio.voice_change",
345
445
  "text.decision",
346
446
  "voice.call"
347
447
  ]
@@ -360,6 +460,13 @@
360
460
  {
361
461
  "type": "object",
362
462
  "properties": {
463
+ "exposure": {
464
+ "type": "string",
465
+ "enum": [
466
+ "frontend",
467
+ "backend"
468
+ ]
469
+ },
363
470
  "id": {
364
471
  "type": "string",
365
472
  "pattern": "^[a-z][a-z0-9_-]{0,79}$"
@@ -416,6 +523,294 @@
416
523
  ]
417
524
  }
418
525
  },
526
+ "runtime": {
527
+ "oneOf": [
528
+ {
529
+ "type": "object",
530
+ "properties": {
531
+ "mode": {
532
+ "type": "string",
533
+ "const": "static"
534
+ }
535
+ },
536
+ "required": [
537
+ "mode"
538
+ ],
539
+ "additionalProperties": false
540
+ },
541
+ {
542
+ "type": "object",
543
+ "properties": {
544
+ "mode": {
545
+ "type": "string",
546
+ "const": "backend"
547
+ },
548
+ "server": {
549
+ "type": "object",
550
+ "properties": {
551
+ "entry": {
552
+ "type": "string",
553
+ "maxLength": 200,
554
+ "pattern": "^(?:server\\/app|apps\\/api\\/src)\\/(?:[a-zA-Z0-9_-]+\\/)*[a-zA-Z0-9_-]+\\.(?:ts|js|mjs)$"
555
+ }
556
+ },
557
+ "required": [
558
+ "entry"
559
+ ],
560
+ "additionalProperties": false
561
+ },
562
+ "resourceClass": {
563
+ "type": "string",
564
+ "const": "small"
565
+ },
566
+ "reasons": {
567
+ "minItems": 1,
568
+ "maxItems": 4,
569
+ "type": "array",
570
+ "items": {
571
+ "type": "string",
572
+ "enum": [
573
+ "business_authority",
574
+ "hidden_data",
575
+ "transaction",
576
+ "business_integration"
577
+ ]
578
+ }
579
+ },
580
+ "routes": {
581
+ "minItems": 1,
582
+ "maxItems": 16,
583
+ "type": "array",
584
+ "items": {
585
+ "anyOf": [
586
+ {
587
+ "type": "object",
588
+ "properties": {
589
+ "id": {
590
+ "type": "string",
591
+ "pattern": "^[a-z][a-z0-9_-]{0,79}$"
592
+ },
593
+ "method": {
594
+ "type": "string",
595
+ "enum": [
596
+ "GET",
597
+ "POST"
598
+ ]
599
+ },
600
+ "path": {
601
+ "type": "string",
602
+ "maxLength": 200,
603
+ "pattern": "^\\/(?:[a-zA-Z0-9_-]+(?:\\/[a-zA-Z0-9_-]+)*)?$"
604
+ },
605
+ "usage": {
606
+ "type": "string",
607
+ "pattern": "^[a-z][a-z0-9_-]{0,79}$"
608
+ },
609
+ "usages": {
610
+ "maxItems": 128,
611
+ "type": "array",
612
+ "items": {
613
+ "type": "string",
614
+ "pattern": "^[a-z][a-z0-9_-]{0,79}$"
615
+ }
616
+ },
617
+ "anonymous": {
618
+ "type": "boolean",
619
+ "const": false
620
+ },
621
+ "mutating": {
622
+ "type": "boolean"
623
+ },
624
+ "inputSchema": {
625
+ "$ref": "#/$defs/NochaBackendSchemaDepth0"
626
+ },
627
+ "outputSchema": {
628
+ "$ref": "#/$defs/NochaBackendSchemaDepth0"
629
+ },
630
+ "caller": {
631
+ "type": "string",
632
+ "const": "frontend"
633
+ }
634
+ },
635
+ "required": [
636
+ "id",
637
+ "method",
638
+ "path",
639
+ "usage",
640
+ "usages",
641
+ "anonymous",
642
+ "mutating",
643
+ "inputSchema",
644
+ "outputSchema"
645
+ ],
646
+ "additionalProperties": false
647
+ },
648
+ {
649
+ "type": "object",
650
+ "properties": {
651
+ "id": {
652
+ "type": "string",
653
+ "pattern": "^[a-z][a-z0-9_-]{0,79}$"
654
+ },
655
+ "caller": {
656
+ "type": "string",
657
+ "const": "automation"
658
+ },
659
+ "method": {
660
+ "type": "string",
661
+ "const": "POST"
662
+ },
663
+ "path": {
664
+ "type": "string",
665
+ "maxLength": 200,
666
+ "pattern": "^\\/(?:[a-zA-Z0-9_-]+(?:\\/[a-zA-Z0-9_-]+)*)?$"
667
+ },
668
+ "usages": {
669
+ "maxItems": 128,
670
+ "type": "array",
671
+ "items": {
672
+ "type": "string",
673
+ "pattern": "^[a-z][a-z0-9_-]{0,79}$"
674
+ }
675
+ },
676
+ "anonymous": {
677
+ "type": "boolean",
678
+ "const": false
679
+ },
680
+ "mutating": {
681
+ "type": "boolean",
682
+ "const": true
683
+ },
684
+ "inputSchema": {
685
+ "$ref": "#/$defs/NochaBackendSchemaDepth0"
686
+ },
687
+ "outputSchema": {
688
+ "$ref": "#/$defs/NochaBackendSchemaDepth0"
689
+ }
690
+ },
691
+ "required": [
692
+ "id",
693
+ "caller",
694
+ "method",
695
+ "path",
696
+ "usages",
697
+ "anonymous",
698
+ "mutating",
699
+ "inputSchema",
700
+ "outputSchema"
701
+ ],
702
+ "additionalProperties": false
703
+ }
704
+ ]
705
+ }
706
+ },
707
+ "protections": {
708
+ "maxItems": 128,
709
+ "type": "array",
710
+ "items": {
711
+ "anyOf": [
712
+ {
713
+ "type": "object",
714
+ "properties": {
715
+ "capability": {
716
+ "type": "string",
717
+ "const": "database"
718
+ },
719
+ "collection": {
720
+ "type": "string",
721
+ "maxLength": 64,
722
+ "pattern": "^[a-zA-Z0-9._:-]{1,100}$"
723
+ }
724
+ },
725
+ "required": [
726
+ "capability",
727
+ "collection"
728
+ ],
729
+ "additionalProperties": false
730
+ },
731
+ {
732
+ "type": "object",
733
+ "properties": {
734
+ "capability": {
735
+ "type": "string",
736
+ "enum": [
737
+ "memory",
738
+ "state"
739
+ ]
740
+ },
741
+ "key": {
742
+ "type": "string",
743
+ "pattern": "^[a-zA-Z0-9._:-]{1,100}$"
744
+ }
745
+ },
746
+ "required": [
747
+ "capability",
748
+ "key"
749
+ ],
750
+ "additionalProperties": false
751
+ },
752
+ {
753
+ "type": "object",
754
+ "properties": {
755
+ "capability": {
756
+ "type": "string",
757
+ "enum": [
758
+ "memory",
759
+ "state"
760
+ ]
761
+ },
762
+ "keyPrefix": {
763
+ "type": "string",
764
+ "pattern": "^[a-zA-Z0-9._:-]{1,100}$"
765
+ }
766
+ },
767
+ "required": [
768
+ "capability",
769
+ "keyPrefix"
770
+ ],
771
+ "additionalProperties": false
772
+ },
773
+ {
774
+ "type": "object",
775
+ "properties": {
776
+ "capability": {
777
+ "type": "string",
778
+ "const": "multiplayer"
779
+ },
780
+ "channel": {
781
+ "type": "string",
782
+ "pattern": "^[a-zA-Z0-9._:-]{1,100}$"
783
+ }
784
+ },
785
+ "required": [
786
+ "capability",
787
+ "channel"
788
+ ],
789
+ "additionalProperties": false
790
+ }
791
+ ]
792
+ }
793
+ },
794
+ "isolation": {
795
+ "type": "string",
796
+ "enum": [
797
+ "shared",
798
+ "call"
799
+ ]
800
+ }
801
+ },
802
+ "required": [
803
+ "mode",
804
+ "server",
805
+ "resourceClass",
806
+ "reasons",
807
+ "routes",
808
+ "protections"
809
+ ],
810
+ "additionalProperties": false
811
+ }
812
+ ]
813
+ },
419
814
  "writer": {
420
815
  "type": "string",
421
816
  "enum": [
@@ -844,7 +1239,8 @@
844
1239
  "hue",
845
1240
  "leds",
846
1241
  "audio",
847
- "network"
1242
+ "network",
1243
+ "desktop"
848
1244
  ]
849
1245
  }
850
1246
  },
@@ -855,5 +1251,1276 @@
855
1251
  "usages",
856
1252
  "voice"
857
1253
  ],
858
- "additionalProperties": false
1254
+ "additionalProperties": false,
1255
+ "$defs": {
1256
+ "NochaBackendSchemaDepth0": {
1257
+ "anyOf": [
1258
+ {
1259
+ "type": "object",
1260
+ "properties": {
1261
+ "type": {
1262
+ "type": "string",
1263
+ "enum": [
1264
+ "null",
1265
+ "boolean"
1266
+ ]
1267
+ }
1268
+ },
1269
+ "required": [
1270
+ "type"
1271
+ ],
1272
+ "additionalProperties": false
1273
+ },
1274
+ {
1275
+ "type": "object",
1276
+ "properties": {
1277
+ "type": {
1278
+ "type": "string",
1279
+ "enum": [
1280
+ "number",
1281
+ "integer"
1282
+ ]
1283
+ },
1284
+ "minimum": {
1285
+ "type": "number"
1286
+ },
1287
+ "maximum": {
1288
+ "type": "number"
1289
+ }
1290
+ },
1291
+ "required": [
1292
+ "type"
1293
+ ],
1294
+ "additionalProperties": false
1295
+ },
1296
+ {
1297
+ "type": "object",
1298
+ "properties": {
1299
+ "type": {
1300
+ "type": "string",
1301
+ "const": "string"
1302
+ },
1303
+ "minLength": {
1304
+ "type": "integer",
1305
+ "minimum": 0,
1306
+ "maximum": 65536
1307
+ },
1308
+ "maxLength": {
1309
+ "type": "integer",
1310
+ "minimum": 0,
1311
+ "maximum": 65536
1312
+ },
1313
+ "enum": {
1314
+ "minItems": 1,
1315
+ "maxItems": 64,
1316
+ "type": "array",
1317
+ "items": {
1318
+ "type": "string",
1319
+ "maxLength": 65536
1320
+ }
1321
+ }
1322
+ },
1323
+ "required": [
1324
+ "type",
1325
+ "maxLength"
1326
+ ],
1327
+ "additionalProperties": false
1328
+ },
1329
+ {
1330
+ "type": "object",
1331
+ "properties": {
1332
+ "type": {
1333
+ "type": "string",
1334
+ "const": "array"
1335
+ },
1336
+ "items": {
1337
+ "$ref": "#/$defs/NochaBackendSchemaDepth1"
1338
+ },
1339
+ "minItems": {
1340
+ "type": "integer",
1341
+ "minimum": 0,
1342
+ "maximum": 256
1343
+ },
1344
+ "maxItems": {
1345
+ "type": "integer",
1346
+ "minimum": 0,
1347
+ "maximum": 256
1348
+ }
1349
+ },
1350
+ "required": [
1351
+ "type",
1352
+ "items",
1353
+ "maxItems"
1354
+ ],
1355
+ "additionalProperties": false
1356
+ },
1357
+ {
1358
+ "type": "object",
1359
+ "properties": {
1360
+ "type": {
1361
+ "type": "string",
1362
+ "const": "object"
1363
+ },
1364
+ "properties": {
1365
+ "type": "object",
1366
+ "propertyNames": {
1367
+ "type": "string",
1368
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
1369
+ },
1370
+ "additionalProperties": {
1371
+ "$ref": "#/$defs/NochaBackendSchemaDepth1"
1372
+ },
1373
+ "maxProperties": 64
1374
+ },
1375
+ "required": {
1376
+ "maxItems": 64,
1377
+ "type": "array",
1378
+ "items": {
1379
+ "type": "string",
1380
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
1381
+ }
1382
+ },
1383
+ "additionalProperties": {
1384
+ "type": "boolean",
1385
+ "const": false
1386
+ }
1387
+ },
1388
+ "required": [
1389
+ "type",
1390
+ "properties",
1391
+ "additionalProperties"
1392
+ ],
1393
+ "additionalProperties": false
1394
+ }
1395
+ ]
1396
+ },
1397
+ "NochaBackendSchemaDepth1": {
1398
+ "anyOf": [
1399
+ {
1400
+ "type": "object",
1401
+ "properties": {
1402
+ "type": {
1403
+ "type": "string",
1404
+ "enum": [
1405
+ "null",
1406
+ "boolean"
1407
+ ]
1408
+ }
1409
+ },
1410
+ "required": [
1411
+ "type"
1412
+ ],
1413
+ "additionalProperties": false
1414
+ },
1415
+ {
1416
+ "type": "object",
1417
+ "properties": {
1418
+ "type": {
1419
+ "type": "string",
1420
+ "enum": [
1421
+ "number",
1422
+ "integer"
1423
+ ]
1424
+ },
1425
+ "minimum": {
1426
+ "type": "number"
1427
+ },
1428
+ "maximum": {
1429
+ "type": "number"
1430
+ }
1431
+ },
1432
+ "required": [
1433
+ "type"
1434
+ ],
1435
+ "additionalProperties": false
1436
+ },
1437
+ {
1438
+ "type": "object",
1439
+ "properties": {
1440
+ "type": {
1441
+ "type": "string",
1442
+ "const": "string"
1443
+ },
1444
+ "minLength": {
1445
+ "type": "integer",
1446
+ "minimum": 0,
1447
+ "maximum": 65536
1448
+ },
1449
+ "maxLength": {
1450
+ "type": "integer",
1451
+ "minimum": 0,
1452
+ "maximum": 65536
1453
+ },
1454
+ "enum": {
1455
+ "minItems": 1,
1456
+ "maxItems": 64,
1457
+ "type": "array",
1458
+ "items": {
1459
+ "type": "string",
1460
+ "maxLength": 65536
1461
+ }
1462
+ }
1463
+ },
1464
+ "required": [
1465
+ "type",
1466
+ "maxLength"
1467
+ ],
1468
+ "additionalProperties": false
1469
+ },
1470
+ {
1471
+ "type": "object",
1472
+ "properties": {
1473
+ "type": {
1474
+ "type": "string",
1475
+ "const": "array"
1476
+ },
1477
+ "items": {
1478
+ "$ref": "#/$defs/NochaBackendSchemaDepth2"
1479
+ },
1480
+ "minItems": {
1481
+ "type": "integer",
1482
+ "minimum": 0,
1483
+ "maximum": 256
1484
+ },
1485
+ "maxItems": {
1486
+ "type": "integer",
1487
+ "minimum": 0,
1488
+ "maximum": 256
1489
+ }
1490
+ },
1491
+ "required": [
1492
+ "type",
1493
+ "items",
1494
+ "maxItems"
1495
+ ],
1496
+ "additionalProperties": false
1497
+ },
1498
+ {
1499
+ "type": "object",
1500
+ "properties": {
1501
+ "type": {
1502
+ "type": "string",
1503
+ "const": "object"
1504
+ },
1505
+ "properties": {
1506
+ "type": "object",
1507
+ "propertyNames": {
1508
+ "type": "string",
1509
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
1510
+ },
1511
+ "additionalProperties": {
1512
+ "$ref": "#/$defs/NochaBackendSchemaDepth2"
1513
+ },
1514
+ "maxProperties": 64
1515
+ },
1516
+ "required": {
1517
+ "maxItems": 64,
1518
+ "type": "array",
1519
+ "items": {
1520
+ "type": "string",
1521
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
1522
+ }
1523
+ },
1524
+ "additionalProperties": {
1525
+ "type": "boolean",
1526
+ "const": false
1527
+ }
1528
+ },
1529
+ "required": [
1530
+ "type",
1531
+ "properties",
1532
+ "additionalProperties"
1533
+ ],
1534
+ "additionalProperties": false
1535
+ }
1536
+ ]
1537
+ },
1538
+ "NochaBackendSchemaDepth2": {
1539
+ "anyOf": [
1540
+ {
1541
+ "type": "object",
1542
+ "properties": {
1543
+ "type": {
1544
+ "type": "string",
1545
+ "enum": [
1546
+ "null",
1547
+ "boolean"
1548
+ ]
1549
+ }
1550
+ },
1551
+ "required": [
1552
+ "type"
1553
+ ],
1554
+ "additionalProperties": false
1555
+ },
1556
+ {
1557
+ "type": "object",
1558
+ "properties": {
1559
+ "type": {
1560
+ "type": "string",
1561
+ "enum": [
1562
+ "number",
1563
+ "integer"
1564
+ ]
1565
+ },
1566
+ "minimum": {
1567
+ "type": "number"
1568
+ },
1569
+ "maximum": {
1570
+ "type": "number"
1571
+ }
1572
+ },
1573
+ "required": [
1574
+ "type"
1575
+ ],
1576
+ "additionalProperties": false
1577
+ },
1578
+ {
1579
+ "type": "object",
1580
+ "properties": {
1581
+ "type": {
1582
+ "type": "string",
1583
+ "const": "string"
1584
+ },
1585
+ "minLength": {
1586
+ "type": "integer",
1587
+ "minimum": 0,
1588
+ "maximum": 65536
1589
+ },
1590
+ "maxLength": {
1591
+ "type": "integer",
1592
+ "minimum": 0,
1593
+ "maximum": 65536
1594
+ },
1595
+ "enum": {
1596
+ "minItems": 1,
1597
+ "maxItems": 64,
1598
+ "type": "array",
1599
+ "items": {
1600
+ "type": "string",
1601
+ "maxLength": 65536
1602
+ }
1603
+ }
1604
+ },
1605
+ "required": [
1606
+ "type",
1607
+ "maxLength"
1608
+ ],
1609
+ "additionalProperties": false
1610
+ },
1611
+ {
1612
+ "type": "object",
1613
+ "properties": {
1614
+ "type": {
1615
+ "type": "string",
1616
+ "const": "array"
1617
+ },
1618
+ "items": {
1619
+ "$ref": "#/$defs/NochaBackendSchemaDepth3"
1620
+ },
1621
+ "minItems": {
1622
+ "type": "integer",
1623
+ "minimum": 0,
1624
+ "maximum": 256
1625
+ },
1626
+ "maxItems": {
1627
+ "type": "integer",
1628
+ "minimum": 0,
1629
+ "maximum": 256
1630
+ }
1631
+ },
1632
+ "required": [
1633
+ "type",
1634
+ "items",
1635
+ "maxItems"
1636
+ ],
1637
+ "additionalProperties": false
1638
+ },
1639
+ {
1640
+ "type": "object",
1641
+ "properties": {
1642
+ "type": {
1643
+ "type": "string",
1644
+ "const": "object"
1645
+ },
1646
+ "properties": {
1647
+ "type": "object",
1648
+ "propertyNames": {
1649
+ "type": "string",
1650
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
1651
+ },
1652
+ "additionalProperties": {
1653
+ "$ref": "#/$defs/NochaBackendSchemaDepth3"
1654
+ },
1655
+ "maxProperties": 64
1656
+ },
1657
+ "required": {
1658
+ "maxItems": 64,
1659
+ "type": "array",
1660
+ "items": {
1661
+ "type": "string",
1662
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
1663
+ }
1664
+ },
1665
+ "additionalProperties": {
1666
+ "type": "boolean",
1667
+ "const": false
1668
+ }
1669
+ },
1670
+ "required": [
1671
+ "type",
1672
+ "properties",
1673
+ "additionalProperties"
1674
+ ],
1675
+ "additionalProperties": false
1676
+ }
1677
+ ]
1678
+ },
1679
+ "NochaBackendSchemaDepth3": {
1680
+ "anyOf": [
1681
+ {
1682
+ "type": "object",
1683
+ "properties": {
1684
+ "type": {
1685
+ "type": "string",
1686
+ "enum": [
1687
+ "null",
1688
+ "boolean"
1689
+ ]
1690
+ }
1691
+ },
1692
+ "required": [
1693
+ "type"
1694
+ ],
1695
+ "additionalProperties": false
1696
+ },
1697
+ {
1698
+ "type": "object",
1699
+ "properties": {
1700
+ "type": {
1701
+ "type": "string",
1702
+ "enum": [
1703
+ "number",
1704
+ "integer"
1705
+ ]
1706
+ },
1707
+ "minimum": {
1708
+ "type": "number"
1709
+ },
1710
+ "maximum": {
1711
+ "type": "number"
1712
+ }
1713
+ },
1714
+ "required": [
1715
+ "type"
1716
+ ],
1717
+ "additionalProperties": false
1718
+ },
1719
+ {
1720
+ "type": "object",
1721
+ "properties": {
1722
+ "type": {
1723
+ "type": "string",
1724
+ "const": "string"
1725
+ },
1726
+ "minLength": {
1727
+ "type": "integer",
1728
+ "minimum": 0,
1729
+ "maximum": 65536
1730
+ },
1731
+ "maxLength": {
1732
+ "type": "integer",
1733
+ "minimum": 0,
1734
+ "maximum": 65536
1735
+ },
1736
+ "enum": {
1737
+ "minItems": 1,
1738
+ "maxItems": 64,
1739
+ "type": "array",
1740
+ "items": {
1741
+ "type": "string",
1742
+ "maxLength": 65536
1743
+ }
1744
+ }
1745
+ },
1746
+ "required": [
1747
+ "type",
1748
+ "maxLength"
1749
+ ],
1750
+ "additionalProperties": false
1751
+ },
1752
+ {
1753
+ "type": "object",
1754
+ "properties": {
1755
+ "type": {
1756
+ "type": "string",
1757
+ "const": "array"
1758
+ },
1759
+ "items": {
1760
+ "$ref": "#/$defs/NochaBackendSchemaDepth4"
1761
+ },
1762
+ "minItems": {
1763
+ "type": "integer",
1764
+ "minimum": 0,
1765
+ "maximum": 256
1766
+ },
1767
+ "maxItems": {
1768
+ "type": "integer",
1769
+ "minimum": 0,
1770
+ "maximum": 256
1771
+ }
1772
+ },
1773
+ "required": [
1774
+ "type",
1775
+ "items",
1776
+ "maxItems"
1777
+ ],
1778
+ "additionalProperties": false
1779
+ },
1780
+ {
1781
+ "type": "object",
1782
+ "properties": {
1783
+ "type": {
1784
+ "type": "string",
1785
+ "const": "object"
1786
+ },
1787
+ "properties": {
1788
+ "type": "object",
1789
+ "propertyNames": {
1790
+ "type": "string",
1791
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
1792
+ },
1793
+ "additionalProperties": {
1794
+ "$ref": "#/$defs/NochaBackendSchemaDepth4"
1795
+ },
1796
+ "maxProperties": 64
1797
+ },
1798
+ "required": {
1799
+ "maxItems": 64,
1800
+ "type": "array",
1801
+ "items": {
1802
+ "type": "string",
1803
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
1804
+ }
1805
+ },
1806
+ "additionalProperties": {
1807
+ "type": "boolean",
1808
+ "const": false
1809
+ }
1810
+ },
1811
+ "required": [
1812
+ "type",
1813
+ "properties",
1814
+ "additionalProperties"
1815
+ ],
1816
+ "additionalProperties": false
1817
+ }
1818
+ ]
1819
+ },
1820
+ "NochaBackendSchemaDepth4": {
1821
+ "anyOf": [
1822
+ {
1823
+ "type": "object",
1824
+ "properties": {
1825
+ "type": {
1826
+ "type": "string",
1827
+ "enum": [
1828
+ "null",
1829
+ "boolean"
1830
+ ]
1831
+ }
1832
+ },
1833
+ "required": [
1834
+ "type"
1835
+ ],
1836
+ "additionalProperties": false
1837
+ },
1838
+ {
1839
+ "type": "object",
1840
+ "properties": {
1841
+ "type": {
1842
+ "type": "string",
1843
+ "enum": [
1844
+ "number",
1845
+ "integer"
1846
+ ]
1847
+ },
1848
+ "minimum": {
1849
+ "type": "number"
1850
+ },
1851
+ "maximum": {
1852
+ "type": "number"
1853
+ }
1854
+ },
1855
+ "required": [
1856
+ "type"
1857
+ ],
1858
+ "additionalProperties": false
1859
+ },
1860
+ {
1861
+ "type": "object",
1862
+ "properties": {
1863
+ "type": {
1864
+ "type": "string",
1865
+ "const": "string"
1866
+ },
1867
+ "minLength": {
1868
+ "type": "integer",
1869
+ "minimum": 0,
1870
+ "maximum": 65536
1871
+ },
1872
+ "maxLength": {
1873
+ "type": "integer",
1874
+ "minimum": 0,
1875
+ "maximum": 65536
1876
+ },
1877
+ "enum": {
1878
+ "minItems": 1,
1879
+ "maxItems": 64,
1880
+ "type": "array",
1881
+ "items": {
1882
+ "type": "string",
1883
+ "maxLength": 65536
1884
+ }
1885
+ }
1886
+ },
1887
+ "required": [
1888
+ "type",
1889
+ "maxLength"
1890
+ ],
1891
+ "additionalProperties": false
1892
+ },
1893
+ {
1894
+ "type": "object",
1895
+ "properties": {
1896
+ "type": {
1897
+ "type": "string",
1898
+ "const": "array"
1899
+ },
1900
+ "items": {
1901
+ "$ref": "#/$defs/NochaBackendSchemaDepth5"
1902
+ },
1903
+ "minItems": {
1904
+ "type": "integer",
1905
+ "minimum": 0,
1906
+ "maximum": 256
1907
+ },
1908
+ "maxItems": {
1909
+ "type": "integer",
1910
+ "minimum": 0,
1911
+ "maximum": 256
1912
+ }
1913
+ },
1914
+ "required": [
1915
+ "type",
1916
+ "items",
1917
+ "maxItems"
1918
+ ],
1919
+ "additionalProperties": false
1920
+ },
1921
+ {
1922
+ "type": "object",
1923
+ "properties": {
1924
+ "type": {
1925
+ "type": "string",
1926
+ "const": "object"
1927
+ },
1928
+ "properties": {
1929
+ "type": "object",
1930
+ "propertyNames": {
1931
+ "type": "string",
1932
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
1933
+ },
1934
+ "additionalProperties": {
1935
+ "$ref": "#/$defs/NochaBackendSchemaDepth5"
1936
+ },
1937
+ "maxProperties": 64
1938
+ },
1939
+ "required": {
1940
+ "maxItems": 64,
1941
+ "type": "array",
1942
+ "items": {
1943
+ "type": "string",
1944
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
1945
+ }
1946
+ },
1947
+ "additionalProperties": {
1948
+ "type": "boolean",
1949
+ "const": false
1950
+ }
1951
+ },
1952
+ "required": [
1953
+ "type",
1954
+ "properties",
1955
+ "additionalProperties"
1956
+ ],
1957
+ "additionalProperties": false
1958
+ }
1959
+ ]
1960
+ },
1961
+ "NochaBackendSchemaDepth5": {
1962
+ "anyOf": [
1963
+ {
1964
+ "type": "object",
1965
+ "properties": {
1966
+ "type": {
1967
+ "type": "string",
1968
+ "enum": [
1969
+ "null",
1970
+ "boolean"
1971
+ ]
1972
+ }
1973
+ },
1974
+ "required": [
1975
+ "type"
1976
+ ],
1977
+ "additionalProperties": false
1978
+ },
1979
+ {
1980
+ "type": "object",
1981
+ "properties": {
1982
+ "type": {
1983
+ "type": "string",
1984
+ "enum": [
1985
+ "number",
1986
+ "integer"
1987
+ ]
1988
+ },
1989
+ "minimum": {
1990
+ "type": "number"
1991
+ },
1992
+ "maximum": {
1993
+ "type": "number"
1994
+ }
1995
+ },
1996
+ "required": [
1997
+ "type"
1998
+ ],
1999
+ "additionalProperties": false
2000
+ },
2001
+ {
2002
+ "type": "object",
2003
+ "properties": {
2004
+ "type": {
2005
+ "type": "string",
2006
+ "const": "string"
2007
+ },
2008
+ "minLength": {
2009
+ "type": "integer",
2010
+ "minimum": 0,
2011
+ "maximum": 65536
2012
+ },
2013
+ "maxLength": {
2014
+ "type": "integer",
2015
+ "minimum": 0,
2016
+ "maximum": 65536
2017
+ },
2018
+ "enum": {
2019
+ "minItems": 1,
2020
+ "maxItems": 64,
2021
+ "type": "array",
2022
+ "items": {
2023
+ "type": "string",
2024
+ "maxLength": 65536
2025
+ }
2026
+ }
2027
+ },
2028
+ "required": [
2029
+ "type",
2030
+ "maxLength"
2031
+ ],
2032
+ "additionalProperties": false
2033
+ },
2034
+ {
2035
+ "type": "object",
2036
+ "properties": {
2037
+ "type": {
2038
+ "type": "string",
2039
+ "const": "array"
2040
+ },
2041
+ "items": {
2042
+ "$ref": "#/$defs/NochaBackendSchemaDepth6"
2043
+ },
2044
+ "minItems": {
2045
+ "type": "integer",
2046
+ "minimum": 0,
2047
+ "maximum": 256
2048
+ },
2049
+ "maxItems": {
2050
+ "type": "integer",
2051
+ "minimum": 0,
2052
+ "maximum": 256
2053
+ }
2054
+ },
2055
+ "required": [
2056
+ "type",
2057
+ "items",
2058
+ "maxItems"
2059
+ ],
2060
+ "additionalProperties": false
2061
+ },
2062
+ {
2063
+ "type": "object",
2064
+ "properties": {
2065
+ "type": {
2066
+ "type": "string",
2067
+ "const": "object"
2068
+ },
2069
+ "properties": {
2070
+ "type": "object",
2071
+ "propertyNames": {
2072
+ "type": "string",
2073
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
2074
+ },
2075
+ "additionalProperties": {
2076
+ "$ref": "#/$defs/NochaBackendSchemaDepth6"
2077
+ },
2078
+ "maxProperties": 64
2079
+ },
2080
+ "required": {
2081
+ "maxItems": 64,
2082
+ "type": "array",
2083
+ "items": {
2084
+ "type": "string",
2085
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
2086
+ }
2087
+ },
2088
+ "additionalProperties": {
2089
+ "type": "boolean",
2090
+ "const": false
2091
+ }
2092
+ },
2093
+ "required": [
2094
+ "type",
2095
+ "properties",
2096
+ "additionalProperties"
2097
+ ],
2098
+ "additionalProperties": false
2099
+ }
2100
+ ]
2101
+ },
2102
+ "NochaBackendSchemaDepth6": {
2103
+ "anyOf": [
2104
+ {
2105
+ "type": "object",
2106
+ "properties": {
2107
+ "type": {
2108
+ "type": "string",
2109
+ "enum": [
2110
+ "null",
2111
+ "boolean"
2112
+ ]
2113
+ }
2114
+ },
2115
+ "required": [
2116
+ "type"
2117
+ ],
2118
+ "additionalProperties": false
2119
+ },
2120
+ {
2121
+ "type": "object",
2122
+ "properties": {
2123
+ "type": {
2124
+ "type": "string",
2125
+ "enum": [
2126
+ "number",
2127
+ "integer"
2128
+ ]
2129
+ },
2130
+ "minimum": {
2131
+ "type": "number"
2132
+ },
2133
+ "maximum": {
2134
+ "type": "number"
2135
+ }
2136
+ },
2137
+ "required": [
2138
+ "type"
2139
+ ],
2140
+ "additionalProperties": false
2141
+ },
2142
+ {
2143
+ "type": "object",
2144
+ "properties": {
2145
+ "type": {
2146
+ "type": "string",
2147
+ "const": "string"
2148
+ },
2149
+ "minLength": {
2150
+ "type": "integer",
2151
+ "minimum": 0,
2152
+ "maximum": 65536
2153
+ },
2154
+ "maxLength": {
2155
+ "type": "integer",
2156
+ "minimum": 0,
2157
+ "maximum": 65536
2158
+ },
2159
+ "enum": {
2160
+ "minItems": 1,
2161
+ "maxItems": 64,
2162
+ "type": "array",
2163
+ "items": {
2164
+ "type": "string",
2165
+ "maxLength": 65536
2166
+ }
2167
+ }
2168
+ },
2169
+ "required": [
2170
+ "type",
2171
+ "maxLength"
2172
+ ],
2173
+ "additionalProperties": false
2174
+ },
2175
+ {
2176
+ "type": "object",
2177
+ "properties": {
2178
+ "type": {
2179
+ "type": "string",
2180
+ "const": "array"
2181
+ },
2182
+ "items": {
2183
+ "$ref": "#/$defs/NochaBackendSchemaDepth7"
2184
+ },
2185
+ "minItems": {
2186
+ "type": "integer",
2187
+ "minimum": 0,
2188
+ "maximum": 256
2189
+ },
2190
+ "maxItems": {
2191
+ "type": "integer",
2192
+ "minimum": 0,
2193
+ "maximum": 256
2194
+ }
2195
+ },
2196
+ "required": [
2197
+ "type",
2198
+ "items",
2199
+ "maxItems"
2200
+ ],
2201
+ "additionalProperties": false
2202
+ },
2203
+ {
2204
+ "type": "object",
2205
+ "properties": {
2206
+ "type": {
2207
+ "type": "string",
2208
+ "const": "object"
2209
+ },
2210
+ "properties": {
2211
+ "type": "object",
2212
+ "propertyNames": {
2213
+ "type": "string",
2214
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
2215
+ },
2216
+ "additionalProperties": {
2217
+ "$ref": "#/$defs/NochaBackendSchemaDepth7"
2218
+ },
2219
+ "maxProperties": 64
2220
+ },
2221
+ "required": {
2222
+ "maxItems": 64,
2223
+ "type": "array",
2224
+ "items": {
2225
+ "type": "string",
2226
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
2227
+ }
2228
+ },
2229
+ "additionalProperties": {
2230
+ "type": "boolean",
2231
+ "const": false
2232
+ }
2233
+ },
2234
+ "required": [
2235
+ "type",
2236
+ "properties",
2237
+ "additionalProperties"
2238
+ ],
2239
+ "additionalProperties": false
2240
+ }
2241
+ ]
2242
+ },
2243
+ "NochaBackendSchemaDepth7": {
2244
+ "anyOf": [
2245
+ {
2246
+ "type": "object",
2247
+ "properties": {
2248
+ "type": {
2249
+ "type": "string",
2250
+ "enum": [
2251
+ "null",
2252
+ "boolean"
2253
+ ]
2254
+ }
2255
+ },
2256
+ "required": [
2257
+ "type"
2258
+ ],
2259
+ "additionalProperties": false
2260
+ },
2261
+ {
2262
+ "type": "object",
2263
+ "properties": {
2264
+ "type": {
2265
+ "type": "string",
2266
+ "enum": [
2267
+ "number",
2268
+ "integer"
2269
+ ]
2270
+ },
2271
+ "minimum": {
2272
+ "type": "number"
2273
+ },
2274
+ "maximum": {
2275
+ "type": "number"
2276
+ }
2277
+ },
2278
+ "required": [
2279
+ "type"
2280
+ ],
2281
+ "additionalProperties": false
2282
+ },
2283
+ {
2284
+ "type": "object",
2285
+ "properties": {
2286
+ "type": {
2287
+ "type": "string",
2288
+ "const": "string"
2289
+ },
2290
+ "minLength": {
2291
+ "type": "integer",
2292
+ "minimum": 0,
2293
+ "maximum": 65536
2294
+ },
2295
+ "maxLength": {
2296
+ "type": "integer",
2297
+ "minimum": 0,
2298
+ "maximum": 65536
2299
+ },
2300
+ "enum": {
2301
+ "minItems": 1,
2302
+ "maxItems": 64,
2303
+ "type": "array",
2304
+ "items": {
2305
+ "type": "string",
2306
+ "maxLength": 65536
2307
+ }
2308
+ }
2309
+ },
2310
+ "required": [
2311
+ "type",
2312
+ "maxLength"
2313
+ ],
2314
+ "additionalProperties": false
2315
+ },
2316
+ {
2317
+ "type": "object",
2318
+ "properties": {
2319
+ "type": {
2320
+ "type": "string",
2321
+ "const": "array"
2322
+ },
2323
+ "items": {
2324
+ "$ref": "#/$defs/NochaBackendSchemaDepth8"
2325
+ },
2326
+ "minItems": {
2327
+ "type": "integer",
2328
+ "minimum": 0,
2329
+ "maximum": 256
2330
+ },
2331
+ "maxItems": {
2332
+ "type": "integer",
2333
+ "minimum": 0,
2334
+ "maximum": 256
2335
+ }
2336
+ },
2337
+ "required": [
2338
+ "type",
2339
+ "items",
2340
+ "maxItems"
2341
+ ],
2342
+ "additionalProperties": false
2343
+ },
2344
+ {
2345
+ "type": "object",
2346
+ "properties": {
2347
+ "type": {
2348
+ "type": "string",
2349
+ "const": "object"
2350
+ },
2351
+ "properties": {
2352
+ "type": "object",
2353
+ "propertyNames": {
2354
+ "type": "string",
2355
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
2356
+ },
2357
+ "additionalProperties": {
2358
+ "$ref": "#/$defs/NochaBackendSchemaDepth8"
2359
+ },
2360
+ "maxProperties": 64
2361
+ },
2362
+ "required": {
2363
+ "maxItems": 64,
2364
+ "type": "array",
2365
+ "items": {
2366
+ "type": "string",
2367
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
2368
+ }
2369
+ },
2370
+ "additionalProperties": {
2371
+ "type": "boolean",
2372
+ "const": false
2373
+ }
2374
+ },
2375
+ "required": [
2376
+ "type",
2377
+ "properties",
2378
+ "additionalProperties"
2379
+ ],
2380
+ "additionalProperties": false
2381
+ }
2382
+ ]
2383
+ },
2384
+ "NochaBackendSchemaDepth8": {
2385
+ "anyOf": [
2386
+ {
2387
+ "type": "object",
2388
+ "properties": {
2389
+ "type": {
2390
+ "type": "string",
2391
+ "enum": [
2392
+ "null",
2393
+ "boolean"
2394
+ ]
2395
+ }
2396
+ },
2397
+ "required": [
2398
+ "type"
2399
+ ],
2400
+ "additionalProperties": false
2401
+ },
2402
+ {
2403
+ "type": "object",
2404
+ "properties": {
2405
+ "type": {
2406
+ "type": "string",
2407
+ "enum": [
2408
+ "number",
2409
+ "integer"
2410
+ ]
2411
+ },
2412
+ "minimum": {
2413
+ "type": "number"
2414
+ },
2415
+ "maximum": {
2416
+ "type": "number"
2417
+ }
2418
+ },
2419
+ "required": [
2420
+ "type"
2421
+ ],
2422
+ "additionalProperties": false
2423
+ },
2424
+ {
2425
+ "type": "object",
2426
+ "properties": {
2427
+ "type": {
2428
+ "type": "string",
2429
+ "const": "string"
2430
+ },
2431
+ "minLength": {
2432
+ "type": "integer",
2433
+ "minimum": 0,
2434
+ "maximum": 65536
2435
+ },
2436
+ "maxLength": {
2437
+ "type": "integer",
2438
+ "minimum": 0,
2439
+ "maximum": 65536
2440
+ },
2441
+ "enum": {
2442
+ "minItems": 1,
2443
+ "maxItems": 64,
2444
+ "type": "array",
2445
+ "items": {
2446
+ "type": "string",
2447
+ "maxLength": 65536
2448
+ }
2449
+ }
2450
+ },
2451
+ "required": [
2452
+ "type",
2453
+ "maxLength"
2454
+ ],
2455
+ "additionalProperties": false
2456
+ },
2457
+ {
2458
+ "type": "object",
2459
+ "properties": {
2460
+ "type": {
2461
+ "type": "string",
2462
+ "const": "array"
2463
+ },
2464
+ "items": {
2465
+ "not": {}
2466
+ },
2467
+ "minItems": {
2468
+ "type": "integer",
2469
+ "minimum": 0,
2470
+ "maximum": 256
2471
+ },
2472
+ "maxItems": {
2473
+ "type": "integer",
2474
+ "minimum": 0,
2475
+ "maximum": 256
2476
+ }
2477
+ },
2478
+ "required": [
2479
+ "type",
2480
+ "items",
2481
+ "maxItems"
2482
+ ],
2483
+ "additionalProperties": false
2484
+ },
2485
+ {
2486
+ "type": "object",
2487
+ "properties": {
2488
+ "type": {
2489
+ "type": "string",
2490
+ "const": "object"
2491
+ },
2492
+ "properties": {
2493
+ "type": "object",
2494
+ "propertyNames": {
2495
+ "type": "string",
2496
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
2497
+ },
2498
+ "additionalProperties": {
2499
+ "not": {}
2500
+ },
2501
+ "maxProperties": 64
2502
+ },
2503
+ "required": {
2504
+ "maxItems": 64,
2505
+ "type": "array",
2506
+ "items": {
2507
+ "type": "string",
2508
+ "pattern": "^(?!__proto__$|constructor$|prototype$)[a-zA-Z_][a-zA-Z0-9_-]{0,63}$"
2509
+ }
2510
+ },
2511
+ "additionalProperties": {
2512
+ "type": "boolean",
2513
+ "const": false
2514
+ }
2515
+ },
2516
+ "required": [
2517
+ "type",
2518
+ "properties",
2519
+ "additionalProperties"
2520
+ ],
2521
+ "additionalProperties": false
2522
+ }
2523
+ ]
2524
+ }
2525
+ }
859
2526
  }