201 lines
4.0 KiB
JSON
201 lines
4.0 KiB
JSON
{
|
|
"version": "1.1",
|
|
"id": "sequence",
|
|
"title": "sequence runtime fixture",
|
|
"question": "Does the sequence logical composition render correctly?",
|
|
"type": "sequence",
|
|
"direction": "LR",
|
|
"audience": [
|
|
"renderer maintainer"
|
|
],
|
|
"summary": "Executable sequence fixture.",
|
|
"alt": "Executable technical diagram fixture for the sequence composition profile.",
|
|
"long_description": "This fixture validates the node roles, edges, and layout rules of the sequence profile.",
|
|
"source_context": {
|
|
"document": "examples/runtime-profiles/fixture.md",
|
|
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
|
"anchor": {
|
|
"kind": "line",
|
|
"value": 1,
|
|
"line": 1
|
|
}
|
|
},
|
|
"composition": {
|
|
"profile": "sequence",
|
|
"diagram_only": true,
|
|
"reference_ids": [
|
|
"payment-approval-sequence"
|
|
],
|
|
"rationale": "Runtime regression fixture for sequence.",
|
|
"focus_node": "api"
|
|
},
|
|
"groups": [],
|
|
"nodes": [
|
|
{
|
|
"id": "client",
|
|
"label": "Client",
|
|
"kind": "participant",
|
|
"role": "participant",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "api",
|
|
"label": "Checkout API",
|
|
"kind": "participant",
|
|
"role": "participant",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"emphasis": "primary"
|
|
},
|
|
{
|
|
"id": "provider",
|
|
"label": "Payment Provider",
|
|
"kind": "participant",
|
|
"role": "participant",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "db",
|
|
"label": "Orders DB",
|
|
"kind": "participant",
|
|
"role": "participant",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "bus",
|
|
"label": "Event Bus",
|
|
"kind": "participant",
|
|
"role": "participant",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"id": "m1",
|
|
"from": "client",
|
|
"to": "api",
|
|
"label": "결제 요청",
|
|
"kind": "request",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"order": 1
|
|
},
|
|
{
|
|
"id": "m2",
|
|
"from": "api",
|
|
"to": "db",
|
|
"label": "PENDING 기록",
|
|
"kind": "data",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"order": 2
|
|
},
|
|
{
|
|
"id": "m3",
|
|
"from": "api",
|
|
"to": "provider",
|
|
"label": "승인 요청",
|
|
"kind": "request",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"order": 3
|
|
},
|
|
{
|
|
"id": "m4",
|
|
"from": "provider",
|
|
"to": "api",
|
|
"label": "승인 응답",
|
|
"kind": "response",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"order": 4,
|
|
"style": "dashed"
|
|
},
|
|
{
|
|
"id": "m5",
|
|
"from": "api",
|
|
"to": "db",
|
|
"label": "PAID 갱신",
|
|
"kind": "data",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"order": 5
|
|
},
|
|
{
|
|
"id": "m6",
|
|
"from": "api",
|
|
"to": "bus",
|
|
"label": "payment.approved",
|
|
"kind": "publish",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"order": 6,
|
|
"style": "dashed",
|
|
"emphasis": "primary"
|
|
}
|
|
],
|
|
"legend": [],
|
|
"metadata": {
|
|
"fixture": true
|
|
}
|
|
}
|