@objectstack/spec 0.3.3 → 0.4.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 (304) hide show
  1. package/dist/ai/conversation.zod.d.ts +14 -14
  2. package/dist/ai/cost.zod.d.ts +112 -112
  3. package/dist/ai/model-registry.zod.d.ts +44 -44
  4. package/dist/ai/nlq.zod.d.ts +2 -2
  5. package/dist/ai/orchestration.zod.d.ts +6 -6
  6. package/dist/ai/predictive.zod.d.ts +8 -8
  7. package/dist/ai/rag-pipeline.zod.d.ts +62 -62
  8. package/dist/api/contract.zod.d.ts +92 -92
  9. package/dist/api/discovery.zod.d.ts +2 -2
  10. package/dist/api/index.d.ts +2 -0
  11. package/dist/api/index.d.ts.map +1 -1
  12. package/dist/api/index.js +2 -0
  13. package/dist/api/odata.zod.d.ts +482 -0
  14. package/dist/api/odata.zod.d.ts.map +1 -0
  15. package/dist/api/odata.zod.js +401 -0
  16. package/dist/api/router.zod.d.ts +4 -4
  17. package/dist/auth/config.zod.d.ts +21 -21
  18. package/dist/auth/index.d.ts +1 -0
  19. package/dist/auth/index.d.ts.map +1 -1
  20. package/dist/auth/index.js +1 -0
  21. package/dist/auth/organization.zod.d.ts +2 -2
  22. package/dist/auth/role.zod.d.ts +14 -0
  23. package/dist/auth/role.zod.d.ts.map +1 -1
  24. package/dist/auth/role.zod.js +16 -1
  25. package/dist/auth/scim.zod.d.ts +2732 -0
  26. package/dist/auth/scim.zod.d.ts.map +1 -0
  27. package/dist/auth/scim.zod.js +811 -0
  28. package/dist/automation/approval.zod.d.ts +643 -0
  29. package/dist/automation/approval.zod.d.ts.map +1 -0
  30. package/dist/automation/approval.zod.js +84 -0
  31. package/dist/automation/connector.zod.d.ts +1284 -0
  32. package/dist/automation/connector.zod.d.ts.map +1 -0
  33. package/dist/automation/connector.zod.js +500 -0
  34. package/dist/automation/etl.zod.d.ts +623 -0
  35. package/dist/automation/etl.zod.d.ts.map +1 -0
  36. package/dist/automation/etl.zod.js +359 -0
  37. package/dist/automation/flow.zod.d.ts +6 -6
  38. package/dist/automation/index.d.ts +4 -0
  39. package/dist/automation/index.d.ts.map +1 -1
  40. package/dist/automation/index.js +4 -0
  41. package/dist/automation/sync.zod.d.ts +854 -0
  42. package/dist/automation/sync.zod.d.ts.map +1 -0
  43. package/dist/automation/sync.zod.js +444 -0
  44. package/dist/automation/webhook.zod.d.ts +24 -1
  45. package/dist/automation/webhook.zod.d.ts.map +1 -1
  46. package/dist/automation/webhook.zod.js +27 -3
  47. package/dist/automation/workflow.zod.d.ts +14 -0
  48. package/dist/automation/workflow.zod.d.ts.map +1 -1
  49. package/dist/automation/workflow.zod.js +16 -1
  50. package/dist/data/field.zod.d.ts +338 -8
  51. package/dist/data/field.zod.d.ts.map +1 -1
  52. package/dist/data/field.zod.js +100 -16
  53. package/dist/data/mapping.zod.d.ts +22 -10
  54. package/dist/data/mapping.zod.d.ts.map +1 -1
  55. package/dist/data/mapping.zod.js +16 -3
  56. package/dist/data/object.zod.d.ts +116 -22
  57. package/dist/data/object.zod.d.ts.map +1 -1
  58. package/dist/data/object.zod.js +4 -4
  59. package/dist/data/validation.zod.d.ts +18 -18
  60. package/dist/hub/composer.zod.d.ts +42 -1939
  61. package/dist/hub/composer.zod.d.ts.map +1 -1
  62. package/dist/hub/composer.zod.js +1 -1
  63. package/dist/hub/license.zod.d.ts +2 -2
  64. package/dist/hub/marketplace.zod.d.ts +6 -6
  65. package/dist/index.d.ts +2 -2
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.js +6 -3
  68. package/dist/permission/index.d.ts +7 -5
  69. package/dist/permission/index.d.ts.map +1 -1
  70. package/dist/permission/index.js +7 -5
  71. package/dist/permission/permission.zod.d.ts +14 -0
  72. package/dist/permission/permission.zod.d.ts.map +1 -1
  73. package/dist/permission/permission.zod.js +16 -1
  74. package/dist/permission/rls.zod.d.ts +605 -0
  75. package/dist/permission/rls.zod.d.ts.map +1 -0
  76. package/dist/permission/rls.zod.js +615 -0
  77. package/dist/permission/territory.zod.d.ts +13 -0
  78. package/dist/permission/territory.zod.d.ts.map +1 -1
  79. package/dist/permission/territory.zod.js +15 -1
  80. package/dist/shared/identifiers.zod.d.ts +87 -0
  81. package/dist/shared/identifiers.zod.d.ts.map +1 -0
  82. package/dist/shared/identifiers.zod.js +101 -0
  83. package/dist/shared/index.d.ts +6 -0
  84. package/dist/shared/index.d.ts.map +1 -0
  85. package/dist/{driver → shared}/index.js +5 -4
  86. package/dist/stack.zod.d.ts +19869 -0
  87. package/dist/stack.zod.d.ts.map +1 -0
  88. package/dist/stack.zod.js +248 -0
  89. package/dist/system/audit.zod.d.ts +12 -12
  90. package/dist/{kernel → system}/context.zod.d.ts.map +1 -1
  91. package/dist/{driver → system}/datasource.zod.d.ts +2 -2
  92. package/dist/{driver → system}/datasource.zod.d.ts.map +1 -1
  93. package/dist/{driver → system/driver}/mongo.zod.d.ts +2 -2
  94. package/dist/system/driver/mongo.zod.d.ts.map +1 -0
  95. package/dist/{driver → system/driver}/postgres.zod.d.ts +4 -4
  96. package/dist/system/driver/postgres.zod.d.ts.map +1 -0
  97. package/dist/{driver → system}/driver.zod.d.ts +14 -14
  98. package/dist/{driver → system}/driver.zod.d.ts.map +1 -1
  99. package/dist/system/events.zod.d.ts +15 -12
  100. package/dist/system/events.zod.d.ts.map +1 -1
  101. package/dist/system/events.zod.js +5 -1
  102. package/dist/system/feature.zod.d.ts +131 -0
  103. package/dist/system/feature.zod.d.ts.map +1 -0
  104. package/dist/system/feature.zod.js +45 -0
  105. package/dist/system/index.d.ts +10 -0
  106. package/dist/system/index.d.ts.map +1 -1
  107. package/dist/system/index.js +12 -0
  108. package/dist/system/job.zod.d.ts +8 -8
  109. package/dist/{kernel → system}/logger.zod.d.ts +4 -4
  110. package/dist/{kernel → system}/logger.zod.d.ts.map +1 -1
  111. package/dist/system/manifest.zod.d.ts +515 -0
  112. package/dist/system/manifest.zod.d.ts.map +1 -0
  113. package/dist/{kernel → system}/manifest.zod.js +0 -12
  114. package/dist/{kernel → system}/plugin.zod.d.ts.map +1 -1
  115. package/dist/{kernel → system}/scoped-storage.zod.d.ts +2 -2
  116. package/dist/{kernel → system}/scoped-storage.zod.d.ts.map +1 -1
  117. package/dist/ui/action.zod.d.ts +35 -10
  118. package/dist/ui/action.zod.d.ts.map +1 -1
  119. package/dist/ui/action.zod.js +30 -1
  120. package/dist/ui/app.zod.d.ts +23 -8
  121. package/dist/ui/app.zod.d.ts.map +1 -1
  122. package/dist/ui/app.zod.js +32 -4
  123. package/dist/ui/block.zod.d.ts +265 -0
  124. package/dist/ui/block.zod.d.ts.map +1 -0
  125. package/dist/ui/block.zod.js +90 -0
  126. package/dist/ui/component.zod.d.ts +265 -0
  127. package/dist/ui/component.zod.d.ts.map +1 -0
  128. package/dist/ui/component.zod.js +90 -0
  129. package/dist/ui/dashboard.zod.d.ts +15 -15
  130. package/dist/ui/dashboard.zod.d.ts.map +1 -1
  131. package/dist/ui/dashboard.zod.js +18 -8
  132. package/dist/ui/index.d.ts +1 -0
  133. package/dist/ui/index.d.ts.map +1 -1
  134. package/dist/ui/index.js +1 -0
  135. package/dist/ui/page.zod.d.ts +21 -3
  136. package/dist/ui/page.zod.d.ts.map +1 -1
  137. package/dist/ui/page.zod.js +37 -4
  138. package/dist/ui/report.zod.d.ts +7 -7
  139. package/dist/ui/view.zod.d.ts +252 -240
  140. package/dist/ui/view.zod.d.ts.map +1 -1
  141. package/dist/ui/view.zod.js +32 -3
  142. package/dist/ui/widget.zod.d.ts +673 -5
  143. package/dist/ui/widget.zod.d.ts.map +1 -1
  144. package/dist/ui/widget.zod.js +294 -1
  145. package/json-schema/api/ODataError.json +65 -0
  146. package/json-schema/api/ODataFilterFunction.json +39 -0
  147. package/json-schema/api/ODataFilterOperator.json +24 -0
  148. package/json-schema/api/ODataMetadata.json +115 -0
  149. package/json-schema/api/ODataQuery.json +89 -0
  150. package/json-schema/api/ODataResponse.json +37 -0
  151. package/json-schema/auth/Role.json +3 -2
  152. package/json-schema/auth/SCIMAddress.json +50 -0
  153. package/json-schema/auth/SCIMEmail.json +38 -0
  154. package/json-schema/auth/SCIMEnterpriseUser.json +55 -0
  155. package/json-schema/auth/SCIMError.json +52 -0
  156. package/json-schema/auth/SCIMGroup.json +102 -0
  157. package/json-schema/auth/SCIMGroupReference.json +36 -0
  158. package/json-schema/auth/SCIMListResponse.json +606 -0
  159. package/json-schema/auth/SCIMMemberReference.json +36 -0
  160. package/json-schema/auth/SCIMMeta.json +35 -0
  161. package/json-schema/auth/SCIMName.json +36 -0
  162. package/json-schema/auth/SCIMPatchOperation.json +31 -0
  163. package/json-schema/auth/SCIMPatchRequest.json +56 -0
  164. package/json-schema/auth/SCIMPhoneNumber.json +40 -0
  165. package/json-schema/auth/SCIMUser.json +462 -0
  166. package/json-schema/automation/ApprovalAction.json +35 -0
  167. package/json-schema/automation/ApprovalActionType.json +15 -0
  168. package/json-schema/automation/ApprovalProcess.json +326 -0
  169. package/json-schema/automation/ApprovalStep.json +147 -0
  170. package/json-schema/automation/ApproverType.json +16 -0
  171. package/json-schema/automation/AuthField.json +73 -0
  172. package/json-schema/automation/Authentication.json +159 -0
  173. package/json-schema/automation/AuthenticationType.json +18 -0
  174. package/json-schema/automation/ConflictResolution.json +16 -0
  175. package/json-schema/automation/Connector.json +440 -0
  176. package/json-schema/automation/ConnectorCategory.json +26 -0
  177. package/json-schema/automation/ConnectorInstance.json +69 -0
  178. package/json-schema/automation/ConnectorOperation.json +117 -0
  179. package/json-schema/automation/ConnectorTrigger.json +54 -0
  180. package/json-schema/automation/DataDestinationConfig.json +89 -0
  181. package/json-schema/automation/DataSourceConfig.json +34 -0
  182. package/json-schema/automation/DataSyncConfig.json +355 -0
  183. package/json-schema/automation/ETLDestination.json +57 -0
  184. package/json-schema/automation/ETLEndpointType.json +19 -0
  185. package/json-schema/automation/ETLPipeline.json +252 -0
  186. package/json-schema/automation/ETLPipelineRun.json +107 -0
  187. package/json-schema/automation/ETLRunStatus.json +17 -0
  188. package/json-schema/automation/ETLSource.json +60 -0
  189. package/json-schema/automation/ETLSyncMode.json +14 -0
  190. package/json-schema/automation/ETLTransformation.json +46 -0
  191. package/json-schema/automation/ETLTransformationType.json +21 -0
  192. package/json-schema/automation/FieldMapping.json +36 -0
  193. package/json-schema/automation/OAuth2Config.json +43 -0
  194. package/json-schema/automation/OperationParameter.json +59 -0
  195. package/json-schema/automation/OperationType.json +17 -0
  196. package/json-schema/automation/SyncDirection.json +14 -0
  197. package/json-schema/automation/SyncExecutionResult.json +135 -0
  198. package/json-schema/automation/SyncExecutionStatus.json +17 -0
  199. package/json-schema/automation/SyncMode.json +14 -0
  200. package/json-schema/automation/Webhook.json +3 -1
  201. package/json-schema/automation/WebhookReceiver.json +3 -1
  202. package/json-schema/automation/WorkflowRule.json +3 -2
  203. package/json-schema/data/Field.json +62 -4
  204. package/json-schema/data/FieldType.json +12 -2
  205. package/json-schema/data/Object.json +62 -4
  206. package/json-schema/data/SelectOption.json +4 -2
  207. package/json-schema/data/VectorConfig.json +51 -0
  208. package/json-schema/hub/ComposerResponse.json +0 -2162
  209. package/json-schema/permission/PermissionSet.json +3 -1
  210. package/json-schema/permission/RLSConfig.json +59 -0
  211. package/json-schema/permission/RLSEvaluationResult.json +40 -0
  212. package/json-schema/permission/RLSOperation.json +16 -0
  213. package/json-schema/permission/RLSUserContext.json +51 -0
  214. package/json-schema/permission/RowLevelSecurityPolicy.json +77 -0
  215. package/json-schema/permission/Territory.json +3 -1
  216. package/json-schema/shared/EventName.json +12 -0
  217. package/json-schema/shared/SnakeCaseIdentifier.json +12 -0
  218. package/json-schema/shared/SystemIdentifier.json +12 -0
  219. package/json-schema/system/Event.json +3 -2
  220. package/json-schema/system/FeatureFlag.json +87 -0
  221. package/json-schema/system/FeatureStrategy.json +16 -0
  222. package/json-schema/system/Manifest.json +395 -0
  223. package/json-schema/ui/Action.json +25 -4
  224. package/json-schema/ui/ActionParam.json +12 -2
  225. package/json-schema/ui/App.json +18 -7
  226. package/json-schema/ui/ChartType.json +9 -1
  227. package/json-schema/ui/Dashboard.json +9 -1
  228. package/json-schema/ui/DashboardNavItem.json +3 -1
  229. package/json-schema/ui/DashboardWidget.json +9 -1
  230. package/json-schema/ui/FieldWidgetProps.json +62 -4
  231. package/json-schema/ui/FormView.json +4 -1
  232. package/json-schema/ui/GroupNavItem.json +3 -1
  233. package/json-schema/ui/ListView.json +7 -1
  234. package/json-schema/ui/NavigationItem.json +15 -5
  235. package/json-schema/ui/ObjectNavItem.json +3 -1
  236. package/json-schema/ui/Page.json +36 -4
  237. package/json-schema/ui/PageCardProps.json +32 -0
  238. package/json-schema/ui/PageComponent.json +33 -3
  239. package/json-schema/ui/PageComponentType.json +32 -0
  240. package/json-schema/ui/PageHeaderProps.json +39 -0
  241. package/json-schema/ui/PageNavItem.json +3 -1
  242. package/json-schema/ui/PageRegion.json +33 -3
  243. package/json-schema/ui/PageTabsProps.json +55 -0
  244. package/json-schema/ui/RecordDetailsProps.json +37 -0
  245. package/json-schema/ui/RecordHighlightsProps.json +24 -0
  246. package/json-schema/ui/RecordRelatedListProps.json +39 -0
  247. package/json-schema/ui/UrlNavItem.json +3 -1
  248. package/json-schema/ui/View.json +22 -4
  249. package/json-schema/ui/WidgetEvent.json +42 -0
  250. package/json-schema/ui/WidgetLifecycle.json +40 -0
  251. package/json-schema/ui/WidgetManifest.json +262 -0
  252. package/json-schema/ui/WidgetProperty.json +58 -0
  253. package/package.json +1 -1
  254. package/prompts/architecture.md +5 -5
  255. package/prompts/create-new-project.md +85 -0
  256. package/dist/driver/index.d.ts +0 -5
  257. package/dist/driver/index.d.ts.map +0 -1
  258. package/dist/driver/mongo.zod.d.ts.map +0 -1
  259. package/dist/driver/postgres.zod.d.ts.map +0 -1
  260. package/dist/kernel/index.d.ts +0 -12
  261. package/dist/kernel/index.d.ts.map +0 -1
  262. package/dist/kernel/index.js +0 -27
  263. package/dist/kernel/manifest.zod.d.ts +0 -2153
  264. package/dist/kernel/manifest.zod.d.ts.map +0 -1
  265. package/json-schema/kernel/Manifest.json +0 -2557
  266. /package/dist/{kernel → system}/context.zod.d.ts +0 -0
  267. /package/dist/{kernel → system}/context.zod.js +0 -0
  268. /package/dist/{driver → system}/datasource.zod.js +0 -0
  269. /package/dist/{driver → system/driver}/mongo.zod.js +0 -0
  270. /package/dist/{driver → system/driver}/postgres.zod.js +0 -0
  271. /package/dist/{driver → system}/driver.zod.js +0 -0
  272. /package/dist/{kernel → system}/logger.zod.js +0 -0
  273. /package/dist/{kernel → system}/plugin.zod.d.ts +0 -0
  274. /package/dist/{kernel → system}/plugin.zod.js +0 -0
  275. /package/dist/{kernel → system}/scoped-storage.zod.js +0 -0
  276. /package/json-schema/{driver → system}/Datasource.json +0 -0
  277. /package/json-schema/{driver → system}/DatasourceCapabilities.json +0 -0
  278. /package/json-schema/{driver → system}/DriverCapabilities.json +0 -0
  279. /package/json-schema/{driver → system}/DriverDefinition.json +0 -0
  280. /package/json-schema/{driver → system}/DriverInterface.json +0 -0
  281. /package/json-schema/{driver → system}/DriverOptions.json +0 -0
  282. /package/json-schema/{driver → system}/DriverType.json +0 -0
  283. /package/json-schema/{kernel → system}/FileMetadata.json +0 -0
  284. /package/json-schema/{kernel → system}/I18nContext.json +0 -0
  285. /package/json-schema/{kernel → system}/KernelContext.json +0 -0
  286. /package/json-schema/{kernel → system}/LogEntry.json +0 -0
  287. /package/json-schema/{kernel → system}/LogFormat.json +0 -0
  288. /package/json-schema/{kernel → system}/LogLevel.json +0 -0
  289. /package/json-schema/{kernel → system}/Logger.json +0 -0
  290. /package/json-schema/{kernel → system}/LoggerConfig.json +0 -0
  291. /package/json-schema/{driver → system}/MongoConfig.json +0 -0
  292. /package/json-schema/{kernel → system}/ObjectQLClient.json +0 -0
  293. /package/json-schema/{kernel → system}/Plugin.json +0 -0
  294. /package/json-schema/{kernel → system}/PluginContext.json +0 -0
  295. /package/json-schema/{kernel → system}/PluginLifecycle.json +0 -0
  296. /package/json-schema/{driver → system}/PostgresConfig.json +0 -0
  297. /package/json-schema/{kernel → system}/Router.json +0 -0
  298. /package/json-schema/{kernel → system}/RuntimeMode.json +0 -0
  299. /package/json-schema/{kernel → system}/Scheduler.json +0 -0
  300. /package/json-schema/{kernel → system}/ScopedStorage.json +0 -0
  301. /package/json-schema/{kernel → system}/ScopedStorageConfig.json +0 -0
  302. /package/json-schema/{kernel → system}/StorageAdapterType.json +0 -0
  303. /package/json-schema/{kernel → system}/StorageScope.json +0 -0
  304. /package/json-schema/{kernel → system}/SystemAPI.json +0 -0
@@ -0,0 +1,36 @@
1
+ {
2
+ "$ref": "#/definitions/SCIMName",
3
+ "definitions": {
4
+ "SCIMName": {
5
+ "type": "object",
6
+ "properties": {
7
+ "formatted": {
8
+ "type": "string",
9
+ "description": "Formatted full name"
10
+ },
11
+ "familyName": {
12
+ "type": "string",
13
+ "description": "Family name (last name)"
14
+ },
15
+ "givenName": {
16
+ "type": "string",
17
+ "description": "Given name (first name)"
18
+ },
19
+ "middleName": {
20
+ "type": "string",
21
+ "description": "Middle name"
22
+ },
23
+ "honorificPrefix": {
24
+ "type": "string",
25
+ "description": "Honorific prefix (Mr., Ms., Dr.)"
26
+ },
27
+ "honorificSuffix": {
28
+ "type": "string",
29
+ "description": "Honorific suffix (Jr., Sr.)"
30
+ }
31
+ },
32
+ "additionalProperties": false
33
+ }
34
+ },
35
+ "$schema": "http://json-schema.org/draft-07/schema#"
36
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "$ref": "#/definitions/SCIMPatchOperation",
3
+ "definitions": {
4
+ "SCIMPatchOperation": {
5
+ "type": "object",
6
+ "properties": {
7
+ "op": {
8
+ "type": "string",
9
+ "enum": [
10
+ "add",
11
+ "remove",
12
+ "replace"
13
+ ],
14
+ "description": "Operation type"
15
+ },
16
+ "path": {
17
+ "type": "string",
18
+ "description": "Attribute path (optional for add)"
19
+ },
20
+ "value": {
21
+ "description": "Value to set"
22
+ }
23
+ },
24
+ "required": [
25
+ "op"
26
+ ],
27
+ "additionalProperties": false
28
+ }
29
+ },
30
+ "$schema": "http://json-schema.org/draft-07/schema#"
31
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "$ref": "#/definitions/SCIMPatchRequest",
3
+ "definitions": {
4
+ "SCIMPatchRequest": {
5
+ "type": "object",
6
+ "properties": {
7
+ "schemas": {
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string"
11
+ },
12
+ "minItems": 1,
13
+ "default": [
14
+ "urn:ietf:params:scim:api:messages:2.0:PatchOp"
15
+ ],
16
+ "description": "SCIM schema URIs"
17
+ },
18
+ "Operations": {
19
+ "type": "array",
20
+ "items": {
21
+ "type": "object",
22
+ "properties": {
23
+ "op": {
24
+ "type": "string",
25
+ "enum": [
26
+ "add",
27
+ "remove",
28
+ "replace"
29
+ ],
30
+ "description": "Operation type"
31
+ },
32
+ "path": {
33
+ "type": "string",
34
+ "description": "Attribute path (optional for add)"
35
+ },
36
+ "value": {
37
+ "description": "Value to set"
38
+ }
39
+ },
40
+ "required": [
41
+ "op"
42
+ ],
43
+ "additionalProperties": false
44
+ },
45
+ "minItems": 1,
46
+ "description": "Patch operations"
47
+ }
48
+ },
49
+ "required": [
50
+ "Operations"
51
+ ],
52
+ "additionalProperties": false
53
+ }
54
+ },
55
+ "$schema": "http://json-schema.org/draft-07/schema#"
56
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "$ref": "#/definitions/SCIMPhoneNumber",
3
+ "definitions": {
4
+ "SCIMPhoneNumber": {
5
+ "type": "object",
6
+ "properties": {
7
+ "value": {
8
+ "type": "string",
9
+ "description": "Phone number"
10
+ },
11
+ "type": {
12
+ "type": "string",
13
+ "enum": [
14
+ "work",
15
+ "home",
16
+ "mobile",
17
+ "fax",
18
+ "pager",
19
+ "other"
20
+ ],
21
+ "description": "Phone number type"
22
+ },
23
+ "display": {
24
+ "type": "string",
25
+ "description": "Display label"
26
+ },
27
+ "primary": {
28
+ "type": "boolean",
29
+ "default": false,
30
+ "description": "Primary phone indicator"
31
+ }
32
+ },
33
+ "required": [
34
+ "value"
35
+ ],
36
+ "additionalProperties": false
37
+ }
38
+ },
39
+ "$schema": "http://json-schema.org/draft-07/schema#"
40
+ }
@@ -0,0 +1,462 @@
1
+ {
2
+ "$ref": "#/definitions/SCIMUser",
3
+ "definitions": {
4
+ "SCIMUser": {
5
+ "type": "object",
6
+ "properties": {
7
+ "schemas": {
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string"
11
+ },
12
+ "minItems": 1,
13
+ "default": [
14
+ "urn:ietf:params:scim:schemas:core:2.0:User"
15
+ ],
16
+ "description": "SCIM schema URIs (must include User schema)"
17
+ },
18
+ "id": {
19
+ "type": "string",
20
+ "description": "Unique resource identifier"
21
+ },
22
+ "externalId": {
23
+ "type": "string",
24
+ "description": "External identifier from client system"
25
+ },
26
+ "userName": {
27
+ "type": "string",
28
+ "description": "Unique username (REQUIRED)"
29
+ },
30
+ "name": {
31
+ "type": "object",
32
+ "properties": {
33
+ "formatted": {
34
+ "type": "string",
35
+ "description": "Formatted full name"
36
+ },
37
+ "familyName": {
38
+ "type": "string",
39
+ "description": "Family name (last name)"
40
+ },
41
+ "givenName": {
42
+ "type": "string",
43
+ "description": "Given name (first name)"
44
+ },
45
+ "middleName": {
46
+ "type": "string",
47
+ "description": "Middle name"
48
+ },
49
+ "honorificPrefix": {
50
+ "type": "string",
51
+ "description": "Honorific prefix (Mr., Ms., Dr.)"
52
+ },
53
+ "honorificSuffix": {
54
+ "type": "string",
55
+ "description": "Honorific suffix (Jr., Sr.)"
56
+ }
57
+ },
58
+ "additionalProperties": false,
59
+ "description": "Structured name components"
60
+ },
61
+ "displayName": {
62
+ "type": "string",
63
+ "description": "Display name for UI"
64
+ },
65
+ "nickName": {
66
+ "type": "string",
67
+ "description": "Nickname"
68
+ },
69
+ "profileUrl": {
70
+ "type": "string",
71
+ "format": "uri",
72
+ "description": "Profile page URL"
73
+ },
74
+ "title": {
75
+ "type": "string",
76
+ "description": "Job title"
77
+ },
78
+ "userType": {
79
+ "type": "string",
80
+ "description": "User type (employee, contractor)"
81
+ },
82
+ "preferredLanguage": {
83
+ "type": "string",
84
+ "description": "Preferred language (ISO 639-1)"
85
+ },
86
+ "locale": {
87
+ "type": "string",
88
+ "description": "Locale (e.g., en-US)"
89
+ },
90
+ "timezone": {
91
+ "type": "string",
92
+ "description": "Timezone"
93
+ },
94
+ "active": {
95
+ "type": "boolean",
96
+ "default": true,
97
+ "description": "Account active status"
98
+ },
99
+ "password": {
100
+ "type": "string",
101
+ "description": "Password (write-only)"
102
+ },
103
+ "emails": {
104
+ "type": "array",
105
+ "items": {
106
+ "type": "object",
107
+ "properties": {
108
+ "value": {
109
+ "type": "string",
110
+ "format": "email",
111
+ "description": "Email address"
112
+ },
113
+ "type": {
114
+ "type": "string",
115
+ "enum": [
116
+ "work",
117
+ "home",
118
+ "other"
119
+ ],
120
+ "description": "Email type"
121
+ },
122
+ "display": {
123
+ "type": "string",
124
+ "description": "Display label"
125
+ },
126
+ "primary": {
127
+ "type": "boolean",
128
+ "default": false,
129
+ "description": "Primary email indicator"
130
+ }
131
+ },
132
+ "required": [
133
+ "value"
134
+ ],
135
+ "additionalProperties": false
136
+ },
137
+ "description": "Email addresses"
138
+ },
139
+ "phoneNumbers": {
140
+ "type": "array",
141
+ "items": {
142
+ "type": "object",
143
+ "properties": {
144
+ "value": {
145
+ "type": "string",
146
+ "description": "Phone number"
147
+ },
148
+ "type": {
149
+ "type": "string",
150
+ "enum": [
151
+ "work",
152
+ "home",
153
+ "mobile",
154
+ "fax",
155
+ "pager",
156
+ "other"
157
+ ],
158
+ "description": "Phone number type"
159
+ },
160
+ "display": {
161
+ "type": "string",
162
+ "description": "Display label"
163
+ },
164
+ "primary": {
165
+ "type": "boolean",
166
+ "default": false,
167
+ "description": "Primary phone indicator"
168
+ }
169
+ },
170
+ "required": [
171
+ "value"
172
+ ],
173
+ "additionalProperties": false
174
+ },
175
+ "description": "Phone numbers"
176
+ },
177
+ "ims": {
178
+ "type": "array",
179
+ "items": {
180
+ "type": "object",
181
+ "properties": {
182
+ "value": {
183
+ "type": "string"
184
+ },
185
+ "type": {
186
+ "type": "string"
187
+ },
188
+ "primary": {
189
+ "type": "boolean"
190
+ }
191
+ },
192
+ "required": [
193
+ "value"
194
+ ],
195
+ "additionalProperties": false
196
+ },
197
+ "description": "IM addresses"
198
+ },
199
+ "photos": {
200
+ "type": "array",
201
+ "items": {
202
+ "type": "object",
203
+ "properties": {
204
+ "value": {
205
+ "type": "string",
206
+ "format": "uri"
207
+ },
208
+ "type": {
209
+ "type": "string",
210
+ "enum": [
211
+ "photo",
212
+ "thumbnail"
213
+ ]
214
+ },
215
+ "primary": {
216
+ "type": "boolean"
217
+ }
218
+ },
219
+ "required": [
220
+ "value"
221
+ ],
222
+ "additionalProperties": false
223
+ },
224
+ "description": "Photo URLs"
225
+ },
226
+ "addresses": {
227
+ "type": "array",
228
+ "items": {
229
+ "type": "object",
230
+ "properties": {
231
+ "formatted": {
232
+ "type": "string",
233
+ "description": "Formatted address"
234
+ },
235
+ "streetAddress": {
236
+ "type": "string",
237
+ "description": "Street address"
238
+ },
239
+ "locality": {
240
+ "type": "string",
241
+ "description": "City/Locality"
242
+ },
243
+ "region": {
244
+ "type": "string",
245
+ "description": "State/Region"
246
+ },
247
+ "postalCode": {
248
+ "type": "string",
249
+ "description": "Postal code"
250
+ },
251
+ "country": {
252
+ "type": "string",
253
+ "description": "Country"
254
+ },
255
+ "type": {
256
+ "type": "string",
257
+ "enum": [
258
+ "work",
259
+ "home",
260
+ "other"
261
+ ],
262
+ "description": "Address type"
263
+ },
264
+ "primary": {
265
+ "type": "boolean",
266
+ "default": false,
267
+ "description": "Primary address indicator"
268
+ }
269
+ },
270
+ "additionalProperties": false
271
+ },
272
+ "description": "Physical addresses"
273
+ },
274
+ "groups": {
275
+ "type": "array",
276
+ "items": {
277
+ "type": "object",
278
+ "properties": {
279
+ "value": {
280
+ "type": "string",
281
+ "description": "Group ID"
282
+ },
283
+ "$ref": {
284
+ "type": "string",
285
+ "format": "uri",
286
+ "description": "URI reference to the group"
287
+ },
288
+ "display": {
289
+ "type": "string",
290
+ "description": "Group display name"
291
+ },
292
+ "type": {
293
+ "type": "string",
294
+ "enum": [
295
+ "direct",
296
+ "indirect"
297
+ ],
298
+ "description": "Membership type"
299
+ }
300
+ },
301
+ "required": [
302
+ "value"
303
+ ],
304
+ "additionalProperties": false
305
+ },
306
+ "description": "Group memberships"
307
+ },
308
+ "entitlements": {
309
+ "type": "array",
310
+ "items": {
311
+ "type": "object",
312
+ "properties": {
313
+ "value": {
314
+ "type": "string"
315
+ },
316
+ "type": {
317
+ "type": "string"
318
+ },
319
+ "primary": {
320
+ "type": "boolean"
321
+ }
322
+ },
323
+ "required": [
324
+ "value"
325
+ ],
326
+ "additionalProperties": false
327
+ },
328
+ "description": "Entitlements"
329
+ },
330
+ "roles": {
331
+ "type": "array",
332
+ "items": {
333
+ "type": "object",
334
+ "properties": {
335
+ "value": {
336
+ "type": "string"
337
+ },
338
+ "type": {
339
+ "type": "string"
340
+ },
341
+ "primary": {
342
+ "type": "boolean"
343
+ }
344
+ },
345
+ "required": [
346
+ "value"
347
+ ],
348
+ "additionalProperties": false
349
+ },
350
+ "description": "Roles"
351
+ },
352
+ "x509Certificates": {
353
+ "type": "array",
354
+ "items": {
355
+ "type": "object",
356
+ "properties": {
357
+ "value": {
358
+ "type": "string"
359
+ },
360
+ "type": {
361
+ "type": "string"
362
+ },
363
+ "primary": {
364
+ "type": "boolean"
365
+ }
366
+ },
367
+ "required": [
368
+ "value"
369
+ ],
370
+ "additionalProperties": false
371
+ },
372
+ "description": "X509 certificates"
373
+ },
374
+ "meta": {
375
+ "type": "object",
376
+ "properties": {
377
+ "resourceType": {
378
+ "type": "string",
379
+ "description": "Resource type"
380
+ },
381
+ "created": {
382
+ "type": "string",
383
+ "format": "date-time",
384
+ "description": "Creation timestamp"
385
+ },
386
+ "lastModified": {
387
+ "type": "string",
388
+ "format": "date-time",
389
+ "description": "Last modification timestamp"
390
+ },
391
+ "location": {
392
+ "type": "string",
393
+ "format": "uri",
394
+ "description": "Resource location URI"
395
+ },
396
+ "version": {
397
+ "type": "string",
398
+ "description": "Entity tag (ETag) for concurrency control"
399
+ }
400
+ },
401
+ "additionalProperties": false,
402
+ "description": "Resource metadata"
403
+ },
404
+ "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
405
+ "type": "object",
406
+ "properties": {
407
+ "employeeNumber": {
408
+ "type": "string",
409
+ "description": "Employee number"
410
+ },
411
+ "costCenter": {
412
+ "type": "string",
413
+ "description": "Cost center"
414
+ },
415
+ "organization": {
416
+ "type": "string",
417
+ "description": "Organization"
418
+ },
419
+ "division": {
420
+ "type": "string",
421
+ "description": "Division"
422
+ },
423
+ "department": {
424
+ "type": "string",
425
+ "description": "Department"
426
+ },
427
+ "manager": {
428
+ "type": "object",
429
+ "properties": {
430
+ "value": {
431
+ "type": "string",
432
+ "description": "Manager ID"
433
+ },
434
+ "$ref": {
435
+ "type": "string",
436
+ "format": "uri",
437
+ "description": "Manager URI"
438
+ },
439
+ "displayName": {
440
+ "type": "string",
441
+ "description": "Manager name"
442
+ }
443
+ },
444
+ "required": [
445
+ "value"
446
+ ],
447
+ "additionalProperties": false,
448
+ "description": "Manager reference"
449
+ }
450
+ },
451
+ "additionalProperties": false,
452
+ "description": "Enterprise user attributes"
453
+ }
454
+ },
455
+ "required": [
456
+ "userName"
457
+ ],
458
+ "additionalProperties": false
459
+ }
460
+ },
461
+ "$schema": "http://json-schema.org/draft-07/schema#"
462
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "$ref": "#/definitions/ApprovalAction",
3
+ "definitions": {
4
+ "ApprovalAction": {
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "type": "string",
9
+ "enum": [
10
+ "field_update",
11
+ "email_alert",
12
+ "webhook",
13
+ "script"
14
+ ]
15
+ },
16
+ "name": {
17
+ "type": "string",
18
+ "description": "Action name"
19
+ },
20
+ "config": {
21
+ "type": "object",
22
+ "additionalProperties": {},
23
+ "description": "Action configuration"
24
+ }
25
+ },
26
+ "required": [
27
+ "type",
28
+ "name",
29
+ "config"
30
+ ],
31
+ "additionalProperties": false
32
+ }
33
+ },
34
+ "$schema": "http://json-schema.org/draft-07/schema#"
35
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$ref": "#/definitions/ApprovalActionType",
3
+ "definitions": {
4
+ "ApprovalActionType": {
5
+ "type": "string",
6
+ "enum": [
7
+ "field_update",
8
+ "email_alert",
9
+ "webhook",
10
+ "script"
11
+ ]
12
+ }
13
+ },
14
+ "$schema": "http://json-schema.org/draft-07/schema#"
15
+ }