@objectstack/spec 2.0.5 → 2.0.7

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 (293) hide show
  1. package/dist/ai/index.d.mts +1 -1
  2. package/dist/ai/index.d.ts +1 -1
  3. package/dist/ai/index.js +230 -3
  4. package/dist/ai/index.js.map +1 -1
  5. package/dist/ai/index.mjs +218 -3
  6. package/dist/ai/index.mjs.map +1 -1
  7. package/dist/api/index.d.mts +2 -2
  8. package/dist/api/index.d.ts +2 -2
  9. package/dist/api/index.js +3409 -2841
  10. package/dist/api/index.js.map +1 -1
  11. package/dist/api/index.mjs +3386 -2841
  12. package/dist/api/index.mjs.map +1 -1
  13. package/dist/automation/index.d.mts +1 -1
  14. package/dist/automation/index.d.ts +1 -1
  15. package/dist/contracts/index.d.mts +2 -2
  16. package/dist/contracts/index.d.ts +2 -2
  17. package/dist/contracts/index.js.map +1 -1
  18. package/dist/data/index.d.mts +2 -2
  19. package/dist/data/index.d.ts +2 -2
  20. package/dist/data/index.js +58 -1
  21. package/dist/data/index.js.map +1 -1
  22. package/dist/data/index.mjs +58 -1
  23. package/dist/data/index.mjs.map +1 -1
  24. package/dist/{driver.zod-E3C6n0W-.d.ts → driver.zod-B3Q0oLlF.d.ts} +1 -1
  25. package/dist/{driver.zod-DnOPgUGi.d.mts → driver.zod-Bf2z72WQ.d.mts} +1 -1
  26. package/dist/{index-DyawwLFZ.d.ts → index-B3C8s_DZ.d.ts} +307 -29
  27. package/dist/{index-DTCkpGMm.d.mts → index-BliYpI46.d.mts} +879 -52
  28. package/dist/{index-BbtSaxHm.d.ts → index-BpE_xfkc.d.ts} +3289 -229
  29. package/dist/{index-E1mP_eoE.d.mts → index-C3cFLYII.d.mts} +307 -29
  30. package/dist/{index-BpP0MwlW.d.ts → index-CXtgLAue.d.ts} +879 -52
  31. package/dist/{index-D-tf4nDV.d.mts → index-CYbdd-mL.d.mts} +27 -1
  32. package/dist/index-CeUUI-ym.d.mts +2102 -0
  33. package/dist/{index-BPhGHW32.d.ts → index-CfvdYFyf.d.ts} +27 -1
  34. package/dist/{index-CDN6TRx9.d.mts → index-ClHj1Tbo.d.mts} +71 -2
  35. package/dist/{index-CDN6TRx9.d.ts → index-ClHj1Tbo.d.ts} +71 -2
  36. package/dist/index-CmY8tgpL.d.ts +2102 -0
  37. package/dist/{index-DRCh2NTZ.d.mts → index-CqDMk0T6.d.mts} +3289 -229
  38. package/dist/{index-d9wYlv-g.d.ts → index-DNKiU_-x.d.mts} +684 -18
  39. package/dist/{index-d9wYlv-g.d.mts → index-DNKiU_-x.d.ts} +684 -18
  40. package/dist/{index-CisfSmuF.d.ts → index-Dm4UfDKG.d.ts} +451 -19
  41. package/dist/index-KhvhiesR.d.mts +6902 -0
  42. package/dist/{index-BV0xBoer.d.mts → index-Onf8hbkX.d.mts} +451 -19
  43. package/dist/index-OqCqQSaH.d.ts +6902 -0
  44. package/dist/index.d.mts +2519 -222
  45. package/dist/index.d.ts +2519 -222
  46. package/dist/index.js +9957 -8069
  47. package/dist/index.js.map +1 -1
  48. package/dist/index.mjs +9957 -8069
  49. package/dist/index.mjs.map +1 -1
  50. package/dist/integration/index.d.mts +1 -1
  51. package/dist/integration/index.d.ts +1 -1
  52. package/dist/integration/index.js +67 -0
  53. package/dist/integration/index.js.map +1 -1
  54. package/dist/integration/index.mjs +61 -0
  55. package/dist/integration/index.mjs.map +1 -1
  56. package/dist/kernel/index.d.mts +2 -2
  57. package/dist/kernel/index.d.ts +2 -2
  58. package/dist/kernel/index.js +1698 -1474
  59. package/dist/kernel/index.js.map +1 -1
  60. package/dist/kernel/index.mjs +1690 -1474
  61. package/dist/kernel/index.mjs.map +1 -1
  62. package/dist/{package-registry.zod-CbS9FKeH.d.mts → package-registry.zod-BJQSiICj.d.mts} +78 -43
  63. package/dist/{package-registry.zod-CbS9FKeH.d.ts → package-registry.zod-BJQSiICj.d.ts} +78 -43
  64. package/dist/security/index.d.mts +1 -1
  65. package/dist/security/index.d.ts +1 -1
  66. package/dist/security/index.js +47 -1
  67. package/dist/security/index.js.map +1 -1
  68. package/dist/security/index.mjs +45 -1
  69. package/dist/security/index.mjs.map +1 -1
  70. package/dist/system/index.d.mts +1 -1
  71. package/dist/system/index.d.ts +1 -1
  72. package/dist/system/index.js +2189 -1821
  73. package/dist/system/index.js.map +1 -1
  74. package/dist/system/index.mjs +2168 -1821
  75. package/dist/system/index.mjs.map +1 -1
  76. package/dist/ui/index.d.mts +1 -1
  77. package/dist/ui/index.d.ts +1 -1
  78. package/dist/ui/index.js +1414 -767
  79. package/dist/ui/index.js.map +1 -1
  80. package/dist/ui/index.mjs +1354 -767
  81. package/dist/ui/index.mjs.map +1 -1
  82. package/json-schema/ai/Agent.json +203 -0
  83. package/json-schema/ai/AgentCommunicationProtocol.json +9 -0
  84. package/json-schema/ai/AgentGroupMember.json +45 -0
  85. package/json-schema/ai/AgentGroupRole.json +10 -0
  86. package/json-schema/ai/DevOpsAgent.json +203 -0
  87. package/json-schema/ai/MCPClientConfig.json +168 -0
  88. package/json-schema/ai/MCPRootEntry.json +23 -0
  89. package/json-schema/ai/MCPRootsConfig.json +49 -0
  90. package/json-schema/ai/MCPSamplingConfig.json +46 -0
  91. package/json-schema/ai/MCPServerConfig.json +120 -0
  92. package/json-schema/ai/MCPStreamingConfig.json +38 -0
  93. package/json-schema/ai/MCPToolApproval.json +39 -0
  94. package/json-schema/ai/MultiAgentGroup.json +137 -0
  95. package/json-schema/ai/StructuredOutputConfig.json +75 -0
  96. package/json-schema/ai/StructuredOutputFormat.json +12 -0
  97. package/json-schema/ai/TransformPipelineStep.json +11 -0
  98. package/json-schema/api/AppDefinitionResponse.json +285 -7
  99. package/json-schema/api/BasePresence.json +40 -0
  100. package/json-schema/api/BatchLoadingStrategy.json +40 -0
  101. package/json-schema/api/Callback.json +39 -0
  102. package/json-schema/api/DataLoaderConfig.json +55 -0
  103. package/json-schema/api/DisablePackageResponse.json +26 -0
  104. package/json-schema/api/Discovery.json +4 -62
  105. package/json-schema/api/EnablePackageResponse.json +26 -0
  106. package/json-schema/api/FederationEntity.json +110 -0
  107. package/json-schema/api/FederationEntityKey.json +20 -0
  108. package/json-schema/api/FederationExternalField.json +18 -0
  109. package/json-schema/api/FederationGateway.json +327 -0
  110. package/json-schema/api/FederationProvides.json +19 -0
  111. package/json-schema/api/FederationRequires.json +19 -0
  112. package/json-schema/api/GetDiscoveryResponse.json +1 -60
  113. package/json-schema/api/GetPackageResponse.json +26 -0
  114. package/json-schema/api/GraphQLConfig.json +327 -0
  115. package/json-schema/api/GraphQLQueryAdapter.json +84 -0
  116. package/json-schema/api/InstallPackageRequest.json +26 -0
  117. package/json-schema/api/InstallPackageResponse.json +26 -0
  118. package/json-schema/api/ListPackagesResponse.json +26 -0
  119. package/json-schema/api/ODataQueryAdapter.json +66 -0
  120. package/json-schema/api/OpenApi31Extensions.json +139 -0
  121. package/json-schema/api/OperatorMapping.json +26 -0
  122. package/json-schema/api/PresenceStatus.json +10 -0
  123. package/json-schema/api/QueryAdapterConfig.json +272 -0
  124. package/json-schema/api/QueryAdapterTarget.json +9 -0
  125. package/json-schema/api/QueryOptimizationConfig.json +126 -0
  126. package/json-schema/api/RealtimeRecordAction.json +9 -0
  127. package/json-schema/api/RestQueryAdapter.json +86 -0
  128. package/json-schema/api/RestServerConfig.json +139 -0
  129. package/json-schema/api/SubgraphConfig.json +183 -0
  130. package/json-schema/api/WebhookConfig.json +129 -0
  131. package/json-schema/api/WebhookEvent.json +64 -0
  132. package/json-schema/data/ExternalLookup.json +128 -0
  133. package/json-schema/identity/SCIMBulkOperation.json +41 -0
  134. package/json-schema/identity/SCIMBulkRequest.json +73 -0
  135. package/json-schema/identity/SCIMBulkResponse.json +61 -0
  136. package/json-schema/identity/SCIMBulkResponseOperation.json +36 -0
  137. package/json-schema/integration/CircuitBreakerConfig.json +49 -0
  138. package/json-schema/integration/Connector.json +223 -0
  139. package/json-schema/integration/ConnectorHealth.json +113 -0
  140. package/json-schema/integration/DatabaseConnector.json +223 -0
  141. package/json-schema/integration/ErrorCategory.json +15 -0
  142. package/json-schema/integration/ErrorMappingConfig.json +112 -0
  143. package/json-schema/integration/ErrorMappingRule.json +66 -0
  144. package/json-schema/integration/FileStorageConnector.json +223 -0
  145. package/json-schema/integration/GitHubConnector.json +223 -0
  146. package/json-schema/integration/HealthCheckConfig.json +58 -0
  147. package/json-schema/integration/MessageQueueConnector.json +223 -0
  148. package/json-schema/integration/SaasConnector.json +223 -0
  149. package/json-schema/integration/VercelConnector.json +223 -0
  150. package/json-schema/kernel/CLICommandContribution.json +23 -0
  151. package/json-schema/kernel/CLIExtensionExport.json +22 -0
  152. package/json-schema/kernel/DevFixtureConfig.json +35 -0
  153. package/json-schema/kernel/DevPluginConfig.json +170 -0
  154. package/json-schema/kernel/DevPluginPreset.json +10 -0
  155. package/json-schema/kernel/DevServiceOverride.json +41 -0
  156. package/json-schema/kernel/DevToolsConfig.json +45 -0
  157. package/json-schema/kernel/DisablePackageResponse.json +26 -0
  158. package/json-schema/kernel/EnablePackageResponse.json +26 -0
  159. package/json-schema/kernel/GetPackageResponse.json +26 -0
  160. package/json-schema/kernel/InstallPackageRequest.json +26 -0
  161. package/json-schema/kernel/InstallPackageResponse.json +26 -0
  162. package/json-schema/kernel/InstalledPackage.json +26 -0
  163. package/json-schema/kernel/ListPackagesResponse.json +26 -0
  164. package/json-schema/kernel/Manifest.json +26 -0
  165. package/json-schema/kernel/MetadataFallbackStrategy.json +9 -0
  166. package/json-schema/kernel/MetadataLoaderContract.json +7 -0
  167. package/json-schema/kernel/MetadataManagerConfig.json +21 -0
  168. package/json-schema/security/RLSAuditConfig.json +62 -0
  169. package/json-schema/security/RLSAuditEvent.json +66 -0
  170. package/json-schema/security/RLSConfig.json +62 -0
  171. package/json-schema/system/AuthConfig.json +83 -0
  172. package/json-schema/system/BackupConfig.json +148 -0
  173. package/json-schema/system/BackupRetention.json +27 -0
  174. package/json-schema/system/BackupStrategy.json +10 -0
  175. package/json-schema/system/CacheAvalanchePrevention.json +77 -0
  176. package/json-schema/system/CacheConsistency.json +11 -0
  177. package/json-schema/system/CacheWarmup.json +44 -0
  178. package/json-schema/system/ComplianceAuditRequirement.json +43 -0
  179. package/json-schema/system/ComplianceEncryptionRequirement.json +58 -0
  180. package/json-schema/system/DataClassificationPolicy.json +46 -0
  181. package/json-schema/system/DisasterRecoveryPlan.json +414 -0
  182. package/json-schema/system/DistributedCacheConfig.json +269 -0
  183. package/json-schema/system/FailoverConfig.json +102 -0
  184. package/json-schema/system/FailoverMode.json +11 -0
  185. package/json-schema/system/MaskingVisibilityRule.json +56 -0
  186. package/json-schema/system/MetadataFallbackStrategy.json +9 -0
  187. package/json-schema/system/MetadataLoaderContract.json +9 -1
  188. package/json-schema/system/MetadataManagerConfig.json +52 -11
  189. package/json-schema/system/MetadataRecord.json +32 -1
  190. package/json-schema/system/MetadataSource.json +10 -0
  191. package/json-schema/system/MutualTLSConfig.json +83 -0
  192. package/json-schema/system/RPO.json +27 -0
  193. package/json-schema/system/RTO.json +27 -0
  194. package/json-schema/system/SecurityContextConfig.json +288 -0
  195. package/json-schema/system/SecurityEventCorrelation.json +40 -0
  196. package/json-schema/ui/Action.json +200 -5
  197. package/json-schema/ui/ActionParam.json +62 -2
  198. package/json-schema/ui/AnimationTrigger.json +14 -0
  199. package/json-schema/ui/App.json +285 -7
  200. package/json-schema/ui/AriaProps.json +49 -0
  201. package/json-schema/ui/BreakpointColumnMap.json +38 -0
  202. package/json-schema/ui/BreakpointName.json +12 -0
  203. package/json-schema/ui/BreakpointOrderMap.json +26 -0
  204. package/json-schema/ui/ChartAnnotation.json +31 -1
  205. package/json-schema/ui/ChartAxis.json +30 -1
  206. package/json-schema/ui/ChartConfig.json +259 -7
  207. package/json-schema/ui/ChartSeries.json +30 -1
  208. package/json-schema/ui/ColumnSummary.json +18 -0
  209. package/json-schema/ui/ComponentAnimation.json +246 -0
  210. package/json-schema/ui/ConflictResolution.json +11 -0
  211. package/json-schema/ui/Dashboard.json +627 -11
  212. package/json-schema/ui/DashboardNavItem.json +30 -1
  213. package/json-schema/ui/DashboardWidget.json +433 -8
  214. package/json-schema/ui/DateFormat.json +36 -0
  215. package/json-schema/ui/DensityMode.json +9 -0
  216. package/json-schema/ui/DndConfig.json +306 -0
  217. package/json-schema/ui/DragConstraint.json +44 -0
  218. package/json-schema/ui/DragHandle.json +10 -0
  219. package/json-schema/ui/DragItem.json +160 -0
  220. package/json-schema/ui/DropEffect.json +11 -0
  221. package/json-schema/ui/DropZone.json +114 -0
  222. package/json-schema/ui/EasingFunction.json +13 -0
  223. package/json-schema/ui/EvictionPolicy.json +10 -0
  224. package/json-schema/ui/FocusManagement.json +69 -0
  225. package/json-schema/ui/FocusTrapConfig.json +32 -0
  226. package/json-schema/ui/FormField.json +90 -3
  227. package/json-schema/ui/GalleryConfig.json +46 -0
  228. package/json-schema/ui/GestureConfig.json +128 -0
  229. package/json-schema/ui/GestureType.json +14 -0
  230. package/json-schema/ui/GroupNavItem.json +30 -1
  231. package/json-schema/ui/GroupingConfig.json +45 -0
  232. package/json-schema/ui/GroupingField.json +30 -0
  233. package/json-schema/ui/I18nLabel.json +34 -0
  234. package/json-schema/ui/I18nObject.json +26 -0
  235. package/json-schema/ui/KeyboardNavigationConfig.json +194 -0
  236. package/json-schema/ui/KeyboardShortcut.json +66 -0
  237. package/json-schema/ui/ListColumn.json +55 -1
  238. package/json-schema/ui/ListView.json +435 -4
  239. package/json-schema/ui/LocaleConfig.json +108 -0
  240. package/json-schema/ui/LongPressGestureConfig.json +20 -0
  241. package/json-schema/ui/MotionConfig.json +405 -0
  242. package/json-schema/ui/NavigationItem.json +150 -5
  243. package/json-schema/ui/Notification.json +232 -0
  244. package/json-schema/ui/NotificationAction.json +60 -0
  245. package/json-schema/ui/NotificationConfig.json +52 -0
  246. package/json-schema/ui/NotificationPosition.json +13 -0
  247. package/json-schema/ui/NotificationSeverity.json +11 -0
  248. package/json-schema/ui/NotificationType.json +12 -0
  249. package/json-schema/ui/NumberFormat.json +42 -0
  250. package/json-schema/ui/ObjectNavItem.json +30 -1
  251. package/json-schema/ui/OfflineCacheConfig.json +40 -0
  252. package/json-schema/ui/OfflineConfig.json +157 -0
  253. package/json-schema/ui/OfflineStrategy.json +12 -0
  254. package/json-schema/ui/Page.json +285 -3
  255. package/json-schema/ui/PageCardProps.json +79 -1
  256. package/json-schema/ui/PageComponent.json +175 -1
  257. package/json-schema/ui/PageHeaderProps.json +108 -2
  258. package/json-schema/ui/PageNavItem.json +30 -1
  259. package/json-schema/ui/PageRegion.json +175 -1
  260. package/json-schema/ui/PageTabsProps.json +79 -1
  261. package/json-schema/ui/PageTransition.json +53 -0
  262. package/json-schema/ui/PerformanceConfig.json +57 -0
  263. package/json-schema/ui/PersistStorage.json +10 -0
  264. package/json-schema/ui/PinchGestureConfig.json +16 -0
  265. package/json-schema/ui/PluralRule.json +40 -0
  266. package/json-schema/ui/Report.json +490 -8
  267. package/json-schema/ui/ReportChart.json +199 -5
  268. package/json-schema/ui/ReportColumn.json +126 -1
  269. package/json-schema/ui/ResponsiveConfig.json +97 -0
  270. package/json-schema/ui/RowColorConfig.json +25 -0
  271. package/json-schema/ui/RowHeight.json +12 -0
  272. package/json-schema/ui/SwipeDirection.json +10 -0
  273. package/json-schema/ui/SwipeGestureConfig.json +32 -0
  274. package/json-schema/ui/SyncConfig.json +47 -0
  275. package/json-schema/ui/Theme.json +137 -0
  276. package/json-schema/ui/TimelineConfig.json +46 -0
  277. package/json-schema/ui/TouchInteraction.json +232 -0
  278. package/json-schema/ui/TouchTargetConfig.json +49 -0
  279. package/json-schema/ui/TransitionConfig.json +47 -0
  280. package/json-schema/ui/TransitionPreset.json +16 -0
  281. package/json-schema/ui/UrlNavItem.json +30 -1
  282. package/json-schema/ui/ViewSharing.json +24 -0
  283. package/json-schema/ui/WcagContrastLevel.json +8 -0
  284. package/json-schema/ui/WidgetEvent.json +60 -2
  285. package/json-schema/ui/WidgetManifest.json +284 -6
  286. package/json-schema/ui/WidgetProperty.json +60 -2
  287. package/package.json +1 -1
  288. package/dist/index-C6p-2KXV.d.ts +0 -767
  289. package/dist/index-CVnGe2b8.d.mts +0 -767
  290. package/dist/index-CZjkpp75.d.mts +0 -3867
  291. package/dist/index-CgkjUheS.d.ts +0 -3867
  292. package/dist/{index-B08s7rEU.d.mts → index-DmhxH5jy.d.mts} +8 -8
  293. package/dist/{index-DqnBqATx.d.ts → index-y5JJvyML.d.ts} +8 -8
@@ -0,0 +1,232 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "default": "toast",
7
+ "description": "Notification presentation style",
8
+ "type": "string",
9
+ "enum": [
10
+ "toast",
11
+ "snackbar",
12
+ "banner",
13
+ "alert",
14
+ "inline"
15
+ ]
16
+ },
17
+ "severity": {
18
+ "default": "info",
19
+ "description": "Notification severity level",
20
+ "type": "string",
21
+ "enum": [
22
+ "info",
23
+ "success",
24
+ "warning",
25
+ "error"
26
+ ]
27
+ },
28
+ "title": {
29
+ "description": "Notification title",
30
+ "anyOf": [
31
+ {
32
+ "type": "string"
33
+ },
34
+ {
35
+ "type": "object",
36
+ "properties": {
37
+ "key": {
38
+ "type": "string",
39
+ "description": "Translation key (e.g., \"views.task_list.label\")"
40
+ },
41
+ "defaultValue": {
42
+ "description": "Fallback value when translation key is not found",
43
+ "type": "string"
44
+ },
45
+ "params": {
46
+ "description": "Interpolation parameters (e.g., { count: 5 })",
47
+ "type": "object",
48
+ "propertyNames": {
49
+ "type": "string"
50
+ },
51
+ "additionalProperties": {}
52
+ }
53
+ },
54
+ "required": [
55
+ "key"
56
+ ],
57
+ "additionalProperties": false
58
+ }
59
+ ]
60
+ },
61
+ "message": {
62
+ "anyOf": [
63
+ {
64
+ "type": "string"
65
+ },
66
+ {
67
+ "type": "object",
68
+ "properties": {
69
+ "key": {
70
+ "type": "string",
71
+ "description": "Translation key (e.g., \"views.task_list.label\")"
72
+ },
73
+ "defaultValue": {
74
+ "description": "Fallback value when translation key is not found",
75
+ "type": "string"
76
+ },
77
+ "params": {
78
+ "description": "Interpolation parameters (e.g., { count: 5 })",
79
+ "type": "object",
80
+ "propertyNames": {
81
+ "type": "string"
82
+ },
83
+ "additionalProperties": {}
84
+ }
85
+ },
86
+ "required": [
87
+ "key"
88
+ ],
89
+ "additionalProperties": false
90
+ }
91
+ ],
92
+ "description": "Notification message body"
93
+ },
94
+ "icon": {
95
+ "description": "Icon name override",
96
+ "type": "string"
97
+ },
98
+ "duration": {
99
+ "description": "Auto-dismiss duration in ms, omit for persistent",
100
+ "type": "number"
101
+ },
102
+ "dismissible": {
103
+ "default": true,
104
+ "description": "Allow user to dismiss the notification",
105
+ "type": "boolean"
106
+ },
107
+ "actions": {
108
+ "description": "Action buttons",
109
+ "type": "array",
110
+ "items": {
111
+ "type": "object",
112
+ "properties": {
113
+ "label": {
114
+ "anyOf": [
115
+ {
116
+ "type": "string"
117
+ },
118
+ {
119
+ "type": "object",
120
+ "properties": {
121
+ "key": {
122
+ "type": "string",
123
+ "description": "Translation key (e.g., \"views.task_list.label\")"
124
+ },
125
+ "defaultValue": {
126
+ "description": "Fallback value when translation key is not found",
127
+ "type": "string"
128
+ },
129
+ "params": {
130
+ "description": "Interpolation parameters (e.g., { count: 5 })",
131
+ "type": "object",
132
+ "propertyNames": {
133
+ "type": "string"
134
+ },
135
+ "additionalProperties": {}
136
+ }
137
+ },
138
+ "required": [
139
+ "key"
140
+ ],
141
+ "additionalProperties": false
142
+ }
143
+ ],
144
+ "description": "Action button label"
145
+ },
146
+ "action": {
147
+ "type": "string",
148
+ "description": "Action identifier to execute"
149
+ },
150
+ "variant": {
151
+ "default": "primary",
152
+ "description": "Button variant style",
153
+ "type": "string",
154
+ "enum": [
155
+ "primary",
156
+ "secondary",
157
+ "link"
158
+ ]
159
+ }
160
+ },
161
+ "required": [
162
+ "label",
163
+ "action",
164
+ "variant"
165
+ ],
166
+ "additionalProperties": false,
167
+ "description": "Notification action button"
168
+ }
169
+ },
170
+ "position": {
171
+ "description": "Override default position",
172
+ "type": "string",
173
+ "enum": [
174
+ "top_left",
175
+ "top_center",
176
+ "top_right",
177
+ "bottom_left",
178
+ "bottom_center",
179
+ "bottom_right"
180
+ ]
181
+ },
182
+ "ariaLabel": {
183
+ "description": "Accessible label for screen readers (WAI-ARIA aria-label)",
184
+ "anyOf": [
185
+ {
186
+ "type": "string"
187
+ },
188
+ {
189
+ "type": "object",
190
+ "properties": {
191
+ "key": {
192
+ "type": "string",
193
+ "description": "Translation key (e.g., \"views.task_list.label\")"
194
+ },
195
+ "defaultValue": {
196
+ "description": "Fallback value when translation key is not found",
197
+ "type": "string"
198
+ },
199
+ "params": {
200
+ "description": "Interpolation parameters (e.g., { count: 5 })",
201
+ "type": "object",
202
+ "propertyNames": {
203
+ "type": "string"
204
+ },
205
+ "additionalProperties": {}
206
+ }
207
+ },
208
+ "required": [
209
+ "key"
210
+ ],
211
+ "additionalProperties": false
212
+ }
213
+ ]
214
+ },
215
+ "ariaDescribedBy": {
216
+ "description": "ID of element providing additional description (WAI-ARIA aria-describedby)",
217
+ "type": "string"
218
+ },
219
+ "role": {
220
+ "description": "WAI-ARIA role attribute (e.g., \"dialog\", \"navigation\", \"alert\")",
221
+ "type": "string"
222
+ }
223
+ },
224
+ "required": [
225
+ "type",
226
+ "severity",
227
+ "message",
228
+ "dismissible"
229
+ ],
230
+ "additionalProperties": false,
231
+ "description": "Notification instance definition"
232
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "label": {
6
+ "anyOf": [
7
+ {
8
+ "type": "string"
9
+ },
10
+ {
11
+ "type": "object",
12
+ "properties": {
13
+ "key": {
14
+ "type": "string",
15
+ "description": "Translation key (e.g., \"views.task_list.label\")"
16
+ },
17
+ "defaultValue": {
18
+ "description": "Fallback value when translation key is not found",
19
+ "type": "string"
20
+ },
21
+ "params": {
22
+ "description": "Interpolation parameters (e.g., { count: 5 })",
23
+ "type": "object",
24
+ "propertyNames": {
25
+ "type": "string"
26
+ },
27
+ "additionalProperties": {}
28
+ }
29
+ },
30
+ "required": [
31
+ "key"
32
+ ],
33
+ "additionalProperties": false
34
+ }
35
+ ],
36
+ "description": "Action button label"
37
+ },
38
+ "action": {
39
+ "type": "string",
40
+ "description": "Action identifier to execute"
41
+ },
42
+ "variant": {
43
+ "default": "primary",
44
+ "description": "Button variant style",
45
+ "type": "string",
46
+ "enum": [
47
+ "primary",
48
+ "secondary",
49
+ "link"
50
+ ]
51
+ }
52
+ },
53
+ "required": [
54
+ "label",
55
+ "action",
56
+ "variant"
57
+ ],
58
+ "additionalProperties": false,
59
+ "description": "Notification action button"
60
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "defaultPosition": {
6
+ "default": "top_right",
7
+ "description": "Default screen position for notifications",
8
+ "type": "string",
9
+ "enum": [
10
+ "top_left",
11
+ "top_center",
12
+ "top_right",
13
+ "bottom_left",
14
+ "bottom_center",
15
+ "bottom_right"
16
+ ]
17
+ },
18
+ "defaultDuration": {
19
+ "default": 5000,
20
+ "description": "Default auto-dismiss duration in ms",
21
+ "type": "number"
22
+ },
23
+ "maxVisible": {
24
+ "default": 5,
25
+ "description": "Maximum number of notifications visible at once",
26
+ "type": "number"
27
+ },
28
+ "stackDirection": {
29
+ "default": "down",
30
+ "description": "Stack direction for multiple notifications",
31
+ "type": "string",
32
+ "enum": [
33
+ "up",
34
+ "down"
35
+ ]
36
+ },
37
+ "pauseOnHover": {
38
+ "default": true,
39
+ "description": "Pause auto-dismiss timer on hover",
40
+ "type": "boolean"
41
+ }
42
+ },
43
+ "required": [
44
+ "defaultPosition",
45
+ "defaultDuration",
46
+ "maxVisible",
47
+ "stackDirection",
48
+ "pauseOnHover"
49
+ ],
50
+ "additionalProperties": false,
51
+ "description": "Global notification system configuration"
52
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "enum": [
5
+ "top_left",
6
+ "top_center",
7
+ "top_right",
8
+ "bottom_left",
9
+ "bottom_center",
10
+ "bottom_right"
11
+ ],
12
+ "description": "Screen position for notification placement"
13
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "enum": [
5
+ "info",
6
+ "success",
7
+ "warning",
8
+ "error"
9
+ ],
10
+ "description": "Notification severity level"
11
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "enum": [
5
+ "toast",
6
+ "snackbar",
7
+ "banner",
8
+ "alert",
9
+ "inline"
10
+ ],
11
+ "description": "Notification presentation style"
12
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "style": {
6
+ "default": "decimal",
7
+ "description": "Number formatting style",
8
+ "type": "string",
9
+ "enum": [
10
+ "decimal",
11
+ "currency",
12
+ "percent",
13
+ "unit"
14
+ ]
15
+ },
16
+ "currency": {
17
+ "description": "ISO 4217 currency code (e.g., \"USD\", \"EUR\")",
18
+ "type": "string"
19
+ },
20
+ "unit": {
21
+ "description": "Unit for unit formatting (e.g., \"kilometer\", \"liter\")",
22
+ "type": "string"
23
+ },
24
+ "minimumFractionDigits": {
25
+ "description": "Minimum number of fraction digits",
26
+ "type": "number"
27
+ },
28
+ "maximumFractionDigits": {
29
+ "description": "Maximum number of fraction digits",
30
+ "type": "number"
31
+ },
32
+ "useGrouping": {
33
+ "description": "Whether to use grouping separators (e.g., 1,000)",
34
+ "type": "boolean"
35
+ }
36
+ },
37
+ "required": [
38
+ "style"
39
+ ],
40
+ "additionalProperties": false,
41
+ "description": "Number formatting rules"
42
+ }
@@ -9,7 +9,36 @@
9
9
  "description": "Unique identifier for this navigation item (lowercase snake_case)"
10
10
  },
11
11
  "label": {
12
- "type": "string",
12
+ "anyOf": [
13
+ {
14
+ "type": "string"
15
+ },
16
+ {
17
+ "type": "object",
18
+ "properties": {
19
+ "key": {
20
+ "type": "string",
21
+ "description": "Translation key (e.g., \"views.task_list.label\")"
22
+ },
23
+ "defaultValue": {
24
+ "description": "Fallback value when translation key is not found",
25
+ "type": "string"
26
+ },
27
+ "params": {
28
+ "description": "Interpolation parameters (e.g., { count: 5 })",
29
+ "type": "object",
30
+ "propertyNames": {
31
+ "type": "string"
32
+ },
33
+ "additionalProperties": {}
34
+ }
35
+ },
36
+ "required": [
37
+ "key"
38
+ ],
39
+ "additionalProperties": false
40
+ }
41
+ ],
13
42
  "description": "Display proper label"
14
43
  },
15
44
  "icon": {
@@ -0,0 +1,40 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "maxSize": {
6
+ "description": "Maximum cache size in bytes",
7
+ "type": "number"
8
+ },
9
+ "ttl": {
10
+ "description": "Time-to-live for cached entries in milliseconds",
11
+ "type": "number"
12
+ },
13
+ "persistStorage": {
14
+ "default": "indexeddb",
15
+ "description": "Storage backend",
16
+ "type": "string",
17
+ "enum": [
18
+ "indexeddb",
19
+ "localstorage",
20
+ "sqlite"
21
+ ]
22
+ },
23
+ "evictionPolicy": {
24
+ "default": "lru",
25
+ "description": "Cache eviction policy when full",
26
+ "type": "string",
27
+ "enum": [
28
+ "lru",
29
+ "lfu",
30
+ "fifo"
31
+ ]
32
+ }
33
+ },
34
+ "required": [
35
+ "persistStorage",
36
+ "evictionPolicy"
37
+ ],
38
+ "additionalProperties": false,
39
+ "description": "Client-side offline cache configuration"
40
+ }
@@ -0,0 +1,157 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "enabled": {
6
+ "default": false,
7
+ "description": "Enable offline support",
8
+ "type": "boolean"
9
+ },
10
+ "strategy": {
11
+ "default": "network_first",
12
+ "description": "Default offline fetch strategy",
13
+ "type": "string",
14
+ "enum": [
15
+ "cache_first",
16
+ "network_first",
17
+ "stale_while_revalidate",
18
+ "network_only",
19
+ "cache_only"
20
+ ]
21
+ },
22
+ "cache": {
23
+ "description": "Cache settings for offline data",
24
+ "type": "object",
25
+ "properties": {
26
+ "maxSize": {
27
+ "description": "Maximum cache size in bytes",
28
+ "type": "number"
29
+ },
30
+ "ttl": {
31
+ "description": "Time-to-live for cached entries in milliseconds",
32
+ "type": "number"
33
+ },
34
+ "persistStorage": {
35
+ "default": "indexeddb",
36
+ "description": "Storage backend",
37
+ "type": "string",
38
+ "enum": [
39
+ "indexeddb",
40
+ "localstorage",
41
+ "sqlite"
42
+ ]
43
+ },
44
+ "evictionPolicy": {
45
+ "default": "lru",
46
+ "description": "Cache eviction policy when full",
47
+ "type": "string",
48
+ "enum": [
49
+ "lru",
50
+ "lfu",
51
+ "fifo"
52
+ ]
53
+ }
54
+ },
55
+ "required": [
56
+ "persistStorage",
57
+ "evictionPolicy"
58
+ ],
59
+ "additionalProperties": false
60
+ },
61
+ "sync": {
62
+ "description": "Sync settings for offline mutations",
63
+ "type": "object",
64
+ "properties": {
65
+ "strategy": {
66
+ "default": "network_first",
67
+ "description": "Sync fetch strategy",
68
+ "type": "string",
69
+ "enum": [
70
+ "cache_first",
71
+ "network_first",
72
+ "stale_while_revalidate",
73
+ "network_only",
74
+ "cache_only"
75
+ ]
76
+ },
77
+ "conflictResolution": {
78
+ "default": "last_write_wins",
79
+ "description": "Conflict resolution policy",
80
+ "type": "string",
81
+ "enum": [
82
+ "client_wins",
83
+ "server_wins",
84
+ "manual",
85
+ "last_write_wins"
86
+ ]
87
+ },
88
+ "retryInterval": {
89
+ "description": "Retry interval in milliseconds between sync attempts",
90
+ "type": "number"
91
+ },
92
+ "maxRetries": {
93
+ "description": "Maximum number of sync retry attempts",
94
+ "type": "number"
95
+ },
96
+ "batchSize": {
97
+ "description": "Number of mutations to sync per batch",
98
+ "type": "number"
99
+ }
100
+ },
101
+ "required": [
102
+ "strategy",
103
+ "conflictResolution"
104
+ ],
105
+ "additionalProperties": false
106
+ },
107
+ "offlineIndicator": {
108
+ "default": true,
109
+ "description": "Show a visual indicator when offline",
110
+ "type": "boolean"
111
+ },
112
+ "offlineMessage": {
113
+ "description": "Customizable offline status message shown to users",
114
+ "anyOf": [
115
+ {
116
+ "type": "string"
117
+ },
118
+ {
119
+ "type": "object",
120
+ "properties": {
121
+ "key": {
122
+ "type": "string",
123
+ "description": "Translation key (e.g., \"views.task_list.label\")"
124
+ },
125
+ "defaultValue": {
126
+ "description": "Fallback value when translation key is not found",
127
+ "type": "string"
128
+ },
129
+ "params": {
130
+ "description": "Interpolation parameters (e.g., { count: 5 })",
131
+ "type": "object",
132
+ "propertyNames": {
133
+ "type": "string"
134
+ },
135
+ "additionalProperties": {}
136
+ }
137
+ },
138
+ "required": [
139
+ "key"
140
+ ],
141
+ "additionalProperties": false
142
+ }
143
+ ]
144
+ },
145
+ "queueMaxSize": {
146
+ "description": "Maximum number of queued offline mutations",
147
+ "type": "number"
148
+ }
149
+ },
150
+ "required": [
151
+ "enabled",
152
+ "strategy",
153
+ "offlineIndicator"
154
+ ],
155
+ "additionalProperties": false,
156
+ "description": "Offline support configuration"
157
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "enum": [
5
+ "cache_first",
6
+ "network_first",
7
+ "stale_while_revalidate",
8
+ "network_only",
9
+ "cache_only"
10
+ ],
11
+ "description": "Data fetching strategy for offline/online transitions"
12
+ }