Skip to content

Commit f7f2fb2

Browse files
committed
new JSONLD-Schemata 2026-07-03.
1 parent 8ecfa1a commit f7f2fb2

30 files changed

Lines changed: 1419 additions & 1333 deletions

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-05-08/jsonld/">2026-05-08 (latest)</a><br />
35+
<a href="./schema/2026-07-03/jsonld/">2026-07-03 (latest)</a><br />
36+
<a href="./schema/2026-05-08/jsonld/">2026-05-08</a><br />
3637
<a href="./schema/2026-02-18/jsonld/">2026-02-18</a><br />
3738
<a href="./schema/2026-01-12/jsonld/">2026-01-12</a>
3839
</p>

public/assets/jsonld/Entity.json

Lines changed: 28 additions & 28 deletions
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-05-08/jsonld/Entity.json",
3+
"$id": "http://product-information-graph.org/schema/2026-07-03/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",
@@ -108,34 +108,34 @@
108108
"pattern": "^(?:[A-Za-z_][A-Za-z0-9_-]*:[^:\\s]+|https?://[^\\s]+)$",
109109
"description": "A valid ID string: either a namespaced identifier (prefix:name) or a URL"
110110
},
111-
"idObject": {
112-
"type": "object",
113-
"required": [ "@id" ],
114-
"properties": {
115-
"@id": {
116-
"$ref": "#/$defs/idString"
117-
}
118-
},
119-
"additionalProperties": false,
120-
"description": "JSON-LD ID object wrapper"
111+
"idObject": {
112+
"type": "object",
113+
"required": [ "@id" ],
114+
"properties": {
115+
"@id": {
116+
"$ref": "#/$defs/idString"
117+
}
118+
},
119+
"additionalProperties": false,
120+
"description": "JSON-LD ID object wrapper"
121+
},
122+
"languageValue": {
123+
"type": "object",
124+
"required": [ "@value" ],
125+
"properties": {
126+
"@value": {
127+
"type": "string",
128+
"minLength": 1,
129+
"description": "The actual text content"
121130
},
122-
"languageValue": {
123-
"type": "object",
124-
"required": [ "@value" ],
125-
"properties": {
126-
"@value": {
127-
"type": "string",
128-
"minLength": 1,
129-
"description": "The actual text content"
130-
},
131-
"@language": {
132-
"type": "string",
133-
"pattern": "^[a-z]{2}(-[A-Z]{2})?$",
134-
"description": "IETF language tag (e.g., 'en', 'de', 'en-US')"
135-
}
136-
},
137-
"additionalProperties": false,
138-
"description": "Multi-language text value with optional language tag"
131+
"@language": {
132+
"type": "string",
133+
"pattern": "^[a-z]{2}(-[A-Z]{2})?$",
134+
"description": "IETF language tag (e.g., 'en', 'de', 'en-US')"
139135
}
136+
},
137+
"additionalProperties": false,
138+
"description": "Multi-language text value with optional language tag"
139+
}
140140
}
141141
}

public/assets/jsonld/Enumeration.json

Lines changed: 3 additions & 6 deletions
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-05-08/jsonld/Enumeration.json",
3+
"$id": "http://product-information-graph.org/schema/2026-07-03/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",
@@ -72,10 +72,6 @@
7272
"sh:datatype": {
7373
"$ref": "#/$defs/idObject"
7474
},
75-
"cas:unit": {
76-
"type": "string",
77-
"description": "Unit of measurement (SI unit)"
78-
},
7975
"cas:enumeratedValue": {
8076
"type": "array",
8177
"description": "Enumeration of allowed values",
@@ -123,7 +119,8 @@
123119
"@id",
124120
"@type",
125121
"cas:itemType",
126-
"dcterms:title"
122+
"dcterms:title",
123+
"sh:datatype"
127124
],
128125
"additionalProperties": false,
129126
"$defs": {

public/assets/jsonld/Link.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-05-08/jsonld/Link.json",
3+
"$id": "http://product-information-graph.org/schema/2026-07-03/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",

public/assets/jsonld/Property.json

Lines changed: 3 additions & 6 deletions
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-05-08/jsonld/Property.json",
3+
"$id": "http://product-information-graph.org/schema/2026-07-03/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",
@@ -96,10 +96,6 @@
9696
"type": "string",
9797
"description": "Regular expression pattern for string validation"
9898
},
99-
"cas:unit": {
100-
"type": "string",
101-
"description": "Unit of measurement (SI unit)"
102-
},
10399
"sh:defaultValue": {
104100
"type": "string",
105101
"description": "Default value for this property"
@@ -116,7 +112,8 @@
116112
"@id",
117113
"@type",
118114
"cas:itemType",
119-
"dcterms:title"
115+
"dcterms:title",
116+
"sh:datatype"
120117
],
121118
"additionalProperties": false,
122119
"$defs": {

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-05-08/jsonld/Relationship.json",
3+
"$id": "http://product-information-graph.org/schema/2026-07-03/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)