archgraph-argo 0.1.0
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/LICENSE +201 -0
- package/README.md +115 -0
- package/argo/package.json +8 -0
- package/argo/rules/intent-architecture-global-rule.md +45 -0
- package/argo/schema/ImplementationToCodingHandoff.schema.json +252 -0
- package/argo/schema/ImplementationToIntentTraceProposal.schema.json +180 -0
- package/argo/schema/IntentToImplementationHandoff.schema.json +75 -0
- package/argo/schema/SystemArchitecture.schema.json +378 -0
- package/argo/schema/archimate3.2.pdf +0 -0
- package/argo/scripts/ARCHITECTURE.md +57 -0
- package/argo/scripts/archimate32-rules.js +12301 -0
- package/argo/scripts/argo-mcp-server.js +629 -0
- package/argo/scripts/argo-paths.js +77 -0
- package/argo/scripts/ensureArgoHarnessEnvironment.js +340 -0
- package/argo/scripts/generateArchitectureDiffPlantuml.js +466 -0
- package/argo/scripts/graph-rag/ARCHITECTURE.md +192 -0
- package/argo/scripts/graph-rag/canonicalProjectionAuthority.js +45 -0
- package/argo/scripts/graph-rag/defaultSemanticRetrieval.js +969 -0
- package/argo/scripts/graph-rag/embeddingQualificationGate.js +59 -0
- package/argo/scripts/graph-rag/externalProductionConfig.js +74 -0
- package/argo/scripts/graph-rag/liveEmbeddingIndexGate.js +129 -0
- package/argo/scripts/graph-rag/liveEmbeddingNeo4jBoundary.js +137 -0
- package/argo/scripts/graph-rag/liveEmbeddingProviderClient.js +49 -0
- package/argo/scripts/graph-rag/liveEmbeddingProviderConfig.js +481 -0
- package/argo/scripts/graph-rag/mutationEmbeddingVectorLifecycle.js +1261 -0
- package/argo/scripts/graph-rag/neo4jNativeRetrieval.js +37 -0
- package/argo/scripts/graph-rag/productionGraphRagRuntime.js +1624 -0
- package/argo/scripts/graph-rag/semantic-persistence/ARCHITECTURE.md +51 -0
- package/argo/scripts/graph-rag/semantic-persistence/productionSemanticBackfill.js +241 -0
- package/argo/scripts/graph-rag/semantic-persistence/productionSemanticCheckpointStore.js +99 -0
- package/argo/scripts/graph-rag/semantic-persistence/productionSemanticNeo4jAdapter.js +149 -0
- package/argo/scripts/graph-rag/semantic-persistence/productionSemanticProjectionStore.js +171 -0
- package/argo/scripts/graph-rag/semanticOperatorError.js +38 -0
- package/argo/scripts/graph-rag/semanticOperatorJourney.js +459 -0
- package/argo/scripts/graph-rag/semanticReadinessAttestationStore.js +398 -0
- package/argo/scripts/graph-rag/systemMetadataCommandAdapter.js +269 -0
- package/argo/scripts/graph-semantics.js +220 -0
- package/argo/scripts/neo4j-system-architecture-store.js +777 -0
- package/argo/scripts/repositoryArgoEnvironment.js +101 -0
- package/argo/scripts/runArchitectureTests.js +583 -0
- package/argo/scripts/semanticOperatorJourneyCli.js +91 -0
- package/argo/scripts/syncSystemArchitectureToNeo4j.js +67 -0
- package/argo/scripts/systemarchitecture-mcp-server.js +2965 -0
- package/argo/scripts/test-executors/_template.js +58 -0
- package/argo/scripts/test-executors/default.js +199 -0
- package/argo/scripts/validateStageHandoff.js +459 -0
- package/argo/scripts/validateSystemArchitecture.js +254 -0
- package/argo/scripts/validateTraceProposal.js +181 -0
- package/argo/scripts/validator-mcp-server.js +377 -0
- package/argo/skills/argo-init/SKILL.md +110 -0
- package/bin/argo-deploy.js +12 -0
- package/install-argo.ps1 +112 -0
- package/package.json +28 -0
- package/vendor/neo4j-driver-6.2.0.tgz +0 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "./.argo/schema/ImplementationToIntentTraceProposal.schema.json",
|
|
4
|
+
"title": "Implementation To Intent Trace Proposal Schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"proposalType",
|
|
9
|
+
"generatedAt",
|
|
10
|
+
"sourceAgent",
|
|
11
|
+
"targetAgent",
|
|
12
|
+
"lifecycle",
|
|
13
|
+
"sourceIntentGraphPath",
|
|
14
|
+
"implementationContracts",
|
|
15
|
+
"anchorProposals"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"proposalType": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"const": "implementation-to-intent-trace"
|
|
21
|
+
},
|
|
22
|
+
"generatedAt": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"sourceAgent": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"const": "ImplementationDesign"
|
|
28
|
+
},
|
|
29
|
+
"targetAgent": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"const": "IntentionDesign"
|
|
32
|
+
},
|
|
33
|
+
"lifecycle": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"const": "temporary-trace-proposal"
|
|
36
|
+
},
|
|
37
|
+
"sourceIntentGraphPath": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"implementationContracts": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"minItems": 1,
|
|
43
|
+
"items": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"anchorProposals": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"minItems": 1,
|
|
50
|
+
"items": {
|
|
51
|
+
"$ref": "#/$defs/anchorProposal"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"openQuestions": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"items": {
|
|
57
|
+
"$ref": "#/$defs/openQuestion"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"notes": {
|
|
61
|
+
"type": "array",
|
|
62
|
+
"items": {
|
|
63
|
+
"type": "string"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"$defs": {
|
|
68
|
+
"anchorProposal": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"additionalProperties": false,
|
|
71
|
+
"required": [
|
|
72
|
+
"intentElementId",
|
|
73
|
+
"implementationElementName",
|
|
74
|
+
"implementationElementKind",
|
|
75
|
+
"implementsType",
|
|
76
|
+
"tracePurpose",
|
|
77
|
+
"contractPaths",
|
|
78
|
+
"contextEntryPoints",
|
|
79
|
+
"excludedDetails"
|
|
80
|
+
],
|
|
81
|
+
"properties": {
|
|
82
|
+
"intentElementId": {
|
|
83
|
+
"type": "string"
|
|
84
|
+
},
|
|
85
|
+
"intentElementName": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"implementationElementName": {
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
"implementationElementKind": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"enum": [
|
|
94
|
+
"stable-directory",
|
|
95
|
+
"contract-file",
|
|
96
|
+
"explicit-test-entry",
|
|
97
|
+
"critical-guardrail",
|
|
98
|
+
"runtime-component",
|
|
99
|
+
"schema-contract",
|
|
100
|
+
"mcp-tool",
|
|
101
|
+
"command"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"implementsType": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"enum": [
|
|
107
|
+
"direct",
|
|
108
|
+
"indirect"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"tracePurpose": {
|
|
112
|
+
"type": "string"
|
|
113
|
+
},
|
|
114
|
+
"contractPaths": {
|
|
115
|
+
"type": "array",
|
|
116
|
+
"minItems": 1,
|
|
117
|
+
"items": {
|
|
118
|
+
"type": "string"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"contextEntryPoints": {
|
|
122
|
+
"type": "array",
|
|
123
|
+
"minItems": 1,
|
|
124
|
+
"items": {
|
|
125
|
+
"type": "string"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"excludedDetails": {
|
|
129
|
+
"type": "array",
|
|
130
|
+
"minItems": 1,
|
|
131
|
+
"items": {
|
|
132
|
+
"type": "string"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"suggestedIntentAttributes": {
|
|
136
|
+
"type": "array",
|
|
137
|
+
"items": {
|
|
138
|
+
"$ref": "#/$defs/intentAttribute"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"intentAttribute": {
|
|
144
|
+
"type": "object",
|
|
145
|
+
"additionalProperties": false,
|
|
146
|
+
"required": [
|
|
147
|
+
"name",
|
|
148
|
+
"description"
|
|
149
|
+
],
|
|
150
|
+
"properties": {
|
|
151
|
+
"name": {
|
|
152
|
+
"type": "string"
|
|
153
|
+
},
|
|
154
|
+
"description": {
|
|
155
|
+
"type": "string"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"openQuestion": {
|
|
160
|
+
"type": "object",
|
|
161
|
+
"additionalProperties": false,
|
|
162
|
+
"required": [
|
|
163
|
+
"question",
|
|
164
|
+
"recommendedAnswer",
|
|
165
|
+
"reason"
|
|
166
|
+
],
|
|
167
|
+
"properties": {
|
|
168
|
+
"question": {
|
|
169
|
+
"type": "string"
|
|
170
|
+
},
|
|
171
|
+
"recommendedAnswer": {
|
|
172
|
+
"type": "string"
|
|
173
|
+
},
|
|
174
|
+
"reason": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "./.argo/schema/IntentToImplementationHandoff.schema.json",
|
|
4
|
+
"title": "Intent To Implementation Handoff Schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"stage",
|
|
9
|
+
"generatedAt",
|
|
10
|
+
"sourceIntentGraphPath",
|
|
11
|
+
"intentElementIds"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"stage": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"const": "intent-to-implementation"
|
|
17
|
+
},
|
|
18
|
+
"generatedAt": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"sourceIntentGraphPath": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"summary": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"intentElementIds": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"minItems": 1,
|
|
30
|
+
"items": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"relationshipIds": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"openQuestions": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"items": {
|
|
43
|
+
"$ref": "#/$defs/openQuestion"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"notes": {
|
|
47
|
+
"type": "array",
|
|
48
|
+
"items": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"$defs": {
|
|
54
|
+
"openQuestion": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"additionalProperties": false,
|
|
57
|
+
"required": [
|
|
58
|
+
"question",
|
|
59
|
+
"recommendedAnswer",
|
|
60
|
+
"reason"
|
|
61
|
+
],
|
|
62
|
+
"properties": {
|
|
63
|
+
"question": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"recommendedAnswer": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"reason": {
|
|
70
|
+
"type": "string"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "./.argo/schema/SystemArchitecture.schema.json",
|
|
4
|
+
"title": "SystemArchitecture Knowledge Graph Schema",
|
|
5
|
+
"description": "Schema for design/KG/SystemArchitecture.json. The repository keeps its existing knowledge-graph shape, while ArchiMate 3.2 terminology is enforced for element and relationship concepts.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"name",
|
|
10
|
+
"description",
|
|
11
|
+
"elements",
|
|
12
|
+
"relationships",
|
|
13
|
+
"views"
|
|
14
|
+
],
|
|
15
|
+
"properties": {
|
|
16
|
+
"name": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"minLength": 1
|
|
19
|
+
},
|
|
20
|
+
"description": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1
|
|
23
|
+
},
|
|
24
|
+
"attributes": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"$ref": "#/$defs/attribute"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"elements": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"minItems": 1,
|
|
33
|
+
"items": {
|
|
34
|
+
"$ref": "#/$defs/element"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"relationships": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"minItems": 1,
|
|
40
|
+
"items": {
|
|
41
|
+
"$ref": "#/$defs/relationship"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"views": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"minItems": 1,
|
|
47
|
+
"items": {
|
|
48
|
+
"$ref": "#/$defs/view"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"$defs": {
|
|
53
|
+
"identifier": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 1,
|
|
56
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
|
|
57
|
+
},
|
|
58
|
+
"nonEmptyString": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"minLength": 1
|
|
61
|
+
},
|
|
62
|
+
"archimateElementType": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"enum": [
|
|
65
|
+
"Resource",
|
|
66
|
+
"Capability",
|
|
67
|
+
"Value Stream",
|
|
68
|
+
"Course of Action",
|
|
69
|
+
"Business Actor",
|
|
70
|
+
"Business Role",
|
|
71
|
+
"Business Collaboration",
|
|
72
|
+
"Business Interface",
|
|
73
|
+
"Business Process",
|
|
74
|
+
"Business Function",
|
|
75
|
+
"Business Interaction",
|
|
76
|
+
"Business Event",
|
|
77
|
+
"Business Service",
|
|
78
|
+
"Business Object",
|
|
79
|
+
"Contract",
|
|
80
|
+
"Representation",
|
|
81
|
+
"Product",
|
|
82
|
+
"Application Component",
|
|
83
|
+
"Application Collaboration",
|
|
84
|
+
"Application Interface",
|
|
85
|
+
"Application Process",
|
|
86
|
+
"Application Function",
|
|
87
|
+
"Application Interaction",
|
|
88
|
+
"Application Event",
|
|
89
|
+
"Application Service",
|
|
90
|
+
"Data Object",
|
|
91
|
+
"Node",
|
|
92
|
+
"Device",
|
|
93
|
+
"System Software",
|
|
94
|
+
"Technology Collaboration",
|
|
95
|
+
"Technology Interface",
|
|
96
|
+
"Path",
|
|
97
|
+
"Communication Network",
|
|
98
|
+
"Technology Process",
|
|
99
|
+
"Technology Function",
|
|
100
|
+
"Technology Interaction",
|
|
101
|
+
"Technology Event",
|
|
102
|
+
"Technology Service",
|
|
103
|
+
"Artifact",
|
|
104
|
+
"Equipment",
|
|
105
|
+
"Facility",
|
|
106
|
+
"Distribution Network",
|
|
107
|
+
"Material",
|
|
108
|
+
"Stakeholder",
|
|
109
|
+
"Driver",
|
|
110
|
+
"Assessment",
|
|
111
|
+
"Goal",
|
|
112
|
+
"Outcome",
|
|
113
|
+
"Principle",
|
|
114
|
+
"Requirement",
|
|
115
|
+
"Constraint",
|
|
116
|
+
"Meaning",
|
|
117
|
+
"Value",
|
|
118
|
+
"Work Package",
|
|
119
|
+
"Deliverable",
|
|
120
|
+
"Implementation Event",
|
|
121
|
+
"Plateau",
|
|
122
|
+
"Gap",
|
|
123
|
+
"Grouping",
|
|
124
|
+
"Location",
|
|
125
|
+
"And Junction",
|
|
126
|
+
"Or Junction",
|
|
127
|
+
"Skill",
|
|
128
|
+
"Rule"
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
"archimateRelationshipType": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"enum": [
|
|
134
|
+
"Association",
|
|
135
|
+
"Composition",
|
|
136
|
+
"Aggregation",
|
|
137
|
+
"Assignment",
|
|
138
|
+
"Realization",
|
|
139
|
+
"Serving",
|
|
140
|
+
"Access",
|
|
141
|
+
"Influence",
|
|
142
|
+
"Triggering",
|
|
143
|
+
"Flow",
|
|
144
|
+
"Specialization"
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"attribute": {
|
|
148
|
+
"type": "object",
|
|
149
|
+
"additionalProperties": false,
|
|
150
|
+
"required": [
|
|
151
|
+
"name"
|
|
152
|
+
],
|
|
153
|
+
"description": "Generic EA-style attribute container. Use this for architecture annotations such as verification_focus, external_scope, acceptance_outcomes, and design_risks instead of introducing dedicated top-level fields.",
|
|
154
|
+
"properties": {
|
|
155
|
+
"name": {
|
|
156
|
+
"$ref": "#/$defs/nonEmptyString"
|
|
157
|
+
},
|
|
158
|
+
"description": {
|
|
159
|
+
"type": "string"
|
|
160
|
+
},
|
|
161
|
+
"value": {
|
|
162
|
+
"type": "string"
|
|
163
|
+
},
|
|
164
|
+
"content": {
|
|
165
|
+
"type": "string"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"subdiagramView": {
|
|
170
|
+
"type": "object",
|
|
171
|
+
"additionalProperties": false,
|
|
172
|
+
"required": [
|
|
173
|
+
"view_id",
|
|
174
|
+
"view_name"
|
|
175
|
+
],
|
|
176
|
+
"properties": {
|
|
177
|
+
"view_id": {
|
|
178
|
+
"$ref": "#/$defs/identifier"
|
|
179
|
+
},
|
|
180
|
+
"view_name": {
|
|
181
|
+
"$ref": "#/$defs/nonEmptyString"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"testcase": {
|
|
186
|
+
"type": "object",
|
|
187
|
+
"additionalProperties": false,
|
|
188
|
+
"required": [
|
|
189
|
+
"name",
|
|
190
|
+
"description",
|
|
191
|
+
"type",
|
|
192
|
+
"Input",
|
|
193
|
+
"acceptanceCriteria"
|
|
194
|
+
],
|
|
195
|
+
"properties": {
|
|
196
|
+
"name": {
|
|
197
|
+
"$ref": "#/$defs/nonEmptyString",
|
|
198
|
+
"description": "Stable testcase identifier. Use the testcase name itself as the long-lived identity; do not add a separate testcase id field."
|
|
199
|
+
},
|
|
200
|
+
"description": {
|
|
201
|
+
"$ref": "#/$defs/nonEmptyString",
|
|
202
|
+
"description": "Place the intent being verified here. Each testcase should normally be mounted under exactly one element rather than using extra verifies_elements or verifies_intents fields."
|
|
203
|
+
},
|
|
204
|
+
"type": {
|
|
205
|
+
"type": "string",
|
|
206
|
+
"enum": [
|
|
207
|
+
"Acceptance Test"
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
"Input": {
|
|
211
|
+
"$ref": "#/$defs/nonEmptyString"
|
|
212
|
+
},
|
|
213
|
+
"acceptanceCriteria": {
|
|
214
|
+
"$ref": "#/$defs/nonEmptyString",
|
|
215
|
+
"description": "By the end of implementation design, this must be the concrete workspace-relative executable testcase entrypoint for the testcase, optionally including a pytest node id selector such as tests/test_x.py::test_y, rather than descriptive prose."
|
|
216
|
+
},
|
|
217
|
+
"TestResults": {
|
|
218
|
+
"$ref": "#/$defs/nonEmptyString"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"element": {
|
|
223
|
+
"type": "object",
|
|
224
|
+
"additionalProperties": false,
|
|
225
|
+
"required": [
|
|
226
|
+
"id",
|
|
227
|
+
"name",
|
|
228
|
+
"type"
|
|
229
|
+
],
|
|
230
|
+
"properties": {
|
|
231
|
+
"id": {
|
|
232
|
+
"$ref": "#/$defs/identifier"
|
|
233
|
+
},
|
|
234
|
+
"name": {
|
|
235
|
+
"$ref": "#/$defs/nonEmptyString"
|
|
236
|
+
},
|
|
237
|
+
"parent": {
|
|
238
|
+
"$ref": "#/$defs/identifier"
|
|
239
|
+
},
|
|
240
|
+
"type": {
|
|
241
|
+
"$ref": "#/$defs/archimateElementType"
|
|
242
|
+
},
|
|
243
|
+
"alias": {
|
|
244
|
+
"type": "string"
|
|
245
|
+
},
|
|
246
|
+
"classifier": {
|
|
247
|
+
"type": "string"
|
|
248
|
+
},
|
|
249
|
+
"description": {
|
|
250
|
+
"type": "string"
|
|
251
|
+
},
|
|
252
|
+
"attributes": {
|
|
253
|
+
"type": "array",
|
|
254
|
+
"description": "Use attributes to store additional architecture intent metadata, including verification_focus, external_scope, acceptance_outcomes, and design_risks.",
|
|
255
|
+
"items": {
|
|
256
|
+
"$ref": "#/$defs/attribute"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"subdiagram_views": {
|
|
260
|
+
"type": "array",
|
|
261
|
+
"items": {
|
|
262
|
+
"$ref": "#/$defs/subdiagramView"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"testcases": {
|
|
266
|
+
"type": "array",
|
|
267
|
+
"items": {
|
|
268
|
+
"$ref": "#/$defs/testcase"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"relationshipAttribute": {
|
|
274
|
+
"type": "object",
|
|
275
|
+
"additionalProperties": false,
|
|
276
|
+
"required": [
|
|
277
|
+
"name"
|
|
278
|
+
],
|
|
279
|
+
"properties": {
|
|
280
|
+
"name": {
|
|
281
|
+
"$ref": "#/$defs/nonEmptyString"
|
|
282
|
+
},
|
|
283
|
+
"description": {
|
|
284
|
+
"$ref": "#/$defs/nonEmptyString"
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"relationship": {
|
|
289
|
+
"type": "object",
|
|
290
|
+
"additionalProperties": false,
|
|
291
|
+
"required": [
|
|
292
|
+
"id",
|
|
293
|
+
"statement",
|
|
294
|
+
"name",
|
|
295
|
+
"type",
|
|
296
|
+
"source_id",
|
|
297
|
+
"target_id",
|
|
298
|
+
"source_name",
|
|
299
|
+
"target_name"
|
|
300
|
+
],
|
|
301
|
+
"properties": {
|
|
302
|
+
"id": {
|
|
303
|
+
"$ref": "#/$defs/identifier"
|
|
304
|
+
},
|
|
305
|
+
"statement": {
|
|
306
|
+
"$ref": "#/$defs/nonEmptyString"
|
|
307
|
+
},
|
|
308
|
+
"name": {
|
|
309
|
+
"$ref": "#/$defs/nonEmptyString"
|
|
310
|
+
},
|
|
311
|
+
"type": {
|
|
312
|
+
"$ref": "#/$defs/archimateRelationshipType"
|
|
313
|
+
},
|
|
314
|
+
"description": {
|
|
315
|
+
"type": "string"
|
|
316
|
+
},
|
|
317
|
+
"document": {
|
|
318
|
+
"type": "string"
|
|
319
|
+
},
|
|
320
|
+
"attributes": {
|
|
321
|
+
"type": "array",
|
|
322
|
+
"items": {
|
|
323
|
+
"$ref": "#/$defs/relationshipAttribute"
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"source_id": {
|
|
327
|
+
"$ref": "#/$defs/identifier"
|
|
328
|
+
},
|
|
329
|
+
"target_id": {
|
|
330
|
+
"$ref": "#/$defs/identifier"
|
|
331
|
+
},
|
|
332
|
+
"source_name": {
|
|
333
|
+
"$ref": "#/$defs/nonEmptyString"
|
|
334
|
+
},
|
|
335
|
+
"target_name": {
|
|
336
|
+
"$ref": "#/$defs/nonEmptyString"
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"view": {
|
|
341
|
+
"type": "object",
|
|
342
|
+
"additionalProperties": false,
|
|
343
|
+
"required": [
|
|
344
|
+
"view_id",
|
|
345
|
+
"view_name"
|
|
346
|
+
],
|
|
347
|
+
"properties": {
|
|
348
|
+
"view_id": {
|
|
349
|
+
"$ref": "#/$defs/identifier"
|
|
350
|
+
},
|
|
351
|
+
"view_name": {
|
|
352
|
+
"$ref": "#/$defs/nonEmptyString"
|
|
353
|
+
},
|
|
354
|
+
"parent_element_id": {
|
|
355
|
+
"$ref": "#/$defs/identifier"
|
|
356
|
+
},
|
|
357
|
+
"parent_element_name": {
|
|
358
|
+
"type": "string"
|
|
359
|
+
},
|
|
360
|
+
"description": {
|
|
361
|
+
"type": "string"
|
|
362
|
+
},
|
|
363
|
+
"included_elements": {
|
|
364
|
+
"type": "array",
|
|
365
|
+
"items": {
|
|
366
|
+
"$ref": "#/$defs/identifier"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
"included_relationships": {
|
|
370
|
+
"type": "array",
|
|
371
|
+
"items": {
|
|
372
|
+
"$ref": "#/$defs/identifier"
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
Binary file
|