maxitor 3.11.0__py3-none-any.whl

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 (185) hide show
  1. maxitor/graph_builder/__init__.py +20 -0
  2. maxitor/graph_builder/cli.py +136 -0
  3. maxitor/graph_builder/config.py +141 -0
  4. maxitor/graph_builder/config_schema.json +105 -0
  5. maxitor/graph_builder/differences.py +134 -0
  6. maxitor/graph_builder/py.typed +0 -0
  7. maxitor/graph_builder/schemas/1.0.json +1476 -0
  8. maxitor/graph_builder/schemas/1.1.json +1481 -0
  9. maxitor/graph_builder/schemas/1.2.json +1518 -0
  10. maxitor/graph_builder/schemas/1.3.json +1600 -0
  11. maxitor/graph_builder/schemas/__init__.py +154 -0
  12. maxitor/graph_builder/writer.py +182 -0
  13. maxitor/graph_compare/__init__.py +50 -0
  14. maxitor/graph_compare/changed_inside.py +141 -0
  15. maxitor/graph_compare/compare.py +150 -0
  16. maxitor/graph_compare/comparison.py +143 -0
  17. maxitor/graph_compare/edge_ids.py +78 -0
  18. maxitor/graph_compare/py.typed +0 -0
  19. maxitor/graph_map/__init__.py +50 -0
  20. maxitor/graph_map/areas.py +272 -0
  21. maxitor/graph_map/assemble.py +314 -0
  22. maxitor/graph_map/layout.py +67 -0
  23. maxitor/graph_map/places.py +117 -0
  24. maxitor/graph_map/py.typed +0 -0
  25. maxitor/graph_map/union.py +88 -0
  26. maxitor/repo_graph_port/__init__.py +23 -0
  27. maxitor/repo_graph_port/actions/__init__.py +17 -0
  28. maxitor/repo_graph_port/actions/describe_history_action.py +113 -0
  29. maxitor/repo_graph_port/actions/history_action.py +157 -0
  30. maxitor/repo_graph_port/actions/receive_host_event_action.py +119 -0
  31. maxitor/repo_graph_port/actions/report_security_event_action.py +89 -0
  32. maxitor/repo_graph_port/actions/version_action.py +106 -0
  33. maxitor/repo_graph_port/auth/__init__.py +19 -0
  34. maxitor/repo_graph_port/auth/history_key_auth_coordinator.py +104 -0
  35. maxitor/repo_graph_port/auth/history_key_authenticator.py +58 -0
  36. maxitor/repo_graph_port/auth/history_key_credential_extractor.py +38 -0
  37. maxitor/repo_graph_port/build_graph.py +35 -0
  38. maxitor/repo_graph_port/cli.py +207 -0
  39. maxitor/repo_graph_port/commit.py +35 -0
  40. maxitor/repo_graph_port/contribution.py +37 -0
  41. maxitor/repo_graph_port/git_error.py +36 -0
  42. maxitor/repo_graph_port/github_event.py +70 -0
  43. maxitor/repo_graph_port/graph_facts.py +35 -0
  44. maxitor/repo_graph_port/history.py +90 -0
  45. maxitor/repo_graph_port/history_context.py +45 -0
  46. maxitor/repo_graph_port/history_not_found_error.py +33 -0
  47. maxitor/repo_graph_port/history_point.py +36 -0
  48. maxitor/repo_graph_port/history_reader_info.py +36 -0
  49. maxitor/repo_graph_port/history_reader_role.py +37 -0
  50. maxitor/repo_graph_port/history_reading.py +382 -0
  51. maxitor/repo_graph_port/history_versions.py +187 -0
  52. maxitor/repo_graph_port/launch.py +62 -0
  53. maxitor/repo_graph_port/placed_tag.py +30 -0
  54. maxitor/repo_graph_port/py.typed +0 -0
  55. maxitor/repo_graph_port/repo_graph_domain.py +35 -0
  56. maxitor/repo_graph_port/resources/__init__.py +18 -0
  57. maxitor/repo_graph_port/resources/git_mirror.py +264 -0
  58. maxitor/repo_graph_port/resources/github_host.py +219 -0
  59. maxitor/repo_graph_port/resources/histories_config.py +226 -0
  60. maxitor/repo_graph_port/resources/version_cache.py +223 -0
  61. maxitor/repo_graph_port/security_reporter.py +54 -0
  62. maxitor/repo_graph_port/server.py +104 -0
  63. maxitor/repo_graph_port/tag.py +35 -0
  64. maxitor/repo_graph_port/too_many_wrong_keys_error.py +32 -0
  65. maxitor/repo_graph_port/version_file_middleware.py +75 -0
  66. maxitor/repo_graph_port/version_record.py +44 -0
  67. maxitor/repo_graph_port/version_source.py +67 -0
  68. maxitor/repo_graph_port/webhook_signature_middleware.py +79 -0
  69. maxitor/skills/aoa-graph-builder-setup/SKILL.md +123 -0
  70. maxitor/web/__init__.py +23 -0
  71. maxitor/web/api/__init__.py +16 -0
  72. maxitor/web/api/access_log.py +49 -0
  73. maxitor/web/api/app.py +524 -0
  74. maxitor/web/api/cached_static_files.py +82 -0
  75. maxitor/web/api/duckdb_graph_holder.py +109 -0
  76. maxitor/web/api/graph_source_middleware.py +294 -0
  77. maxitor/web/api/graph_store.py +317 -0
  78. maxitor/web/api/history_key_auth_coordinator.py +62 -0
  79. maxitor/web/api/main.py +32 -0
  80. maxitor/web/api/routes/__init__.py +6 -0
  81. maxitor/web/api/routes/load.py +32 -0
  82. maxitor/web/api/routes/sidebar.py +66 -0
  83. maxitor/web/api/services/__init__.py +6 -0
  84. maxitor/web/build_graph.py +39 -0
  85. maxitor/web/launch.py +51 -0
  86. maxitor/web/model/__init__.py +2 -0
  87. maxitor/web/model/core/__init__.py +10 -0
  88. maxitor/web/model/core/actions/__init__.py +16 -0
  89. maxitor/web/model/core/actions/app_info_action.py +81 -0
  90. maxitor/web/model/core/actions/check_due_sources_action.py +133 -0
  91. maxitor/web/model/core/actions/check_history_action.py +159 -0
  92. maxitor/web/model/core/actions/check_source_action.py +145 -0
  93. maxitor/web/model/core/actions/check_version_access_action.py +120 -0
  94. maxitor/web/model/core/actions/get_own_graph_json_action.py +73 -0
  95. maxitor/web/model/core/actions/graph_fingerprint_action.py +90 -0
  96. maxitor/web/model/core/actions/history_versions_action.py +117 -0
  97. maxitor/web/model/core/actions/left_sidebar_action.py +242 -0
  98. maxitor/web/model/core/actions/load_aoa_service_action.py +273 -0
  99. maxitor/web/model/core/actions/open_history_action.py +126 -0
  100. maxitor/web/model/core/core_domain.py +29 -0
  101. maxitor/web/model/core/entities/__init__.py +10 -0
  102. maxitor/web/model/core/entities/node_entity.py +43 -0
  103. maxitor/web/model/core/freshness.py +36 -0
  104. maxitor/web/model/core/history_address.py +238 -0
  105. maxitor/web/model/core/history_entry.py +145 -0
  106. maxitor/web/model/core/history_errors.py +60 -0
  107. maxitor/web/model/core/history_key_holder.py +40 -0
  108. maxitor/web/model/core/history_reading.py +170 -0
  109. maxitor/web/model/core/resources/__init__.py +42 -0
  110. maxitor/web/model/core/resources/graph_source_gateway.py +168 -0
  111. maxitor/web/model/core/resources/graph_store_controller.py +102 -0
  112. maxitor/web/model/core/resources/history_access.py +114 -0
  113. maxitor/web/model/core/resources/history_store.py +92 -0
  114. maxitor/web/model/core/resources/open_tabs_registry.py +62 -0
  115. maxitor/web/model/core/resources/own_model_graph_resource.py +63 -0
  116. maxitor/web/model/core/resources/repo_graph_port_gateway.py +176 -0
  117. maxitor/web/model/core/resources/source_checks.py +113 -0
  118. maxitor/web/model/core/resources/static_bundle_resource.py +72 -0
  119. maxitor/web/model/core/same_graph.py +49 -0
  120. maxitor/web/model/core/source_label.py +44 -0
  121. maxitor/web/model/diagrams/__init__.py +8 -0
  122. maxitor/web/model/diagrams/actions/__init__.py +20 -0
  123. maxitor/web/model/diagrams/actions/all_use_cases_diagram_action.py +72 -0
  124. maxitor/web/model/diagrams/actions/changed_inside_action.py +86 -0
  125. maxitor/web/model/diagrams/actions/compare_element_action.py +99 -0
  126. maxitor/web/model/diagrams/actions/compare_versions_action.py +111 -0
  127. maxitor/web/model/diagrams/actions/domain_use_case_diagram_action.py +355 -0
  128. maxitor/web/model/diagrams/actions/domain_use_case_diagram_action_schema.py +90 -0
  129. maxitor/web/model/diagrams/actions/events_explorer_action.py +157 -0
  130. maxitor/web/model/diagrams/actions/events_explorer_action_schema.py +32 -0
  131. maxitor/web/model/diagrams/actions/full_graph_action.py +271 -0
  132. maxitor/web/model/diagrams/actions/get_element_card_action.py +108 -0
  133. maxitor/web/model/diagrams/actions/get_lifecycle_finite_automaton_action.py +314 -0
  134. maxitor/web/model/diagrams/actions/get_lifecycle_finite_automaton_action_schema.py +84 -0
  135. maxitor/web/model/diagrams/actions/list_domains_action.py +167 -0
  136. maxitor/web/model/diagrams/actions/list_domains_action_schema.py +27 -0
  137. maxitor/web/model/diagrams/actions/list_entities_action.py +523 -0
  138. maxitor/web/model/diagrams/actions/list_entities_action_schema.py +230 -0
  139. maxitor/web/model/diagrams/actions/list_entity_kinds_action.py +108 -0
  140. maxitor/web/model/diagrams/actions/list_entity_kinds_action_schema.py +26 -0
  141. maxitor/web/model/diagrams/actions/list_node_types_action.py +175 -0
  142. maxitor/web/model/diagrams/actions/list_node_types_action_schema.py +26 -0
  143. maxitor/web/model/diagrams/actions/map_area_action.py +88 -0
  144. maxitor/web/model/diagrams/actions/map_changes_action.py +67 -0
  145. maxitor/web/model/diagrams/actions/map_overview_action.py +75 -0
  146. maxitor/web/model/diagrams/diagrams_domain.py +28 -0
  147. maxitor/web/model/diagrams/resources/__init__.py +24 -0
  148. maxitor/web/model/diagrams/resources/comparison_store.py +177 -0
  149. maxitor/web/model/diagrams/resources/duckdb_graph_resource.py +1264 -0
  150. maxitor/web/model/diagrams/resources/map_store.py +330 -0
  151. maxitor/web/model/rooms/__init__.py +15 -0
  152. maxitor/web/model/rooms/actions/__init__.py +41 -0
  153. maxitor/web/model/rooms/actions/disconnect_tab_action.py +103 -0
  154. maxitor/web/model/rooms/actions/end_room_action.py +90 -0
  155. maxitor/web/model/rooms/actions/expire_participant_action.py +94 -0
  156. maxitor/web/model/rooms/actions/follow_action.py +109 -0
  157. maxitor/web/model/rooms/actions/join_room_action.py +271 -0
  158. maxitor/web/model/rooms/actions/leave_room_action.py +86 -0
  159. maxitor/web/model/rooms/actions/reload_source_for_room_action.py +100 -0
  160. maxitor/web/model/rooms/actions/rename_participant_action.py +85 -0
  161. maxitor/web/model/rooms/actions/report_page_action.py +136 -0
  162. maxitor/web/model/rooms/actions/room_action_support.py +67 -0
  163. maxitor/web/model/rooms/actions/seed_page_settings_action.py +106 -0
  164. maxitor/web/model/rooms/actions/set_page_setting_action.py +93 -0
  165. maxitor/web/model/rooms/actions/set_room_version_action.py +127 -0
  166. maxitor/web/model/rooms/actions/stop_following_action.py +75 -0
  167. maxitor/web/model/rooms/follow_circle.py +65 -0
  168. maxitor/web/model/rooms/layout_authority.py +100 -0
  169. maxitor/web/model/rooms/pages.py +186 -0
  170. maxitor/web/model/rooms/resources/__init__.py +14 -0
  171. maxitor/web/model/rooms/resources/room_registry.py +585 -0
  172. maxitor/web/model/rooms/rooms_domain.py +29 -0
  173. maxitor/web/py.typed +0 -0
  174. maxitor/web/static/assets/index-CWo6xMfp.js +225 -0
  175. maxitor/web/static/assets/index-wUWjggHM.css +1 -0
  176. maxitor/web/static/assets/mapEngine-CLap2t01.js +3355 -0
  177. maxitor/web/static/build.json +1 -0
  178. maxitor/web/static/index.html +13 -0
  179. maxitor-3.11.0.dist-info/METADATA +205 -0
  180. maxitor-3.11.0.dist-info/RECORD +185 -0
  181. maxitor-3.11.0.dist-info/WHEEL +4 -0
  182. maxitor-3.11.0.dist-info/entry_points.txt +4 -0
  183. maxitor-3.11.0.dist-info/licenses/LICENSE +192 -0
  184. maxitor-3.11.0.dist-info/licenses/NOTICE +14 -0
  185. maxitor-3.11.0.dist-info/licenses/THIRD-PARTY-NOTICES.md +45 -0
@@ -0,0 +1,1476 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://raw.githubusercontent.com/bystrovmaxim/aoa/main/packages/open-gnomon-protocol/graph/1.0.json",
4
+ "title": "Gnomon node graph JSON schema",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "nodes",
10
+ "edges"
11
+ ],
12
+ "properties": {
13
+ "schema_version": {
14
+ "const": "1.0"
15
+ },
16
+ "nodes": {
17
+ "type": "array",
18
+ "items": {
19
+ "$ref": "#/$defs/vertex"
20
+ },
21
+ "uniqueItems": true
22
+ },
23
+ "edges": {
24
+ "type": "array",
25
+ "items": {
26
+ "$ref": "#/$defs/link"
27
+ }
28
+ }
29
+ },
30
+ "$defs": {
31
+ "json_value": {
32
+ "oneOf": [
33
+ {
34
+ "type": "null"
35
+ },
36
+ {
37
+ "type": "boolean"
38
+ },
39
+ {
40
+ "type": "number"
41
+ },
42
+ {
43
+ "type": "string"
44
+ },
45
+ {
46
+ "type": "array",
47
+ "items": {
48
+ "$ref": "#/$defs/json_value"
49
+ }
50
+ },
51
+ {
52
+ "type": "object",
53
+ "additionalProperties": {
54
+ "$ref": "#/$defs/json_value"
55
+ }
56
+ }
57
+ ]
58
+ },
59
+ "base_properties": {
60
+ "type": "object",
61
+ "additionalProperties": {
62
+ "$ref": "#/$defs/json_value"
63
+ }
64
+ },
65
+ "vertex": {
66
+ "oneOf": [
67
+ {
68
+ "$ref": "#/$defs/action"
69
+ },
70
+ {
71
+ "$ref": "#/$defs/application"
72
+ },
73
+ {
74
+ "$ref": "#/$defs/domain"
75
+ },
76
+ {
77
+ "$ref": "#/$defs/entity"
78
+ },
79
+ {
80
+ "$ref": "#/$defs/entity_field"
81
+ },
82
+ {
83
+ "$ref": "#/$defs/resource"
84
+ },
85
+ {
86
+ "$ref": "#/$defs/params"
87
+ },
88
+ {
89
+ "$ref": "#/$defs/result"
90
+ },
91
+ {
92
+ "$ref": "#/$defs/field"
93
+ },
94
+ {
95
+ "$ref": "#/$defs/property_field"
96
+ },
97
+ {
98
+ "$ref": "#/$defs/regular_aspect"
99
+ },
100
+ {
101
+ "$ref": "#/$defs/summary_aspect"
102
+ },
103
+ {
104
+ "$ref": "#/$defs/compensator"
105
+ },
106
+ {
107
+ "$ref": "#/$defs/access_decide"
108
+ },
109
+ {
110
+ "$ref": "#/$defs/error_handler"
111
+ },
112
+ {
113
+ "$ref": "#/$defs/checker"
114
+ },
115
+ {
116
+ "$ref": "#/$defs/required_context_vertex"
117
+ },
118
+ {
119
+ "$ref": "#/$defs/lifecycle_vertex"
120
+ },
121
+ {
122
+ "$ref": "#/$defs/state"
123
+ },
124
+ {
125
+ "$ref": "#/$defs/sensitive"
126
+ },
127
+ {
128
+ "$ref": "#/$defs/role"
129
+ }
130
+ ]
131
+ },
132
+ "row": {
133
+ "type": "object",
134
+ "additionalProperties": false,
135
+ "required": [
136
+ "id",
137
+ "type",
138
+ "label",
139
+ "properties"
140
+ ],
141
+ "properties": {
142
+ "id": {
143
+ "type": "string",
144
+ "minLength": 1
145
+ },
146
+ "type": {
147
+ "type": "string",
148
+ "minLength": 1
149
+ },
150
+ "label": {
151
+ "type": "string",
152
+ "minLength": 1
153
+ },
154
+ "properties": {
155
+ "$ref": "#/$defs/base_properties"
156
+ }
157
+ }
158
+ },
159
+ "action": {
160
+ "allOf": [
161
+ {
162
+ "$ref": "#/$defs/row"
163
+ },
164
+ {
165
+ "properties": {
166
+ "type": {
167
+ "const": "Action"
168
+ },
169
+ "properties": {
170
+ "type": "object",
171
+ "additionalProperties": false,
172
+ "required": [
173
+ "description"
174
+ ],
175
+ "properties": {
176
+ "description": {
177
+ "type": "string"
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }
183
+ ]
184
+ },
185
+ "application": {
186
+ "allOf": [
187
+ {
188
+ "$ref": "#/$defs/row"
189
+ },
190
+ {
191
+ "properties": {
192
+ "type": {
193
+ "const": "Application"
194
+ },
195
+ "properties": {
196
+ "type": "object",
197
+ "additionalProperties": false,
198
+ "required": [
199
+ "name",
200
+ "description"
201
+ ],
202
+ "properties": {
203
+ "name": {
204
+ "type": "string"
205
+ },
206
+ "description": {
207
+ "type": "string"
208
+ }
209
+ }
210
+ }
211
+ }
212
+ }
213
+ ]
214
+ },
215
+ "domain": {
216
+ "allOf": [
217
+ {
218
+ "$ref": "#/$defs/row"
219
+ },
220
+ {
221
+ "properties": {
222
+ "type": {
223
+ "const": "Domain"
224
+ },
225
+ "properties": {
226
+ "type": "object",
227
+ "additionalProperties": false,
228
+ "required": [
229
+ "name",
230
+ "description"
231
+ ],
232
+ "properties": {
233
+ "name": {
234
+ "type": "string"
235
+ },
236
+ "description": {
237
+ "type": "string"
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ ]
244
+ },
245
+ "entity": {
246
+ "allOf": [
247
+ {
248
+ "$ref": "#/$defs/row"
249
+ },
250
+ {
251
+ "properties": {
252
+ "type": {
253
+ "const": "Entity"
254
+ },
255
+ "properties": {
256
+ "type": "object",
257
+ "additionalProperties": false,
258
+ "required": [
259
+ "description",
260
+ "entity_kind"
261
+ ],
262
+ "properties": {
263
+ "description": {
264
+ "type": "string"
265
+ },
266
+ "entity_kind": {
267
+ "type": "string",
268
+ "minLength": 1,
269
+ "pattern": "^[a-z][a-z0-9_]*$",
270
+ "description": "The kind word of the kind base class the entity inherits, taken from that class's name: BaseCoreEntity -> core. AOA's own model declares six; the value is open so that a graph from any producer can state a kind this engine does not know. AOA checks the declaration of a kind at class creation, not here."
271
+ },
272
+ "entity_kind_label": {
273
+ "type": "string",
274
+ "minLength": 1,
275
+ "description": "The display name the kind base class declares for its kind: BaseAssocEntity -> Association. Optional on the wire, so that a producer with no names stays valid; AOA always writes it."
276
+ },
277
+ "values": {
278
+ "type": "array",
279
+ "minItems": 1,
280
+ "description": "The values a closed dictionary declares; required for the enum kind and absent for every other kind.",
281
+ "items": {
282
+ "type": "object",
283
+ "additionalProperties": false,
284
+ "required": [
285
+ "code",
286
+ "display_name",
287
+ "properties"
288
+ ],
289
+ "properties": {
290
+ "code": {
291
+ "type": "string",
292
+ "minLength": 1
293
+ },
294
+ "display_name": {
295
+ "type": "string",
296
+ "minLength": 1
297
+ },
298
+ "properties": {
299
+ "type": "object"
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ },
307
+ "if": {
308
+ "required": [
309
+ "properties"
310
+ ],
311
+ "properties": {
312
+ "properties": {
313
+ "required": [
314
+ "entity_kind"
315
+ ],
316
+ "properties": {
317
+ "entity_kind": {
318
+ "const": "enum"
319
+ }
320
+ }
321
+ }
322
+ }
323
+ },
324
+ "then": {
325
+ "properties": {
326
+ "properties": {
327
+ "required": [
328
+ "values"
329
+ ]
330
+ }
331
+ }
332
+ }
333
+ }
334
+ ]
335
+ },
336
+ "entity_field": {
337
+ "allOf": [
338
+ {
339
+ "$ref": "#/$defs/row"
340
+ },
341
+ {
342
+ "properties": {
343
+ "type": {
344
+ "const": "EntityField"
345
+ },
346
+ "properties": {
347
+ "type": "object",
348
+ "additionalProperties": false,
349
+ "required": [
350
+ "field_type",
351
+ "primary_key_hint"
352
+ ],
353
+ "properties": {
354
+ "field_type": {
355
+ "type": "string",
356
+ "description": "The type as one clean name a diagram shows (str | None, X, X[])."
357
+ },
358
+ "field_annotation": {
359
+ "type": "string",
360
+ "description": "The full annotation as Python spells it, for a tooltip."
361
+ },
362
+ "primary_key_hint": {
363
+ "type": "boolean",
364
+ "description": "Heuristic (field name == id); not database or schema authority."
365
+ },
366
+ "reference_qualname": {
367
+ "type": "string",
368
+ "description": "Interchange qualname of the closed dictionary this field references; absent for a scalar field."
369
+ }
370
+ }
371
+ }
372
+ }
373
+ }
374
+ ]
375
+ },
376
+ "resource": {
377
+ "allOf": [
378
+ {
379
+ "$ref": "#/$defs/row"
380
+ },
381
+ {
382
+ "properties": {
383
+ "type": {
384
+ "const": "Resource"
385
+ },
386
+ "properties": {
387
+ "type": "object",
388
+ "additionalProperties": false,
389
+ "required": [
390
+ "description"
391
+ ],
392
+ "properties": {
393
+ "description": {
394
+ "type": "string"
395
+ }
396
+ }
397
+ }
398
+ }
399
+ }
400
+ ]
401
+ },
402
+ "params": {
403
+ "allOf": [
404
+ {
405
+ "$ref": "#/$defs/row"
406
+ },
407
+ {
408
+ "properties": {
409
+ "type": {
410
+ "const": "Params"
411
+ },
412
+ "properties": {
413
+ "type": "object",
414
+ "additionalProperties": false,
415
+ "maxProperties": 0
416
+ }
417
+ }
418
+ }
419
+ ]
420
+ },
421
+ "result": {
422
+ "allOf": [
423
+ {
424
+ "$ref": "#/$defs/row"
425
+ },
426
+ {
427
+ "properties": {
428
+ "type": {
429
+ "const": "Result"
430
+ },
431
+ "properties": {
432
+ "type": "object",
433
+ "additionalProperties": false,
434
+ "maxProperties": 0
435
+ }
436
+ }
437
+ }
438
+ ]
439
+ },
440
+ "field": {
441
+ "allOf": [
442
+ {
443
+ "$ref": "#/$defs/row"
444
+ },
445
+ {
446
+ "properties": {
447
+ "type": {
448
+ "const": "Field"
449
+ },
450
+ "properties": {
451
+ "type": "object",
452
+ "additionalProperties": false,
453
+ "required": [
454
+ "required",
455
+ "description",
456
+ "json_schema_value",
457
+ "entity_schema"
458
+ ],
459
+ "properties": {
460
+ "required": {
461
+ "type": "boolean"
462
+ },
463
+ "description": {
464
+ "type": "string"
465
+ },
466
+ "json_schema_value": {
467
+ "type": "boolean"
468
+ },
469
+ "entity_schema": {
470
+ "type": "boolean"
471
+ },
472
+ "json_schema_name": {
473
+ "type": "string"
474
+ },
475
+ "json_schema": {
476
+ "$ref": "#/$defs/json_value"
477
+ }
478
+ }
479
+ }
480
+ }
481
+ }
482
+ ]
483
+ },
484
+ "property_field": {
485
+ "allOf": [
486
+ {
487
+ "$ref": "#/$defs/row"
488
+ },
489
+ {
490
+ "properties": {
491
+ "type": {
492
+ "const": "PropertyField"
493
+ },
494
+ "properties": {
495
+ "type": "object",
496
+ "additionalProperties": false,
497
+ "required": [
498
+ "required",
499
+ "entity_schema"
500
+ ],
501
+ "properties": {
502
+ "required": {
503
+ "type": "boolean"
504
+ },
505
+ "entity_schema": {
506
+ "type": "boolean"
507
+ }
508
+ }
509
+ }
510
+ }
511
+ }
512
+ ]
513
+ },
514
+ "regular_aspect": {
515
+ "allOf": [
516
+ {
517
+ "$ref": "#/$defs/row"
518
+ },
519
+ {
520
+ "properties": {
521
+ "type": {
522
+ "const": "RegularAspect"
523
+ },
524
+ "properties": {
525
+ "type": "object",
526
+ "additionalProperties": false,
527
+ "required": [
528
+ "description"
529
+ ],
530
+ "properties": {
531
+ "description": {
532
+ "type": "string"
533
+ }
534
+ }
535
+ }
536
+ }
537
+ }
538
+ ]
539
+ },
540
+ "summary_aspect": {
541
+ "allOf": [
542
+ {
543
+ "$ref": "#/$defs/row"
544
+ },
545
+ {
546
+ "properties": {
547
+ "type": {
548
+ "const": "SummaryAspect"
549
+ },
550
+ "properties": {
551
+ "type": "object",
552
+ "additionalProperties": false,
553
+ "required": [
554
+ "description"
555
+ ],
556
+ "properties": {
557
+ "description": {
558
+ "type": "string"
559
+ }
560
+ }
561
+ }
562
+ }
563
+ }
564
+ ]
565
+ },
566
+ "compensator": {
567
+ "allOf": [
568
+ {
569
+ "$ref": "#/$defs/row"
570
+ },
571
+ {
572
+ "properties": {
573
+ "type": {
574
+ "const": "Compensator"
575
+ },
576
+ "properties": {
577
+ "type": "object",
578
+ "additionalProperties": false,
579
+ "properties": {
580
+ "description": {
581
+ "type": "string"
582
+ },
583
+ "target_aspect_name": {
584
+ "type": "string"
585
+ }
586
+ }
587
+ }
588
+ }
589
+ }
590
+ ]
591
+ },
592
+ "access_decide": {
593
+ "allOf": [
594
+ {
595
+ "$ref": "#/$defs/row"
596
+ },
597
+ {
598
+ "properties": {
599
+ "type": {
600
+ "const": "AccessDecide"
601
+ },
602
+ "properties": {
603
+ "type": "object",
604
+ "additionalProperties": false,
605
+ "required": [
606
+ "description"
607
+ ],
608
+ "properties": {
609
+ "description": {
610
+ "type": "string"
611
+ }
612
+ }
613
+ }
614
+ }
615
+ }
616
+ ]
617
+ },
618
+ "error_handler": {
619
+ "allOf": [
620
+ {
621
+ "$ref": "#/$defs/row"
622
+ },
623
+ {
624
+ "properties": {
625
+ "type": {
626
+ "const": "ErrorHandler"
627
+ },
628
+ "properties": {
629
+ "type": "object",
630
+ "additionalProperties": false,
631
+ "properties": {
632
+ "description": {
633
+ "type": "string"
634
+ },
635
+ "exception_types": {
636
+ "type": "array",
637
+ "items": {
638
+ "type": "string"
639
+ }
640
+ }
641
+ }
642
+ }
643
+ }
644
+ }
645
+ ]
646
+ },
647
+ "checker": {
648
+ "allOf": [
649
+ {
650
+ "$ref": "#/$defs/row"
651
+ },
652
+ {
653
+ "properties": {
654
+ "type": {
655
+ "const": "Checker"
656
+ },
657
+ "properties": {
658
+ "type": "object",
659
+ "additionalProperties": {
660
+ "$ref": "#/$defs/json_value"
661
+ },
662
+ "required": [
663
+ "TypeChecker",
664
+ "required"
665
+ ],
666
+ "properties": {
667
+ "TypeChecker": {
668
+ "type": "string"
669
+ },
670
+ "required": {
671
+ "type": "boolean"
672
+ }
673
+ }
674
+ }
675
+ }
676
+ }
677
+ ]
678
+ },
679
+ "required_context_vertex": {
680
+ "allOf": [
681
+ {
682
+ "$ref": "#/$defs/row"
683
+ },
684
+ {
685
+ "properties": {
686
+ "type": {
687
+ "const": "RequiredContext"
688
+ },
689
+ "properties": {
690
+ "type": "object",
691
+ "additionalProperties": false,
692
+ "required": [
693
+ "key"
694
+ ],
695
+ "properties": {
696
+ "key": {
697
+ "type": "string"
698
+ }
699
+ }
700
+ }
701
+ }
702
+ }
703
+ ]
704
+ },
705
+ "lifecycle_vertex": {
706
+ "allOf": [
707
+ {
708
+ "$ref": "#/$defs/row"
709
+ },
710
+ {
711
+ "properties": {
712
+ "type": {
713
+ "const": "Lifecycle"
714
+ },
715
+ "properties": {
716
+ "type": "object",
717
+ "additionalProperties": false,
718
+ "required": [
719
+ "field_name"
720
+ ],
721
+ "properties": {
722
+ "field_name": {
723
+ "type": "string"
724
+ }
725
+ }
726
+ }
727
+ }
728
+ }
729
+ ]
730
+ },
731
+ "state": {
732
+ "allOf": [
733
+ {
734
+ "$ref": "#/$defs/row"
735
+ },
736
+ {
737
+ "properties": {
738
+ "type": {
739
+ "enum": [
740
+ "StateInitial",
741
+ "StateIntermediate",
742
+ "StateFinal"
743
+ ]
744
+ },
745
+ "properties": {
746
+ "type": "object",
747
+ "additionalProperties": false,
748
+ "required": [
749
+ "lifecycle_class_id",
750
+ "state_key"
751
+ ],
752
+ "properties": {
753
+ "lifecycle_class_id": {
754
+ "type": "string"
755
+ },
756
+ "state_key": {
757
+ "type": "string"
758
+ },
759
+ "attributes": {
760
+ "type": "object"
761
+ }
762
+ }
763
+ }
764
+ }
765
+ }
766
+ ]
767
+ },
768
+ "sensitive": {
769
+ "allOf": [
770
+ {
771
+ "$ref": "#/$defs/row"
772
+ },
773
+ {
774
+ "properties": {
775
+ "type": {
776
+ "const": "Sensitive"
777
+ },
778
+ "properties": {
779
+ "$ref": "#/$defs/base_properties"
780
+ }
781
+ }
782
+ }
783
+ ]
784
+ },
785
+ "role": {
786
+ "allOf": [
787
+ {
788
+ "$ref": "#/$defs/row"
789
+ },
790
+ {
791
+ "properties": {
792
+ "type": {
793
+ "const": "Role"
794
+ },
795
+ "properties": {
796
+ "type": "object",
797
+ "additionalProperties": false,
798
+ "required": [
799
+ "role_mode"
800
+ ],
801
+ "properties": {
802
+ "role_mode": {
803
+ "type": "string"
804
+ }
805
+ }
806
+ }
807
+ }
808
+ }
809
+ ]
810
+ },
811
+ "relationship": {
812
+ "type": "string",
813
+ "enum": [
814
+ "Access",
815
+ "Aggregation",
816
+ "Assignment",
817
+ "Association",
818
+ "Composition",
819
+ "Flow",
820
+ "Generalization",
821
+ "Realization",
822
+ "Serving",
823
+ "Specialization",
824
+ "Triggering"
825
+ ]
826
+ },
827
+ "link_row": {
828
+ "type": "object",
829
+ "additionalProperties": false,
830
+ "required": [
831
+ "source_id",
832
+ "target_id",
833
+ "type",
834
+ "relationship",
835
+ "is_dag",
836
+ "properties"
837
+ ],
838
+ "properties": {
839
+ "source_id": {
840
+ "type": "string",
841
+ "minLength": 1
842
+ },
843
+ "target_id": {
844
+ "type": "string",
845
+ "minLength": 1
846
+ },
847
+ "type": {
848
+ "type": "string",
849
+ "minLength": 1
850
+ },
851
+ "relationship": {
852
+ "$ref": "#/$defs/relationship"
853
+ },
854
+ "is_dag": {
855
+ "type": "boolean"
856
+ },
857
+ "properties": {
858
+ "$ref": "#/$defs/base_properties"
859
+ }
860
+ }
861
+ },
862
+ "link": {
863
+ "oneOf": [
864
+ {
865
+ "$ref": "#/$defs/empty_properties"
866
+ },
867
+ {
868
+ "$ref": "#/$defs/parent_action"
869
+ },
870
+ {
871
+ "$ref": "#/$defs/parent_role"
872
+ },
873
+ {
874
+ "$ref": "#/$defs/parent_domain"
875
+ },
876
+ {
877
+ "$ref": "#/$defs/depends"
878
+ },
879
+ {
880
+ "$ref": "#/$defs/connection"
881
+ },
882
+ {
883
+ "$ref": "#/$defs/required_context_binding"
884
+ },
885
+ {
886
+ "$ref": "#/$defs/entity_relation"
887
+ },
888
+ {
889
+ "$ref": "#/$defs/entity_reference"
890
+ },
891
+ {
892
+ "$ref": "#/$defs/entity_specialization"
893
+ },
894
+ {
895
+ "$ref": "#/$defs/parent_entity"
896
+ },
897
+ {
898
+ "$ref": "#/$defs/entity_view"
899
+ },
900
+ {
901
+ "$ref": "#/$defs/entity_field_link"
902
+ },
903
+ {
904
+ "$ref": "#/$defs/lifecycle_binding"
905
+ },
906
+ {
907
+ "$ref": "#/$defs/lifecycle_state"
908
+ },
909
+ {
910
+ "$ref": "#/$defs/lifecycle_transition"
911
+ },
912
+ {
913
+ "$ref": "#/$defs/sensitive_or_state"
914
+ }
915
+ ]
916
+ },
917
+ "empty_properties": {
918
+ "allOf": [
919
+ {
920
+ "$ref": "#/$defs/link_row"
921
+ },
922
+ {
923
+ "properties": {
924
+ "type": {
925
+ "enum": [
926
+ "application",
927
+ "domain",
928
+ "generic:params",
929
+ "generic:result",
930
+ "@check_roles",
931
+ "@regular_aspect",
932
+ "@summary_aspect",
933
+ "@compensate",
934
+ "@access_decide",
935
+ "@on_error",
936
+ "@result_checker",
937
+ "entity_schema",
938
+ "field",
939
+ "property"
940
+ ]
941
+ },
942
+ "properties": {
943
+ "type": "object",
944
+ "additionalProperties": false,
945
+ "maxProperties": 0
946
+ }
947
+ }
948
+ }
949
+ ]
950
+ },
951
+ "parent_action": {
952
+ "allOf": [
953
+ {
954
+ "$ref": "#/$defs/link_row"
955
+ },
956
+ {
957
+ "properties": {
958
+ "type": {
959
+ "const": "parent_action"
960
+ },
961
+ "relationship": {
962
+ "const": "Generalization"
963
+ },
964
+ "properties": {
965
+ "type": "object",
966
+ "additionalProperties": false,
967
+ "maxProperties": 0
968
+ }
969
+ }
970
+ }
971
+ ]
972
+ },
973
+ "parent_role": {
974
+ "allOf": [
975
+ {
976
+ "$ref": "#/$defs/link_row"
977
+ },
978
+ {
979
+ "properties": {
980
+ "type": {
981
+ "const": "parent_role"
982
+ },
983
+ "relationship": {
984
+ "const": "Generalization"
985
+ },
986
+ "properties": {
987
+ "type": "object",
988
+ "additionalProperties": false,
989
+ "maxProperties": 0
990
+ }
991
+ }
992
+ }
993
+ ]
994
+ },
995
+ "parent_domain": {
996
+ "allOf": [
997
+ {
998
+ "$ref": "#/$defs/link_row"
999
+ },
1000
+ {
1001
+ "properties": {
1002
+ "type": {
1003
+ "const": "parent_domain"
1004
+ },
1005
+ "relationship": {
1006
+ "const": "Generalization"
1007
+ },
1008
+ "properties": {
1009
+ "type": "object",
1010
+ "additionalProperties": false,
1011
+ "maxProperties": 0
1012
+ }
1013
+ }
1014
+ }
1015
+ ]
1016
+ },
1017
+ "depends": {
1018
+ "allOf": [
1019
+ {
1020
+ "$ref": "#/$defs/link_row"
1021
+ },
1022
+ {
1023
+ "properties": {
1024
+ "type": {
1025
+ "const": "@depends"
1026
+ },
1027
+ "properties": {
1028
+ "type": "object",
1029
+ "additionalProperties": false,
1030
+ "required": [
1031
+ "description"
1032
+ ],
1033
+ "properties": {
1034
+ "description": {
1035
+ "type": "string"
1036
+ },
1037
+ "mode": {
1038
+ "type": "string",
1039
+ "enum": [
1040
+ "include",
1041
+ "extend"
1042
+ ]
1043
+ }
1044
+ }
1045
+ }
1046
+ }
1047
+ }
1048
+ ]
1049
+ },
1050
+ "connection": {
1051
+ "allOf": [
1052
+ {
1053
+ "$ref": "#/$defs/link_row"
1054
+ },
1055
+ {
1056
+ "properties": {
1057
+ "type": {
1058
+ "const": "@connection"
1059
+ },
1060
+ "properties": {
1061
+ "type": "object",
1062
+ "additionalProperties": false,
1063
+ "required": [
1064
+ "key"
1065
+ ],
1066
+ "properties": {
1067
+ "key": {
1068
+ "type": "string"
1069
+ }
1070
+ }
1071
+ }
1072
+ }
1073
+ }
1074
+ ]
1075
+ },
1076
+ "required_context_binding": {
1077
+ "allOf": [
1078
+ {
1079
+ "$ref": "#/$defs/link_row"
1080
+ },
1081
+ {
1082
+ "properties": {
1083
+ "type": {
1084
+ "const": "@required_context"
1085
+ },
1086
+ "properties": {
1087
+ "type": "object",
1088
+ "additionalProperties": false,
1089
+ "required": [
1090
+ "key"
1091
+ ],
1092
+ "properties": {
1093
+ "key": {
1094
+ "type": "string"
1095
+ }
1096
+ }
1097
+ }
1098
+ }
1099
+ }
1100
+ ]
1101
+ },
1102
+ "entity_relation": {
1103
+ "allOf": [
1104
+ {
1105
+ "$ref": "#/$defs/link_row"
1106
+ },
1107
+ {
1108
+ "properties": {
1109
+ "type": {
1110
+ "const": "entity_relation"
1111
+ },
1112
+ "properties": {
1113
+ "type": "object",
1114
+ "additionalProperties": false,
1115
+ "required": [
1116
+ "field_name",
1117
+ "relation_type",
1118
+ "cardinality",
1119
+ "description",
1120
+ "has_inverse",
1121
+ "deprecated"
1122
+ ],
1123
+ "properties": {
1124
+ "field_name": {
1125
+ "type": "string"
1126
+ },
1127
+ "relation_type": {
1128
+ "type": "string"
1129
+ },
1130
+ "cardinality": {
1131
+ "type": "string"
1132
+ },
1133
+ "optional": {
1134
+ "type": "boolean",
1135
+ "description": "Whether the relation may hold nothing: its annotation admits None, or it defaults to None."
1136
+ },
1137
+ "description": {
1138
+ "type": "string"
1139
+ },
1140
+ "has_inverse": {
1141
+ "type": "boolean"
1142
+ },
1143
+ "deprecated": {
1144
+ "type": "boolean"
1145
+ },
1146
+ "inverse_entity_id": {
1147
+ "type": "string"
1148
+ },
1149
+ "inverse_field": {
1150
+ "type": "string"
1151
+ }
1152
+ }
1153
+ }
1154
+ }
1155
+ }
1156
+ ]
1157
+ },
1158
+ "entity_reference": {
1159
+ "allOf": [{"$ref": "#/$defs/link_row"}, {
1160
+ "properties": {
1161
+ "type": {"const": "entity_reference"},
1162
+ "properties": {"type": "object", "additionalProperties": false, "required": ["field_name", "cardinality"],
1163
+ "properties": {"field_name": {"type": "string"}, "cardinality": {"type": "string"}}}
1164
+ }
1165
+ }]
1166
+ },
1167
+ "entity_specialization": {
1168
+ "allOf": [
1169
+ {
1170
+ "$ref": "#/$defs/link_row"
1171
+ },
1172
+ {
1173
+ "properties": {
1174
+ "type": {
1175
+ "const": "entity_specialization"
1176
+ },
1177
+ "properties": {
1178
+ "type": "object",
1179
+ "additionalProperties": false,
1180
+ "required": [
1181
+ "field_name",
1182
+ "classifier_value",
1183
+ "alternative_index",
1184
+ "alternatives",
1185
+ "labels",
1186
+ "relation_type",
1187
+ "cardinality",
1188
+ "description",
1189
+ "has_inverse",
1190
+ "deprecated"
1191
+ ],
1192
+ "properties": {
1193
+ "field_name": {
1194
+ "type": "string",
1195
+ "minLength": 1,
1196
+ "description": "The head's field; the key a consumer groups the cluster by."
1197
+ },
1198
+ "classifier_field": {
1199
+ "type": "string",
1200
+ "minLength": 1,
1201
+ "description": "The field whose value selects among the alternatives; absent on an axis classified by a dictionary, because the head has no classifier field."
1202
+ },
1203
+ "dictionary_qualname": {
1204
+ "type": "string",
1205
+ "minLength": 1,
1206
+ "description": "Interchange qualname of the closed dictionary the axis borrows its codes from."
1207
+ },
1208
+ "dictionary_label": {
1209
+ "type": "string",
1210
+ "minLength": 1,
1211
+ "description": "The dictionary's label, so a consumer can caption the axis without resolving the qualname."
1212
+ },
1213
+ "classifier_value": {
1214
+ "type": "string",
1215
+ "minLength": 1,
1216
+ "description": "The code that selects this edge's own target."
1217
+ },
1218
+ "alternative_index": {
1219
+ "type": "integer",
1220
+ "minimum": 0,
1221
+ "description": "Position of this alternative in the declared order."
1222
+ },
1223
+ "alternatives": {
1224
+ "type": "array",
1225
+ "minItems": 1,
1226
+ "items": {
1227
+ "type": "string",
1228
+ "minLength": 1
1229
+ },
1230
+ "description": "\"<code> -> <entity qualname>\" for every alternative, in declaration order, repeated on each edge so one row carries the whole declaration."
1231
+ },
1232
+ "labels": {
1233
+ "type": "array",
1234
+ "minItems": 1,
1235
+ "items": {
1236
+ "type": "string",
1237
+ "minLength": 1
1238
+ },
1239
+ "description": "Display name per alternative, same order as `alternatives`: \"Class (code)\", the shared `Entity` suffix dropped. Display only — nothing resolves a class from it."
1240
+ },
1241
+ "relation_type": {
1242
+ "const": "specialization"
1243
+ },
1244
+ "cardinality": {
1245
+ "type": "string",
1246
+ "minLength": 1,
1247
+ "description": "\"one\": exactly one of the cluster applies to a row."
1248
+ },
1249
+ "description": {
1250
+ "type": "string"
1251
+ },
1252
+ "has_inverse": {
1253
+ "type": "boolean"
1254
+ },
1255
+ "deprecated": {
1256
+ "type": "boolean"
1257
+ }
1258
+ }
1259
+ }
1260
+ }
1261
+ }
1262
+ ]
1263
+ },
1264
+ "parent_entity": {
1265
+ "allOf": [
1266
+ {
1267
+ "$ref": "#/$defs/link_row"
1268
+ },
1269
+ {
1270
+ "properties": {
1271
+ "type": {
1272
+ "const": "parent_entity"
1273
+ },
1274
+ "relationship": {
1275
+ "const": "Generalization"
1276
+ },
1277
+ "properties": {
1278
+ "type": "object",
1279
+ "additionalProperties": false,
1280
+ "required": [
1281
+ "field_name",
1282
+ "inverse_field",
1283
+ "classifier_value",
1284
+ "head_entity_id"
1285
+ ],
1286
+ "properties": {
1287
+ "field_name": {
1288
+ "type": "string",
1289
+ "minLength": 1,
1290
+ "description": "The extension's own field that points at its head."
1291
+ },
1292
+ "inverse_field": {
1293
+ "type": "string",
1294
+ "minLength": 1,
1295
+ "description": "The head's field this extension is an alternative of."
1296
+ },
1297
+ "classifier_value": {
1298
+ "type": "string",
1299
+ "minLength": 1,
1300
+ "description": "The code this extension declares for the axis."
1301
+ },
1302
+ "head_entity_id": {
1303
+ "type": "string",
1304
+ "minLength": 1,
1305
+ "description": "Interchange id of the head entity this extension continues."
1306
+ }
1307
+ }
1308
+ }
1309
+ }
1310
+ }
1311
+ ]
1312
+ },
1313
+ "entity_view": {
1314
+ "allOf": [
1315
+ {
1316
+ "$ref": "#/$defs/link_row"
1317
+ },
1318
+ {
1319
+ "properties": {
1320
+ "type": {
1321
+ "const": "entity_view"
1322
+ },
1323
+ "properties": {
1324
+ "type": "object",
1325
+ "additionalProperties": false,
1326
+ "required": [
1327
+ "field_name"
1328
+ ],
1329
+ "properties": {
1330
+ "field_name": {
1331
+ "type": "string"
1332
+ }
1333
+ }
1334
+ }
1335
+ }
1336
+ }
1337
+ ]
1338
+ },
1339
+ "entity_field_link": {
1340
+ "allOf": [
1341
+ {
1342
+ "$ref": "#/$defs/link_row"
1343
+ },
1344
+ {
1345
+ "properties": {
1346
+ "type": {
1347
+ "const": "entity_field"
1348
+ },
1349
+ "properties": {
1350
+ "type": "object",
1351
+ "additionalProperties": false,
1352
+ "required": [
1353
+ "ordinal",
1354
+ "field_name"
1355
+ ],
1356
+ "properties": {
1357
+ "ordinal": {
1358
+ "type": "integer",
1359
+ "minimum": 0,
1360
+ "description": "Scalar field order on the entity (filtered model fields, id synthetic when absent)."
1361
+ },
1362
+ "field_name": {
1363
+ "type": "string",
1364
+ "minLength": 1,
1365
+ "description": "Same as the target EntityField vertex label."
1366
+ }
1367
+ }
1368
+ }
1369
+ }
1370
+ }
1371
+ ]
1372
+ },
1373
+ "lifecycle_binding": {
1374
+ "allOf": [
1375
+ {
1376
+ "$ref": "#/$defs/link_row"
1377
+ },
1378
+ {
1379
+ "properties": {
1380
+ "type": {
1381
+ "const": "lifecycle"
1382
+ },
1383
+ "properties": {
1384
+ "type": "object",
1385
+ "additionalProperties": false,
1386
+ "required": [
1387
+ "field_name"
1388
+ ],
1389
+ "properties": {
1390
+ "field_name": {
1391
+ "type": "string"
1392
+ }
1393
+ }
1394
+ }
1395
+ }
1396
+ }
1397
+ ]
1398
+ },
1399
+ "lifecycle_state": {
1400
+ "allOf": [
1401
+ {
1402
+ "$ref": "#/$defs/link_row"
1403
+ },
1404
+ {
1405
+ "properties": {
1406
+ "type": {
1407
+ "const": "lifecycle_contains_state"
1408
+ },
1409
+ "properties": {
1410
+ "type": "object",
1411
+ "additionalProperties": false,
1412
+ "required": [
1413
+ "state_key"
1414
+ ],
1415
+ "properties": {
1416
+ "state_key": {
1417
+ "type": "string"
1418
+ }
1419
+ }
1420
+ }
1421
+ }
1422
+ }
1423
+ ]
1424
+ },
1425
+ "lifecycle_transition": {
1426
+ "allOf": [
1427
+ {
1428
+ "$ref": "#/$defs/link_row"
1429
+ },
1430
+ {
1431
+ "properties": {
1432
+ "type": {
1433
+ "const": "lifecycle_transition"
1434
+ },
1435
+ "properties": {
1436
+ "type": "object",
1437
+ "additionalProperties": false,
1438
+ "required": [
1439
+ "from_state",
1440
+ "to_state"
1441
+ ],
1442
+ "properties": {
1443
+ "from_state": {
1444
+ "type": "string"
1445
+ },
1446
+ "to_state": {
1447
+ "type": "string"
1448
+ }
1449
+ }
1450
+ }
1451
+ }
1452
+ }
1453
+ ]
1454
+ },
1455
+ "sensitive_or_state": {
1456
+ "allOf": [
1457
+ {
1458
+ "$ref": "#/$defs/link_row"
1459
+ },
1460
+ {
1461
+ "properties": {
1462
+ "type": {
1463
+ "enum": [
1464
+ "sensitive",
1465
+ "state"
1466
+ ]
1467
+ },
1468
+ "properties": {
1469
+ "$ref": "#/$defs/base_properties"
1470
+ }
1471
+ }
1472
+ }
1473
+ ]
1474
+ }
1475
+ }
1476
+ }