Skip to content

Commit 2bb4a51

Browse files
committed
Update version in schema-path to 2026-07-20.
1 parent 1fdb11b commit 2bb4a51

10 files changed

Lines changed: 17 additions & 17 deletions

File tree

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: 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/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",

public/assets/jsonld/Property.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/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",

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",

public/assets/jsonld/aPackage.json

Lines changed: 8 additions & 8 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-07-03/jsonld/aPackage.json",
3+
"$id": "http://product-information-graph.org/schema/2026-07-20/jsonld/aPackage.json",
44
"title": "CASCaRA aPackage Schema for JSON-LD",
55
"description": "Validates a complete JSON-LD document (CASCaRA aPackage) with @context (namespace and vocabulary definitions) as well as @graph (array of PIG items). The graph contains a mix of item classes (Property, Link, Entity, Relationship) and instances (anEntity, aRelationship). Package-level metadata includes optional dcterms:modified, dcterms:creator, dcterms:title, and dcterms:description. Validates each item against its corresponding schema based on cas:itemType.",
66
"type": "object",
@@ -127,7 +127,7 @@
127127
}
128128
},
129129
"then": {
130-
"$ref": "http://product-information-graph.org/schema/2026-07-03/jsonld/anEntity.json"
130+
"$ref": "http://product-information-graph.org/schema/2026-07-20/jsonld/anEntity.json"
131131
}
132132
},
133133
{
@@ -143,7 +143,7 @@
143143
}
144144
},
145145
"then": {
146-
"$ref": "http://product-information-graph.org/schema/2026-07-03/jsonld/aRelationship.json"
146+
"$ref": "http://product-information-graph.org/schema/2026-07-20/jsonld/aRelationship.json"
147147
}
148148
},
149149
{
@@ -159,7 +159,7 @@
159159
}
160160
},
161161
"then": {
162-
"$ref": "http://product-information-graph.org/schema/2026-07-03/jsonld/Property.json"
162+
"$ref": "http://product-information-graph.org/schema/2026-07-20/jsonld/Property.json"
163163
}
164164
},
165165
{
@@ -175,7 +175,7 @@
175175
}
176176
},
177177
"then": {
178-
"$ref": "http://product-information-graph.org/schema/2026-07-03/jsonld/Link.json"
178+
"$ref": "http://product-information-graph.org/schema/2026-07-20/jsonld/Link.json"
179179
}
180180
},
181181
{
@@ -191,7 +191,7 @@
191191
}
192192
},
193193
"then": {
194-
"$ref": "http://product-information-graph.org/schema/2026-07-03/jsonld/Entity.json"
194+
"$ref": "http://product-information-graph.org/schema/2026-07-20/jsonld/Entity.json"
195195
}
196196
},
197197
{
@@ -207,7 +207,7 @@
207207
}
208208
},
209209
"then": {
210-
"$ref": "http://product-information-graph.org/schema/2026-07-03/jsonld/Relationship.json"
210+
"$ref": "http://product-information-graph.org/schema/2026-07-20/jsonld/Relationship.json"
211211
}
212212
},
213213
{
@@ -223,7 +223,7 @@
223223
}
224224
},
225225
"then": {
226-
"$ref": "http://product-information-graph.org/schema/2026-07-03/jsonld/Enumeration.json"
226+
"$ref": "http://product-information-graph.org/schema/2026-07-20/jsonld/Enumeration.json"
227227
}
228228
}
229229
]

public/assets/jsonld/aRelationship.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/aRelationship.json",
3+
"$id": "http://product-information-graph.org/schema/2026-07-20/jsonld/aRelationship.json",
44
"title": "CASCaRA ARelationship Schema for JSON-LD",
55
"description": "Validates <strong>relationship instances</strong> representing directed, reified connections between items (i.e. entity or relationship instances). Similar metadata to entities, but additionally requires both source links (cas:aSourceLink) and target links (cas:aTargetLink) conforming to the class definition. Source and target links reference entity or relationship instances. Properties can carry contextual information about the relationship (e.g., traceability status, rationale, coverage analysis). Reification enables relationships to be first-class items with their own lifecycle and properties. Must have a dcterms:title and optionally a dcterms:description to convey meaning.",
66
"type": "object",

public/assets/jsonld/anEntity.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/anEntity.json",
3+
"$id": "http://product-information-graph.org/schema/2026-07-20/jsonld/anEntity.json",
44
"title": "CASCaRA AnEntity Schema for JSON-LD",
55
"description": "Validates <strong>entity instances</strong> with actual property values and target link references. Includes mandatory metadata: @type (reference to Entity class), cas:revision, dcterms:modified timestamp, optional cas:priorRevision and dcterms:creator. Properties can have direct values (@value) or reference enumeration values (@id) as defined by its class. Target links reference other entity or relationship instances. Must have either dcterms:title or dcterms:description (or both) to convey meaning.",
66
"type": "object",

src/common/lib/definitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface IHostedOntology {
2525
}
2626

2727
const CAS_DOMAIN = 'http://product-information-graph.org/';
28-
const CAS_VERSION = '2026-07-03';
28+
const CAS_VERSION = '2026-07-20';
2929
const CAS_NS = 'cas:';
3030
const DCMI_NS = 'dcterms:';
3131

src/common/schema/pig/json/pig-schemata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class PigSchemaFactory {
2424
return 'http://json-schema.org/draft-07/schema#';
2525
}
2626
static getSchemaPath() {
27-
return 'https://product-information-graph.org/schema/2026-07-03/cas/';
27+
return `https://product-information-graph.org/schema/${DEF.pigVersion}/cas/`;
2828
}
2929
static getDefs() {
3030
return {

0 commit comments

Comments
 (0)