Skip to content

Commit ed036d9

Browse files
authored
Merge pull request #109 from GfSE/101-render-the-document-outline-with-collapsible-folders-per-tree
Refactoring with improvements of JSON-LD import and TTL export.
2 parents 0bbb8b1 + eab38f2 commit ed036d9

44 files changed

Lines changed: 4593 additions & 3076 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

design/CASCaRA-Reference-Implementation/1_Source/CASCaRA-Reference-Implementation.archimate

Lines changed: 70 additions & 58 deletions
Large diffs are not rendered by default.

design/CASCaRA-Reference-Implementation/1_Source/CASCaRA-Reference-Implementation.archimate.bak

Lines changed: 70 additions & 58 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "CASCaRA-Validation-Tool",
3-
"version": "0.2.8",
3+
"version": "0.2.9",
44
"private": true,
55
"scripts": {
66
"prebuild": "node scripts/generate-build-info.js",

public/assets/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ <h2 id="cascara-schema-server-content">Content</h2>
3232
<li>
3333
<p>
3434
<strong>JSON-LD Schemata:</strong> The versions as developed by the CASCaRA Submission Team:<br />
35-
<a href="./schema/2026-07-03/jsonld/">2026-07-03 (latest)</a><br />
35+
<a href="./schema/2026-07-20/jsonld/">2026-07-20 (latest)</a><br />
36+
<a href="./schema/2026-07-03/jsonld/">2026-07-03</a><br />
3637
<a href="./schema/2026-05-08/jsonld/">2026-05-08</a><br />
3738
<a href="./schema/2026-02-18/jsonld/">2026-02-18</a><br />
3839
<a href="./schema/2026-01-12/jsonld/">2026-01-12</a>

public/assets/jsonld/Entity.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "http://product-information-graph.org/schema/2026-07-03/jsonld/Entity.json",
3+
"$id": "http://product-information-graph.org/schema/2026-07-20/jsonld/Entity.json",
44
"title": "CASCaRA Entity Schema for JSON-LD",
55
"description": "Validates <strong>Entity</strong> class definitions for individual information objects. Configures which properties (cas:enumeratedProperty) and which outgoing links are allowed (cas:enumeratedTargetLink). Entities classify primary information objects such as Requirements, Components and Diagrams in a systems engineering context. Supports specialization hierarchies via cas:specializes and optional visual representation via cas:icon.",
66
"type": "object",

public/assets/jsonld/Enumeration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "http://product-information-graph.org/schema/2026-07-03/jsonld/Enumeration.json",
3+
"$id": "http://product-information-graph.org/schema/2026-07-20/jsonld/Enumeration.json",
44
"title": "CASCaRA Enumeration Schema for JSON-LD",
55
"description": "Validates Enumeration class definitions. Must include datatype specification (string, integer, double, boolean, dateTime, etc.), enumeration values (cas:enumeratedValue), measurement units.",
66
"type": "object",

public/assets/jsonld/Link.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "http://product-information-graph.org/schema/2026-07-03/jsonld/Link.json",
3+
"$id": "http://product-information-graph.org/schema/2026-07-20/jsonld/Link.json",
44
"title": "CASCaRA Link Schema for JSON-LD",
55
"description": "Validates Link class definitions that specify navigable connections between items. Defines enumerated endpoint classes (cas:enumeratedEndpoint) which determine which Entity or Relationship classes can be connected via this link type. Links enable traversal of the information graph and support bi-directional relationships when paired (e.g., 'contains' / 'is contained by').",
66
"type": "object",
@@ -27,6 +27,10 @@
2727
},
2828
"additionalProperties": false
2929
},
30+
"sh:defaultValue": {
31+
"$ref": "#/$defs/idObject",
32+
"description": "Default value for this property"
33+
},
3034
"cas:revision": {
3135
"type": "string",
3236
"description": "Revision identifier for version control"
@@ -77,6 +81,14 @@
7781
"$ref": "#/$defs/idObject"
7882
}
7983
},
84+
"cas:revisionAware": {
85+
"type": "boolean",
86+
"description": "Indicates whether the link is version-aware. If true, instances must specify identifier and revision of the endpoints."
87+
},
88+
"dash:readOnly": {
89+
"type": "boolean",
90+
"description": "If true, the link value of an instance cannot be changed once assigned; default is false"
91+
},
8092
"sh:minCount": {
8193
"type": "integer",
8294
"minimum": 0

public/assets/jsonld/Property.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "http://product-information-graph.org/schema/2026-07-03/jsonld/Property.json",
3+
"$id": "http://product-information-graph.org/schema/2026-07-20/jsonld/Property.json",
44
"title": "CASCaRA Property Schema for JSON-LD",
55
"description": "Validates Property class definitions that specify attributes for entities and relationships. May include datatype specifications (string, integer, double, boolean, dateTime, etc.), cardinality constraints (sh:minCount, sh:maxCount, value constraints (sh:minInclusive, sh:maxInclusive, sh:maxLength, sh:pattern), default values, measurement units, and support for composed properties.",
66
"type": "object",
@@ -74,6 +74,10 @@
7474
"sh:datatype": {
7575
"$ref": "#/$defs/idObject"
7676
},
77+
"dash:readOnly": {
78+
"type": "boolean",
79+
"description": "If true, the property value of an instance cannot be changed once assigned; default is false"
80+
},
7781
"sh:minCount": {
7882
"type": "integer",
7983
"minimum": 0

public/assets/jsonld/Relationship.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "http://product-information-graph.org/schema/2026-07-03/jsonld/Relationship.json",
3+
"$id": "http://product-information-graph.org/schema/2026-07-20/jsonld/Relationship.json",
44
"title": "CASCaRA Relationship Schema for JSON-LD",
55
"description": "Validates <strong>Relationship</strong> class definitions for directed connections between entities. Configures which properties (cas:enumeratedProperty), source links (cas:enumeratedSourceLink) and target links (cas:enumeratedTargetLink) are allowed. Relationships are reified connections that can carry their own properties, enabling rich traceability and dependency modeling (e.g., 'Refinement' relationships with rationale and traceability status). Relationships classify meaningful statements including a subject and an object, where both the subject and the object is an entity or relationship instance. Supports specialization hierarchies and optional icons.",
66
"type": "object",

0 commit comments

Comments
 (0)