From eaf3bc07ff5f969ed4d6f96c52054996bfc8b3a7 Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Fri, 9 Feb 2024 14:27:07 +0100 Subject: [PATCH 01/18] Create metadata.json --- io.catenax.single_level_usage_as_built/3.0.0/metadata.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 io.catenax.single_level_usage_as_built/3.0.0/metadata.json diff --git a/io.catenax.single_level_usage_as_built/3.0.0/metadata.json b/io.catenax.single_level_usage_as_built/3.0.0/metadata.json new file mode 100644 index 00000000..eb94ac1e --- /dev/null +++ b/io.catenax.single_level_usage_as_built/3.0.0/metadata.json @@ -0,0 +1 @@ +{ "status" : "release"} From ca08648606e2de0a5af72feb55c87df285fd158c Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Fri, 9 Feb 2024 14:28:17 +0100 Subject: [PATCH 02/18] Create SingleLevelUsageAsBuilt.ttl --- .../3.0.0/SingleLevelUsageAsBuilt.ttl | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl diff --git a/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl b/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl new file mode 100644 index 00000000..00a6d2cf --- /dev/null +++ b/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl @@ -0,0 +1,122 @@ +####################################################################### +# Copyright (c) 2022,2023, 2024 BASF SE +# Copyright (c) 2022,2023, 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) +# Copyright (c) 2022,2023, 2024 Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V. (represented by Fraunhofer ISST & Fraunhofer IML) +# Copyright (c) 2022,2023, 2024 German Edge Cloud GmbH & Co. KG +# Copyright (c) 2022,2023, 2024 Henkel AG & Co. KGaA +# Copyright (c) 2022,2023, 2024 Mercedes Benz AG +# Copyright (c) 2022,2023, 2024 Robert Bosch Manufacturing Solutions GmbH +# Copyright (c) 2022,2023, 2024 SAP SE +# Copyright (c) 2022,2023, 2024 Siemens AG +# Copyright (c) 2022,2023, 2024 T-Systems International GmbH +# Copyright (c) 2022,2023, 2024 ZF Friedrichshafen AG +# Copyright (c) 2022,2023, 2024 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 : . +@prefix ext-number: . +@prefix ext-quantity: . +@prefix ext-uuid: . + +:SingleLevelUsageAsBuilt a samm:Aspect; + samm:preferredName "SingleLevelUsageAsBuilt"@en; + samm:description "The aspect provides the information in which parent part(s)/product(s)the given item is assembled in. Could be a 1:1 relationship in terms of an e.g. a brake component or 1:n for e.g. coatings. The parent item must refer to an object from as-built lifecycle phase, i.e. a batch or a serialized part."@en; + samm:properties (:catenaXId :customers :parentItems); + samm:operations (); + samm:events (). + +:catenaXId a samm:Property; + samm:preferredName "Catena-X Identifier"@en; + samm:description "The Catena-X ID of the given part (e.g. the component), valid for the Catena-X dataspace."@en; + samm:characteristic ext-uuid:UuidV4Trait; + samm:exampleValue "urn:uuid:055c1128-0375-47c8-98de-7cf802c3241d". + +:customers a samm:Property; + samm:preferredName "Customers"@en; + samm:description "A list of all customers of this item. If the parent items in which this item is assembled into are known, they should be listed as well.\n\nFor serialized items the list should contain only one customer with one parent item.\nAs different subsets of a batch might be sold to different customers this is a list."@en; + samm:characteristic :ListOfCustomersCharacteristic. + +:parentItems a samm:Property; + samm:preferredName "Parent Items"@en; + samm:description "Set of parent items, in which the given child object is assembled in (one structural level up).\n\nFor serialized items the list should contain only one parent item.\nAs different subsets of a batch might be used by a customer in different items this is a list."@en; + samm:characteristic :SetOfParentItemsCharacteristic. + +:ListOfCustomersCharacteristic a samm-c:List; + samm:preferredName "List of Customers Characteristic"@en; + samm:description "A list of customers and their related parent items."@en; + samm:dataType :Customer. + +:SetOfParentItemsCharacteristic a samm-c:Set; + samm:preferredName "Set of Parent Items"@en; + samm:description "Set of parent items the given child object is assembled in (one structural level up)."@en; + samm:dataType :ParentData. + +:Customer a samm:Entity; + samm:preferredName "Customer"@en; + samm:description "A customer and their related items, if known."@en; + samm:properties (:createdOn [ samm:property :lastModifiedOn; samm:optional true ] :businessPartner). + +:ParentData a samm:Entity; + samm:preferredName "Parent Data"@en; + samm:description "Catena-X ID and meta data of the parent item."@en; + samm:properties ([ samm:property :quantity; samm:optional true ] :createdOn [ samm:property :lastModifiedOn; samm:optional true ] :isOnlyPotentialParent :parentCatenaXId :businessPartner). + +:createdOn a samm:Property; + samm:preferredName "Created On"@en; + samm:description "Timestamp when the relation between the parent part and the child part was created, e.g. when the given child part was assembled into the parent part."@en; + samm:characteristic samm-c:Timestamp; + samm:exampleValue "2022-02-03T14:48:54.709Z"^^xsd:dateTime. + +:lastModifiedOn a samm:Property; + samm:preferredName "Last Modification Date"@en; + samm:description "Timestamp when the assembly relationship between parent part and child part was last modified."@en; + samm:characteristic samm-c:Timestamp; + samm:exampleValue "2022-02-03T14:48:54.709Z"^^xsd:dateTime. + +:businessPartner a samm:Property; + samm:preferredName "Business Partner"@en; + samm:description "The supplier of the given child item."@en; + samm:characteristic ext-number:BpnlTrait; + samm:exampleValue "BPNL50096894aNXY". + +:quantity a samm:Property; + samm:preferredName "Quantity"@en; + samm:description "Quantity of which the child part is assembled into the parent part. In general it is '1' for serialized parts."@en; + samm:characteristic :QuantityCharacteristic. + +:isOnlyPotentialParent a samm:Property; + samm:preferredName "Is Only Potential Parent"@en; + samm:description "Expresses the certainty whether the part has been used as component or input material in the produced item. If the value is false, it can be assumed that the part has been used. If the value is true, there are alternatives for that part, and it is unknown if this part item or an alternative part item has been used.\nThis is the case when, e.g. the same item is supplied by two suppliers, and the item is only tracked by a customer part ID during assembly. Thus, these items cannot be differentiated from each other.\n"@en; + samm:characteristic samm-c:Boolean; + samm:exampleValue false. + +:parentCatenaXId a samm:Property; + samm:preferredName "Catena-X Parent ID"@en; + samm:description "The Catena-X ID of the parent object, into which the given child object is assembled in."@en; + samm:characteristic ext-uuid:UuidV4Trait; + samm:exampleValue "urn:uuid:43364d8c-cf38-423c-b907-6e68e0f0fe2f". + +:QuantityCharacteristic a samm-c:Quantifiable; + samm:description "Describes the quantity in which the child part is assembled in the parent object by providing a quantity value and the measurement unit in which the quantity is measured."@en; + samm:dataType :Quantity. + +:Quantity a samm:Entity; + samm:description "Comprises the number of objects and the unit of measurement for the respective child objects"@en; + samm:properties (ext-quantity:itemUnit ext-quantity:quantityValue). From 6696b9a7ec0b97d9eaa7e686f8aacdd119697604 Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Fri, 9 Feb 2024 15:25:38 +0100 Subject: [PATCH 03/18] Update RELEASE_NOTES.md --- .../RELEASE_NOTES.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md index 0cebaeff..41494b79 100644 --- a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md +++ b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md @@ -1,7 +1,20 @@ # Changelog All notable changes to this model will be documented in this file. -## [Unreleased] +## [3.0.0] - 19.02.2024 +### Added +- added new `parentCatenaXId` property as child of the existing `parentItems` property +- added a new link from the new `parentCatenaXId` property to the `UuidV4Trait` of the shared uuid 2.0.0 aspect model + +### Changed +- changed `parentItems` property to be a mandatory child of the `SingleLevelUsageBuilt` aspect property instead of a child of the `customers` property +- replaced the `quantityNumber` and `measurementUnit` properties with the `itemUnit` and `quantityValue` properties of the shared quantity 2.0.0 aspect model +- replaced the whole `CatenaXIdTraitCharacteristi`c and its childs with the `UuidV4Trait` of the shared uuid 2.0.0 aspect model +- replaced the whole `BpnTrait` and its childs with the `BpnlTrait` of the shared business_partner_number 2.0.0 aspect model +- description of some objects were adjusted + +### Removed +- removed duplicate Timestamp of the `lastModifiedOn` property (linked instead to the exisitng Timestamp property) ## [2.0.0] - 2023-09-01 ### Added From ddc56b707a7ffc40d18aeddbbc6cb351a90d7935 Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Fri, 9 Feb 2024 15:26:15 +0100 Subject: [PATCH 04/18] Update RELEASE_NOTES.md --- io.catenax.single_level_usage_as_built/RELEASE_NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md index 41494b79..e306b839 100644 --- a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md +++ b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md @@ -14,7 +14,7 @@ All notable changes to this model will be documented in this file. - description of some objects were adjusted ### Removed -- removed duplicate Timestamp of the `lastModifiedOn` property (linked instead to the exisitng Timestamp property) +- removed duplicate `Timestamp` of the `lastModifiedOn` property (linked instead to the exisitng Timestamp property) ## [2.0.0] - 2023-09-01 ### Added From 4a5d3c11127a517ec2ec0ed60ba12a0823d08f62 Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Fri, 9 Feb 2024 15:27:20 +0100 Subject: [PATCH 05/18] Update RELEASE_NOTES.md --- io.catenax.single_level_usage_as_built/RELEASE_NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md index e306b839..2c44415b 100644 --- a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md +++ b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md @@ -1,7 +1,7 @@ # Changelog All notable changes to this model will be documented in this file. -## [3.0.0] - 19.02.2024 +## [3.0.0] - 2024-02-19 ### Added - added new `parentCatenaXId` property as child of the existing `parentItems` property - added a new link from the new `parentCatenaXId` property to the `UuidV4Trait` of the shared uuid 2.0.0 aspect model From a196cc1d564c7f7572633e5139ae7c6951b5de82 Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Fri, 9 Feb 2024 15:29:18 +0100 Subject: [PATCH 06/18] Update SingleLevelUsageAsBuilt.ttl --- .../3.0.0/SingleLevelUsageAsBuilt.ttl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl b/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl index 00a6d2cf..b6de4378 100644 --- a/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl +++ b/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl @@ -38,7 +38,7 @@ :SingleLevelUsageAsBuilt a samm:Aspect; samm:preferredName "SingleLevelUsageAsBuilt"@en; samm:description "The aspect provides the information in which parent part(s)/product(s)the given item is assembled in. Could be a 1:1 relationship in terms of an e.g. a brake component or 1:n for e.g. coatings. The parent item must refer to an object from as-built lifecycle phase, i.e. a batch or a serialized part."@en; - samm:properties (:catenaXId :customers :parentItems); + samm:properties ( :catenaXId :customers :parentItems); samm:operations (); samm:events (). @@ -71,12 +71,12 @@ :Customer a samm:Entity; samm:preferredName "Customer"@en; samm:description "A customer and their related items, if known."@en; - samm:properties (:createdOn [ samm:property :lastModifiedOn; samm:optional true ] :businessPartner). + samm:properties ( :createdOn [ samm:property :lastModifiedOn; samm:optional true ] :businessPartner). :ParentData a samm:Entity; samm:preferredName "Parent Data"@en; samm:description "Catena-X ID and meta data of the parent item."@en; - samm:properties ([ samm:property :quantity; samm:optional true ] :createdOn [ samm:property :lastModifiedOn; samm:optional true ] :isOnlyPotentialParent :parentCatenaXId :businessPartner). + samm:properties ( [ samm:property :quantity; samm:optional true ] :createdOn [ samm:property :lastModifiedOn; samm:optional true ] :isOnlyPotentialParent :parentCatenaXId :businessPartner). :createdOn a samm:Property; samm:preferredName "Created On"@en; @@ -119,4 +119,4 @@ :Quantity a samm:Entity; samm:description "Comprises the number of objects and the unit of measurement for the respective child objects"@en; - samm:properties (ext-quantity:itemUnit ext-quantity:quantityValue). + samm:properties ( ext-quantity:itemUnit ext-quantity:quantityValue). From 89f203dd3dfc88843bc279b3dfcd0bc31e2f3bfb Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Fri, 9 Feb 2024 15:41:54 +0100 Subject: [PATCH 07/18] Update RELEASE_NOTES.md --- io.catenax.single_level_usage_as_built/RELEASE_NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md index 2c44415b..9d8f6780 100644 --- a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md +++ b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md @@ -7,7 +7,7 @@ All notable changes to this model will be documented in this file. - added a new link from the new `parentCatenaXId` property to the `UuidV4Trait` of the shared uuid 2.0.0 aspect model ### Changed -- changed `parentItems` property to be a mandatory child of the `SingleLevelUsageBuilt` aspect property instead of a child of the `customers` property +- changed `parentItems` property to be a mandatory child of the `SingleLevelUsageAsBuilt` aspect property instead of a child of the `customers` property - replaced the `quantityNumber` and `measurementUnit` properties with the `itemUnit` and `quantityValue` properties of the shared quantity 2.0.0 aspect model - replaced the whole `CatenaXIdTraitCharacteristi`c and its childs with the `UuidV4Trait` of the shared uuid 2.0.0 aspect model - replaced the whole `BpnTrait` and its childs with the `BpnlTrait` of the shared business_partner_number 2.0.0 aspect model From 1f66ad655f24ee28d2d6842e2848affb5c96c008 Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Fri, 9 Feb 2024 15:42:36 +0100 Subject: [PATCH 08/18] Update RELEASE_NOTES.md --- io.catenax.single_level_usage_as_built/RELEASE_NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md index 9d8f6780..eb9ff993 100644 --- a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md +++ b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md @@ -9,7 +9,7 @@ All notable changes to this model will be documented in this file. ### Changed - changed `parentItems` property to be a mandatory child of the `SingleLevelUsageAsBuilt` aspect property instead of a child of the `customers` property - replaced the `quantityNumber` and `measurementUnit` properties with the `itemUnit` and `quantityValue` properties of the shared quantity 2.0.0 aspect model -- replaced the whole `CatenaXIdTraitCharacteristi`c and its childs with the `UuidV4Trait` of the shared uuid 2.0.0 aspect model +- replaced the whole `CatenaXIdTraitCharacteristic` and its childs with the `UuidV4Trait` of the shared uuid 2.0.0 aspect model - replaced the whole `BpnTrait` and its childs with the `BpnlTrait` of the shared business_partner_number 2.0.0 aspect model - description of some objects were adjusted From fcb05efc1541be977f4f98e764d823a172568287 Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Fri, 9 Feb 2024 15:45:17 +0100 Subject: [PATCH 09/18] Update RELEASE_NOTES.md --- io.catenax.single_level_usage_as_built/RELEASE_NOTES.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md index eb9ff993..405e3196 100644 --- a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md +++ b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md @@ -13,8 +13,6 @@ All notable changes to this model will be documented in this file. - replaced the whole `BpnTrait` and its childs with the `BpnlTrait` of the shared business_partner_number 2.0.0 aspect model - description of some objects were adjusted -### Removed -- removed duplicate `Timestamp` of the `lastModifiedOn` property (linked instead to the exisitng Timestamp property) ## [2.0.0] - 2023-09-01 ### Added From 2a38cb3a70d533a61215bb73ab01ed2af8b15518 Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Thu, 15 Feb 2024 09:41:34 +0100 Subject: [PATCH 10/18] Update SingleLevelUsageAsBuilt.ttl --- .../3.0.0/SingleLevelUsageAsBuilt.ttl | 84 ++++++++++--------- 1 file changed, 44 insertions(+), 40 deletions(-) diff --git a/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl b/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl index b6de4378..15146732 100644 --- a/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl +++ b/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl @@ -38,7 +38,7 @@ :SingleLevelUsageAsBuilt a samm:Aspect; samm:preferredName "SingleLevelUsageAsBuilt"@en; samm:description "The aspect provides the information in which parent part(s)/product(s)the given item is assembled in. Could be a 1:1 relationship in terms of an e.g. a brake component or 1:n for e.g. coatings. The parent item must refer to an object from as-built lifecycle phase, i.e. a batch or a serialized part."@en; - samm:properties ( :catenaXId :customers :parentItems); + samm:properties (:catenaXId :customers :parentItems); samm:operations (); samm:events (). @@ -51,72 +51,76 @@ :customers a samm:Property; samm:preferredName "Customers"@en; samm:description "A list of all customers of this item. If the parent items in which this item is assembled into are known, they should be listed as well.\n\nFor serialized items the list should contain only one customer with one parent item.\nAs different subsets of a batch might be sold to different customers this is a list."@en; - samm:characteristic :ListOfCustomersCharacteristic. + samm:characteristic :CustomersTrait; + samm:exampleValue "BPNL50096894aNXY". :parentItems a samm:Property; samm:preferredName "Parent Items"@en; samm:description "Set of parent items, in which the given child object is assembled in (one structural level up).\n\nFor serialized items the list should contain only one parent item.\nAs different subsets of a batch might be used by a customer in different items this is a list."@en; samm:characteristic :SetOfParentItemsCharacteristic. -:ListOfCustomersCharacteristic a samm-c:List; - samm:preferredName "List of Customers Characteristic"@en; - samm:description "A list of customers and their related parent items."@en; - samm:dataType :Customer. +:CustomersTrait a samm-c:Trait; + samm:preferredName "Customers Trait"@en; + samm:description "Trait to ensure the integration of the BPNL Regular Expression."@en; + samm-c:baseCharacteristic :ListOfCustomersCharacteristic; + samm-c:constraint ext-number:BpnlRegularExpression. :SetOfParentItemsCharacteristic a samm-c:Set; samm:preferredName "Set of Parent Items"@en; samm:description "Set of parent items the given child object is assembled in (one structural level up)."@en; samm:dataType :ParentData. -:Customer a samm:Entity; - samm:preferredName "Customer"@en; - samm:description "A customer and their related items, if known."@en; - samm:properties ( :createdOn [ samm:property :lastModifiedOn; samm:optional true ] :businessPartner). +:ListOfCustomersCharacteristic a samm-c:List; + samm:preferredName "List of Customers Characteristic"@en; + samm:description "A list of customers and their related parent items."@en; + samm:dataType xsd:string. :ParentData a samm:Entity; samm:preferredName "Parent Data"@en; samm:description "Catena-X ID and meta data of the parent item."@en; - samm:properties ( [ samm:property :quantity; samm:optional true ] :createdOn [ samm:property :lastModifiedOn; samm:optional true ] :isOnlyPotentialParent :parentCatenaXId :businessPartner). + samm:properties ([ samm:property :quantity; samm:optional true ] :createdOn [ samm:property :lastModifiedOn; samm:optional true ] :isOnlyPotentialParent :businessPartner :catenaXId). + +:quantity a samm:Property; + samm:preferredName "Quantity"@en; + samm:description "Quantity of which the child part is assembled into the parent part. In general it is '1' for serialized parts."@en; + samm:characteristic ext-quantity:MiscQuantityCharacteristic. :createdOn a samm:Property; samm:preferredName "Created On"@en; samm:description "Timestamp when the relation between the parent part and the child part was created, e.g. when the given child part was assembled into the parent part."@en; - samm:characteristic samm-c:Timestamp; - samm:exampleValue "2022-02-03T14:48:54.709Z"^^xsd:dateTime. + samm:characteristic :DateTimeTrait; + samm:exampleValue "2022-02-03T14:48:54.709Z". :lastModifiedOn a samm:Property; samm:preferredName "Last Modification Date"@en; - samm:description "Timestamp when the assembly relationship between parent part and child part was last modified."@en; - samm:characteristic samm-c:Timestamp; - samm:exampleValue "2022-02-03T14:48:54.709Z"^^xsd:dateTime. - -:businessPartner a samm:Property; - samm:preferredName "Business Partner"@en; - samm:description "The supplier of the given child item."@en; - samm:characteristic ext-number:BpnlTrait; - samm:exampleValue "BPNL50096894aNXY". - -:quantity a samm:Property; - samm:preferredName "Quantity"@en; - samm:description "Quantity of which the child part is assembled into the parent part. In general it is '1' for serialized parts."@en; - samm:characteristic :QuantityCharacteristic. + samm:description "Timestamp when the assembly or usage relationship between parent part and child part was last modified."@en; + samm:characteristic :DateTimeTrait; + samm:exampleValue "2022-02-03T14:48:54.709Z". :isOnlyPotentialParent a samm:Property; samm:preferredName "Is Only Potential Parent"@en; samm:description "Expresses the certainty whether the part has been used as component or input material in the produced item. If the value is false, it can be assumed that the part has been used. If the value is true, there are alternatives for that part, and it is unknown if this part item or an alternative part item has been used.\nThis is the case when, e.g. the same item is supplied by two suppliers, and the item is only tracked by a customer part ID during assembly. Thus, these items cannot be differentiated from each other.\n"@en; samm:characteristic samm-c:Boolean; - samm:exampleValue false. + samm:exampleValue true. -:parentCatenaXId a samm:Property; - samm:preferredName "Catena-X Parent ID"@en; - samm:description "The Catena-X ID of the parent object, into which the given child object is assembled in."@en; - samm:characteristic ext-uuid:UuidV4Trait; - samm:exampleValue "urn:uuid:43364d8c-cf38-423c-b907-6e68e0f0fe2f". - -:QuantityCharacteristic a samm-c:Quantifiable; - samm:description "Describes the quantity in which the child part is assembled in the parent object by providing a quantity value and the measurement unit in which the quantity is measured."@en; - samm:dataType :Quantity. +:businessPartner a samm:Property; + samm:preferredName "Business Partner"@en; + samm:description "The supplier of the given child item."@en; + samm:characteristic ext-number:BpnlTrait; + samm:exampleValue "BPNL50096894aNXY". -:Quantity a samm:Entity; - samm:description "Comprises the number of objects and the unit of measurement for the respective child objects"@en; - samm:properties ( ext-quantity:itemUnit ext-quantity:quantityValue). +:DateTimeTrait a samm-c:Trait; + samm:preferredName "Date Time Trait"@en; + samm:description "Trait to ensure regular expressions with different date and time(zone)formats."@en; + samm-c:baseCharacteristic :DateTimeCharacteristic; + samm-c:constraint :DateTimeRegularExpression. + +:DateTimeCharacteristic a samm:Characteristic; + samm:preferredName "Date Time Characteristic"@en; + samm:description "Describes a property which contains the date and time with an optional timezone."@en; + samm:dataType xsd:string. + +:DateTimeRegularExpression a samm-c:RegularExpressionConstraint; + samm:preferredName "Date Time Regular Expression"@en; + samm:description "Regular Expression to enable UTC and Timezone formats and the possibility to exclude time information."@en; + samm:value "^(?:[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(?:[.][0-9]+)?Z|[0-9]{4}-[0-9]{2}-[0-9]{2}(?:T[0-9]{2}:[0-9]{2}:[0-9]{2}(?:[.][0-9]+)?(?:Z|[+-][0-9]{2}:[0-9]{2}))?)$". From aa5ce67a3cfd2fd9014a6a948d719c5b51894e47 Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Mon, 19 Feb 2024 13:55:57 +0100 Subject: [PATCH 11/18] Update SingleLevelUsageAsBuilt.ttl --- .../3.0.0/SingleLevelUsageAsBuilt.ttl | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl b/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl index 15146732..d56c3e7e 100644 --- a/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl +++ b/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl @@ -51,7 +51,7 @@ :customers a samm:Property; samm:preferredName "Customers"@en; samm:description "A list of all customers of this item. If the parent items in which this item is assembled into are known, they should be listed as well.\n\nFor serialized items the list should contain only one customer with one parent item.\nAs different subsets of a batch might be sold to different customers this is a list."@en; - samm:characteristic :CustomersTrait; + samm:characteristic :ListOfCustomersCharacteristic; samm:exampleValue "BPNL50096894aNXY". :parentItems a samm:Property; @@ -59,22 +59,16 @@ samm:description "Set of parent items, in which the given child object is assembled in (one structural level up).\n\nFor serialized items the list should contain only one parent item.\nAs different subsets of a batch might be used by a customer in different items this is a list."@en; samm:characteristic :SetOfParentItemsCharacteristic. -:CustomersTrait a samm-c:Trait; - samm:preferredName "Customers Trait"@en; - samm:description "Trait to ensure the integration of the BPNL Regular Expression."@en; - samm-c:baseCharacteristic :ListOfCustomersCharacteristic; - samm-c:constraint ext-number:BpnlRegularExpression. +:ListOfCustomersCharacteristic a samm-c:List; + samm:preferredName "List of Customers Characteristic"@en; + samm:description "A list of customers and their related parent items."@en; + samm-c:elementCharacteristic ext-number:BpnlTrait. :SetOfParentItemsCharacteristic a samm-c:Set; samm:preferredName "Set of Parent Items"@en; samm:description "Set of parent items the given child object is assembled in (one structural level up)."@en; samm:dataType :ParentData. -:ListOfCustomersCharacteristic a samm-c:List; - samm:preferredName "List of Customers Characteristic"@en; - samm:description "A list of customers and their related parent items."@en; - samm:dataType xsd:string. - :ParentData a samm:Entity; samm:preferredName "Parent Data"@en; samm:description "Catena-X ID and meta data of the parent item."@en; @@ -101,7 +95,7 @@ samm:preferredName "Is Only Potential Parent"@en; samm:description "Expresses the certainty whether the part has been used as component or input material in the produced item. If the value is false, it can be assumed that the part has been used. If the value is true, there are alternatives for that part, and it is unknown if this part item or an alternative part item has been used.\nThis is the case when, e.g. the same item is supplied by two suppliers, and the item is only tracked by a customer part ID during assembly. Thus, these items cannot be differentiated from each other.\n"@en; samm:characteristic samm-c:Boolean; - samm:exampleValue true. + samm:exampleValue false. :businessPartner a samm:Property; samm:preferredName "Business Partner"@en; From 013ca153940ef4bf6feff2ff2453dccd1dd9cdf3 Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Mon, 19 Feb 2024 13:57:36 +0100 Subject: [PATCH 12/18] Update SingleLevelUsageAsBuilt.ttl From b472ba229c757b789cbf9bfed2ac92e30d5fdf48 Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Mon, 19 Feb 2024 14:05:40 +0100 Subject: [PATCH 13/18] Update RELEASE_NOTES.md --- io.catenax.single_level_usage_as_built/RELEASE_NOTES.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md index 405e3196..3ce479b3 100644 --- a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md +++ b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md @@ -1,11 +1,7 @@ # Changelog All notable changes to this model will be documented in this file. -## [3.0.0] - 2024-02-19 -### Added -- added new `parentCatenaXId` property as child of the existing `parentItems` property -- added a new link from the new `parentCatenaXId` property to the `UuidV4Trait` of the shared uuid 2.0.0 aspect model - +## [3.0.0] - 2024-02-26 ### Changed - changed `parentItems` property to be a mandatory child of the `SingleLevelUsageAsBuilt` aspect property instead of a child of the `customers` property - replaced the `quantityNumber` and `measurementUnit` properties with the `itemUnit` and `quantityValue` properties of the shared quantity 2.0.0 aspect model From 8fe73f5402a291671d8f5e81c373489c7eaf8a86 Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Tue, 20 Feb 2024 09:52:15 +0100 Subject: [PATCH 14/18] Update RELEASE_NOTES.md --- io.catenax.single_level_usage_as_built/RELEASE_NOTES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md index 3ce479b3..e26833a3 100644 --- a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md +++ b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md @@ -4,6 +4,7 @@ All notable changes to this model will be documented in this file. ## [3.0.0] - 2024-02-26 ### Changed - changed `parentItems` property to be a mandatory child of the `SingleLevelUsageAsBuilt` aspect property instead of a child of the `customers` property +- changed customers property to be a list of BPNL - replaced the `quantityNumber` and `measurementUnit` properties with the `itemUnit` and `quantityValue` properties of the shared quantity 2.0.0 aspect model - replaced the whole `CatenaXIdTraitCharacteristic` and its childs with the `UuidV4Trait` of the shared uuid 2.0.0 aspect model - replaced the whole `BpnTrait` and its childs with the `BpnlTrait` of the shared business_partner_number 2.0.0 aspect model From 1f18541ae2fecbbf77fcd6ebf222d7ecb18fc181 Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Tue, 20 Feb 2024 09:56:12 +0100 Subject: [PATCH 15/18] Update RELEASE_NOTES.md --- io.catenax.single_level_usage_as_built/RELEASE_NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md index e26833a3..4617484b 100644 --- a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md +++ b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md @@ -4,7 +4,7 @@ All notable changes to this model will be documented in this file. ## [3.0.0] - 2024-02-26 ### Changed - changed `parentItems` property to be a mandatory child of the `SingleLevelUsageAsBuilt` aspect property instead of a child of the `customers` property -- changed customers property to be a list of BPNL +- changed `customers` property to be a list of BPNL - replaced the `quantityNumber` and `measurementUnit` properties with the `itemUnit` and `quantityValue` properties of the shared quantity 2.0.0 aspect model - replaced the whole `CatenaXIdTraitCharacteristic` and its childs with the `UuidV4Trait` of the shared uuid 2.0.0 aspect model - replaced the whole `BpnTrait` and its childs with the `BpnlTrait` of the shared business_partner_number 2.0.0 aspect model From 85bc0d581a6b58fcaa912f3526e1919108a18e1b Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Mon, 26 Feb 2024 10:32:28 +0100 Subject: [PATCH 16/18] Update SingleLevelUsageAsBuilt.ttl --- .../3.0.0/SingleLevelUsageAsBuilt.ttl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl b/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl index d56c3e7e..4af9ea78 100644 --- a/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl +++ b/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl @@ -117,4 +117,4 @@ :DateTimeRegularExpression a samm-c:RegularExpressionConstraint; samm:preferredName "Date Time Regular Expression"@en; samm:description "Regular Expression to enable UTC and Timezone formats and the possibility to exclude time information."@en; - samm:value "^(?:[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(?:[.][0-9]+)?Z|[0-9]{4}-[0-9]{2}-[0-9]{2}(?:T[0-9]{2}:[0-9]{2}:[0-9]{2}(?:[.][0-9]+)?(?:Z|[+-][0-9]{2}:[0-9]{2}))?)$". + samm:value "^-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?|(24:00:00(\.0+)?))(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)?$". From e1ff2f05ddbdb79f0c35d5f456e1193e4291314d Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Mon, 26 Feb 2024 10:45:42 +0100 Subject: [PATCH 17/18] Update SingleLevelUsageAsBuilt.ttl --- .../3.0.0/SingleLevelUsageAsBuilt.ttl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl b/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl index 4af9ea78..e36a5263 100644 --- a/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl +++ b/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl @@ -117,4 +117,4 @@ :DateTimeRegularExpression a samm-c:RegularExpressionConstraint; samm:preferredName "Date Time Regular Expression"@en; samm:description "Regular Expression to enable UTC and Timezone formats and the possibility to exclude time information."@en; - samm:value "^-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?|(24:00:00(\.0+)?))(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)?$". + samm:value "^-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?|(24:00:00(\\.0+)?))(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)?$". From 0c5bb39aa22be483a71575d4fab638790ac48c02 Mon Sep 17 00:00:00 2001 From: johannsvarela Date: Mon, 26 Feb 2024 16:44:52 +0100 Subject: [PATCH 18/18] Update SingleLevelUsageAsBuilt.ttl --- .../3.0.0/SingleLevelUsageAsBuilt.ttl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl b/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl index e36a5263..4f86b72c 100644 --- a/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl +++ b/io.catenax.single_level_usage_as_built/3.0.0/SingleLevelUsageAsBuilt.ttl @@ -77,7 +77,7 @@ :quantity a samm:Property; samm:preferredName "Quantity"@en; samm:description "Quantity of which the child part is assembled into the parent part. In general it is '1' for serialized parts."@en; - samm:characteristic ext-quantity:MiscQuantityCharacteristic. + samm:characteristic ext-quantity:ItemQuantityCharacteristic. :createdOn a samm:Property; samm:preferredName "Created On"@en;