From d50e1bcc29796e65c6f29f9afcca69e622079efb Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Tue, 6 Jun 2023 14:52:10 +0200 Subject: [PATCH 1/9] added SingleLevelUsageAsBuilt 2.0.0 --- .../2.0.0/SingleLevelUsageAsBuilt.ttl | 139 ++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl diff --git a/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl b/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl new file mode 100644 index 00000000..67dd6cb0 --- /dev/null +++ b/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl @@ -0,0 +1,139 @@ +####################################################################### +# Copyright (c) 2022,2023 BASF SE +# Copyright (c) 2022,2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) +# Copyright (c) 2022,2023 Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V. (represented by Fraunhofer ISST & Fraunhofer IML) +# Copyright (c) 2022,2023 German Edge Cloud GmbH & Co. KG +# Copyright (c) 2022,2023 Henkel AG & Co. KGaA +# Copyright (c) 2022,2023 Mercedes Benz AG +# Copyright (c) 2022,2023 Robert Bosch Manufacturing Solutions GmbH +# Copyright (c) 2022,2023 SAP SE +# Copyright (c) 2022,2023 Siemens AG +# Copyright (c) 2022,2023 T-Systems International GmbH +# Copyright (c) 2022,2023 ZF Friedrichshafen AG +# 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 : . + +: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 a e.g. a brake component or 1:n for e.g. coatings. The given item as well as 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 :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 assembly), valid for the Catena-X dataspace."@en ; + samm:characteristic :CatenaXIdTraitCharacteristic ; + samm:exampleValue "urn:uuid:055c1128-0375-47c8-98de-7cf802c3241d" . + +: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)."@en ; + samm:characteristic :SetOfParentItemsCharacteristic . + +:CatenaXIdTraitCharacteristic a samm-c:Trait ; + samm:description "Trait to ensure UUID v4 data format"@en ; + samm-c:baseCharacteristic :UUIDv4Characteristic ; + samm-c:constraint :UUIDv4RegularExpression . + +: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 . + +:UUIDv4Characteristic a samm:Characteristic ; + samm:preferredName "UUID v4"@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}$)" . + +:ParentData a samm:Entity ; + samm:preferredName "Parent Data"@en ; + samm:description "Catena-X ID and meta data of the parent item."@en ; + samm:properties ( :createdOn [ samm:property :quantity; samm:optional true ] [ samm:property :lastModifiedOn; samm:optional true ] [ samm:property :catenaXId; samm:optional true ] :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 . + +: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 . + +: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 . + +: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 ( :quantityNumber :measurementUnit ) . + +:quantityNumber a samm:Property ; + samm:preferredName "Quantity Number"@en ; + samm:description "The number of objects related to the measurement unit"@en ; + samm:characteristic :NumberOfObjects ; + samm:exampleValue "2.5"^^xsd:double . + +:measurementUnit a samm:Property ; + samm:description "Unit of Measurement for the quantity of serialized objects"@en ; + samm:see ; + samm:characteristic samm-c:UnitReference ; + samm:exampleValue "litre"^^samm:curie . + +:NumberOfObjects a samm:Characteristic ; + samm:description "Quantifiable number of objects in reference to the measurementUnit"@en ; + samm:dataType xsd:double . + +:businessPartner a samm:Property ; + samm:preferredName "Business Partner"@en ; + samm:description "The supplier of the given child item."@en ; + samm:characteristic :BpnTrait ; + samm:exampleValue "BPNL50096894aNXY" . + +:BpnTrait a samm-c:Trait ; + samm:preferredName "BPN Business Partner Number Trait"@en ; + samm-c:baseCharacteristic :BpnCharacteristic ; + samm-c:constraint :BpnConstraint . + +:BpnCharacteristic a samm:Characteristic ; + samm:preferredName "BPN Characteristic"@en ; + samm:dataType xsd:string . + +:BpnConstraint a samm-c:RegularExpressionConstraint ; + samm:preferredName "BPN Constraint"@en ; + samm:description "Business Partner Number Regular Expression allowing only BPNL which stands for a legal entity."@en ; + samm:value "^(BPNL)([0-9]{8})([a-zA-Z0-9]{4})$" . \ No newline at end of file From 06dfcd33f220d2633fb913666d76336c9a8a8016 Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Wed, 7 Jun 2023 16:14:21 +0200 Subject: [PATCH 2/9] initial commit of SingleLevelUsageAsBuilt 2.0.0 --- .../2.0.0/SingleLevelUsageAsBuilt.ttl | 94 +++++++++++-------- .../RELEASE_NOTES.md | 18 ++++ 2 files changed, 73 insertions(+), 39 deletions(-) diff --git a/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl b/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl index 67dd6cb0..19800a48 100644 --- a/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl +++ b/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl @@ -35,7 +35,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 a e.g. a brake component or 1:n for e.g. coatings. The given item as well as 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 :parentItems ) ; + samm:properties ( :catenaXId :customers ) ; samm:operations ( ) ; samm:events ( ) . @@ -45,20 +45,20 @@ samm:characteristic :CatenaXIdTraitCharacteristic ; samm:exampleValue "urn:uuid:055c1128-0375-47c8-98de-7cf802c3241d" . -: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)."@en ; - samm:characteristic :SetOfParentItemsCharacteristic . +: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 . :CatenaXIdTraitCharacteristic a samm-c:Trait ; samm:description "Trait to ensure UUID v4 data format"@en ; samm-c:baseCharacteristic :UUIDv4Characteristic ; samm-c:constraint :UUIDv4RegularExpression . -: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 :Customer . :UUIDv4Characteristic a samm:Characteristic ; samm:preferredName "UUID v4"@en ; @@ -72,10 +72,21 @@ 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}$)" . -:ParentData a samm:Entity ; - samm:preferredName "Parent Data"@en ; - samm:description "Catena-X ID and meta data of the parent item."@en ; - samm:properties ( :createdOn [ samm:property :quantity; samm:optional true ] [ samm:property :lastModifiedOn; samm:optional true ] [ samm:property :catenaXId; samm:optional true ] :businessPartner ) . +:Customer a samm:Entity ; + samm:preferredName "Customer"@en ; + samm:description "A customer and their related items, if known."@en ; + samm:properties ( [ samm:property :parentItems; samm:optional true ] :businessPartner :createdOn :lastModifiedOn ) . + +: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 . + +:businessPartner a samm:Property ; + samm:preferredName "Business Partner"@en ; + samm:description "The supplier of the given child item."@en ; + samm:characteristic :BpnTrait ; + samm:exampleValue "BPNL50096894aNXY" . :createdOn a samm:Property ; samm:preferredName "Created On"@en ; @@ -83,17 +94,41 @@ samm:characteristic samm-c:Timestamp ; samm:exampleValue "2022-02-03T14:48:54.709Z"^^xsd:dateTime . -: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 . - :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 . +: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 . + +:BpnTrait a samm-c:Trait ; + samm:preferredName "BPN Business Partner Number Trait"@en ; + samm-c:baseCharacteristic :BpnCharacteristic ; + samm-c:constraint :BpnConstraint . + +:ParentData a samm:Entity ; + samm:preferredName "Parent Data"@en ; + samm:description "Catena-X ID and meta data of the parent item."@en ; + samm:properties ( :quantity :catenaXId :createdOn :lastModifiedOn ) . + +:BpnCharacteristic a samm:Characteristic ; + samm:preferredName "BPN Characteristic"@en ; + samm:dataType xsd:string . + +:BpnConstraint a samm-c:RegularExpressionConstraint ; + samm:preferredName "BPN Constraint"@en ; + samm:description "Business Partner Number Regular Expression allowing only BPNL which stands for a legal entity."@en ; + samm:value "^(BPNL)([0-9]{8})([a-zA-Z0-9]{4})$" . + +: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 . + :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 . @@ -110,30 +145,11 @@ :measurementUnit a samm:Property ; samm:description "Unit of Measurement for the quantity of serialized objects"@en ; - samm:see ; + samm:see ; samm:characteristic samm-c:UnitReference ; - samm:exampleValue "litre"^^samm:curie . + samm:exampleValue "unit:litre"^^samm:curie . :NumberOfObjects a samm:Characteristic ; samm:description "Quantifiable number of objects in reference to the measurementUnit"@en ; samm:dataType xsd:double . -:businessPartner a samm:Property ; - samm:preferredName "Business Partner"@en ; - samm:description "The supplier of the given child item."@en ; - samm:characteristic :BpnTrait ; - samm:exampleValue "BPNL50096894aNXY" . - -:BpnTrait a samm-c:Trait ; - samm:preferredName "BPN Business Partner Number Trait"@en ; - samm-c:baseCharacteristic :BpnCharacteristic ; - samm-c:constraint :BpnConstraint . - -:BpnCharacteristic a samm:Characteristic ; - samm:preferredName "BPN Characteristic"@en ; - samm:dataType xsd:string . - -:BpnConstraint a samm-c:RegularExpressionConstraint ; - samm:preferredName "BPN Constraint"@en ; - samm:description "Business Partner Number Regular Expression allowing only BPNL which stands for a legal entity."@en ; - samm:value "^(BPNL)([0-9]{8})([a-zA-Z0-9]{4})$" . \ No newline at end of file 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 f754f08b..7dba0777 100644 --- a/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md +++ b/io.catenax.single_level_usage_as_built/RELEASE_NOTES.md @@ -3,6 +3,24 @@ All notable changes to this model will be documented in this file. ## [Unreleased] +## [2.0.0] +### Added +- added `customers` to reflect that the relation to parent items is not known at all times. Instead a reference to the customer is made. +- restructured `parentParts` to be enclosed +- added mandatory `businessPartner` to enable decentralized Digital Twin registry + + +### Changed +- renamed `parentParts` to `parentItems` +- made `parentItems` optional to reflect that parent items are not known at all times +- fixed example value for `measurementUnit` +- fixed link to samm unit catalogue for `measurementUnit` +- renamed `parentCatenaXId` to `catenaXId` +- improved some descriptions to reflect change from `part` to `item` +- generally improved some descriptions + +### Removed + ## [1.0.1] - 2022-08-11 ### Added - initial version of model From 4b3d6a71d52edcf0e89375b91d71ffaaa9eb9463 Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Tue, 13 Jun 2023 09:48:32 +0200 Subject: [PATCH 3/9] switched from SAMM 2.0.0 to BAMM 2.0.0 --- .../2.0.0/SingleLevelUsageAsBuilt.ttl | 252 +++++++++--------- 1 file changed, 126 insertions(+), 126 deletions(-) diff --git a/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl b/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl index 19800a48..148118bf 100644 --- a/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl +++ b/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl @@ -23,133 +23,133 @@ # SPDX-License-Identifier: CC-BY-4.0 ####################################################################### -@prefix samm: . -@prefix samm-c: . -@prefix samm-e: . -@prefix unit: . +@prefix bamm: . +@prefix bamm-c: . +@prefix bamm-e: . +@prefix unit: . @prefix rdf: . @prefix rdfs: . @prefix xsd: . -@prefix : . - -: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 a e.g. a brake component or 1:n for e.g. coatings. The given item as well as 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 ) ; - 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 assembly), valid for the Catena-X dataspace."@en ; - samm:characteristic :CatenaXIdTraitCharacteristic ; - 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 . - -:CatenaXIdTraitCharacteristic a samm-c:Trait ; - samm:description "Trait to ensure UUID v4 data format"@en ; - samm-c:baseCharacteristic :UUIDv4Characteristic ; - samm-c:constraint :UUIDv4RegularExpression . - -: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 . - -:UUIDv4Characteristic a samm:Characteristic ; - samm:preferredName "UUID v4"@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}$)" . - -:Customer a samm:Entity ; - samm:preferredName "Customer"@en ; - samm:description "A customer and their related items, if known."@en ; - samm:properties ( [ samm:property :parentItems; samm:optional true ] :businessPartner :createdOn :lastModifiedOn ) . - -: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 . - -:businessPartner a samm:Property ; - samm:preferredName "Business Partner"@en ; - samm:description "The supplier of the given child item."@en ; - samm:characteristic :BpnTrait ; - samm:exampleValue "BPNL50096894aNXY" . - -: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 . - -: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 . - -:BpnTrait a samm-c:Trait ; - samm:preferredName "BPN Business Partner Number Trait"@en ; - samm-c:baseCharacteristic :BpnCharacteristic ; - samm-c:constraint :BpnConstraint . - -:ParentData a samm:Entity ; - samm:preferredName "Parent Data"@en ; - samm:description "Catena-X ID and meta data of the parent item."@en ; - samm:properties ( :quantity :catenaXId :createdOn :lastModifiedOn ) . - -:BpnCharacteristic a samm:Characteristic ; - samm:preferredName "BPN Characteristic"@en ; - samm:dataType xsd:string . - -:BpnConstraint a samm-c:RegularExpressionConstraint ; - samm:preferredName "BPN Constraint"@en ; - samm:description "Business Partner Number Regular Expression allowing only BPNL which stands for a legal entity."@en ; - samm:value "^(BPNL)([0-9]{8})([a-zA-Z0-9]{4})$" . - -: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 . - -: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 ( :quantityNumber :measurementUnit ) . - -:quantityNumber a samm:Property ; - samm:preferredName "Quantity Number"@en ; - samm:description "The number of objects related to the measurement unit"@en ; - samm:characteristic :NumberOfObjects ; - samm:exampleValue "2.5"^^xsd:double . - -:measurementUnit a samm:Property ; - samm:description "Unit of Measurement for the quantity of serialized objects"@en ; - samm:see ; - samm:characteristic samm-c:UnitReference ; - samm:exampleValue "unit:litre"^^samm:curie . - -:NumberOfObjects a samm:Characteristic ; - samm:description "Quantifiable number of objects in reference to the measurementUnit"@en ; - samm:dataType xsd:double . +@prefix : . + +:SingleLevelUsageAsBuilt a bamm:Aspect ; + bamm:preferredName "SingleLevelUsageAsBuilt"@en ; + bamm: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 a e.g. a brake component or 1:n for e.g. coatings. The given item as well as the parent item must refer to an object from as-built lifecycle phase, i.e. a batch or a serialized part. "@en ; + bamm:properties ( :catenaXId :customers ) ; + bamm:operations ( ) ; + bamm:events ( ) . + +:catenaXId a bamm:Property ; + bamm:preferredName "Catena-X Identifier"@en ; + bamm:description "The Catena-X ID of the given part (e.g. the assembly), valid for the Catena-X dataspace."@en ; + bamm:characteristic :CatenaXIdTraitCharacteristic ; + bamm:exampleValue "urn:uuid:055c1128-0375-47c8-98de-7cf802c3241d" . + +:customers a bamm:Property ; + bamm:preferredName "Customers"@en ; + bamm: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 ; + bamm:characteristic :ListOfCustomersCharacteristic . + +:CatenaXIdTraitCharacteristic a bamm-c:Trait ; + bamm:description "Trait to ensure UUID v4 data format"@en ; + bamm-c:baseCharacteristic :UUIDv4Characteristic ; + bamm-c:constraint :UUIDv4RegularExpression . + +:ListOfCustomersCharacteristic a bamm-c:List ; + bamm:preferredName "List of Customers Characteristic"@en ; + bamm:description "A list of customers and their related parent items."@en ; + bamm:dataType :Customer . + +:UUIDv4Characteristic a bamm:Characteristic ; + bamm:preferredName "UUID v4"@en ; + bamm:description "A version 4 UUID is a universally unique identifier that is generated using random 32 hexadecimal characters."@en ; + bamm:see ; + bamm:dataType xsd:string . + +:UUIDv4RegularExpression a bamm-c:RegularExpressionConstraint ; + bamm:preferredName "Catena-X Id Regular Expression"@en ; + bamm: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 ; + bamm:see ; + bamm: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}$)" . + +:Customer a bamm:Entity ; + bamm:preferredName "Customer"@en ; + bamm:description "A customer and their related items, if known."@en ; + bamm:properties ( [ bamm:property :parentItems; bamm:optional true ] :businessPartner :createdOn :lastModifiedOn ) . + +:parentItems a bamm:Property ; + bamm:preferredName "Parent Items"@en ; + bamm: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 ; + bamm:characteristic :SetOfParentItemsCharacteristic . + +:businessPartner a bamm:Property ; + bamm:preferredName "Business Partner"@en ; + bamm:description "The supplier of the given child item."@en ; + bamm:characteristic :BpnTrait ; + bamm:exampleValue "BPNL50096894aNXY" . + +:createdOn a bamm:Property ; + bamm:preferredName "Created On"@en ; + bamm: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 ; + bamm:characteristic bamm-c:Timestamp ; + bamm:exampleValue "2022-02-03T14:48:54.709Z"^^xsd:dateTime . + +:lastModifiedOn a bamm:Property ; + bamm:preferredName "Last Modification Date"@en ; + bamm:description "Timestamp when the assembly relationship between parent part and child part was last modified."@en ; + bamm:characteristic bamm-c:Timestamp ; + bamm:exampleValue "2022-02-03T14:48:54.709Z"^^xsd:dateTime . + +:SetOfParentItemsCharacteristic a bamm-c:Set ; + bamm:preferredName "Set of Parent Items"@en ; + bamm:description "Set of parent items the given child object is assembled in (one structural level up)."@en ; + bamm:dataType :ParentData . + +:BpnTrait a bamm-c:Trait ; + bamm:preferredName "BPN Business Partner Number Trait"@en ; + bamm-c:baseCharacteristic :BpnCharacteristic ; + bamm-c:constraint :BpnConstraint . + +:ParentData a bamm:Entity ; + bamm:preferredName "Parent Data"@en ; + bamm:description "Catena-X ID and meta data of the parent item."@en ; + bamm:properties ( :quantity :catenaXId :createdOn :lastModifiedOn ) . + +:BpnCharacteristic a bamm:Characteristic ; + bamm:preferredName "BPN Characteristic"@en ; + bamm:dataType xsd:string . + +:BpnConstraint a bamm-c:RegularExpressionConstraint ; + bamm:preferredName "BPN Constraint"@en ; + bamm:description "Business Partner Number Regular Expression allowing only BPNL which stands for a legal entity."@en ; + bamm:value "^(BPNL)([0-9]{8})([a-zA-Z0-9]{4})$" . + +:quantity a bamm:Property ; + bamm:preferredName "Quantity"@en ; + bamm:description "Quantity of which the child part is assembled into the parent part. In general it is '1' for serialized parts."@en ; + bamm:characteristic :QuantityCharacteristic . + +:QuantityCharacteristic a bamm-c:Quantifiable ; + bamm: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 ; + bamm:dataType :Quantity . + +:Quantity a bamm:Entity ; + bamm:description "Comprises the number of objects and the unit of measurement for the respective child objects"@en ; + bamm:properties ( :quantityNumber :measurementUnit ) . + +:quantityNumber a bamm:Property ; + bamm:preferredName "Quantity Number"@en ; + bamm:description "The number of objects related to the measurement unit"@en ; + bamm:characteristic :NumberOfObjects ; + bamm:exampleValue "2.5"^^xsd:double . + +:measurementUnit a bamm:Property ; + bamm:description "Unit of Measurement for the quantity of serialized objects"@en ; + bamm:see ; + bamm:characteristic bamm-c:UnitReference ; + bamm:exampleValue "unit:litre"^^bamm:curie . + +:NumberOfObjects a bamm:Characteristic ; + bamm:description "Quantifiable number of objects in reference to the measurementUnit"@en ; + bamm:dataType xsd:double . From 908b464f56e380861aa9237a60eaccb2e9aff634 Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Tue, 13 Jun 2023 10:18:55 +0200 Subject: [PATCH 4/9] fixed broken link to unit catalog --- .../2.0.0/SingleLevelUsageAsBuilt.ttl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl b/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl index 148118bf..6f9ecefb 100644 --- a/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl +++ b/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl @@ -145,7 +145,7 @@ :measurementUnit a bamm:Property ; bamm:description "Unit of Measurement for the quantity of serialized objects"@en ; - bamm:see ; + bamm:see ; bamm:characteristic bamm-c:UnitReference ; bamm:exampleValue "unit:litre"^^bamm:curie . From 244923aa0de2bcfcbe566d44d6c63bcea8f9b3c9 Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Mon, 3 Jul 2023 15:22:15 +0200 Subject: [PATCH 5/9] updated from BAMM 1.0.0 to BAMM 2.0.0 --- .../2.0.0/SingleLevelUsageAsBuilt.ttl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl b/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl index 6f9ecefb..fb5901e3 100644 --- a/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl +++ b/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl @@ -23,10 +23,10 @@ # SPDX-License-Identifier: CC-BY-4.0 ####################################################################### -@prefix bamm: . -@prefix bamm-c: . -@prefix bamm-e: . -@prefix unit: . +@prefix bamm: . +@prefix bamm-c: . +@prefix bamm-e: . +@prefix unit: . @prefix rdf: . @prefix rdfs: . @prefix xsd: . From 74ae79f84f774a7d1ba33bbd7ccab0c8812c9f7c Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Tue, 11 Jul 2023 11:19:47 +0200 Subject: [PATCH 6/9] switched to SAMM 2.0.0 --- .../2.0.0/SingleLevelUsageAsBuilt.ttl | 252 +++++++++--------- 1 file changed, 126 insertions(+), 126 deletions(-) diff --git a/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl b/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl index fb5901e3..19800a48 100644 --- a/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl +++ b/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl @@ -23,133 +23,133 @@ # SPDX-License-Identifier: CC-BY-4.0 ####################################################################### -@prefix bamm: . -@prefix bamm-c: . -@prefix bamm-e: . -@prefix unit: . +@prefix samm: . +@prefix samm-c: . +@prefix samm-e: . +@prefix unit: . @prefix rdf: . @prefix rdfs: . @prefix xsd: . -@prefix : . - -:SingleLevelUsageAsBuilt a bamm:Aspect ; - bamm:preferredName "SingleLevelUsageAsBuilt"@en ; - bamm: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 a e.g. a brake component or 1:n for e.g. coatings. The given item as well as the parent item must refer to an object from as-built lifecycle phase, i.e. a batch or a serialized part. "@en ; - bamm:properties ( :catenaXId :customers ) ; - bamm:operations ( ) ; - bamm:events ( ) . - -:catenaXId a bamm:Property ; - bamm:preferredName "Catena-X Identifier"@en ; - bamm:description "The Catena-X ID of the given part (e.g. the assembly), valid for the Catena-X dataspace."@en ; - bamm:characteristic :CatenaXIdTraitCharacteristic ; - bamm:exampleValue "urn:uuid:055c1128-0375-47c8-98de-7cf802c3241d" . - -:customers a bamm:Property ; - bamm:preferredName "Customers"@en ; - bamm: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 ; - bamm:characteristic :ListOfCustomersCharacteristic . - -:CatenaXIdTraitCharacteristic a bamm-c:Trait ; - bamm:description "Trait to ensure UUID v4 data format"@en ; - bamm-c:baseCharacteristic :UUIDv4Characteristic ; - bamm-c:constraint :UUIDv4RegularExpression . - -:ListOfCustomersCharacteristic a bamm-c:List ; - bamm:preferredName "List of Customers Characteristic"@en ; - bamm:description "A list of customers and their related parent items."@en ; - bamm:dataType :Customer . - -:UUIDv4Characteristic a bamm:Characteristic ; - bamm:preferredName "UUID v4"@en ; - bamm:description "A version 4 UUID is a universally unique identifier that is generated using random 32 hexadecimal characters."@en ; - bamm:see ; - bamm:dataType xsd:string . - -:UUIDv4RegularExpression a bamm-c:RegularExpressionConstraint ; - bamm:preferredName "Catena-X Id Regular Expression"@en ; - bamm: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 ; - bamm:see ; - bamm: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}$)" . - -:Customer a bamm:Entity ; - bamm:preferredName "Customer"@en ; - bamm:description "A customer and their related items, if known."@en ; - bamm:properties ( [ bamm:property :parentItems; bamm:optional true ] :businessPartner :createdOn :lastModifiedOn ) . - -:parentItems a bamm:Property ; - bamm:preferredName "Parent Items"@en ; - bamm: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 ; - bamm:characteristic :SetOfParentItemsCharacteristic . - -:businessPartner a bamm:Property ; - bamm:preferredName "Business Partner"@en ; - bamm:description "The supplier of the given child item."@en ; - bamm:characteristic :BpnTrait ; - bamm:exampleValue "BPNL50096894aNXY" . - -:createdOn a bamm:Property ; - bamm:preferredName "Created On"@en ; - bamm: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 ; - bamm:characteristic bamm-c:Timestamp ; - bamm:exampleValue "2022-02-03T14:48:54.709Z"^^xsd:dateTime . - -:lastModifiedOn a bamm:Property ; - bamm:preferredName "Last Modification Date"@en ; - bamm:description "Timestamp when the assembly relationship between parent part and child part was last modified."@en ; - bamm:characteristic bamm-c:Timestamp ; - bamm:exampleValue "2022-02-03T14:48:54.709Z"^^xsd:dateTime . - -:SetOfParentItemsCharacteristic a bamm-c:Set ; - bamm:preferredName "Set of Parent Items"@en ; - bamm:description "Set of parent items the given child object is assembled in (one structural level up)."@en ; - bamm:dataType :ParentData . - -:BpnTrait a bamm-c:Trait ; - bamm:preferredName "BPN Business Partner Number Trait"@en ; - bamm-c:baseCharacteristic :BpnCharacteristic ; - bamm-c:constraint :BpnConstraint . - -:ParentData a bamm:Entity ; - bamm:preferredName "Parent Data"@en ; - bamm:description "Catena-X ID and meta data of the parent item."@en ; - bamm:properties ( :quantity :catenaXId :createdOn :lastModifiedOn ) . - -:BpnCharacteristic a bamm:Characteristic ; - bamm:preferredName "BPN Characteristic"@en ; - bamm:dataType xsd:string . - -:BpnConstraint a bamm-c:RegularExpressionConstraint ; - bamm:preferredName "BPN Constraint"@en ; - bamm:description "Business Partner Number Regular Expression allowing only BPNL which stands for a legal entity."@en ; - bamm:value "^(BPNL)([0-9]{8})([a-zA-Z0-9]{4})$" . - -:quantity a bamm:Property ; - bamm:preferredName "Quantity"@en ; - bamm:description "Quantity of which the child part is assembled into the parent part. In general it is '1' for serialized parts."@en ; - bamm:characteristic :QuantityCharacteristic . - -:QuantityCharacteristic a bamm-c:Quantifiable ; - bamm: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 ; - bamm:dataType :Quantity . - -:Quantity a bamm:Entity ; - bamm:description "Comprises the number of objects and the unit of measurement for the respective child objects"@en ; - bamm:properties ( :quantityNumber :measurementUnit ) . - -:quantityNumber a bamm:Property ; - bamm:preferredName "Quantity Number"@en ; - bamm:description "The number of objects related to the measurement unit"@en ; - bamm:characteristic :NumberOfObjects ; - bamm:exampleValue "2.5"^^xsd:double . - -:measurementUnit a bamm:Property ; - bamm:description "Unit of Measurement for the quantity of serialized objects"@en ; - bamm:see ; - bamm:characteristic bamm-c:UnitReference ; - bamm:exampleValue "unit:litre"^^bamm:curie . - -:NumberOfObjects a bamm:Characteristic ; - bamm:description "Quantifiable number of objects in reference to the measurementUnit"@en ; - bamm:dataType xsd:double . +@prefix : . + +: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 a e.g. a brake component or 1:n for e.g. coatings. The given item as well as 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 ) ; + 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 assembly), valid for the Catena-X dataspace."@en ; + samm:characteristic :CatenaXIdTraitCharacteristic ; + 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 . + +:CatenaXIdTraitCharacteristic a samm-c:Trait ; + samm:description "Trait to ensure UUID v4 data format"@en ; + samm-c:baseCharacteristic :UUIDv4Characteristic ; + samm-c:constraint :UUIDv4RegularExpression . + +: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 . + +:UUIDv4Characteristic a samm:Characteristic ; + samm:preferredName "UUID v4"@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}$)" . + +:Customer a samm:Entity ; + samm:preferredName "Customer"@en ; + samm:description "A customer and their related items, if known."@en ; + samm:properties ( [ samm:property :parentItems; samm:optional true ] :businessPartner :createdOn :lastModifiedOn ) . + +: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 . + +:businessPartner a samm:Property ; + samm:preferredName "Business Partner"@en ; + samm:description "The supplier of the given child item."@en ; + samm:characteristic :BpnTrait ; + samm:exampleValue "BPNL50096894aNXY" . + +: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 . + +: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 . + +:BpnTrait a samm-c:Trait ; + samm:preferredName "BPN Business Partner Number Trait"@en ; + samm-c:baseCharacteristic :BpnCharacteristic ; + samm-c:constraint :BpnConstraint . + +:ParentData a samm:Entity ; + samm:preferredName "Parent Data"@en ; + samm:description "Catena-X ID and meta data of the parent item."@en ; + samm:properties ( :quantity :catenaXId :createdOn :lastModifiedOn ) . + +:BpnCharacteristic a samm:Characteristic ; + samm:preferredName "BPN Characteristic"@en ; + samm:dataType xsd:string . + +:BpnConstraint a samm-c:RegularExpressionConstraint ; + samm:preferredName "BPN Constraint"@en ; + samm:description "Business Partner Number Regular Expression allowing only BPNL which stands for a legal entity."@en ; + samm:value "^(BPNL)([0-9]{8})([a-zA-Z0-9]{4})$" . + +: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 . + +: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 ( :quantityNumber :measurementUnit ) . + +:quantityNumber a samm:Property ; + samm:preferredName "Quantity Number"@en ; + samm:description "The number of objects related to the measurement unit"@en ; + samm:characteristic :NumberOfObjects ; + samm:exampleValue "2.5"^^xsd:double . + +:measurementUnit a samm:Property ; + samm:description "Unit of Measurement for the quantity of serialized objects"@en ; + samm:see ; + samm:characteristic samm-c:UnitReference ; + samm:exampleValue "unit:litre"^^samm:curie . + +:NumberOfObjects a samm:Characteristic ; + samm:description "Quantifiable number of objects in reference to the measurementUnit"@en ; + samm:dataType xsd:double . From 4481476fd6db3abcafde1213ec5008566c940af1 Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Tue, 11 Jul 2023 11:19:58 +0200 Subject: [PATCH 7/9] added metadata.json --- io.catenax.single_level_usage_as_built/2.0.0/metadata.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 io.catenax.single_level_usage_as_built/2.0.0/metadata.json diff --git a/io.catenax.single_level_usage_as_built/2.0.0/metadata.json b/io.catenax.single_level_usage_as_built/2.0.0/metadata.json new file mode 100644 index 00000000..eb94ac1e --- /dev/null +++ b/io.catenax.single_level_usage_as_built/2.0.0/metadata.json @@ -0,0 +1 @@ +{ "status" : "release"} From 9e5649fae3f83a35d051ae73ee114aaa59118a63 Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Tue, 25 Jul 2023 13:26:26 +0200 Subject: [PATCH 8/9] Update SingleLevelUsageAsBuilt.ttl made `businessPartner` and `lastModified` optional --- .../2.0.0/SingleLevelUsageAsBuilt.ttl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl b/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl index 19800a48..b27419e7 100644 --- a/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl +++ b/io.catenax.single_level_usage_as_built/2.0.0/SingleLevelUsageAsBuilt.ttl @@ -75,7 +75,7 @@ :Customer a samm:Entity ; samm:preferredName "Customer"@en ; samm:description "A customer and their related items, if known."@en ; - samm:properties ( [ samm:property :parentItems; samm:optional true ] :businessPartner :createdOn :lastModifiedOn ) . + samm:properties ( [ samm:property :parentItems; samm:optional true ] [ samm:property :businessPartner; samm:optional true ] :createdOn [ samm:property :lastModifiedOn; samm:optional true ] ) . :parentItems a samm:Property ; samm:preferredName "Parent Items"@en ; @@ -113,7 +113,7 @@ :ParentData a samm:Entity ; samm:preferredName "Parent Data"@en ; samm:description "Catena-X ID and meta data of the parent item."@en ; - samm:properties ( :quantity :catenaXId :createdOn :lastModifiedOn ) . + samm:properties ( :quantity :catenaXId :createdOn [ samm:property :lastModifiedOn; samm:optional true ] ) . :BpnCharacteristic a samm:Characteristic ; samm:preferredName "BPN Characteristic"@en ; From 97d9d37bedd78440a3340962beabe35e9e284eee Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Tue, 25 Jul 2023 13:28:45 +0200 Subject: [PATCH 9/9] 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 7dba0777..e876cf3d 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 - added `customers` to reflect that the relation to parent items is not known at all times. Instead a reference to the customer is made. - restructured `parentParts` to be enclosed -- added mandatory `businessPartner` to enable decentralized Digital Twin registry +- added optional `businessPartner` to enable decentralized Digital Twin registry ### Changed