@linked.archi/la-gram-git 0.0.0-stage → 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 +202 -0
- package/NOTICE +2 -0
- package/README.md +214 -2
- package/assets/arch-decision/arch-decision-metamodel.ttl +44 -0
- package/assets/arch-decision/arch-decision-onto.ttl +1566 -0
- package/assets/arch-decision/arch-decision-shapes.ttl +582 -0
- package/assets/arch-decision/arch-decision-tax.ttl +129 -0
- package/assets/arch-processes/arch-processes-metamodel.ttl +42 -0
- package/assets/arch-processes/arch-processes-tax.ttl +136 -0
- package/assets/arch-processes/archProcesses-shapes.ttl +189 -0
- package/assets/arch-processes/archProcesses.ttl +953 -0
- package/assets/archimate3/archimate3.2-element-shapes.ttl +379 -0
- package/assets/archimate3/archimate3.2-metamodel.ttl +205 -0
- package/assets/archimate3/archimate3.2-notation.ttl +1503 -0
- package/assets/archimate3/archimate3.2-onto.ttl +1579 -0
- package/assets/archimate3/archimate3.2-presentation-contexts.ttl +90 -0
- package/assets/archimate3/archimate3.2-principle-shapes.ttl +923 -0
- package/assets/archimate3/archimate3.2-questions.ttl +1125 -0
- package/assets/archimate3/archimate3.2-reference-data.ttl +74 -0
- package/assets/archimate3/archimate3.2-relationship-shapes.ttl +30956 -0
- package/assets/archimate3/archimate3.2-relationship-tables.ttl +5992 -0
- package/assets/archimate3/archimate3.2-tax.ttl +724 -0
- package/assets/archimate3/archimate3.2-viewpoint-shapes.ttl +59 -0
- package/assets/archimate3/archimate3.2-viewpoints.ttl +793 -0
- package/assets/archimate3/icons/and-junction.svg +3 -0
- package/assets/archimate3/icons/application-collaboration.svg +22 -0
- package/assets/archimate3/icons/application-component.svg +18 -0
- package/assets/archimate3/icons/application-event.svg +15 -0
- package/assets/archimate3/icons/application-function.svg +14 -0
- package/assets/archimate3/icons/application-interaction.svg +17 -0
- package/assets/archimate3/icons/application-interface.svg +16 -0
- package/assets/archimate3/icons/application-process.svg +14 -0
- package/assets/archimate3/icons/application-service.svg +14 -0
- package/assets/archimate3/icons/artifact.svg +16 -0
- package/assets/archimate3/icons/assessment.svg +17 -0
- package/assets/archimate3/icons/business-actor.svg +22 -0
- package/assets/archimate3/icons/business-collaboration.svg +21 -0
- package/assets/archimate3/icons/business-event.svg +15 -0
- package/assets/archimate3/icons/business-function.svg +14 -0
- package/assets/archimate3/icons/business-interaction.svg +18 -0
- package/assets/archimate3/icons/business-interface.svg +16 -0
- package/assets/archimate3/icons/business-object.svg +14 -0
- package/assets/archimate3/icons/business-process.svg +15 -0
- package/assets/archimate3/icons/business-role.svg +16 -0
- package/assets/archimate3/icons/business-service.svg +14 -0
- package/assets/archimate3/icons/capability.svg +40 -0
- package/assets/archimate3/icons/communication-network.svg +18 -0
- package/assets/archimate3/icons/constraint.svg +18 -0
- package/assets/archimate3/icons/contract.svg +13 -0
- package/assets/archimate3/icons/course-of-action.svg +20 -0
- package/assets/archimate3/icons/data-object.svg +14 -0
- package/assets/archimate3/icons/deliverable.svg +11 -0
- package/assets/archimate3/icons/device.svg +18 -0
- package/assets/archimate3/icons/distribution-network.svg +19 -0
- package/assets/archimate3/icons/driver.svg +24 -0
- package/assets/archimate3/icons/equipment.svg +31 -0
- package/assets/archimate3/icons/facility.svg +16 -0
- package/assets/archimate3/icons/gap.svg +22 -0
- package/assets/archimate3/icons/glyphs/activity.svg +3 -0
- package/assets/archimate3/icons/glyphs/actor.svg +14 -0
- package/assets/archimate3/icons/glyphs/application-component.svg +12 -0
- package/assets/archimate3/icons/glyphs/artifact.svg +9 -0
- package/assets/archimate3/icons/glyphs/assessment.svg +9 -0
- package/assets/archimate3/icons/glyphs/capability.svg +32 -0
- package/assets/archimate3/icons/glyphs/cloud-gear.svg +3 -0
- package/assets/archimate3/icons/glyphs/collaboration.svg +15 -0
- package/assets/archimate3/icons/glyphs/communication-network.svg +12 -0
- package/assets/archimate3/icons/glyphs/constraint.svg +10 -0
- package/assets/archimate3/icons/glyphs/contract.svg +5 -0
- package/assets/archimate3/icons/glyphs/course-of-action.svg +12 -0
- package/assets/archimate3/icons/glyphs/data-object.svg +4 -0
- package/assets/archimate3/icons/glyphs/deliverable.svg +3 -0
- package/assets/archimate3/icons/glyphs/device.svg +10 -0
- package/assets/archimate3/icons/glyphs/distribution-network.svg +11 -0
- package/assets/archimate3/icons/glyphs/driver.svg +16 -0
- package/assets/archimate3/icons/glyphs/equipment.svg +22 -0
- package/assets/archimate3/icons/glyphs/event.svg +6 -0
- package/assets/archimate3/icons/glyphs/facility.svg +7 -0
- package/assets/archimate3/icons/glyphs/function.svg +6 -0
- package/assets/archimate3/icons/glyphs/gap.svg +14 -0
- package/assets/archimate3/icons/glyphs/goal.svg +10 -0
- package/assets/archimate3/icons/glyphs/grouping.svg +4 -0
- package/assets/archimate3/icons/glyphs/interaction.svg +10 -0
- package/assets/archimate3/icons/glyphs/interface.svg +8 -0
- package/assets/archimate3/icons/glyphs/location.svg +6 -0
- package/assets/archimate3/icons/glyphs/material.svg +12 -0
- package/assets/archimate3/icons/glyphs/meaning.svg +3 -0
- package/assets/archimate3/icons/glyphs/node.svg +8 -0
- package/assets/archimate3/icons/glyphs/object.svg +4 -0
- package/assets/archimate3/icons/glyphs/outcome.svg +16 -0
- package/assets/archimate3/icons/glyphs/path.svg +10 -0
- package/assets/archimate3/icons/glyphs/person-silhouette.svg +3 -0
- package/assets/archimate3/icons/glyphs/plateau.svg +8 -0
- package/assets/archimate3/icons/glyphs/principle.svg +12 -0
- package/assets/archimate3/icons/glyphs/process.svg +6 -0
- package/assets/archimate3/icons/glyphs/product.svg +4 -0
- package/assets/archimate3/icons/glyphs/representation.svg +4 -0
- package/assets/archimate3/icons/glyphs/requirement.svg +6 -0
- package/assets/archimate3/icons/glyphs/resource.svg +14 -0
- package/assets/archimate3/icons/glyphs/role.svg +6 -0
- package/assets/archimate3/icons/glyphs/service.svg +6 -0
- package/assets/archimate3/icons/glyphs/stakeholder.svg +6 -0
- package/assets/archimate3/icons/glyphs/system-software.svg +14 -0
- package/assets/archimate3/icons/glyphs/value-stream.svg +3 -0
- package/assets/archimate3/icons/glyphs/value.svg +3 -0
- package/assets/archimate3/icons/glyphs/work-package.svg +4 -0
- package/assets/archimate3/icons/goal.svg +18 -0
- package/assets/archimate3/icons/grouping.svg +12 -0
- package/assets/archimate3/icons/implementation-event.svg +15 -0
- package/assets/archimate3/icons/location.svg +14 -0
- package/assets/archimate3/icons/material.svg +21 -0
- package/assets/archimate3/icons/meaning.svg +11 -0
- package/assets/archimate3/icons/node.svg +14 -0
- package/assets/archimate3/icons/or-junction.svg +3 -0
- package/assets/archimate3/icons/outcome.svg +25 -0
- package/assets/archimate3/icons/path.svg +18 -0
- package/assets/archimate3/icons/plateau.svg +16 -0
- package/assets/archimate3/icons/principle.svg +21 -0
- package/assets/archimate3/icons/product.svg +12 -0
- package/assets/archimate3/icons/representation.svg +12 -0
- package/assets/archimate3/icons/requirement.svg +14 -0
- package/assets/archimate3/icons/resource.svg +23 -0
- package/assets/archimate3/icons/stakeholder.svg +15 -0
- package/assets/archimate3/icons/system-software.svg +22 -0
- package/assets/archimate3/icons/technology-collaboration.svg +22 -0
- package/assets/archimate3/icons/technology-event.svg +15 -0
- package/assets/archimate3/icons/technology-function.svg +14 -0
- package/assets/archimate3/icons/technology-interaction.svg +18 -0
- package/assets/archimate3/icons/technology-interface.svg +16 -0
- package/assets/archimate3/icons/technology-process.svg +14 -0
- package/assets/archimate3/icons/technology-service.svg +14 -0
- package/assets/archimate3/icons/value-stream.svg +11 -0
- package/assets/archimate3/icons/value.svg +11 -0
- package/assets/archimate3/icons/work-package.svg +12 -0
- package/assets/archimate4/archimate4-element-shapes.ttl +404 -0
- package/assets/archimate4/archimate4-metamodel.ttl +179 -0
- package/assets/archimate4/archimate4-notation.ttl +1147 -0
- package/assets/archimate4/archimate4-onto.ttl +1559 -0
- package/assets/archimate4/archimate4-presentation-contexts.ttl +60 -0
- package/assets/archimate4/archimate4-principle-shapes.ttl +893 -0
- package/assets/archimate4/archimate4-questions.ttl +1224 -0
- package/assets/archimate4/archimate4-reference-data.ttl +56 -0
- package/assets/archimate4/archimate4-relationship-shapes.ttl +16920 -0
- package/assets/archimate4/archimate4-relationship-tables.ttl +3200 -0
- package/assets/archimate4/archimate4-tax.ttl +749 -0
- package/assets/archimate4/archimate4-viewpoint-shapes.ttl +55 -0
- package/assets/archimate4/archimate4-viewpoints.ttl +777 -0
- package/assets/archimate4/icons/and-junction.svg +3 -0
- package/assets/archimate4/icons/application-component.svg +18 -0
- package/assets/archimate4/icons/application-interface.svg +16 -0
- package/assets/archimate4/icons/artifact.svg +16 -0
- package/assets/archimate4/icons/assessment.svg +17 -0
- package/assets/archimate4/icons/business-actor.svg +22 -0
- package/assets/archimate4/icons/business-interface.svg +16 -0
- package/assets/archimate4/icons/business-object.svg +14 -0
- package/assets/archimate4/icons/capability.svg +40 -0
- package/assets/archimate4/icons/collaboration.svg +21 -0
- package/assets/archimate4/icons/communication-network.svg +18 -0
- package/assets/archimate4/icons/course-of-action.svg +20 -0
- package/assets/archimate4/icons/data-object.svg +14 -0
- package/assets/archimate4/icons/deliverable.svg +11 -0
- package/assets/archimate4/icons/device.svg +18 -0
- package/assets/archimate4/icons/distribution-network.svg +19 -0
- package/assets/archimate4/icons/driver.svg +24 -0
- package/assets/archimate4/icons/equipment.svg +31 -0
- package/assets/archimate4/icons/event.svg +15 -0
- package/assets/archimate4/icons/facility.svg +16 -0
- package/assets/archimate4/icons/function.svg +13 -0
- package/assets/archimate4/icons/glyphs/activity.svg +3 -0
- package/assets/archimate4/icons/glyphs/actor.svg +14 -0
- package/assets/archimate4/icons/glyphs/application-component.svg +12 -0
- package/assets/archimate4/icons/glyphs/artifact.svg +9 -0
- package/assets/archimate4/icons/glyphs/assessment.svg +9 -0
- package/assets/archimate4/icons/glyphs/capability.svg +32 -0
- package/assets/archimate4/icons/glyphs/cloud-gear.svg +3 -0
- package/assets/archimate4/icons/glyphs/collaboration.svg +15 -0
- package/assets/archimate4/icons/glyphs/communication-network.svg +12 -0
- package/assets/archimate4/icons/glyphs/constraint.svg +10 -0
- package/assets/archimate4/icons/glyphs/contract.svg +5 -0
- package/assets/archimate4/icons/glyphs/course-of-action.svg +12 -0
- package/assets/archimate4/icons/glyphs/data-object.svg +4 -0
- package/assets/archimate4/icons/glyphs/deliverable.svg +3 -0
- package/assets/archimate4/icons/glyphs/device.svg +10 -0
- package/assets/archimate4/icons/glyphs/distribution-network.svg +11 -0
- package/assets/archimate4/icons/glyphs/driver.svg +16 -0
- package/assets/archimate4/icons/glyphs/equipment.svg +22 -0
- package/assets/archimate4/icons/glyphs/event.svg +6 -0
- package/assets/archimate4/icons/glyphs/facility.svg +7 -0
- package/assets/archimate4/icons/glyphs/function.svg +6 -0
- package/assets/archimate4/icons/glyphs/gap.svg +14 -0
- package/assets/archimate4/icons/glyphs/goal.svg +10 -0
- package/assets/archimate4/icons/glyphs/grouping.svg +4 -0
- package/assets/archimate4/icons/glyphs/interaction.svg +10 -0
- package/assets/archimate4/icons/glyphs/interface.svg +8 -0
- package/assets/archimate4/icons/glyphs/location.svg +6 -0
- package/assets/archimate4/icons/glyphs/material.svg +12 -0
- package/assets/archimate4/icons/glyphs/meaning.svg +3 -0
- package/assets/archimate4/icons/glyphs/node.svg +8 -0
- package/assets/archimate4/icons/glyphs/object.svg +4 -0
- package/assets/archimate4/icons/glyphs/outcome.svg +16 -0
- package/assets/archimate4/icons/glyphs/path.svg +10 -0
- package/assets/archimate4/icons/glyphs/person-silhouette.svg +3 -0
- package/assets/archimate4/icons/glyphs/plateau.svg +8 -0
- package/assets/archimate4/icons/glyphs/principle.svg +12 -0
- package/assets/archimate4/icons/glyphs/process.svg +6 -0
- package/assets/archimate4/icons/glyphs/product.svg +4 -0
- package/assets/archimate4/icons/glyphs/representation.svg +4 -0
- package/assets/archimate4/icons/glyphs/requirement.svg +6 -0
- package/assets/archimate4/icons/glyphs/resource.svg +14 -0
- package/assets/archimate4/icons/glyphs/role.svg +6 -0
- package/assets/archimate4/icons/glyphs/service.svg +6 -0
- package/assets/archimate4/icons/glyphs/stakeholder.svg +6 -0
- package/assets/archimate4/icons/glyphs/system-software.svg +14 -0
- package/assets/archimate4/icons/glyphs/value-stream.svg +3 -0
- package/assets/archimate4/icons/glyphs/value.svg +3 -0
- package/assets/archimate4/icons/glyphs/work-package.svg +4 -0
- package/assets/archimate4/icons/goal.svg +18 -0
- package/assets/archimate4/icons/grouping.svg +12 -0
- package/assets/archimate4/icons/location.svg +14 -0
- package/assets/archimate4/icons/material.svg +21 -0
- package/assets/archimate4/icons/meaning.svg +11 -0
- package/assets/archimate4/icons/node.svg +14 -0
- package/assets/archimate4/icons/or-junction.svg +3 -0
- package/assets/archimate4/icons/outcome.svg +25 -0
- package/assets/archimate4/icons/path.svg +18 -0
- package/assets/archimate4/icons/plateau.svg +16 -0
- package/assets/archimate4/icons/principle.svg +21 -0
- package/assets/archimate4/icons/process.svg +15 -0
- package/assets/archimate4/icons/product.svg +12 -0
- package/assets/archimate4/icons/requirement.svg +14 -0
- package/assets/archimate4/icons/resource.svg +23 -0
- package/assets/archimate4/icons/role.svg +16 -0
- package/assets/archimate4/icons/service.svg +13 -0
- package/assets/archimate4/icons/stakeholder.svg +15 -0
- package/assets/archimate4/icons/system-software.svg +22 -0
- package/assets/archimate4/icons/technology-interface.svg +16 -0
- package/assets/archimate4/icons/value-stream.svg +11 -0
- package/assets/archimate4/icons/value.svg +11 -0
- package/assets/archimate4/icons/work-package.svg +12 -0
- package/assets/basic/basic-metamodel.ttl +100 -0
- package/assets/basic/basic-notation-bubble.ttl +175 -0
- package/assets/basic/basic-notation.ttl +172 -0
- package/assets/basic/basic-onto.ttl +171 -0
- package/assets/basic/basic-presentation-contexts.ttl +70 -0
- package/assets/basic/basic-tax.ttl +130 -0
- package/assets/basic/icons/aggregation.svg +7 -0
- package/assets/basic/icons/association.svg +6 -0
- package/assets/basic/icons/element.svg +5 -0
- package/assets/basic/icons/glyphs/aggregation.svg +6 -0
- package/assets/basic/icons/glyphs/association.svg +5 -0
- package/assets/basic/icons/glyphs/element.svg +5 -0
- package/assets/basic/icons/glyphs/relationship.svg +5 -0
- package/assets/basic/icons/relationship.svg +7 -0
- package/assets/basic/notation-bubble/icons/aggregation.svg +7 -0
- package/assets/basic/notation-bubble/icons/association.svg +6 -0
- package/assets/basic/notation-bubble/icons/element.svg +5 -0
- package/assets/basic/notation-bubble/icons/glyphs/aggregation.svg +6 -0
- package/assets/basic/notation-bubble/icons/glyphs/association.svg +5 -0
- package/assets/basic/notation-bubble/icons/glyphs/element.svg +5 -0
- package/assets/basic/notation-bubble/icons/glyphs/relationship.svg +5 -0
- package/assets/basic/notation-bubble/icons/relationship.svg +7 -0
- package/assets/catalog.ttl +7302 -0
- package/assets/core/core-notation.ttl +131 -0
- package/assets/core/core-onto.ttl +2811 -0
- package/assets/core/core-questions.ttl +957 -0
- package/assets/core/core-shapes.ttl +915 -0
- package/assets/core/core-vis-onto.ttl +1408 -0
- package/assets/core/core-vis-shapes.ttl +840 -0
- package/assets/core-vis/markers/circle-dot.svg +3 -0
- package/assets/core-vis/markers/closed-arrowhead.svg +3 -0
- package/assets/core-vis/markers/filled-diamond.svg +3 -0
- package/assets/core-vis/markers/half-arrowhead.svg +3 -0
- package/assets/core-vis/markers/hollow-arrowhead.svg +3 -0
- package/assets/core-vis/markers/hollow-diamond.svg +3 -0
- package/assets/core-vis/markers/open-arrowhead.svg +3 -0
- package/ci/README.md +126 -0
- package/ci/github/la-gram-git.yml +30 -0
- package/ci/gitlab/la-gram-git.gitlab-ci.yml +20 -0
- package/dist/637.js +51 -0
- package/dist/637.js.map +1 -0
- package/dist/la-gram-git.js +22936 -0
- package/dist/la-gram-git.js.map +1 -0
- package/package.json +31 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/NOTICE
ADDED
package/README.md
CHANGED
|
@@ -1,3 +1,215 @@
|
|
|
1
|
-
#
|
|
1
|
+
# la-gram-git
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
la-gram's architecture models in Git — checked, rewritten as la-gram writes them, compared by element,
|
|
4
|
+
merged by element — on the command line and in CI.
|
|
5
|
+
|
|
6
|
+
It is built from [la-gram](https://github.com/linked-archi/la-gram)'s own
|
|
7
|
+
engine, with the metamodels la-gram bundles, so what it says of a model file is what la-gram would: each
|
|
8
|
+
file is opened as la-gram's *File › Open* opens it, and validated against the same shapes.
|
|
9
|
+
|
|
10
|
+
```sh
|
|
11
|
+
npx @linked.archi/la-gram-git check --base origin/main # fails a change that breaks a model
|
|
12
|
+
npx @linked.archi/la-gram-git fix # rewrites model files as la-gram writes them
|
|
13
|
+
npx @linked.archi/la-gram-git diff origin/main # the change by element, as Markdown
|
|
14
|
+
npx @linked.archi/la-gram-git init gitlab # or github: CI for pull and merge requests
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Install
|
|
18
|
+
|
|
19
|
+
- **npx**, nothing installed: `npx @linked.archi/la-gram-git <command>`. Node.js 20 or later.
|
|
20
|
+
- **Globally**, for the merge driver or everyday use: `npm install --global @linked.archi/la-gram-git`,
|
|
21
|
+
then `la-gram-git <command>`.
|
|
22
|
+
- **The container image**, with Node.js and Git included: see [The container image](#the-container-image).
|
|
23
|
+
|
|
24
|
+
`la-gram-git --help` lists the commands; `la-gram-git --version` gives the version.
|
|
25
|
+
|
|
26
|
+
## Which files are models
|
|
27
|
+
|
|
28
|
+
A model file has a model extension — `.ttl`, `.trig`, `.jsonld`, `.nq`, `.nt` or `.rdf` — and an
|
|
29
|
+
`arch:Model` in it. Commands take files and folders; folders are searched, skipping hidden folders and
|
|
30
|
+
`node_modules`; with none, the current folder is searched. Other RDF files found in a folder, such as
|
|
31
|
+
vendored ontologies and shapes, are left alone. A file named on the command line that is not a model is an
|
|
32
|
+
error for `check`.
|
|
33
|
+
|
|
34
|
+
## Commands
|
|
35
|
+
|
|
36
|
+
### `check [paths…] [--base <branch>] [--shapes <folder>]`
|
|
37
|
+
|
|
38
|
+
Fails when a model file:
|
|
39
|
+
|
|
40
|
+
- does not parse;
|
|
41
|
+
- is not exactly as la-gram writes it — its triples serialized as la-gram's *Save* writes them: order,
|
|
42
|
+
prefixes and layout. The output says from which line it differs and gives the `fix` command;
|
|
43
|
+
- refers to something it does not have: a relationship's source or target, a view's node, a folder's entry;
|
|
44
|
+
- has a SHACL violation from the shapes of the metamodels it declares.
|
|
45
|
+
|
|
46
|
+
With `--base <branch>`, a violation fails only when the change adds it: the file is checked again as it was
|
|
47
|
+
where the current branch left `<branch>`, and violations it had there are listed, not failed. Parsing, the
|
|
48
|
+
written form and missing references fail always.
|
|
49
|
+
|
|
50
|
+
Never failed, only listed: warnings and info (counted), and the findings of the shapes' SPARQL-based rules —
|
|
51
|
+
ArchiMate's principles, viewpoint conformance and the like — which are advisory for now. Each finding names
|
|
52
|
+
the IRI of its shape; on meta.linked.archi the IRI opens the shape's documentation.
|
|
53
|
+
|
|
54
|
+
Also listed, never failed: the model's IRIs that are outside the layout every Linked.Archi tool mints
|
|
55
|
+
([IRI Minting](https://meta.linked.archi/docs/guide/iri-minting/)) — a name not `{kind}/{id}`, a shape not named in
|
|
56
|
+
its view, a part not under its owner, a second `#`, a character a path cannot hold — and a namespace the model
|
|
57
|
+
does not state, or one that is not an `https:` or `http:` IRI ending in `/`. Names given before the layout,
|
|
58
|
+
la-gram's `element-…`, the converters' `view/…/node/…` and the Linked.Archi derivation rules' `derivation-…`, are
|
|
59
|
+
counted as legacy: no tool renames them.
|
|
60
|
+
|
|
61
|
+
`--shapes <folder>` adds the shapes (`.ttl`) of a folder — your repository's, or your organisation's — to the
|
|
62
|
+
metamodels'. Each file is a shapes document, as la-gram loads one: it names its graph with an
|
|
63
|
+
`owl:Ontology` (`<https://example.org/my-shapes> a owl:Ontology .`). A file that does not parse or names no
|
|
64
|
+
graph is refused, by name, before any model is checked (exit 2).
|
|
65
|
+
|
|
66
|
+
In GitHub Actions, each failure is also written as an annotation on its file.
|
|
67
|
+
|
|
68
|
+
### `fix [paths…]`
|
|
69
|
+
|
|
70
|
+
Rewrites model files exactly as la-gram writes them, changing no triple. It does not add what opening a
|
|
71
|
+
model in la-gram adds — a default view, a layout, retired vocabulary migrated: that is not a matter of how
|
|
72
|
+
the file is written.
|
|
73
|
+
|
|
74
|
+
### `diff <branch> [paths…] [--head <ref>] [--comment]`
|
|
75
|
+
|
|
76
|
+
What the change does to its model files, by element, as Markdown on the standard output: the concepts
|
|
77
|
+
added, changed and removed, as la-gram's History tab words them — since the change left `<branch>`, as a
|
|
78
|
+
host's own diff of a request is. `--head` compares another ref than `HEAD`; paths limit it to those files.
|
|
79
|
+
|
|
80
|
+
With `--comment`, the Markdown is also posted on the pull or merge request the CI job runs for, or
|
|
81
|
+
la-gram-git's earlier comment there is updated:
|
|
82
|
+
|
|
83
|
+
- **GitHub Actions** — with `GITHUB_TOKEN` in the step's environment (`pull-requests: write`);
|
|
84
|
+
- **GitLab CI**, gitlab.com or self-managed — with a project or group access token (role Reporter, scope
|
|
85
|
+
`api`) in the masked CI/CD variable `LA_GRAM_GIT_TOKEN`; the job's own token cannot comment.
|
|
86
|
+
|
|
87
|
+
Without a token, or outside a request, the comment is skipped with the reason on the standard error. A
|
|
88
|
+
comment that cannot be made never changes the exit code.
|
|
89
|
+
|
|
90
|
+
### `merge <base> <ours> <theirs> <path>`
|
|
91
|
+
|
|
92
|
+
Git's merge driver for model files (Git passes `%O %A %B %P`): the model merged by element, with la-gram's
|
|
93
|
+
own merge — the one *Save to Git* uses. Two changes to different elements merge even where they touched
|
|
94
|
+
neighbouring lines. The result is written to `<ours>` as la-gram writes it.
|
|
95
|
+
|
|
96
|
+
Where the two changes met, it exits 1 and Git marks the file conflicted. The changes meet when:
|
|
97
|
+
- one property of one element was changed both ways;
|
|
98
|
+
- one side deleted an element the other changed;
|
|
99
|
+
- a node was moved, or a line rerouted, both ways on a view;
|
|
100
|
+
- together, the two changes break a metamodel's count limit.
|
|
101
|
+
|
|
102
|
+
At those places the file holds the version from before either change (a deleted element is kept for now),
|
|
103
|
+
never `<<<<<<<` markers, which no RDF tool could read. The conflicts are listed in words on the standard
|
|
104
|
+
error.
|
|
105
|
+
|
|
106
|
+
When one side moved the model to another namespace, which renames every IRI in it, the common version and the
|
|
107
|
+
other side are moved after it first, each IRI keeping its local part, and the driver says so: the other
|
|
108
|
+
side's changes land in the new namespace. Both sides moved alike: merged as one. Each to a namespace of its
|
|
109
|
+
own: not merged, the file left as yours, exit 1.
|
|
110
|
+
|
|
111
|
+
`.gitattributes` routes files by extension, so ontologies and shapes files come to the driver too. A file
|
|
112
|
+
that is not a la-gram model on both sides, or does not parse, is merged as Git merges text without the
|
|
113
|
+
driver: with conflict markers where the changes meet. Resolve them in la-gram, or by editing the
|
|
114
|
+
file, and commit it.
|
|
115
|
+
|
|
116
|
+
### `init github|gitlab|merge-driver`
|
|
117
|
+
|
|
118
|
+
Sets the repository you run it in up. Nothing is overwritten.
|
|
119
|
+
|
|
120
|
+
- `github` writes `.github/workflows/la-gram-git.yml`.
|
|
121
|
+
- `gitlab` writes `.gitlab-ci.yml`, or, when there is one, `la-gram-git.gitlab-ci.yml` beside it, to
|
|
122
|
+
`include:`.
|
|
123
|
+
- `merge-driver` routes the model files to the driver in `.gitattributes` — commit that, for everyone — and
|
|
124
|
+
defines the driver in this clone's Git configuration. Each person runs it once in their clone, with
|
|
125
|
+
la-gram-git installed globally; a clone without it merges model files as text, as before.
|
|
126
|
+
|
|
127
|
+
The CI templates and how to set them up — the token, pinning a version, your own shapes, the container image
|
|
128
|
+
in a job — are described in
|
|
129
|
+
[ci/README.md](https://github.com/linked-archi/la-gram/blob/main/ci/README.md).
|
|
130
|
+
|
|
131
|
+
## The container image
|
|
132
|
+
|
|
133
|
+
`ghcr.io/linked-archi/la-gram-git` has la-gram-git installed globally on Node.js 22, with Git.
|
|
134
|
+
|
|
135
|
+
- **Tags:** each version (`0.1.0`), its major version (`0`) and `latest`. A pre-release (`0.2.0-rc.1`) has
|
|
136
|
+
only its own tag. For a build that never changes, pin the digest `docker pull` prints:
|
|
137
|
+
`…/la-gram-git@sha256:…`.
|
|
138
|
+
- **Platforms:** `linux/amd64` and `linux/arm64`, under each tag: Docker takes the one for its machine,
|
|
139
|
+
an Apple silicon Mac or an ARM runner included. The release builds each on its own platform and tries
|
|
140
|
+
it there; `<version>-amd64` and `<version>-arm64` are those builds, which the tags above combine.
|
|
141
|
+
- **No entrypoint:** name the tool in the command, `docker run … la-gram-git check`. Without a command
|
|
142
|
+
it prints the help.
|
|
143
|
+
|
|
144
|
+
On your machine, mount the repository's top folder (Git needs its `.git`) at `/repo`, the working folder:
|
|
145
|
+
|
|
146
|
+
```sh
|
|
147
|
+
IMAGE=ghcr.io/linked-archi/la-gram-git:0
|
|
148
|
+
docker run --rm --user "$(id -u):$(id -g)" -v "$PWD:/repo" "$IMAGE" la-gram-git check --base origin/main
|
|
149
|
+
docker run --rm --user "$(id -u):$(id -g)" -v "$PWD:/repo" "$IMAGE" la-gram-git fix
|
|
150
|
+
docker run --rm --user "$(id -u):$(id -g)" -v "$PWD:/repo" "$IMAGE" la-gram-git diff origin/main > changes.md
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
- **`--user`** makes the files `fix` rewrites belong to you rather than to root. Whoever owns the mounted
|
|
154
|
+
repository, the image lets Git read it (Git's `safe.directory`). In PowerShell, write `-v "${PWD}:/repo"`
|
|
155
|
+
and leave `--user` out.
|
|
156
|
+
- **Paths** are the container's: relative to `/repo`. A `--shapes` folder outside the repository is
|
|
157
|
+
mounted too: `-v "$HOME/our-shapes:/shapes:ro"` … `--shapes /shapes`.
|
|
158
|
+
- **`--base`** compares with a branch the clone has. Fetch it on your machine first: `git fetch origin main`.
|
|
159
|
+
|
|
160
|
+
**In CI**, make it the job's image — `image:` on GitLab, `container:` on GitHub Actions; both are in
|
|
161
|
+
[ci/README.md](https://github.com/linked-archi/la-gram/blob/main/ci/README.md).
|
|
162
|
+
The job's environment then reaches la-gram-git as it is, which `diff --comment` needs. Run with `docker run`
|
|
163
|
+
inside a job instead, the variables have to be passed in with `-e`: on GitLab `GITLAB_CI`,
|
|
164
|
+
`CI_MERGE_REQUEST_IID`, `CI_PROJECT_ID`, `CI_API_V4_URL` and `LA_GRAM_GIT_TOKEN`.
|
|
165
|
+
|
|
166
|
+
**Your own registry.** Where your machines or runners cannot reach `ghcr.io`, copy the image
|
|
167
|
+
into your registry:
|
|
168
|
+
|
|
169
|
+
```sh
|
|
170
|
+
docker pull ghcr.io/linked-archi/la-gram-git:0.1.0
|
|
171
|
+
docker tag ghcr.io/linked-archi/la-gram-git:0.1.0 registry.example.com/tools/la-gram-git:0.1.0
|
|
172
|
+
docker push registry.example.com/tools/la-gram-git:0.1.0
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
Or build it yourself: the `Dockerfile` is in la-gram's repository, beside the package.
|
|
176
|
+
|
|
177
|
+
**Not for the merge driver.** Git runs the driver once for every model file it merges, and starting a
|
|
178
|
+
container each time adds to every merge: install the npm package where the driver runs.
|
|
179
|
+
|
|
180
|
+
## The merge driver on the server
|
|
181
|
+
|
|
182
|
+
GitHub and gitlab.com merge a pull or merge request as text and cannot run a merge driver. A self-managed
|
|
183
|
+
GitLab can, set up by its administrator on its Gitaly servers — an option, never a requirement:
|
|
184
|
+
[la-gram's merge driver on Gitaly](https://github.com/linked-archi/la-gram/blob/main/packages/la-gram-git/docs/gitaly.md).
|
|
185
|
+
la-gram itself merges by element when it saves to Git, and `check` in CI holds on every host.
|
|
186
|
+
|
|
187
|
+
## Metamodels
|
|
188
|
+
|
|
189
|
+
Bundled: ArchiMate 4.0 and 3.2, la-gram's basic metamodel, and Linked.Archi's core, with their shapes, from
|
|
190
|
+
[meta.linked.archi](https://meta.linked.archi). la-gram-git reads only these copies and makes no network
|
|
191
|
+
request, apart from `diff --comment` to the host's API. A model that declares a metamodel la-gram-git does
|
|
192
|
+
not have is validated without it, and `check` says so.
|
|
193
|
+
|
|
194
|
+
## Exit codes
|
|
195
|
+
|
|
196
|
+
| Code | Meaning |
|
|
197
|
+
|---|---|
|
|
198
|
+
| 0 | All is well. |
|
|
199
|
+
| 1 | `check`: a model file failed. `merge`: the merge left conflicts. |
|
|
200
|
+
| 2 | It could not run: a wrong argument, a path that is not there, Git failing. |
|
|
201
|
+
|
|
202
|
+
## Environment
|
|
203
|
+
|
|
204
|
+
| Variable | Read by | |
|
|
205
|
+
|---|---|---|
|
|
206
|
+
| `GITHUB_TOKEN` | `diff --comment` in GitHub Actions | the workflow's token, to comment |
|
|
207
|
+
| `LA_GRAM_GIT_TOKEN` | `diff --comment` in GitLab CI | a project or group access token, to comment |
|
|
208
|
+
| `LA_GRAM_GIT_DEBUG` | every command | set, it keeps la-gram's own log on the standard output |
|
|
209
|
+
|
|
210
|
+
Tokens are read from the environment, sent only to the host's API in a header, and never written or shown.
|
|
211
|
+
|
|
212
|
+
## Licence
|
|
213
|
+
|
|
214
|
+
Apache License 2.0. The metamodel files under `assets/` are Linked.Archi's, each under the licence it
|
|
215
|
+
states.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
|
2
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
3
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
4
|
+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
5
|
+
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
|
6
|
+
@prefix dcterms: <http://purl.org/dc/terms/> .
|
|
7
|
+
@prefix prov: <http://www.w3.org/ns/prov#> .
|
|
8
|
+
@prefix cc: <http://creativecommons.org/ns#> .
|
|
9
|
+
@prefix vann: <http://purl.org/vocab/vann/> .
|
|
10
|
+
@prefix bibo: <http://purl.org/ontology/bibo/> .
|
|
11
|
+
@prefix arch: <https://meta.linked.archi/core#> .
|
|
12
|
+
@prefix ad: <https://meta.linked.archi/arch-decision#> .
|
|
13
|
+
@prefix : <https://meta.linked.archi/arch-decision/metamodel#> .
|
|
14
|
+
|
|
15
|
+
<https://meta.linked.archi/arch-decision/metamodel#>
|
|
16
|
+
a owl:Ontology ;
|
|
17
|
+
owl:imports <https://meta.linked.archi/core#> ;
|
|
18
|
+
cc:license "http://creativecommons.org/licenses/by/4.0/" ;
|
|
19
|
+
vann:preferredNamespaceUri "https://meta.linked.archi/arch-decision/metamodel#" ;
|
|
20
|
+
vann:preferredNamespacePrefix "admm" ;
|
|
21
|
+
dcterms:creator "Kalin Maldzhanski"^^xsd:string ;
|
|
22
|
+
dcterms:title "Linked.Archi Architecture Decisions Metamodel Definition"@en ;
|
|
23
|
+
dcterms:description '''Metamodel manifest for the Architecture Decisions extension. Ties together
|
|
24
|
+
the decision ontology, the relationship types that draw its links, the SKOS taxonomy and the SHACL
|
|
25
|
+
shapes into a single discoverable resource. Designed to be added beside a modelling language: a
|
|
26
|
+
decision record links to the elements of the architecture it decides about.'''@en ;
|
|
27
|
+
dcterms:created "2026-11-16"^^xsd:date ;
|
|
28
|
+
dcterms:modified "2026-11-16"^^xsd:date ;
|
|
29
|
+
dcterms:publisher "Linked.Archi"@en, <https://linked.archi> ;
|
|
30
|
+
bibo:status "draft" ;
|
|
31
|
+
owl:versionIRI <https://meta.linked.archi/arch-decision/metamodel/0.1.0#> ;
|
|
32
|
+
owl:versionInfo "0.1.0"@en ;
|
|
33
|
+
.
|
|
34
|
+
|
|
35
|
+
:ArchitectureDecisions
|
|
36
|
+
a arch:Metamodel ;
|
|
37
|
+
skos:prefLabel "Architecture Decisions Metamodel"@en ;
|
|
38
|
+
dcterms:description '''The Architecture Decisions metamodel definition, aggregating the decision
|
|
39
|
+
ontology — decisions, issues, options and the forces on them — the relationship types that draw the
|
|
40
|
+
links between them and to the architecture, the SKOS taxonomy and the SHACL shapes.'''@en ;
|
|
41
|
+
arch:modelConcepts <https://meta.linked.archi/arch-decision#> ;
|
|
42
|
+
arch:conceptClassification <https://meta.linked.archi/arch-decision/tax#> ;
|
|
43
|
+
arch:formalRules <https://meta.linked.archi/arch-decision-shapes#> ;
|
|
44
|
+
.
|