From 45df9cc28cee69d93de3a901cfab50f7821e23b8 Mon Sep 17 00:00:00 2001 From: yuchengluo Date: Tue, 24 Oct 2023 16:42:56 +0200 Subject: [PATCH 1/4] shared certificate v_2.0.0 --- .../2.0.0/RecyclingStrategyCertificate.ttl | 108 ++++++++++++++++++ .../2.0.0/metadata.json | 1 + 2 files changed, 109 insertions(+) create mode 100644 io.catenax.shared.recycling_strategy_certificate/2.0.0/RecyclingStrategyCertificate.ttl create mode 100644 io.catenax.shared.recycling_strategy_certificate/2.0.0/metadata.json diff --git a/io.catenax.shared.recycling_strategy_certificate/2.0.0/RecyclingStrategyCertificate.ttl b/io.catenax.shared.recycling_strategy_certificate/2.0.0/RecyclingStrategyCertificate.ttl new file mode 100644 index 00000000..39a0c63b --- /dev/null +++ b/io.catenax.shared.recycling_strategy_certificate/2.0.0/RecyclingStrategyCertificate.ttl @@ -0,0 +1,108 @@ +####################################################################### +# Copyright (c) 2023 SAP SE +# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft +# Copyright (c) 2023 LRP Autorecycling Leipzig GmbH +# Copyright (c) 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This work is made available under the terms of the +# Creative Commons Attribution 4.0 International (CC-BY-4.0) license, +# which is available at +# https://creativecommons.org/licenses/by/4.0/legalcode. +# +# SPDX-License-Identifier: CC-BY-4.0 + +@prefix samm: . +@prefix samm-c: . +@prefix samm-e: . +@prefix unit: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . +@prefix : . + +:RecyclingStrategyCertificate a samm:Aspect ; + samm:preferredName "Recycling strategy certificate"@en ; + samm:description "The certificate marks the point in time at which an asset irrevocably enters a new life. The eol (end of life) phase is completed and a new product life cycle is started."@en ; + samm:properties ( :recyclingStrategyCertificateProperty ) ; + samm:operations ( ) ; + samm:events ( ) . + +:recyclingStrategyCertificateProperty a samm:Property ; + samm:preferredName "Recycling strategy certificate property"@en ; + samm:characteristic :RecyclingStrategyCertificateCharacteristic . + +:RecyclingStrategyCertificateCharacteristic a samm:Characteristic ; + samm:preferredName "Recycling strategy certificate characteristic"@en ; + samm:dataType :RecyclingStrategyCertificateEntity . + +:RecyclingStrategyCertificateEntity a samm:Entity ; + samm:preferredName "Recycling Strategy Certificate"@en ; + samm:properties ( :issuer :issueDate :catenaXIdPreviousLife :catenaXId :articleNumber :vin :oeNumber ) . + +:issuer a samm:Property ; + samm:preferredName "Issuer"@en ; + samm:description "BPMN of the business partner who creates this certificate"@en ; + samm:characteristic :IssuerCharacteristic ; + samm:exampleValue "BPNLBMW000000001" . + +:issueDate a samm:Property ; + samm:preferredName "Issue date"@en ; + samm:description "This is the date when the certificate was issued."@en ; + samm:characteristic samm-c:Timestamp ; + samm:exampleValue "2022-02-03T14:48:54.709Z"^^xsd:dateTime . + +:catenaXIdPreviousLife a samm:Property ; + samm:preferredName "Catena X ID previous life"@en ; + samm:description "Twin identification previous life"@en ; + samm:characteristic :CatenaXIdTraitCharacteristic ; + samm:exampleValue "urn:uuid:055c1128-0375-47c8-98de-7cf802c3241d" . + +:catenaXId a samm:Property ; + samm:preferredName "Catena-X Identifier"@en ; + samm:description "The Catena-X ID of the given part (e.g. the assembly), valid for the Catena-X dataspace."@en ; + samm:characteristic :CatenaXIdTraitCharacteristic ; + samm:exampleValue "urn:uuid:055c1128-0375-47c8-98de-7cf802c3241d" . + +:articleNumber a samm:Property ; + samm:preferredName "Article Number"@en ; + samm:description "Unique identification assigned by the authorized company for internal referencing"@en ; + samm:characteristic samm-c:Text ; + samm:exampleValue "1003467581006" . + +:vin a samm:Property ; + samm:preferredName "VIN"@en ; + samm:description "Vehicle Identification Number. Remark: this should be deducted from a reference to the vehicle TWIN"@en ; + samm:characteristic samm-c:Text ; + samm:exampleValue "WBA41DU060S228332" . + +:oeNumber a samm:Property ; + samm:preferredName "OE number"@en ; + samm:description "original equipment number"@en ; + samm:characteristic samm-c:Text ; + samm:exampleValue "736 49 28 - 02" . + +:IssuerCharacteristic a samm:Characteristic ; + samm:preferredName "Issuer characteristic"@en ; + samm:dataType xsd:string . + +:CatenaXIdTraitCharacteristic a samm-c:Trait ; + samm:description "Trait to ensure UUID v4 data format"@en ; + samm-c:baseCharacteristic :UUIDCharacteristic ; + samm-c:constraint :UUIDv4RegularExpression . + +:UUIDCharacteristic a samm:Characteristic ; + samm:preferredName "UUIDv4Characteristic"@en ; + samm:description "A version 4 UUID is a universally unique identifier that is generated using random 32 hexadecimal characters."@en ; + samm:see ; + samm:dataType xsd:string . + +:UUIDv4RegularExpression a samm-c:RegularExpressionConstraint ; + samm:preferredName "Catena-X Id Regular Expression"@en ; + samm:description "The provided regular expression ensures that the UUID is composed of five groups of characters separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 hexadecimal characters and 4 hyphens), optionally prefixed by \"urn:uuid:\" to make it an IRI."@en ; + samm:see ; + samm:value "(^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)|(^urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)" . + diff --git a/io.catenax.shared.recycling_strategy_certificate/2.0.0/metadata.json b/io.catenax.shared.recycling_strategy_certificate/2.0.0/metadata.json new file mode 100644 index 00000000..c9d302c4 --- /dev/null +++ b/io.catenax.shared.recycling_strategy_certificate/2.0.0/metadata.json @@ -0,0 +1 @@ +{ "status" : "standardized"} From f20ae193f42c13f1130c4064e5ddcbb9998c9bed Mon Sep 17 00:00:00 2001 From: yuchengluo Date: Tue, 31 Oct 2023 14:38:41 +0100 Subject: [PATCH 2/4] model update --- .../2.0.0/RecyclingStrategyCertificate.ttl | 31 ++++--------------- .../2.0.0/metadata.json | 2 +- .../RELEASE_NOTES.md | 10 ++++++ 3 files changed, 17 insertions(+), 26 deletions(-) diff --git a/io.catenax.shared.recycling_strategy_certificate/2.0.0/RecyclingStrategyCertificate.ttl b/io.catenax.shared.recycling_strategy_certificate/2.0.0/RecyclingStrategyCertificate.ttl index 39a0c63b..827f5e3a 100644 --- a/io.catenax.shared.recycling_strategy_certificate/2.0.0/RecyclingStrategyCertificate.ttl +++ b/io.catenax.shared.recycling_strategy_certificate/2.0.0/RecyclingStrategyCertificate.ttl @@ -23,6 +23,8 @@ @prefix rdfs: . @prefix xsd: . @prefix : . +@prefix ext-number: . +@prefix ext-uuid: . :RecyclingStrategyCertificate a samm:Aspect ; samm:preferredName "Recycling strategy certificate"@en ; @@ -45,8 +47,8 @@ :issuer a samm:Property ; samm:preferredName "Issuer"@en ; - samm:description "BPMN of the business partner who creates this certificate"@en ; - samm:characteristic :IssuerCharacteristic ; + samm:description "BPN of the business partner who creates this certificate"@en ; + samm:characteristic ext-number:BpnlTrait ; samm:exampleValue "BPNLBMW000000001" . :issueDate a samm:Property ; @@ -58,13 +60,13 @@ :catenaXIdPreviousLife a samm:Property ; samm:preferredName "Catena X ID previous life"@en ; samm:description "Twin identification previous life"@en ; - samm:characteristic :CatenaXIdTraitCharacteristic ; + samm:characteristic ext-uuid:UuidV4Trait ; samm:exampleValue "urn:uuid:055c1128-0375-47c8-98de-7cf802c3241d" . :catenaXId a samm:Property ; samm:preferredName "Catena-X Identifier"@en ; samm:description "The Catena-X ID of the given part (e.g. the assembly), valid for the Catena-X dataspace."@en ; - samm:characteristic :CatenaXIdTraitCharacteristic ; + samm:characteristic ext-uuid:UuidV4Trait ; samm:exampleValue "urn:uuid:055c1128-0375-47c8-98de-7cf802c3241d" . :articleNumber a samm:Property ; @@ -85,24 +87,3 @@ samm:characteristic samm-c:Text ; samm:exampleValue "736 49 28 - 02" . -:IssuerCharacteristic a samm:Characteristic ; - samm:preferredName "Issuer characteristic"@en ; - samm:dataType xsd:string . - -:CatenaXIdTraitCharacteristic a samm-c:Trait ; - samm:description "Trait to ensure UUID v4 data format"@en ; - samm-c:baseCharacteristic :UUIDCharacteristic ; - samm-c:constraint :UUIDv4RegularExpression . - -:UUIDCharacteristic a samm:Characteristic ; - samm:preferredName "UUIDv4Characteristic"@en ; - samm:description "A version 4 UUID is a universally unique identifier that is generated using random 32 hexadecimal characters."@en ; - samm:see ; - samm:dataType xsd:string . - -:UUIDv4RegularExpression a samm-c:RegularExpressionConstraint ; - samm:preferredName "Catena-X Id Regular Expression"@en ; - samm:description "The provided regular expression ensures that the UUID is composed of five groups of characters separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 hexadecimal characters and 4 hyphens), optionally prefixed by \"urn:uuid:\" to make it an IRI."@en ; - samm:see ; - samm:value "(^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)|(^urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)" . - diff --git a/io.catenax.shared.recycling_strategy_certificate/2.0.0/metadata.json b/io.catenax.shared.recycling_strategy_certificate/2.0.0/metadata.json index c9d302c4..eb94ac1e 100644 --- a/io.catenax.shared.recycling_strategy_certificate/2.0.0/metadata.json +++ b/io.catenax.shared.recycling_strategy_certificate/2.0.0/metadata.json @@ -1 +1 @@ -{ "status" : "standardized"} +{ "status" : "release"} diff --git a/io.catenax.shared.recycling_strategy_certificate/RELEASE_NOTES.md b/io.catenax.shared.recycling_strategy_certificate/RELEASE_NOTES.md index 4d2302ac..3994a945 100644 --- a/io.catenax.shared.recycling_strategy_certificate/RELEASE_NOTES.md +++ b/io.catenax.shared.recycling_strategy_certificate/RELEASE_NOTES.md @@ -3,6 +3,16 @@ All notable changes to this model will be documented in this file. ## [Unreleased] +## [2.0.0] - 2023-10-25 +### Added +- Upgarde from BAMM model to SAMM model +- new features: Article Number, VIN, OE number + +### Changed +- Using shared aspect (BusinessPartnerNumber, Uuid) instead of defining new attributes + +### Removed + ## [1.0.0] - 2023-02-08 ### Added - initial model From 847eeb7a43ebf13df79ab43e25aef2214272a558 Mon Sep 17 00:00:00 2001 From: yuchengluo Date: Fri, 3 Nov 2023 16:00:10 +0100 Subject: [PATCH 3/4] model update --- .../2.0.0/RecyclingStrategyCertificate.ttl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/io.catenax.shared.recycling_strategy_certificate/2.0.0/RecyclingStrategyCertificate.ttl b/io.catenax.shared.recycling_strategy_certificate/2.0.0/RecyclingStrategyCertificate.ttl index 827f5e3a..b227f2dd 100644 --- a/io.catenax.shared.recycling_strategy_certificate/2.0.0/RecyclingStrategyCertificate.ttl +++ b/io.catenax.shared.recycling_strategy_certificate/2.0.0/RecyclingStrategyCertificate.ttl @@ -35,10 +35,12 @@ :recyclingStrategyCertificateProperty a samm:Property ; samm:preferredName "Recycling strategy certificate property"@en ; + samm:description "Describes the property of Recycling strategy certificate"@en ; samm:characteristic :RecyclingStrategyCertificateCharacteristic . :RecyclingStrategyCertificateCharacteristic a samm:Characteristic ; samm:preferredName "Recycling strategy certificate characteristic"@en ; + samm:description "Describes the characteristic of Recycling strategy certificate"@en ; samm:dataType :RecyclingStrategyCertificateEntity . :RecyclingStrategyCertificateEntity a samm:Entity ; @@ -49,7 +51,7 @@ samm:preferredName "Issuer"@en ; samm:description "BPN of the business partner who creates this certificate"@en ; samm:characteristic ext-number:BpnlTrait ; - samm:exampleValue "BPNLBMW000000001" . + samm:exampleValue "BPNL8888888888XX" . :issueDate a samm:Property ; samm:preferredName "Issue date"@en ; From 197f0984623d6ff90a1dd247ed67a2bd5e5a4ac3 Mon Sep 17 00:00:00 2001 From: yuchengluo Date: Thu, 9 Nov 2023 09:54:07 +0100 Subject: [PATCH 4/4] model update --- .../RELEASE_NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.catenax.shared.recycling_strategy_certificate/RELEASE_NOTES.md b/io.catenax.shared.recycling_strategy_certificate/RELEASE_NOTES.md index 3994a945..fa3ad928 100644 --- a/io.catenax.shared.recycling_strategy_certificate/RELEASE_NOTES.md +++ b/io.catenax.shared.recycling_strategy_certificate/RELEASE_NOTES.md @@ -3,7 +3,7 @@ All notable changes to this model will be documented in this file. ## [Unreleased] -## [2.0.0] - 2023-10-25 +## [2.0.0] - 2023-11-07 ### Added - Upgarde from BAMM model to SAMM model - new features: Article Number, VIN, OE number