@software-dlc/cli 0.186.0 → 0.186.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.
- package/CHANGELOG.md +6 -0
- package/README.md +40 -0
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.d.ts.map +1 -1
- package/dist/cli-help.js +25 -2
- package/dist/cli-help.js.map +1 -1
- package/dist/cli-org.d.ts.map +1 -1
- package/dist/cli-org.js +7 -7
- package/dist/cli-org.js.map +1 -1
- package/dist/cli.js +6 -1
- package/dist/cli.js.map +1 -1
- package/dist/local/app-org-reader.d.ts.map +1 -1
- package/dist/local/app-org-reader.js +6 -3
- package/dist/local/app-org-reader.js.map +1 -1
- package/dist/local/git.d.ts.map +1 -1
- package/dist/local/git.js +36 -4
- package/dist/local/git.js.map +1 -1
- package/dist/local/local-org.d.ts +7 -2
- package/dist/local/local-org.d.ts.map +1 -1
- package/dist/local/local-org.js +23 -2
- package/dist/local/local-org.js.map +1 -1
- package/dist/local/projection.d.ts +5 -0
- package/dist/local/projection.d.ts.map +1 -1
- package/dist/local/projection.js +27 -0
- package/dist/local/projection.js.map +1 -1
- package/dist/local/workspace-cli.d.ts +15 -0
- package/dist/local/workspace-cli.d.ts.map +1 -1
- package/dist/local/workspace-cli.js +134 -3
- package/dist/local/workspace-cli.js.map +1 -1
- package/dist/local/workspace-runtime.d.ts.map +1 -1
- package/dist/local/workspace-runtime.js +2 -1
- package/dist/local/workspace-runtime.js.map +1 -1
- package/dist/local/workspace-viewer-server.d.ts.map +1 -1
- package/dist/local/workspace-viewer-server.js +15 -2
- package/dist/local/workspace-viewer-server.js.map +1 -1
- package/package.json +3 -2
- package/reference/public-graph-schema.md +1084 -0
- package/viewer/assets/{index-CcO-5tek.js → index-Cigf5nvh.js} +19 -19
- package/viewer/index.html +1 -1
|
@@ -0,0 +1,1084 @@
|
|
|
1
|
+
<!-- Generated from the SoftwareDLC public reference corpus. Do not edit. -->
|
|
2
|
+
# Public graph schema vocabulary
|
|
3
|
+
|
|
4
|
+
Reference ID: `public-graph-schema` · Version: 2026-10-09 · Topics: graph_schema, mental_model
|
|
5
|
+
|
|
6
|
+
The public top-level graph entity kinds, node types, and semantic relationship types used by SoftwareDLC.
|
|
7
|
+
|
|
8
|
+
## Entity model
|
|
9
|
+
|
|
10
|
+
Section ID: `entity-model` (definitions)
|
|
11
|
+
|
|
12
|
+
Nodes are stable system or lifecycle concepts with typed domain data and optional parent identity.
|
|
13
|
+
Edges are independently meaningful directed semantic relationships.
|
|
14
|
+
Paths are named ordered or anchored journeys; path relations connect paths when that relationship matters.
|
|
15
|
+
Tags classify graph content without inventing semantic edges.
|
|
16
|
+
|
|
17
|
+
## Modeling guidance
|
|
18
|
+
|
|
19
|
+
Section ID: `modeling-guidance` (principles)
|
|
20
|
+
|
|
21
|
+
Use parent hierarchy for ownership and membership; do not duplicate containment with visible edges.
|
|
22
|
+
Each node type section lists the parent types it may sit under and the fields its domain data requires. A relationship such as implements never makes its target a child: a node sits under one of its allowed parent types, or at the top level where its section allows that.
|
|
23
|
+
A required field such as table.definition is required inside the node type's own data block (data.table) when the node carries that block; some types may leave the block out and others must carry it, and their section says which. Each section with required fields ends with a minimal valid data block showing what those fields look like.
|
|
24
|
+
Choose the narrowest relationship that preserves the intended meaning.
|
|
25
|
+
Each relationship type section lists the source and target node types it allows; an edge between any other pair is refused.
|
|
26
|
+
Treat the canonical graph examples as conceptual guidance, not writable payload schemas; the minimal data blocks in node type sections are valid data.
|
|
27
|
+
|
|
28
|
+
## Canonical examples
|
|
29
|
+
|
|
30
|
+
Section ID: `examples` (examples)
|
|
31
|
+
|
|
32
|
+
The structured schema_summary includes product/story, UI/API/data, and asynchronous messaging examples.
|
|
33
|
+
Each example uses stable node identities, explicit hierarchy, canonical relationship tokens, and a short semantic explanation.
|
|
34
|
+
|
|
35
|
+
## Publication boundary
|
|
36
|
+
|
|
37
|
+
Section ID: `publication-boundary` (boundaries)
|
|
38
|
+
|
|
39
|
+
This reference publishes curated vocabulary and semantics, not protected writable developer schemas.
|
|
40
|
+
Exact mutation payloads, permissions, and limits come from the authorized operation surface.
|
|
41
|
+
|
|
42
|
+
## Entity kinds
|
|
43
|
+
|
|
44
|
+
Section ID: `schema.entity-kinds` (entity_kinds)
|
|
45
|
+
|
|
46
|
+
node, edge, path, path_relation, tag
|
|
47
|
+
|
|
48
|
+
## All node types
|
|
49
|
+
|
|
50
|
+
Section ID: `schema.node-types` (node_type)
|
|
51
|
+
|
|
52
|
+
actor: A distinct user, role, or external system that interacts with the product; for an external system, actor.actor_kind is external_system.
|
|
53
|
+
product: A durable product boundary that organizes user-recognizable features. Its kind is shipped (the default) for what the organization delivers, or internal for how it operates, such as its development workflow.
|
|
54
|
+
feature: A user-recognizable product capability that owns concrete stories.
|
|
55
|
+
system: A product or module boundary that owns goals and their structural implementation; system.external is true for an outside system the product integrates with.
|
|
56
|
+
goal: A desired outcome that one or more actors care about within a system.
|
|
57
|
+
story: A user story that decomposes product intent into a concrete flow of steps.
|
|
58
|
+
start: The single entry point of a story flow.
|
|
59
|
+
process: An operational step or activity within a story flow. It may say who performs it: an actor or a slot, and whether the step is automated, done by an agent, or done by a person.
|
|
60
|
+
decision: A conditional branch point whose paths must rejoin or terminate. It may say who decides it: an actor or a slot, and whether the decision is automated, made by an agent, or made by a person.
|
|
61
|
+
end: A terminal outcome for a story path.
|
|
62
|
+
context: A top-level architecture boundary that organizes major structural subsystems.
|
|
63
|
+
container: A deployable C4 unit such as an application, service, UI, or datastore.
|
|
64
|
+
workload: A runtime execution unit such as a process, function, or orchestrated container.
|
|
65
|
+
database: A logical datastore boundary that groups related tables or collections; database.type is its engine: postgresql, mysql, mongodb, neo4j, influxdb, dynamodb, elasticsearch, or other.
|
|
66
|
+
object_store: A logical storage boundary for files, media, backups, or blob objects.
|
|
67
|
+
message_broker: A logical asynchronous messaging boundary that owns topics and queues.
|
|
68
|
+
cache: A logical cache boundary for transient, derived, or edge-cached data.
|
|
69
|
+
website: A public or internal web user-interface surface.
|
|
70
|
+
app: An installed mobile or desktop client that is not served as a website, with its platform, framework, and distribution.
|
|
71
|
+
library: A reusable code package other code depends on and that is not deployed on its own, first-party or from a registry in any ecosystem, with its optional package name, ecosystem, version, and license. A library, component or function that calls a container whose operations are not modeled uses that container; once they are, it uses each operation instead.
|
|
72
|
+
api_gateway: An API ingress boundary in front of downstream services or containers.
|
|
73
|
+
table: A relational table inside a logical database boundary.
|
|
74
|
+
collection: A NoSQL document or key-value collection inside a database boundary.
|
|
75
|
+
bucket: An addressable object-store container that holds files or blob objects.
|
|
76
|
+
topic: A publish/subscribe topic, stream, or event channel.
|
|
77
|
+
queue: A point-to-point queue or dead-letter queue for asynchronous work.
|
|
78
|
+
component: An internal code or module boundary inside a container, website, app, page, library, or another component.
|
|
79
|
+
page: An individual screen or view within a website or an app.
|
|
80
|
+
ui_component_definition: A reusable visual component, layout, or page-template definition without executable behavior.
|
|
81
|
+
ui_frame: A designed screen, state, or flow-step artifact shown to users.
|
|
82
|
+
function: A callable unit of behavior with typed input, output, and error signatures. function.signatures is required but may be an empty list ([]) when the signatures are not known; a function uses the http_operation, rpc_operation or async_operation it calls.
|
|
83
|
+
http_operation: An HTTP operation contract identified by method, path, and operation semantics; the method any is a catch-all route that takes every method, such as API Gateway ANY.
|
|
84
|
+
async_operation: An asynchronous operation contract identified by action and messaging semantics.
|
|
85
|
+
rpc_operation: A non-REST operation contract (gRPC method, GraphQL root field, tRPC procedure, JSON-RPC method, SOAP operation, or Thrift method) identified by protocol, service, and name.
|
|
86
|
+
job: Background work started by a schedule, an operator, or a workflow, with its trigger, engine, retry, timeout, and concurrency rules.
|
|
87
|
+
schema: A reusable structured data contract referenced by functions, operations, or other schemas.
|
|
88
|
+
code: A concrete source artifact such as a file, module, or snippet linked to a modeled concept.
|
|
89
|
+
team: A group of members that owns work, at the root or under its parent team, with a key unique among teams.
|
|
90
|
+
job_function: A kind of work a member of the organization does, such as Engineering Manager or Reviewer, at the root or under its parent job_function, with a key.
|
|
91
|
+
post: One job_function staffed in one team: it sits under the team and instantiates exactly one job_function.
|
|
92
|
+
access_role: A named set of actions, such as graph.edit, that grants from a job_function or an access_policy confer.
|
|
93
|
+
access_policy: An attribute rule that allows or denies one access role to the members and resources it matches, with a reason.
|
|
94
|
+
slot: A named part a workflow step needs someone to play, such as reviewer or approver, which job functions fill.
|
|
95
|
+
environment: A place the work runs, such as local, staging, or production, with its kind and promotion order.
|
|
96
|
+
|
|
97
|
+
## Node type: actor
|
|
98
|
+
|
|
99
|
+
Section ID: `schema.node-types.actor` (node_type)
|
|
100
|
+
|
|
101
|
+
A distinct user, role, or external system that interacts with the product; for an external system, actor.actor_kind is external_system.
|
|
102
|
+
|
|
103
|
+
Allowed parent types: none; it sits at the top level
|
|
104
|
+
Required fields under data: none
|
|
105
|
+
Optional fields under data: actor.actor_kind; actor.role; actor.external; actor.responsibilities; actor.pain_points
|
|
106
|
+
Optional values: actor.actor_kind (one of: person, team, organization, external_system, service)
|
|
107
|
+
|
|
108
|
+
## Node type: product
|
|
109
|
+
|
|
110
|
+
Section ID: `schema.node-types.product` (node_type)
|
|
111
|
+
|
|
112
|
+
A durable product boundary that organizes user-recognizable features. Its kind is shipped (the default) for what the organization delivers, or internal for how it operates, such as its development workflow.
|
|
113
|
+
|
|
114
|
+
Allowed parent types: none; it sits at the top level
|
|
115
|
+
Required fields under data: none
|
|
116
|
+
Optional fields under data: product.kind
|
|
117
|
+
Optional values: product.kind (one of: shipped, internal)
|
|
118
|
+
|
|
119
|
+
## Node type: feature
|
|
120
|
+
|
|
121
|
+
Section ID: `schema.node-types.feature` (node_type)
|
|
122
|
+
|
|
123
|
+
A user-recognizable product capability that owns concrete stories.
|
|
124
|
+
|
|
125
|
+
Allowed parent types: product (or none, at the top level)
|
|
126
|
+
Required fields under data: none
|
|
127
|
+
|
|
128
|
+
## Node type: system
|
|
129
|
+
|
|
130
|
+
Section ID: `schema.node-types.system` (node_type)
|
|
131
|
+
|
|
132
|
+
A product or module boundary that owns goals and their structural implementation; system.external is true for an outside system the product integrates with.
|
|
133
|
+
|
|
134
|
+
Allowed parent types: none; it sits at the top level
|
|
135
|
+
Required fields under data: none
|
|
136
|
+
Optional fields under data: system.purpose; system.boundary; system.owner; system.external; system.responsibilities
|
|
137
|
+
|
|
138
|
+
## Node type: goal
|
|
139
|
+
|
|
140
|
+
Section ID: `schema.node-types.goal` (node_type)
|
|
141
|
+
|
|
142
|
+
A desired outcome that one or more actors care about within a system.
|
|
143
|
+
|
|
144
|
+
Allowed parent types: system (or none, at the top level)
|
|
145
|
+
Required fields under data: none
|
|
146
|
+
Optional fields under data: goal.outcome; goal.success_metrics; goal.priority
|
|
147
|
+
Optional values: goal.priority (one of: low, medium, high, critical)
|
|
148
|
+
|
|
149
|
+
## Node type: story
|
|
150
|
+
|
|
151
|
+
Section ID: `schema.node-types.story` (node_type)
|
|
152
|
+
|
|
153
|
+
A user story that decomposes product intent into a concrete flow of steps.
|
|
154
|
+
|
|
155
|
+
Allowed parent types: feature (or none, at the top level)
|
|
156
|
+
Required fields under data: none
|
|
157
|
+
Optional fields under data: story.narrative; story.actor_ref; story.goal_ref; story.priority; story.journey_entry
|
|
158
|
+
Optional values: story.priority (one of: low, medium, high, critical)
|
|
159
|
+
|
|
160
|
+
## Node type: start
|
|
161
|
+
|
|
162
|
+
Section ID: `schema.node-types.start` (node_type)
|
|
163
|
+
|
|
164
|
+
The single entry point of a story flow.
|
|
165
|
+
|
|
166
|
+
Allowed parent types: story (or none, at the top level)
|
|
167
|
+
Required fields under data: none
|
|
168
|
+
Optional fields under data: start.trigger; start.preconditions
|
|
169
|
+
|
|
170
|
+
## Node type: process
|
|
171
|
+
|
|
172
|
+
Section ID: `schema.node-types.process` (node_type)
|
|
173
|
+
|
|
174
|
+
An operational step or activity within a story flow. It may say who performs it: an actor or a slot, and whether the step is automated, done by an agent, or done by a person.
|
|
175
|
+
|
|
176
|
+
Allowed parent types: story (or none, at the top level)
|
|
177
|
+
Required fields under data: none
|
|
178
|
+
Optional fields under data: process.action; process.owner; process.expected_result; process.performed_by
|
|
179
|
+
|
|
180
|
+
## Node type: decision
|
|
181
|
+
|
|
182
|
+
Section ID: `schema.node-types.decision` (node_type)
|
|
183
|
+
|
|
184
|
+
A conditional branch point whose paths must rejoin or terminate. It may say who decides it: an actor or a slot, and whether the decision is automated, made by an agent, or made by a person.
|
|
185
|
+
|
|
186
|
+
Allowed parent types: story (or none, at the top level)
|
|
187
|
+
Required fields under data: none
|
|
188
|
+
Optional fields under data: decision.question; decision.conditions; decision.default_branch; decision.decided_by
|
|
189
|
+
|
|
190
|
+
## Node type: end
|
|
191
|
+
|
|
192
|
+
Section ID: `schema.node-types.end` (node_type)
|
|
193
|
+
|
|
194
|
+
A terminal outcome for a story path.
|
|
195
|
+
|
|
196
|
+
Allowed parent types: story (or none, at the top level)
|
|
197
|
+
Required fields under data: none
|
|
198
|
+
Optional fields under data: end.outcome; end.postconditions; end.success
|
|
199
|
+
|
|
200
|
+
## Node type: context
|
|
201
|
+
|
|
202
|
+
Section ID: `schema.node-types.context` (node_type)
|
|
203
|
+
|
|
204
|
+
A top-level architecture boundary that organizes major structural subsystems.
|
|
205
|
+
|
|
206
|
+
Allowed parent types: none; it sits at the top level
|
|
207
|
+
Required fields under data: none
|
|
208
|
+
Optional fields under data: context.purpose; context.boundary; context.environment; context.responsibilities
|
|
209
|
+
Optional values: context.environment (one of: product, platform, external, development, test, production)
|
|
210
|
+
|
|
211
|
+
## Node type: container
|
|
212
|
+
|
|
213
|
+
Section ID: `schema.node-types.container` (node_type)
|
|
214
|
+
|
|
215
|
+
A deployable C4 unit such as an application, service, UI, or datastore.
|
|
216
|
+
|
|
217
|
+
Allowed parent types: context (or none, at the top level)
|
|
218
|
+
Required fields under data: none
|
|
219
|
+
Optional fields under data: container.technology; container.runtime; container.deployment_unit; container.responsibilities
|
|
220
|
+
|
|
221
|
+
## Node type: workload
|
|
222
|
+
|
|
223
|
+
Section ID: `schema.node-types.workload` (node_type)
|
|
224
|
+
|
|
225
|
+
A runtime execution unit such as a process, function, or orchestrated container.
|
|
226
|
+
|
|
227
|
+
Allowed parent types: context (or none, at the top level)
|
|
228
|
+
Required fields under data: none
|
|
229
|
+
|
|
230
|
+
## Node type: database
|
|
231
|
+
|
|
232
|
+
Section ID: `schema.node-types.database` (node_type)
|
|
233
|
+
|
|
234
|
+
A logical datastore boundary that groups related tables or collections; database.type is its engine: postgresql, mysql, mongodb, neo4j, influxdb, dynamodb, elasticsearch, or other.
|
|
235
|
+
|
|
236
|
+
Allowed parent types: context (or none, at the top level)
|
|
237
|
+
Required fields under data: database.type (one of: postgresql, mysql, mongodb, neo4j, influxdb, dynamodb, elasticsearch, other)
|
|
238
|
+
The data.database block is optional; a node that carries it gives every field above.
|
|
239
|
+
Minimal valid data: {"label":"Orders database","database":{"type":"postgresql"}}
|
|
240
|
+
|
|
241
|
+
## Node type: object_store
|
|
242
|
+
|
|
243
|
+
Section ID: `schema.node-types.object_store` (node_type)
|
|
244
|
+
|
|
245
|
+
A logical storage boundary for files, media, backups, or blob objects.
|
|
246
|
+
|
|
247
|
+
Allowed parent types: context (or none, at the top level)
|
|
248
|
+
Required fields under data: none
|
|
249
|
+
Optional fields under data: object_store.provider
|
|
250
|
+
Optional values: object_store.provider (one of: aws_s3, gcs, azure_blob, supabase_storage, other)
|
|
251
|
+
|
|
252
|
+
## Node type: message_broker
|
|
253
|
+
|
|
254
|
+
Section ID: `schema.node-types.message_broker` (node_type)
|
|
255
|
+
|
|
256
|
+
A logical asynchronous messaging boundary that owns topics and queues.
|
|
257
|
+
|
|
258
|
+
Allowed parent types: context (or none, at the top level)
|
|
259
|
+
Required fields under data: none
|
|
260
|
+
Optional fields under data: message_broker.provider
|
|
261
|
+
Optional values: message_broker.provider (one of: kafka, rabbitmq, sns_sqs, pubsub, nats, other)
|
|
262
|
+
|
|
263
|
+
## Node type: cache
|
|
264
|
+
|
|
265
|
+
Section ID: `schema.node-types.cache` (node_type)
|
|
266
|
+
|
|
267
|
+
A logical cache boundary for transient, derived, or edge-cached data.
|
|
268
|
+
|
|
269
|
+
Allowed parent types: context (or none, at the top level)
|
|
270
|
+
Required fields under data: none
|
|
271
|
+
Optional fields under data: cache.provider; cache.ttl_seconds
|
|
272
|
+
Optional values: cache.provider (one of: redis, memcached, cloudflare_cache, browser, other)
|
|
273
|
+
|
|
274
|
+
## Node type: website
|
|
275
|
+
|
|
276
|
+
Section ID: `schema.node-types.website` (node_type)
|
|
277
|
+
|
|
278
|
+
A public or internal web user-interface surface.
|
|
279
|
+
|
|
280
|
+
Allowed parent types: context (or none, at the top level)
|
|
281
|
+
Required fields under data: none
|
|
282
|
+
Optional fields under data: website.domain; website.path; website.framework; website.route_prefix; website.theme
|
|
283
|
+
|
|
284
|
+
## Node type: app
|
|
285
|
+
|
|
286
|
+
Section ID: `schema.node-types.app` (node_type)
|
|
287
|
+
|
|
288
|
+
An installed mobile or desktop client that is not served as a website, with its platform, framework, and distribution.
|
|
289
|
+
|
|
290
|
+
Allowed parent types: context (or none, at the top level)
|
|
291
|
+
Required fields under data: app.platform (one of: ios, android, cross_platform_mobile, desktop)
|
|
292
|
+
Every app node needs its data.app block.
|
|
293
|
+
Optional fields under data: app.framework; app.distribution; app.theme
|
|
294
|
+
Optional values: app.distribution (one of: app_store, play_store, installer, package_manager, internal, other)
|
|
295
|
+
Minimal valid data: {"label":"Orders mobile app","app":{"platform":"ios"}}
|
|
296
|
+
|
|
297
|
+
## Node type: library
|
|
298
|
+
|
|
299
|
+
Section ID: `schema.node-types.library` (node_type)
|
|
300
|
+
|
|
301
|
+
A reusable code package other code depends on and that is not deployed on its own, first-party or from a registry in any ecosystem, with its optional package name, ecosystem, version, and license. A library, component or function that calls a container whose operations are not modeled uses that container; once they are, it uses each operation instead.
|
|
302
|
+
|
|
303
|
+
Allowed parent types: context (or none, at the top level)
|
|
304
|
+
Required fields under data: none
|
|
305
|
+
Optional fields under data: library.package_name; library.ecosystem; library.version; library.license
|
|
306
|
+
|
|
307
|
+
## Node type: api_gateway
|
|
308
|
+
|
|
309
|
+
Section ID: `schema.node-types.api_gateway` (node_type)
|
|
310
|
+
|
|
311
|
+
An API ingress boundary in front of downstream services or containers.
|
|
312
|
+
|
|
313
|
+
Allowed parent types: context (or none, at the top level)
|
|
314
|
+
Required fields under data: none
|
|
315
|
+
Optional fields under data: api_gateway.name; api_gateway.openapi; api_gateway.openapi_hash; api_gateway.endpoints
|
|
316
|
+
|
|
317
|
+
## Node type: table
|
|
318
|
+
|
|
319
|
+
Section ID: `schema.node-types.table` (node_type)
|
|
320
|
+
|
|
321
|
+
A relational table inside a logical database boundary.
|
|
322
|
+
|
|
323
|
+
Allowed parent types: database (or none, at the top level)
|
|
324
|
+
Required fields under data: table.definition
|
|
325
|
+
The data.table block is optional; a node that carries it gives every field above.
|
|
326
|
+
Optional fields under data: table.rls_enabled; table.rls_policies
|
|
327
|
+
Minimal valid data: {"label":"orders","table":{"definition":{"type":"create","keyword":"table","table":[{"db":"","table":"orders"}],"create_definitions":[{"id":"orders_id","column":{"type":"column_ref","table":null,"column":"id"},"definition":{"dataType":"uuid"},"resource":"column"}]}}}
|
|
328
|
+
|
|
329
|
+
## Node type: collection
|
|
330
|
+
|
|
331
|
+
Section ID: `schema.node-types.collection` (node_type)
|
|
332
|
+
|
|
333
|
+
A NoSQL document or key-value collection inside a database boundary.
|
|
334
|
+
|
|
335
|
+
Allowed parent types: database (or none, at the top level)
|
|
336
|
+
Required fields under data: none
|
|
337
|
+
Optional fields under data: collection.name; collection.document_schema_ref
|
|
338
|
+
|
|
339
|
+
## Node type: bucket
|
|
340
|
+
|
|
341
|
+
Section ID: `schema.node-types.bucket` (node_type)
|
|
342
|
+
|
|
343
|
+
An addressable object-store container that holds files or blob objects.
|
|
344
|
+
|
|
345
|
+
Allowed parent types: object_store (or none, at the top level)
|
|
346
|
+
Required fields under data: none
|
|
347
|
+
Optional fields under data: bucket.name; bucket.versioned
|
|
348
|
+
|
|
349
|
+
## Node type: topic
|
|
350
|
+
|
|
351
|
+
Section ID: `schema.node-types.topic` (node_type)
|
|
352
|
+
|
|
353
|
+
A publish/subscribe topic, stream, or event channel.
|
|
354
|
+
|
|
355
|
+
Allowed parent types: message_broker (or none, at the top level)
|
|
356
|
+
Required fields under data: none
|
|
357
|
+
Optional fields under data: topic.name; topic.ordering
|
|
358
|
+
|
|
359
|
+
## Node type: queue
|
|
360
|
+
|
|
361
|
+
Section ID: `schema.node-types.queue` (node_type)
|
|
362
|
+
|
|
363
|
+
A point-to-point queue or dead-letter queue for asynchronous work.
|
|
364
|
+
|
|
365
|
+
Allowed parent types: message_broker (or none, at the top level)
|
|
366
|
+
Required fields under data: none
|
|
367
|
+
Optional fields under data: queue.name; queue.fifo; queue.dead_letter
|
|
368
|
+
|
|
369
|
+
## Node type: component
|
|
370
|
+
|
|
371
|
+
Section ID: `schema.node-types.component` (node_type)
|
|
372
|
+
|
|
373
|
+
An internal code or module boundary inside a container, website, app, page, library, or another component.
|
|
374
|
+
|
|
375
|
+
Allowed parent types: container, page, library, website, app, component (or none, at the top level)
|
|
376
|
+
Required fields under data: none
|
|
377
|
+
Optional fields under data: component.technology; component.module_path; component.responsibilities
|
|
378
|
+
|
|
379
|
+
## Node type: page
|
|
380
|
+
|
|
381
|
+
Section ID: `schema.node-types.page` (node_type)
|
|
382
|
+
|
|
383
|
+
An individual screen or view within a website or an app.
|
|
384
|
+
|
|
385
|
+
Allowed parent types: website, app (or none, at the top level)
|
|
386
|
+
Required fields under data: none
|
|
387
|
+
Optional fields under data: page.route_path; page.route_pattern; page.title; page.auth_required; page.states; page.anchors
|
|
388
|
+
|
|
389
|
+
## Node type: ui_component_definition
|
|
390
|
+
|
|
391
|
+
Section ID: `schema.node-types.ui_component_definition` (node_type)
|
|
392
|
+
|
|
393
|
+
A reusable visual component, layout, or page-template definition without executable behavior.
|
|
394
|
+
|
|
395
|
+
Allowed parent types: container, website, app, library (or none, at the top level)
|
|
396
|
+
Required fields under data: ui_component_definition.name; ui_component_definition.role (one of: component, layout, page_template); ui_component_definition.dialect_id (one of: react-mui-web, html-web, terminal-text, swiftui, jetpack-compose, flutter, react-native); ui_component_definition.props_schema; ui_component_definition.slot_definitions; ui_component_definition.variant_sets; ui_component_definition.root_instance_tree
|
|
397
|
+
Every ui_component_definition node needs its data.ui_component_definition block.
|
|
398
|
+
Optional fields under data: ui_component_definition.local_state_definitions; ui_component_definition.source_asset; ui_component_definition.fork_of; ui_component_definition.component_upgrade_policy; ui_component_definition.authored_tree_changes; ui_component_definition.prop_definitions; ui_component_definition.recipe_definitions; ui_component_definition.exposed_prop_definitions; ui_component_definition.interaction_bindings; ui_component_definition.data_bindings; ui_component_definition.dependency_approvals; ui_component_definition.summary; ui_component_definition.documentation
|
|
399
|
+
Optional values: ui_component_definition.component_upgrade_policy (one of: manual, auto)
|
|
400
|
+
Minimal valid data: {"label":"Order card","ui_component_definition":{"name":"Order card","role":"component","dialect_id":"react-mui-web","props_schema":[],"slot_definitions":[],"variant_sets":[],"root_instance_tree":{"id":"root","source_primitive_id":"core.stack","props":{},"variant_selection":{},"children":[{"id":"text_1","source_primitive_id":"core.text","props":{"content":"Order 1042"},"variant_selection":{},"children":[],"slot_assignments":[]},{"id":"text_2","source_primitive_id":"core.text","props":{"content":"Shipped"},"variant_selection":{},"children":[],"slot_assignments":[]},{"id":"text_3","source_primitive_id":"core.text","props":{"content":"$42.00"},"variant_selection":{},"children":[],"slot_assignments":[]}],"slot_assignments":[]}}}
|
|
401
|
+
|
|
402
|
+
## Node type: ui_frame
|
|
403
|
+
|
|
404
|
+
Section ID: `schema.node-types.ui_frame` (node_type)
|
|
405
|
+
|
|
406
|
+
A designed screen, state, or flow-step artifact shown to users.
|
|
407
|
+
|
|
408
|
+
Allowed parent types: page, website, app (or none, at the top level)
|
|
409
|
+
Required fields under data: ui_frame.name; ui_frame.role (one of: screen, page_state, component_state, flow_step); ui_frame.dialect_id (one of: react-mui-web, html-web, terminal-text, swiftui, jetpack-compose, flutter, react-native); ui_frame.root_instance_tree
|
|
410
|
+
Every ui_frame node needs its data.ui_frame block.
|
|
411
|
+
Optional fields under data: ui_frame.local_state_definitions; ui_frame.default_render_size; ui_frame.source_asset; ui_frame.fork_of; ui_frame.component_upgrade_policy; ui_frame.authored_tree_changes; ui_frame.variant_selection; ui_frame.interaction_bindings; ui_frame.data_bindings; ui_frame.dependency_approvals; ui_frame.summary; ui_frame.documentation
|
|
412
|
+
Optional values: ui_frame.component_upgrade_policy (one of: manual, auto)
|
|
413
|
+
Minimal valid data: {"label":"Orders list","ui_frame":{"name":"Orders list","role":"screen","dialect_id":"react-mui-web","root_instance_tree":{"id":"root","source_primitive_id":"core.stack","props":{},"variant_selection":{},"children":[{"id":"text_1","source_primitive_id":"core.text","props":{"content":"Orders"},"variant_selection":{},"children":[],"slot_assignments":[]},{"id":"text_2","source_primitive_id":"core.text","props":{"content":"Order 1042: shipped"},"variant_selection":{},"children":[],"slot_assignments":[]},{"id":"text_3","source_primitive_id":"core.text","props":{"content":"Order 1043: packing"},"variant_selection":{},"children":[],"slot_assignments":[]},{"id":"text_4","source_primitive_id":"core.text","props":{"content":"Order 1044: paid"},"variant_selection":{},"children":[],"slot_assignments":[]},{"id":"text_5","source_primitive_id":"core.text","props":{"content":"Showing 3 of 3 orders"},"variant_selection":{},"children":[],"slot_assignments":[]}],"slot_assignments":[]}}}
|
|
414
|
+
|
|
415
|
+
## Node type: function
|
|
416
|
+
|
|
417
|
+
Section ID: `schema.node-types.function` (node_type)
|
|
418
|
+
|
|
419
|
+
A callable unit of behavior with typed input, output, and error signatures. function.signatures is required but may be an empty list ([]) when the signatures are not known; a function uses the http_operation, rpc_operation or async_operation it calls.
|
|
420
|
+
|
|
421
|
+
Allowed parent types: container, workload, website, app, library, database, api_gateway, page, component, ui_component_definition, ui_frame, http_operation, async_operation, rpc_operation, job (or none, at the top level)
|
|
422
|
+
Required fields under data: function.name; function.signatures
|
|
423
|
+
The data.function block is optional; a node that carries it gives every field above.
|
|
424
|
+
Optional fields under data: function.summary; function.async; function.start_code_node_id
|
|
425
|
+
Minimal valid data: {"label":"createOrder","function":{"name":"createOrder","signatures":[{"id":"default","input_schema":{"type":"object","properties":{"customer_id":{"type":"string"}},"required":["customer_id"]},"output_schema":{"type":"object"}}]}}
|
|
426
|
+
|
|
427
|
+
## Node type: http_operation
|
|
428
|
+
|
|
429
|
+
Section ID: `schema.node-types.http_operation` (node_type)
|
|
430
|
+
|
|
431
|
+
An HTTP operation contract identified by method, path, and operation semantics; the method any is a catch-all route that takes every method, such as API Gateway ANY.
|
|
432
|
+
|
|
433
|
+
Allowed parent types: api_gateway, website, app, container, workload, page, ui_component_definition, ui_frame, component (or none, at the top level)
|
|
434
|
+
Required fields under data: http_operation.name
|
|
435
|
+
The data.http_operation block is optional; a node that carries it gives every field above.
|
|
436
|
+
Optional fields under data: http_operation.operation_id; http_operation.openapi_operation; http_operation.openapi_doc_ref; http_operation.method; http_operation.path; http_operation.summary; http_operation.description; http_operation.examples
|
|
437
|
+
Optional values: http_operation.method (one of: get, post, put, patch, delete, options, head, any)
|
|
438
|
+
Minimal valid data: {"label":"POST /orders","http_operation":{"name":"Create order","method":"post"}}
|
|
439
|
+
|
|
440
|
+
## Node type: async_operation
|
|
441
|
+
|
|
442
|
+
Section ID: `schema.node-types.async_operation` (node_type)
|
|
443
|
+
|
|
444
|
+
An asynchronous operation contract identified by action and messaging semantics.
|
|
445
|
+
|
|
446
|
+
Allowed parent types: workload, container, api_gateway, website, app, page, ui_component_definition, ui_frame, component (or none, at the top level)
|
|
447
|
+
Required fields under data: async_operation.name
|
|
448
|
+
The data.async_operation block is optional; a node that carries it gives every field above.
|
|
449
|
+
Optional fields under data: async_operation.operation_id; async_operation.asyncapi_operation; async_operation.asyncapi_doc_ref; async_operation.action; async_operation.summary; async_operation.description; async_operation.examples
|
|
450
|
+
Optional values: async_operation.action (one of: send, receive)
|
|
451
|
+
Minimal valid data: {"label":"Consume order update","async_operation":{"name":"Consume order update","action":"receive"}}
|
|
452
|
+
|
|
453
|
+
## Node type: rpc_operation
|
|
454
|
+
|
|
455
|
+
Section ID: `schema.node-types.rpc_operation` (node_type)
|
|
456
|
+
|
|
457
|
+
A non-REST operation contract (gRPC method, GraphQL root field, tRPC procedure, JSON-RPC method, SOAP operation, or Thrift method) identified by protocol, service, and name.
|
|
458
|
+
|
|
459
|
+
Allowed parent types: api_gateway, website, app, container, workload, page, ui_component_definition, ui_frame, component (or none, at the top level)
|
|
460
|
+
Required fields under data: rpc_operation.name; rpc_operation.protocol (one of: grpc, graphql, trpc, jsonrpc, soap, thrift)
|
|
461
|
+
The data.rpc_operation block is optional; a node that carries it gives every field above.
|
|
462
|
+
Optional fields under data: rpc_operation.service; rpc_operation.kind; rpc_operation.contract_ref; rpc_operation.summary; rpc_operation.description; rpc_operation.examples
|
|
463
|
+
Optional values: rpc_operation.kind (one of: unary, server_stream, client_stream, bidi_stream, query, mutation, subscription, request)
|
|
464
|
+
Minimal valid data: {"label":"GetOrder","rpc_operation":{"name":"GetOrder","protocol":"grpc"}}
|
|
465
|
+
|
|
466
|
+
## Node type: job
|
|
467
|
+
|
|
468
|
+
Section ID: `schema.node-types.job` (node_type)
|
|
469
|
+
|
|
470
|
+
Background work started by a schedule, an operator, or a workflow, with its trigger, engine, retry, timeout, and concurrency rules.
|
|
471
|
+
|
|
472
|
+
Allowed parent types: container, workload, job (a parent is required)
|
|
473
|
+
Required fields under data: job.trigger.kind: schedule (with cron), manual, workflow, step
|
|
474
|
+
Every job node needs its data.job block.
|
|
475
|
+
Optional fields under data: job.engine; job.retry; job.timeout_seconds; job.concurrency; job.idempotent; job.summary; job.description
|
|
476
|
+
Optional values: job.engine (one of: cron, celery, sidekiq, hangfire, quartz, spring, kubernetes_cronjob, vercel_cron, pg_cron, temporal, airflow, step_functions, dagster, github_actions, other); job.concurrency (one of: allow, forbid, replace)
|
|
477
|
+
Minimal valid data: {"label":"Nightly order export","job":{"trigger":{"kind":"schedule","cron":"0 3 * * *","timezone":"UTC"}}}
|
|
478
|
+
|
|
479
|
+
## Node type: schema
|
|
480
|
+
|
|
481
|
+
Section ID: `schema.node-types.schema` (node_type)
|
|
482
|
+
|
|
483
|
+
A reusable structured data contract referenced by functions, operations, or other schemas.
|
|
484
|
+
|
|
485
|
+
Allowed parent types: schema, database, container, api_gateway, http_operation, rpc_operation, function, library (or none, at the top level)
|
|
486
|
+
Required fields under data: schema.name; schema.schema
|
|
487
|
+
The data.schema block is optional; a node that carries it gives every field above.
|
|
488
|
+
Optional fields under data: schema.summary; schema.description
|
|
489
|
+
Minimal valid data: {"label":"Order","schema":{"name":"Order","schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}}}
|
|
490
|
+
|
|
491
|
+
## Node type: code
|
|
492
|
+
|
|
493
|
+
Section ID: `schema.node-types.code` (node_type)
|
|
494
|
+
|
|
495
|
+
A concrete source artifact such as a file, module, or snippet linked to a modeled concept.
|
|
496
|
+
|
|
497
|
+
Allowed parent types: function, container, database, table, schema, component, page, http_operation, async_operation, rpc_operation, job, ui_component_definition, ui_frame, library (or none, at the top level)
|
|
498
|
+
Required fields under data: none
|
|
499
|
+
Optional fields under data: code.path; code.symbol; code.language; code.artifact_kind; code.start_line; code.end_line
|
|
500
|
+
Optional values: code.artifact_kind (one of: file, module, function, class, test, config, migration, script, snippet)
|
|
501
|
+
|
|
502
|
+
## Node type: team
|
|
503
|
+
|
|
504
|
+
Section ID: `schema.node-types.team` (node_type)
|
|
505
|
+
|
|
506
|
+
A group of members that owns work, at the root or under its parent team, with a key unique among teams.
|
|
507
|
+
|
|
508
|
+
Allowed parent types: team (or none, at the top level)
|
|
509
|
+
Required fields under data: label; team.key
|
|
510
|
+
Every team node needs its label and its data.team block.
|
|
511
|
+
Minimal valid data: {"label":"Platform","team":{"key":"platform"}}
|
|
512
|
+
|
|
513
|
+
## Node type: job_function
|
|
514
|
+
|
|
515
|
+
Section ID: `schema.node-types.job_function` (node_type)
|
|
516
|
+
|
|
517
|
+
A kind of work a member of the organization does, such as Engineering Manager or Reviewer, at the root or under its parent job_function, with a key.
|
|
518
|
+
|
|
519
|
+
Allowed parent types: job_function (or none, at the top level)
|
|
520
|
+
Required fields under data: label; job_function.key
|
|
521
|
+
Every job_function node needs its label and its data.job_function block.
|
|
522
|
+
Optional fields under data: job_function.requires_person; job_function.escalable
|
|
523
|
+
Minimal valid data: {"label":"Engineer","job_function":{"key":"engineer"}}
|
|
524
|
+
|
|
525
|
+
## Node type: post
|
|
526
|
+
|
|
527
|
+
Section ID: `schema.node-types.post` (node_type)
|
|
528
|
+
|
|
529
|
+
One job_function staffed in one team: it sits under the team and instantiates exactly one job_function.
|
|
530
|
+
|
|
531
|
+
Allowed parent types: team (a parent is required)
|
|
532
|
+
Required fields under data: label
|
|
533
|
+
Every post node needs its label.
|
|
534
|
+
Minimal valid data: {"label":"Platform engineer"}
|
|
535
|
+
|
|
536
|
+
## Node type: access_role
|
|
537
|
+
|
|
538
|
+
Section ID: `schema.node-types.access_role` (node_type)
|
|
539
|
+
|
|
540
|
+
A named set of actions, such as graph.edit, that grants from a job_function or an access_policy confer.
|
|
541
|
+
|
|
542
|
+
Allowed parent types: none; it sits at the top level
|
|
543
|
+
Required fields under data: label; access_role.key; access_role.actions
|
|
544
|
+
Every access_role node needs its label and its data.access_role block.
|
|
545
|
+
Minimal valid data: {"label":"Graph editor","access_role":{"key":"graph_editor","actions":["graph.edit"]}}
|
|
546
|
+
|
|
547
|
+
## Node type: access_policy
|
|
548
|
+
|
|
549
|
+
Section ID: `schema.node-types.access_policy` (node_type)
|
|
550
|
+
|
|
551
|
+
An attribute rule that allows or denies one access role to the members and resources it matches, with a reason.
|
|
552
|
+
|
|
553
|
+
Allowed parent types: none; it sits at the top level
|
|
554
|
+
Required fields under data: label; access_policy.effect (one of: allow, deny); access_policy.subject_match; access_policy.resource_match; access_policy.reason
|
|
555
|
+
Every access_policy node needs its label and its data.access_policy block.
|
|
556
|
+
Minimal valid data: {"label":"Engineers edit the graph","access_policy":{"effect":"allow","subject_match":{"job_function_keys":["engineer"]},"resource_match":{},"reason":"Engineers maintain the graph."}}
|
|
557
|
+
|
|
558
|
+
## Node type: slot
|
|
559
|
+
|
|
560
|
+
Section ID: `schema.node-types.slot` (node_type)
|
|
561
|
+
|
|
562
|
+
A named part a workflow step needs someone to play, such as reviewer or approver, which job functions fill.
|
|
563
|
+
|
|
564
|
+
Allowed parent types: none; it sits at the top level
|
|
565
|
+
Required fields under data: label; slot.key
|
|
566
|
+
Every slot node needs its label and its data.slot block.
|
|
567
|
+
Minimal valid data: {"label":"Primary on-call","slot":{"key":"primary_on_call"}}
|
|
568
|
+
|
|
569
|
+
## Node type: environment
|
|
570
|
+
|
|
571
|
+
Section ID: `schema.node-types.environment` (node_type)
|
|
572
|
+
|
|
573
|
+
A place the work runs, such as local, staging, or production, with its kind and promotion order.
|
|
574
|
+
|
|
575
|
+
Allowed parent types: none; it sits at the top level
|
|
576
|
+
Required fields under data: label; environment.key; environment.kind (one of: local, development, preview, test, staging, production, other)
|
|
577
|
+
Every environment node needs its label and its data.environment block.
|
|
578
|
+
Optional fields under data: environment.ref; environment.order
|
|
579
|
+
Minimal valid data: {"label":"Staging","environment":{"key":"staging","kind":"staging"}}
|
|
580
|
+
|
|
581
|
+
## All relationship types
|
|
582
|
+
|
|
583
|
+
Section ID: `schema.relationship-types` (relationship_type)
|
|
584
|
+
|
|
585
|
+
interacts: The source directly interacts with the target as part of user or external-system behavior.
|
|
586
|
+
pursues: An actor seeks or is responsible for achieving a goal.
|
|
587
|
+
collaborates: Actors work together while retaining distinct identities and responsibilities.
|
|
588
|
+
depends_on: The source requires the target to fulfill its responsibility or remain valid.
|
|
589
|
+
uses: The source consumes the target capability without claiming ownership or equivalence.
|
|
590
|
+
integrates_with: Peer boundaries coordinate through an intentional external or subsystem integration.
|
|
591
|
+
precedes: The source occurs before the target in an ordered flow.
|
|
592
|
+
branches_to: A decision source conditionally continues to the target branch.
|
|
593
|
+
calls: The source initiates a callable function or operation.
|
|
594
|
+
renders: The source produces or composes the target visual surface.
|
|
595
|
+
reads_from: The source retrieves state or content from the target data resource.
|
|
596
|
+
writes_to: The source persists or transmits state to the target data resource.
|
|
597
|
+
executes: The source runs or dispatches the target behavior or runtime unit.
|
|
598
|
+
implements: The pair connects intent or structure with a concrete realization; valid direction depends on the curated node-type pairing.
|
|
599
|
+
publishes: The source emits messages or events to the target topic or queue.
|
|
600
|
+
foreign_keys_to: A relational table contains a foreign-key reference to the target table.
|
|
601
|
+
schema_ref: The source uses the target schema as a structured data contract.
|
|
602
|
+
imports: The source has a build-time dependency on the target reusable artifact.
|
|
603
|
+
journey_continuation: After the source story's outcome (an end node), the actor continues with a different story (its start node); journeys are named by a story's journey_entry label.
|
|
604
|
+
available_on: The source story must be doable on the target surface (a website, app, plugin or CLI component, API gateway, or a page or operation for part of one); order says the order surfaces are built in, and deferred marks a surface required later. It says required, not built: implements says built.
|
|
605
|
+
instantiates: A post staffs the target job_function in its team; a post has exactly one.
|
|
606
|
+
fills: Holders of the source job_function perform the target workflow slot.
|
|
607
|
+
grants: The source job_function or access_policy confers the target access_role. A grant from a job_function names its scope (team, team_subtree, org, or none); an access_policy has exactly one grant, with no scope.
|
|
608
|
+
|
|
609
|
+
## Relationship type: interacts
|
|
610
|
+
|
|
611
|
+
Section ID: `schema.relationship-types.interacts` (relationship_type)
|
|
612
|
+
|
|
613
|
+
The source directly interacts with the target as part of user or external-system behavior.
|
|
614
|
+
|
|
615
|
+
Allowed node pairs (source -> targets):
|
|
616
|
+
- actor -> system, story, start, container, website, app, api_gateway, page
|
|
617
|
+
|
|
618
|
+
## Relationship type: pursues
|
|
619
|
+
|
|
620
|
+
Section ID: `schema.relationship-types.pursues` (relationship_type)
|
|
621
|
+
|
|
622
|
+
An actor seeks or is responsible for achieving a goal.
|
|
623
|
+
|
|
624
|
+
Allowed node pairs (source -> targets):
|
|
625
|
+
- actor -> goal
|
|
626
|
+
|
|
627
|
+
## Relationship type: collaborates
|
|
628
|
+
|
|
629
|
+
Section ID: `schema.relationship-types.collaborates` (relationship_type)
|
|
630
|
+
|
|
631
|
+
Actors work together while retaining distinct identities and responsibilities.
|
|
632
|
+
|
|
633
|
+
Allowed node pairs (source -> targets):
|
|
634
|
+
- actor -> actor
|
|
635
|
+
|
|
636
|
+
## Relationship type: depends_on
|
|
637
|
+
|
|
638
|
+
Section ID: `schema.relationship-types.depends_on` (relationship_type)
|
|
639
|
+
|
|
640
|
+
The source requires the target to fulfill its responsibility or remain valid.
|
|
641
|
+
|
|
642
|
+
Allowed node pairs (source -> targets):
|
|
643
|
+
- system -> system
|
|
644
|
+
- goal -> system, goal, story, start
|
|
645
|
+
- story -> system, story
|
|
646
|
+
- context -> context, container, workload, database, object_store, message_broker, cache, website, app, library, api_gateway
|
|
647
|
+
- container -> container, workload, database, object_store, message_broker, cache, website, app, library, api_gateway
|
|
648
|
+
- workload -> container, workload, database, object_store, message_broker, cache, library, api_gateway
|
|
649
|
+
- database -> database
|
|
650
|
+
- object_store -> object_store
|
|
651
|
+
- message_broker -> message_broker
|
|
652
|
+
- cache -> cache
|
|
653
|
+
- website -> container, workload, website, library, api_gateway
|
|
654
|
+
- app -> system, workload, website, app, library, api_gateway
|
|
655
|
+
- library -> library
|
|
656
|
+
- api_gateway -> container, workload, database, object_store, message_broker, cache, library, api_gateway
|
|
657
|
+
- table -> table, function
|
|
658
|
+
- collection -> collection, function
|
|
659
|
+
- bucket -> bucket, function
|
|
660
|
+
- topic -> topic, function
|
|
661
|
+
- queue -> queue, function
|
|
662
|
+
- component -> library, api_gateway, component, ui_component_definition
|
|
663
|
+
- page -> api_gateway, page
|
|
664
|
+
- ui_component_definition -> ui_component_definition, component
|
|
665
|
+
- ui_frame -> database, api_gateway, ui_frame
|
|
666
|
+
- function -> system, database, object_store, message_broker, cache, library, function
|
|
667
|
+
- http_operation -> workload, database, object_store, cache, api_gateway, http_operation
|
|
668
|
+
- async_operation -> workload, database, object_store, message_broker, cache, async_operation
|
|
669
|
+
- rpc_operation -> workload, database, object_store, cache, api_gateway, http_operation, rpc_operation
|
|
670
|
+
- job -> job
|
|
671
|
+
- schema -> table
|
|
672
|
+
- code -> database, object_store, message_broker, cache, code
|
|
673
|
+
|
|
674
|
+
## Relationship type: uses
|
|
675
|
+
|
|
676
|
+
Section ID: `schema.relationship-types.uses` (relationship_type)
|
|
677
|
+
|
|
678
|
+
The source consumes the target capability without claiming ownership or equivalence.
|
|
679
|
+
|
|
680
|
+
Allowed node pairs (source -> targets):
|
|
681
|
+
- container -> message_broker, api_gateway
|
|
682
|
+
- workload -> container, message_broker, api_gateway
|
|
683
|
+
- website -> container, api_gateway
|
|
684
|
+
- app -> api_gateway
|
|
685
|
+
- api_gateway -> container, message_broker
|
|
686
|
+
- component -> api_gateway, bucket, topic, queue, component, function, http_operation, async_operation, rpc_operation, container, ui_component_definition
|
|
687
|
+
- page -> api_gateway, component, function, http_operation, async_operation, rpc_operation
|
|
688
|
+
- ui_component_definition -> ui_component_definition, function, http_operation, async_operation, rpc_operation, component
|
|
689
|
+
- ui_frame -> api_gateway, ui_component_definition, function, http_operation, async_operation, rpc_operation
|
|
690
|
+
- function -> system, message_broker, topic, queue, component, function, http_operation, async_operation, rpc_operation, container
|
|
691
|
+
- http_operation -> api_gateway, function
|
|
692
|
+
- async_operation -> workload, message_broker, topic, queue, function
|
|
693
|
+
- rpc_operation -> api_gateway, function
|
|
694
|
+
- code -> message_broker, topic, queue, code
|
|
695
|
+
- library -> container
|
|
696
|
+
|
|
697
|
+
## Relationship type: integrates_with
|
|
698
|
+
|
|
699
|
+
Section ID: `schema.relationship-types.integrates_with` (relationship_type)
|
|
700
|
+
|
|
701
|
+
Peer boundaries coordinate through an intentional external or subsystem integration.
|
|
702
|
+
|
|
703
|
+
Allowed node pairs (source -> targets):
|
|
704
|
+
- system -> system
|
|
705
|
+
- context -> context
|
|
706
|
+
- container -> container
|
|
707
|
+
- object_store -> object_store
|
|
708
|
+
- message_broker -> message_broker
|
|
709
|
+
- cache -> cache
|
|
710
|
+
- website -> website
|
|
711
|
+
- app -> website, app
|
|
712
|
+
- api_gateway -> api_gateway
|
|
713
|
+
- topic -> queue
|
|
714
|
+
- http_operation -> http_operation
|
|
715
|
+
- async_operation -> async_operation
|
|
716
|
+
- rpc_operation -> rpc_operation
|
|
717
|
+
|
|
718
|
+
## Relationship type: precedes
|
|
719
|
+
|
|
720
|
+
Section ID: `schema.relationship-types.precedes` (relationship_type)
|
|
721
|
+
|
|
722
|
+
The source occurs before the target in an ordered flow.
|
|
723
|
+
|
|
724
|
+
Allowed node pairs (source -> targets):
|
|
725
|
+
- start -> process, decision, end
|
|
726
|
+
- process -> process, decision, end
|
|
727
|
+
- page -> page
|
|
728
|
+
- ui_frame -> page, ui_frame
|
|
729
|
+
- job -> job
|
|
730
|
+
|
|
731
|
+
## Relationship type: branches_to
|
|
732
|
+
|
|
733
|
+
Section ID: `schema.relationship-types.branches_to` (relationship_type)
|
|
734
|
+
|
|
735
|
+
A decision source conditionally continues to the target branch.
|
|
736
|
+
|
|
737
|
+
Allowed node pairs (source -> targets):
|
|
738
|
+
- decision -> process, end
|
|
739
|
+
- job -> job
|
|
740
|
+
|
|
741
|
+
## Relationship type: calls
|
|
742
|
+
|
|
743
|
+
Section ID: `schema.relationship-types.calls` (relationship_type)
|
|
744
|
+
|
|
745
|
+
The source initiates a callable function or operation.
|
|
746
|
+
|
|
747
|
+
Allowed node pairs (source -> targets):
|
|
748
|
+
- ui_frame -> function, http_operation, async_operation, rpc_operation
|
|
749
|
+
- job -> http_operation, async_operation, rpc_operation
|
|
750
|
+
|
|
751
|
+
## Relationship type: renders
|
|
752
|
+
|
|
753
|
+
Section ID: `schema.relationship-types.renders` (relationship_type)
|
|
754
|
+
|
|
755
|
+
The source produces or composes the target visual surface.
|
|
756
|
+
|
|
757
|
+
Allowed node pairs (source -> targets):
|
|
758
|
+
- component -> component, page, ui_component_definition
|
|
759
|
+
- page -> component
|
|
760
|
+
- ui_component_definition -> ui_frame
|
|
761
|
+
|
|
762
|
+
## Relationship type: reads_from
|
|
763
|
+
|
|
764
|
+
Section ID: `schema.relationship-types.reads_from` (relationship_type)
|
|
765
|
+
|
|
766
|
+
The source retrieves state or content from the target data resource.
|
|
767
|
+
|
|
768
|
+
Allowed node pairs (source -> targets):
|
|
769
|
+
- container -> database, object_store, cache
|
|
770
|
+
- workload -> database, object_store, cache
|
|
771
|
+
- website -> database, object_store, cache
|
|
772
|
+
- app -> database, object_store, cache
|
|
773
|
+
- api_gateway -> database, object_store, cache
|
|
774
|
+
- component -> cache, table, collection, bucket, queue
|
|
775
|
+
- ui_frame -> database
|
|
776
|
+
- function -> database, object_store, cache, table, collection, bucket, queue
|
|
777
|
+
- http_operation -> database, object_store, cache
|
|
778
|
+
- async_operation -> database, object_store, cache, topic, queue
|
|
779
|
+
- rpc_operation -> database, object_store, cache
|
|
780
|
+
- job -> database, object_store, cache, table, collection, bucket
|
|
781
|
+
- code -> database, object_store, cache, table, collection, bucket, queue
|
|
782
|
+
|
|
783
|
+
## Relationship type: writes_to
|
|
784
|
+
|
|
785
|
+
Section ID: `schema.relationship-types.writes_to` (relationship_type)
|
|
786
|
+
|
|
787
|
+
The source persists or transmits state to the target data resource.
|
|
788
|
+
|
|
789
|
+
Allowed node pairs (source -> targets):
|
|
790
|
+
- container -> database, object_store, cache
|
|
791
|
+
- workload -> database, object_store, cache
|
|
792
|
+
- website -> database, object_store, cache
|
|
793
|
+
- app -> database, object_store, cache
|
|
794
|
+
- api_gateway -> database, object_store, cache
|
|
795
|
+
- component -> cache, table, collection, bucket, topic, queue
|
|
796
|
+
- ui_frame -> database
|
|
797
|
+
- function -> database, object_store, cache, table, collection, bucket, topic, queue
|
|
798
|
+
- http_operation -> database, object_store, cache
|
|
799
|
+
- async_operation -> database, object_store, cache, topic, queue
|
|
800
|
+
- rpc_operation -> database, object_store, cache
|
|
801
|
+
- job -> database, object_store, cache, table, collection, bucket, topic, queue
|
|
802
|
+
- code -> database, object_store, cache, table, collection, bucket, topic, queue
|
|
803
|
+
|
|
804
|
+
## Relationship type: executes
|
|
805
|
+
|
|
806
|
+
Section ID: `schema.relationship-types.executes` (relationship_type)
|
|
807
|
+
|
|
808
|
+
The source runs or dispatches the target behavior or runtime unit.
|
|
809
|
+
|
|
810
|
+
Allowed node pairs (source -> targets):
|
|
811
|
+
- system -> http_operation, rpc_operation, async_operation, function
|
|
812
|
+
- container -> workload, job
|
|
813
|
+
- workload -> function, http_operation, async_operation, rpc_operation, job
|
|
814
|
+
- database -> function
|
|
815
|
+
- object_store -> function
|
|
816
|
+
- message_broker -> async_operation
|
|
817
|
+
- cache -> function
|
|
818
|
+
- api_gateway -> function, http_operation, async_operation, rpc_operation
|
|
819
|
+
- collection -> function, async_operation
|
|
820
|
+
- bucket -> function, async_operation
|
|
821
|
+
- topic -> async_operation
|
|
822
|
+
- queue -> async_operation
|
|
823
|
+
- component -> function, http_operation, async_operation, rpc_operation
|
|
824
|
+
- page -> function, http_operation, async_operation, rpc_operation
|
|
825
|
+
- ui_frame -> function, http_operation, async_operation, rpc_operation
|
|
826
|
+
- function -> function, async_operation
|
|
827
|
+
- http_operation -> function
|
|
828
|
+
- async_operation -> function
|
|
829
|
+
- rpc_operation -> function
|
|
830
|
+
- job -> function, http_operation, async_operation, rpc_operation
|
|
831
|
+
- code -> code
|
|
832
|
+
|
|
833
|
+
## Relationship type: implements
|
|
834
|
+
|
|
835
|
+
Section ID: `schema.relationship-types.implements` (relationship_type)
|
|
836
|
+
|
|
837
|
+
The pair connects intent or structure with a concrete realization; valid direction depends on the curated node-type pairing.
|
|
838
|
+
|
|
839
|
+
Allowed node pairs (source -> targets):
|
|
840
|
+
- system -> context, container, workload, database, object_store, message_broker, cache, website, app, api_gateway
|
|
841
|
+
- story -> component, page, ui_component_definition, function, http_operation, async_operation, rpc_operation
|
|
842
|
+
- process -> component, page, ui_component_definition, function, http_operation, async_operation, rpc_operation
|
|
843
|
+
- decision -> component, page, ui_component_definition, function
|
|
844
|
+
- end -> goal
|
|
845
|
+
- container -> table, collection, bucket, topic, queue, component, page, function, http_operation, async_operation, rpc_operation, job
|
|
846
|
+
- workload -> function, http_operation, async_operation, rpc_operation, job
|
|
847
|
+
- database -> table, collection, function, schema, code
|
|
848
|
+
- object_store -> bucket
|
|
849
|
+
- message_broker -> topic, queue, async_operation
|
|
850
|
+
- website -> component, page, function, http_operation, async_operation, rpc_operation
|
|
851
|
+
- app -> component, page, function, http_operation, async_operation, rpc_operation
|
|
852
|
+
- library -> component, ui_component_definition, function, schema, code
|
|
853
|
+
- api_gateway -> function, http_operation, async_operation, rpc_operation
|
|
854
|
+
- table -> code
|
|
855
|
+
- collection -> code
|
|
856
|
+
- bucket -> code
|
|
857
|
+
- topic -> async_operation, code
|
|
858
|
+
- queue -> async_operation, code
|
|
859
|
+
- component -> code
|
|
860
|
+
- page -> code
|
|
861
|
+
- ui_component_definition -> ui_frame, function, http_operation, async_operation, rpc_operation, code
|
|
862
|
+
- ui_frame -> story, ui_component_definition, code
|
|
863
|
+
- function -> http_operation, async_operation, rpc_operation, code
|
|
864
|
+
- http_operation -> function, code
|
|
865
|
+
- async_operation -> function, code
|
|
866
|
+
- rpc_operation -> function, code
|
|
867
|
+
- job -> code
|
|
868
|
+
|
|
869
|
+
## Relationship type: publishes
|
|
870
|
+
|
|
871
|
+
Section ID: `schema.relationship-types.publishes` (relationship_type)
|
|
872
|
+
|
|
873
|
+
The source emits messages or events to the target topic or queue.
|
|
874
|
+
|
|
875
|
+
Allowed node pairs (source -> targets):
|
|
876
|
+
- component -> topic, queue
|
|
877
|
+
- function -> topic, queue
|
|
878
|
+
- async_operation -> topic, queue
|
|
879
|
+
- job -> topic, queue
|
|
880
|
+
- code -> topic, queue
|
|
881
|
+
|
|
882
|
+
## Relationship type: foreign_keys_to
|
|
883
|
+
|
|
884
|
+
Section ID: `schema.relationship-types.foreign_keys_to` (relationship_type)
|
|
885
|
+
|
|
886
|
+
A relational table contains a foreign-key reference to the target table.
|
|
887
|
+
|
|
888
|
+
Allowed node pairs (source -> targets):
|
|
889
|
+
- table -> table
|
|
890
|
+
|
|
891
|
+
## Relationship type: schema_ref
|
|
892
|
+
|
|
893
|
+
Section ID: `schema.relationship-types.schema_ref` (relationship_type)
|
|
894
|
+
|
|
895
|
+
The source uses the target schema as a structured data contract.
|
|
896
|
+
|
|
897
|
+
Allowed node pairs (source -> targets):
|
|
898
|
+
- collection -> schema
|
|
899
|
+
- function -> schema
|
|
900
|
+
- http_operation -> schema
|
|
901
|
+
- async_operation -> schema
|
|
902
|
+
- rpc_operation -> schema
|
|
903
|
+
- schema -> schema
|
|
904
|
+
|
|
905
|
+
## Relationship type: imports
|
|
906
|
+
|
|
907
|
+
Section ID: `schema.relationship-types.imports` (relationship_type)
|
|
908
|
+
|
|
909
|
+
The source has a build-time dependency on the target reusable artifact.
|
|
910
|
+
|
|
911
|
+
Allowed node pairs (source -> targets):
|
|
912
|
+
- ui_component_definition -> ui_component_definition
|
|
913
|
+
- ui_frame -> ui_component_definition
|
|
914
|
+
|
|
915
|
+
## Relationship type: journey_continuation
|
|
916
|
+
|
|
917
|
+
Section ID: `schema.relationship-types.journey_continuation` (relationship_type)
|
|
918
|
+
|
|
919
|
+
After the source story's outcome (an end node), the actor continues with a different story (its start node); journeys are named by a story's journey_entry label.
|
|
920
|
+
|
|
921
|
+
Allowed node pairs (source -> targets):
|
|
922
|
+
- end -> start
|
|
923
|
+
|
|
924
|
+
## Relationship type: available_on
|
|
925
|
+
|
|
926
|
+
Section ID: `schema.relationship-types.available_on` (relationship_type)
|
|
927
|
+
|
|
928
|
+
The source story must be doable on the target surface (a website, app, plugin or CLI component, API gateway, or a page or operation for part of one); order says the order surfaces are built in, and deferred marks a surface required later. It says required, not built: implements says built.
|
|
929
|
+
|
|
930
|
+
Allowed node pairs (source -> targets):
|
|
931
|
+
- story -> website, app, api_gateway, component, page, ui_component_definition, function, http_operation, async_operation, rpc_operation
|
|
932
|
+
|
|
933
|
+
## Relationship type: instantiates
|
|
934
|
+
|
|
935
|
+
Section ID: `schema.relationship-types.instantiates` (relationship_type)
|
|
936
|
+
|
|
937
|
+
A post staffs the target job_function in its team; a post has exactly one.
|
|
938
|
+
|
|
939
|
+
Allowed node pairs (source -> targets):
|
|
940
|
+
- post -> job_function
|
|
941
|
+
|
|
942
|
+
## Relationship type: fills
|
|
943
|
+
|
|
944
|
+
Section ID: `schema.relationship-types.fills` (relationship_type)
|
|
945
|
+
|
|
946
|
+
Holders of the source job_function perform the target workflow slot.
|
|
947
|
+
|
|
948
|
+
Allowed node pairs (source -> targets):
|
|
949
|
+
- job_function -> slot
|
|
950
|
+
|
|
951
|
+
## Relationship type: grants
|
|
952
|
+
|
|
953
|
+
Section ID: `schema.relationship-types.grants` (relationship_type)
|
|
954
|
+
|
|
955
|
+
The source job_function or access_policy confers the target access_role. A grant from a job_function names its scope (team, team_subtree, org, or none); an access_policy has exactly one grant, with no scope.
|
|
956
|
+
|
|
957
|
+
Allowed node pairs (source -> targets):
|
|
958
|
+
- job_function -> access_role
|
|
959
|
+
- access_policy -> access_role
|
|
960
|
+
|
|
961
|
+
## All relationship distinctions
|
|
962
|
+
|
|
963
|
+
Section ID: `schema.conceptual-pairings` (conceptual_pairing)
|
|
964
|
+
|
|
965
|
+
depends_on vs uses: Use depends_on for a required dependency that affects validity or responsibility. Use uses when the source consumes a target capability without asserting that stronger dependency.
|
|
966
|
+
uses vs integrates_with: Use uses for directional consumption. Use integrates_with for a deliberate peer-to-peer or boundary-crossing integration where neither side is merely an implementation detail of the other.
|
|
967
|
+
calls vs executes: Use calls for invocation intent from a UI or behavior source. Use executes for the runtime or dispatch relationship that runs a function, operation, or workload.
|
|
968
|
+
reads_from vs writes_to vs publishes: Use reads_from and writes_to for state or content flow. Use publishes specifically when emitting messages or events to a topic or queue.
|
|
969
|
+
implements vs parent hierarchy: Use hierarchy for ownership and membership, such as product → feature → story or story → flow step. Use implements only for an allowed semantic realization pairing; do not add edges merely to repeat containment.
|
|
970
|
+
schema_ref vs foreign_keys_to: Use schema_ref when a behavior or contract references a reusable schema. Use foreign_keys_to only for a relational table-to-table foreign-key relationship.
|
|
971
|
+
imports vs depends_on: Use imports for a concrete build dependency. Keep depends_on for broader semantic dependency; it does not by itself define build ordering.
|
|
972
|
+
actor vs job_function vs access_role vs slot: Four types answer "a role". Use actor for someone who uses the product, job_function for a job in the organization that builds or runs it, access_role for a named set of actions that grants confer, and slot for a part a workflow step needs someone to play, which job functions fill. Workflows still name their roles as role actors until workflow roles become slots.
|
|
973
|
+
|
|
974
|
+
## depends_on vs uses
|
|
975
|
+
|
|
976
|
+
Section ID: `schema.conceptual-pairings.depends_on-uses` (conceptual_pairing)
|
|
977
|
+
|
|
978
|
+
Use depends_on for a required dependency that affects validity or responsibility. Use uses when the source consumes a target capability without asserting that stronger dependency.
|
|
979
|
+
|
|
980
|
+
## uses vs integrates_with
|
|
981
|
+
|
|
982
|
+
Section ID: `schema.conceptual-pairings.uses-integrates_with` (conceptual_pairing)
|
|
983
|
+
|
|
984
|
+
Use uses for directional consumption. Use integrates_with for a deliberate peer-to-peer or boundary-crossing integration where neither side is merely an implementation detail of the other.
|
|
985
|
+
|
|
986
|
+
## calls vs executes
|
|
987
|
+
|
|
988
|
+
Section ID: `schema.conceptual-pairings.calls-executes` (conceptual_pairing)
|
|
989
|
+
|
|
990
|
+
Use calls for invocation intent from a UI or behavior source. Use executes for the runtime or dispatch relationship that runs a function, operation, or workload.
|
|
991
|
+
|
|
992
|
+
## reads_from vs writes_to vs publishes
|
|
993
|
+
|
|
994
|
+
Section ID: `schema.conceptual-pairings.reads_from-writes_to-publishes` (conceptual_pairing)
|
|
995
|
+
|
|
996
|
+
Use reads_from and writes_to for state or content flow. Use publishes specifically when emitting messages or events to a topic or queue.
|
|
997
|
+
|
|
998
|
+
## implements vs parent hierarchy
|
|
999
|
+
|
|
1000
|
+
Section ID: `schema.conceptual-pairings.implements-parent-hierarchy` (conceptual_pairing)
|
|
1001
|
+
|
|
1002
|
+
Use hierarchy for ownership and membership, such as product → feature → story or story → flow step. Use implements only for an allowed semantic realization pairing; do not add edges merely to repeat containment.
|
|
1003
|
+
|
|
1004
|
+
## schema_ref vs foreign_keys_to
|
|
1005
|
+
|
|
1006
|
+
Section ID: `schema.conceptual-pairings.schema_ref-foreign_keys_to` (conceptual_pairing)
|
|
1007
|
+
|
|
1008
|
+
Use schema_ref when a behavior or contract references a reusable schema. Use foreign_keys_to only for a relational table-to-table foreign-key relationship.
|
|
1009
|
+
|
|
1010
|
+
## imports vs depends_on
|
|
1011
|
+
|
|
1012
|
+
Section ID: `schema.conceptual-pairings.imports-depends_on` (conceptual_pairing)
|
|
1013
|
+
|
|
1014
|
+
Use imports for a concrete build dependency. Keep depends_on for broader semantic dependency; it does not by itself define build ordering.
|
|
1015
|
+
|
|
1016
|
+
## actor vs job_function vs access_role vs slot
|
|
1017
|
+
|
|
1018
|
+
Section ID: `schema.conceptual-pairings.actor-job_function-access_role-slot` (conceptual_pairing)
|
|
1019
|
+
|
|
1020
|
+
Four types answer "a role". Use actor for someone who uses the product, job_function for a job in the organization that builds or runs it, access_role for a named set of actions that grants confer, and slot for a part a workflow step needs someone to play, which job functions fill. Workflows still name their roles as role actors until workflow roles become slots.
|
|
1021
|
+
|
|
1022
|
+
## All canonical examples
|
|
1023
|
+
|
|
1024
|
+
Section ID: `schema.examples` (example)
|
|
1025
|
+
|
|
1026
|
+
Product intent and story flow: Use hierarchy for product membership and semantic edges for actor intent and ordered story behavior.
|
|
1027
|
+
UI to API and data: Connect visible interaction, reusable UI, operation contracts, schemas, behavior, and persistence without collapsing them into one node.
|
|
1028
|
+
Asynchronous publication: Distinguish broker ownership, event publication, and asynchronous execution.
|
|
1029
|
+
|
|
1030
|
+
## Product intent and story flow
|
|
1031
|
+
|
|
1032
|
+
Section ID: `schema.examples.product-intent-and-story-flow` (example)
|
|
1033
|
+
|
|
1034
|
+
Use hierarchy for product membership and semantic edges for actor intent and ordered story behavior.
|
|
1035
|
+
product: product — Delivery product
|
|
1036
|
+
feature: feature — Track delivery (parent: product)
|
|
1037
|
+
story: story — Track an order (parent: feature)
|
|
1038
|
+
actor: actor — Customer
|
|
1039
|
+
system: system — Order system
|
|
1040
|
+
goal: goal — Know delivery status (parent: system)
|
|
1041
|
+
start: start — Open tracking (parent: story)
|
|
1042
|
+
process: process — Load status (parent: story)
|
|
1043
|
+
end: end — Status shown (parent: story)
|
|
1044
|
+
actor -[pursues]-> goal: The customer wants the delivery-status outcome.
|
|
1045
|
+
actor -[interacts]-> story: The customer participates in this story.
|
|
1046
|
+
goal -[depends_on]-> story: The goal depends on the concrete story behavior.
|
|
1047
|
+
start -[precedes]-> process: The entry step occurs before loading status.
|
|
1048
|
+
process -[precedes]-> end: Loading status leads to the terminal outcome.
|
|
1049
|
+
|
|
1050
|
+
## UI to API and data
|
|
1051
|
+
|
|
1052
|
+
Section ID: `schema.examples.ui-to-api-and-data` (example)
|
|
1053
|
+
|
|
1054
|
+
Connect visible interaction, reusable UI, operation contracts, schemas, behavior, and persistence without collapsing them into one node.
|
|
1055
|
+
actor: actor — Customer
|
|
1056
|
+
website: website — Customer web
|
|
1057
|
+
page: page — Tracking page (parent: website)
|
|
1058
|
+
frame: ui_frame — Tracking loaded (parent: page)
|
|
1059
|
+
ui_definition: ui_component_definition — Tracking card
|
|
1060
|
+
operation: http_operation — GET /tracking
|
|
1061
|
+
schema: schema — Tracking response
|
|
1062
|
+
function: function — Read tracking status
|
|
1063
|
+
table: table — shipments
|
|
1064
|
+
actor -[interacts]-> page: The customer interacts with the tracking page.
|
|
1065
|
+
frame -[uses]-> ui_definition: The concrete frame uses the reusable tracking-card definition.
|
|
1066
|
+
frame -[calls]-> operation: The frame initiates the tracking operation.
|
|
1067
|
+
operation -[schema_ref]-> schema: The operation uses the response schema contract.
|
|
1068
|
+
operation -[executes]-> function: The operation dispatches the implementation behavior.
|
|
1069
|
+
function -[reads_from]-> table: The function reads shipment state.
|
|
1070
|
+
|
|
1071
|
+
## Asynchronous publication
|
|
1072
|
+
|
|
1073
|
+
Section ID: `schema.examples.asynchronous-publication` (example)
|
|
1074
|
+
|
|
1075
|
+
Distinguish broker ownership, event publication, and asynchronous execution.
|
|
1076
|
+
context: context — Delivery platform
|
|
1077
|
+
container: container — Order service (parent: context)
|
|
1078
|
+
component: component — Order publisher (parent: container)
|
|
1079
|
+
broker: message_broker — Event broker (parent: context)
|
|
1080
|
+
topic: topic — order.updated (parent: broker)
|
|
1081
|
+
operation: async_operation — Consume order update (parent: container)
|
|
1082
|
+
container -[uses]-> broker: The service consumes the broker capability.
|
|
1083
|
+
component -[publishes]-> topic: The component emits order updates.
|
|
1084
|
+
topic -[executes]-> operation: Messages on the topic dispatch the asynchronous operation.
|