From c959f06e77f93280799e8cd30d525a639b415997 Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Wed, 22 Feb 2023 12:50:37 +0100 Subject: [PATCH 1/7] Create metdata.json --- io.catenax.iot_sensor_device_definition/1.0.0/metadata.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 io.catenax.iot_sensor_device_definition/1.0.0/metadata.json diff --git a/io.catenax.iot_sensor_device_definition/1.0.0/metadata.json b/io.catenax.iot_sensor_device_definition/1.0.0/metadata.json new file mode 100644 index 00000000..c22749ae --- /dev/null +++ b/io.catenax.iot_sensor_device_definition/1.0.0/metadata.json @@ -0,0 +1 @@ +{ "status" : "release"} From 6ac1527390c4d2c0959cbfcac373b984c3292b7b Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Wed, 22 Feb 2023 12:54:29 +0100 Subject: [PATCH 2/7] Add RELEASE_NOTES.md --- .../RELEASE_NOTES.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 io.catenax.iot_sensor_device_definition/RELEASE_NOTES.md diff --git a/io.catenax.iot_sensor_device_definition/RELEASE_NOTES.md b/io.catenax.iot_sensor_device_definition/RELEASE_NOTES.md new file mode 100644 index 00000000..35833d3a --- /dev/null +++ b/io.catenax.iot_sensor_device_definition/RELEASE_NOTES.md @@ -0,0 +1,14 @@ +# Changelog +All notable changes to this model will be documented in this file. + +## [Unreleased] + +## [1.0.0] - 2023-02-22 +### Added +- initial model + +### Changed +n/a + +### Removed + From 2816584c7aba31a9537e15b9114d9ecfed8b659b Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Wed, 22 Feb 2023 12:55:31 +0100 Subject: [PATCH 3/7] add the .ttl file --- .../1.0.0/IoTSensorDeviceDefinition.ttl | 89 +++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 io.catenax.iot_sensor_device_definition/1.0.0/IoTSensorDeviceDefinition.ttl diff --git a/io.catenax.iot_sensor_device_definition/1.0.0/IoTSensorDeviceDefinition.ttl b/io.catenax.iot_sensor_device_definition/1.0.0/IoTSensorDeviceDefinition.ttl new file mode 100644 index 00000000..1f3f5e4a --- /dev/null +++ b/io.catenax.iot_sensor_device_definition/1.0.0/IoTSensorDeviceDefinition.ttl @@ -0,0 +1,89 @@ +####################################################################### +# Copyright (c) 2022 BASF SE +# Copyright (c) 2022 Henkel AG & Co. KGaA +# Copyright (c) 2022 ZF Friedrichshafen AG +# +# 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 bamm: . +@prefix bamm-c: . +@prefix bamm-e: . +@prefix unit: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . +@prefix : . + +:catenaXId a bamm:Property; + bamm:preferredName "Catena-X Identifier"@en; + bamm:description "The fully anonymous Catena-X ID of the serialized part, valid for the Catena-X dataspace."@en; + bamm:characteristic :CatenaXIdTrait; + bamm:exampleValue "urn:uuid:7a6a8376-1783-4926-9be0-5d946622b2e2". +:CatenaXIdTrait a bamm-c:Trait; + bamm:preferredName "Catena-X ID Trait"@en; + bamm:description "Trait to ensure data format for Catena-X ID"@en; + bamm-c:baseCharacteristic :UUIDv4; + bamm-c:constraint :UUIDv4RegularExpression. +:UUIDv4 a bamm:Characteristic; + bamm:preferredName "UUIDv4"@en; + bamm:description "A version 4 UUID is a universally unique identifier that is generated using random 32 hexadecimal characters."@en; + 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}$)". +:IoTSensorDeviceDefinition a bamm:Aspect; + bamm:preferredName "IoT Sensor Device Definition"@en; + bamm:description " permanent characteristics of the individual IoT Sensor device"@en; + bamm:properties (:catenaXId :manufacturer :type :serialNumber :ownerID); + bamm:operations (); + bamm:events (). +:manufacturer a bamm:Property; + bamm:preferredName "Manufacturer"@en; + bamm:description "Manufacturer of the IoT Sensor Device"@en; + bamm:characteristic :ManufacturerCharacteristic; + bamm:exampleValue "Openmatics"; + bamm:see . +:type a bamm:Property; + bamm:preferredName "IoT Sensor Device Type"@en; + bamm:description "The type of the IoT Sensor Device "@en; + bamm:characteristic :TypeCharacteristic; + bamm:exampleValue "TRACK02839". +:serialNumber a bamm:Property; + bamm:preferredName "IoT Sensor Device Serial Number"@en; + bamm:description "The serial Number of the IoT Sensor device, as assigned by the manufacturer of the device"@en; + bamm:characteristic :SerialNumberCharacteristic; + bamm:exampleValue "123-0740-3434-A". +:ownerID a bamm:Property; + bamm:preferredName "IoT Sensor Device Owner"@en; + bamm:description "The Catena-X BPNL of the device owner"@en; + bamm:characteristic :OwnerIDCharacteristic; + bamm:exampleValue "BPNL00000003ABCD". +:ManufacturerCharacteristic a bamm:Characteristic; + bamm:preferredName "IoT Device Manufacturer Name"@en; + bamm:description "Characteristic describing the property manufacturer "@en; + bamm:dataType xsd:string; + bamm:see . +:TypeCharacteristic a bamm:Characteristic; + bamm:preferredName "IoT Device Type"@en; + bamm:description "Describes the characteristics of the given type of device"@en; + bamm:dataType xsd:string. +:SerialNumberCharacteristic a bamm:Characteristic; + bamm:preferredName "IoT Device Serial Number"@en; + bamm:description "Describes the characteristic of the property Serial Number"@en; + bamm:dataType xsd:string. +:OwnerIDCharacteristic a bamm:Characteristic; + bamm:preferredName "IoT Device Owner Characteristic"@en; + bamm:description "Describes the Characteristic of the property ownerID"@en; + bamm:dataType xsd:string. From d73aec0470037b38bf489906ac9cbeb012090946 Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Thu, 23 Feb 2023 13:39:57 +0100 Subject: [PATCH 4/7] small changes namespace was wrong, added missing full stops in descriptions.... --- .../1.0.0/IoTSensorDeviceDefinition.ttl | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/io.catenax.iot_sensor_device_definition/1.0.0/IoTSensorDeviceDefinition.ttl b/io.catenax.iot_sensor_device_definition/1.0.0/IoTSensorDeviceDefinition.ttl index 1f3f5e4a..391452b8 100644 --- a/io.catenax.iot_sensor_device_definition/1.0.0/IoTSensorDeviceDefinition.ttl +++ b/io.catenax.iot_sensor_device_definition/1.0.0/IoTSensorDeviceDefinition.ttl @@ -22,7 +22,7 @@ @prefix rdf: . @prefix rdfs: . @prefix xsd: . -@prefix : . +@prefix : . :catenaXId a bamm:Property; bamm:preferredName "Catena-X Identifier"@en; @@ -43,47 +43,47 @@ 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}$)". -:IoTSensorDeviceDefinition a bamm:Aspect; +:IotSensorDeviceDefinition a bamm:Aspect; bamm:preferredName "IoT Sensor Device Definition"@en; - bamm:description " permanent characteristics of the individual IoT Sensor device"@en; + bamm:description "Permanent characteristics of the individual IoT Sensor device."@en; bamm:properties (:catenaXId :manufacturer :type :serialNumber :ownerID); bamm:operations (); bamm:events (). :manufacturer a bamm:Property; bamm:preferredName "Manufacturer"@en; - bamm:description "Manufacturer of the IoT Sensor Device"@en; + bamm:description "Manufacturer of the IoT Sensor Device."@en; bamm:characteristic :ManufacturerCharacteristic; bamm:exampleValue "Openmatics"; bamm:see . :type a bamm:Property; bamm:preferredName "IoT Sensor Device Type"@en; - bamm:description "The type of the IoT Sensor Device "@en; + bamm:description "The type of the IoT Sensor Device."@en; bamm:characteristic :TypeCharacteristic; bamm:exampleValue "TRACK02839". :serialNumber a bamm:Property; bamm:preferredName "IoT Sensor Device Serial Number"@en; - bamm:description "The serial Number of the IoT Sensor device, as assigned by the manufacturer of the device"@en; + bamm:description "The serial Number of the IoT Sensor device, as assigned by the manufacturer of the device."@en; bamm:characteristic :SerialNumberCharacteristic; bamm:exampleValue "123-0740-3434-A". :ownerID a bamm:Property; bamm:preferredName "IoT Sensor Device Owner"@en; - bamm:description "The Catena-X BPNL of the device owner"@en; + bamm:description "The Catena-X BPNL of the device owner."@en; bamm:characteristic :OwnerIDCharacteristic; bamm:exampleValue "BPNL00000003ABCD". :ManufacturerCharacteristic a bamm:Characteristic; bamm:preferredName "IoT Device Manufacturer Name"@en; - bamm:description "Characteristic describing the property manufacturer "@en; + bamm:description "Characteristic describing the property manufacturer."@en; bamm:dataType xsd:string; bamm:see . :TypeCharacteristic a bamm:Characteristic; bamm:preferredName "IoT Device Type"@en; - bamm:description "Describes the characteristics of the given type of device"@en; + bamm:description "Describes the characteristics of the given type of device."@en; bamm:dataType xsd:string. :SerialNumberCharacteristic a bamm:Characteristic; bamm:preferredName "IoT Device Serial Number"@en; - bamm:description "Describes the characteristic of the property Serial Number"@en; + bamm:description "Describes the characteristic of the property Serial Number."@en; bamm:dataType xsd:string. :OwnerIDCharacteristic a bamm:Characteristic; bamm:preferredName "IoT Device Owner Characteristic"@en; - bamm:description "Describes the Characteristic of the property ownerID"@en; + bamm:description "Describes the Characteristic of the property ownerID."@en; bamm:dataType xsd:string. From 42ae03e863a670882c770407d29892cf4b0059d0 Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Tue, 28 Feb 2023 11:39:14 +0100 Subject: [PATCH 5/7] Rename IoTSensorDeviceDefinition.ttl to IotSensorDeviceDefinition.ttl --- ...oTSensorDeviceDefinition.ttl => IotSensorDeviceDefinition.ttl} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename io.catenax.iot_sensor_device_definition/1.0.0/{IoTSensorDeviceDefinition.ttl => IotSensorDeviceDefinition.ttl} (100%) diff --git a/io.catenax.iot_sensor_device_definition/1.0.0/IoTSensorDeviceDefinition.ttl b/io.catenax.iot_sensor_device_definition/1.0.0/IotSensorDeviceDefinition.ttl similarity index 100% rename from io.catenax.iot_sensor_device_definition/1.0.0/IoTSensorDeviceDefinition.ttl rename to io.catenax.iot_sensor_device_definition/1.0.0/IotSensorDeviceDefinition.ttl From 19b3b68b0bc907959baa1942798f71fa0b53c6fd Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Tue, 28 Feb 2023 11:49:40 +0100 Subject: [PATCH 6/7] few requested changes applied --- .../1.0.0/IotSensorDeviceDefinition.ttl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/io.catenax.iot_sensor_device_definition/1.0.0/IotSensorDeviceDefinition.ttl b/io.catenax.iot_sensor_device_definition/1.0.0/IotSensorDeviceDefinition.ttl index 391452b8..8de08bc9 100644 --- a/io.catenax.iot_sensor_device_definition/1.0.0/IotSensorDeviceDefinition.ttl +++ b/io.catenax.iot_sensor_device_definition/1.0.0/IotSensorDeviceDefinition.ttl @@ -45,24 +45,24 @@ 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}$)". :IotSensorDeviceDefinition a bamm:Aspect; bamm:preferredName "IoT Sensor Device Definition"@en; - bamm:description "Permanent characteristics of the individual IoT Sensor device."@en; + bamm:description "Permanent characteristics of the individual IoT sensor device."@en; bamm:properties (:catenaXId :manufacturer :type :serialNumber :ownerID); bamm:operations (); bamm:events (). :manufacturer a bamm:Property; bamm:preferredName "Manufacturer"@en; - bamm:description "Manufacturer of the IoT Sensor Device."@en; + bamm:description "Manufacturer of the IoT sensor device."@en; bamm:characteristic :ManufacturerCharacteristic; - bamm:exampleValue "Openmatics"; + bamm:exampleValue "Company X"; bamm:see . :type a bamm:Property; bamm:preferredName "IoT Sensor Device Type"@en; - bamm:description "The type of the IoT Sensor Device."@en; + bamm:description "The type of the IoT sensor device."@en; bamm:characteristic :TypeCharacteristic; bamm:exampleValue "TRACK02839". :serialNumber a bamm:Property; bamm:preferredName "IoT Sensor Device Serial Number"@en; - bamm:description "The serial Number of the IoT Sensor device, as assigned by the manufacturer of the device."@en; + bamm:description "The serial number of the IoT sensor device, as assigned by the manufacturer of the device."@en; bamm:characteristic :SerialNumberCharacteristic; bamm:exampleValue "123-0740-3434-A". :ownerID a bamm:Property; @@ -81,7 +81,7 @@ bamm:dataType xsd:string. :SerialNumberCharacteristic a bamm:Characteristic; bamm:preferredName "IoT Device Serial Number"@en; - bamm:description "Describes the characteristic of the property Serial Number."@en; + bamm:description "Describes the characteristic of the property serial number."@en; bamm:dataType xsd:string. :OwnerIDCharacteristic a bamm:Characteristic; bamm:preferredName "IoT Device Owner Characteristic"@en; From 12e0da90a630ff9029b833f6c380ce2e566241a2 Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Thu, 23 Mar 2023 11:57:55 +0100 Subject: [PATCH 7/7] added Contributors to the Eclipse Foundation --- .../1.0.0/IotSensorDeviceDefinition.ttl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/io.catenax.iot_sensor_device_definition/1.0.0/IotSensorDeviceDefinition.ttl b/io.catenax.iot_sensor_device_definition/1.0.0/IotSensorDeviceDefinition.ttl index 8de08bc9..feb497e9 100644 --- a/io.catenax.iot_sensor_device_definition/1.0.0/IotSensorDeviceDefinition.ttl +++ b/io.catenax.iot_sensor_device_definition/1.0.0/IotSensorDeviceDefinition.ttl @@ -1,7 +1,8 @@ ####################################################################### -# Copyright (c) 2022 BASF SE -# Copyright (c) 2022 Henkel AG & Co. KGaA -# Copyright (c) 2022 ZF Friedrichshafen AG +# Copyright (c) 2023 BASF SE +# Copyright (c) 2023 Henkel AG & Co. KGaA +# Copyright (c) 2023 ZF Friedrichshafen AG +# Copyright (c) 2023 Contributors to the Eclipse Foundation # # See the NOTICE file(s) distributed with this work for additional # information regarding copyright ownership.