From 92c66c33316b72f475ea404f6a324ffd1438685f Mon Sep 17 00:00:00 2001 From: "Jan Christoph Wehrstedt (Desktop)" Date: Fri, 7 Jul 2023 14:29:41 +0200 Subject: [PATCH 1/4] created first version of getShopfloorInformationAspect --- .../1.0.0/DataTypes.ttl | 53 ++++++ .../1.0.0/GetShopfloorInformation.ttl | 153 ++++++++++++++++++ .../1.0.0/metadata.json | 1 + .../RELEASE_NOTES.md | 7 + 4 files changed, 214 insertions(+) create mode 100644 io.catenax.mp_standard_request/1.0.0/DataTypes.ttl create mode 100644 io.catenax.mp_standard_request/1.0.0/GetShopfloorInformation.ttl create mode 100644 io.catenax.mp_standard_request/1.0.0/metadata.json create mode 100644 io.catenax.mp_standard_request/RELEASE_NOTES.md diff --git a/io.catenax.mp_standard_request/1.0.0/DataTypes.ttl b/io.catenax.mp_standard_request/1.0.0/DataTypes.ttl new file mode 100644 index 00000000..eed2d910 --- /dev/null +++ b/io.catenax.mp_standard_request/1.0.0/DataTypes.ttl @@ -0,0 +1,53 @@ +########################################################################################## +# Copyright (c) 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e. V. +# Copyright (c) 2023 Siemens 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 samm: . +@prefix samm-c: . +@prefix samm-e: . +@prefix unit: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . +@prefix : . +@prefix ext-header: . + +:timeUnit a samm:Property ; + samm:preferredName "timeUnit"@en ; + samm:description "specifies the unit in which the time es represented"@en ; + samm:characteristic :TimeUnitEnum ; + samm:exampleValue "Month" . + +:TimeUnitEnum a samm-c:Enumeration ; + samm:preferredName "TimeUnitEnum"@en ; + samm:description "Enumerates all possible time units"@en ; + samm:dataType xsd:string ; + samm-c:values ( "Month" "Day" "Week" "Hour" "Minute" "Second" ) . + +:value a samm:Property ; + samm:preferredName "value"@en ; + samm:description "the amount of timeUnits considered"@en ; + samm:characteristic :Value ; + samm:exampleValue 5 . + +:TimeValue a samm:Entity ; + samm:preferredName "TimeValue"@en ; + samm:description "Datatype to express a time value"@en ; + samm:properties ( :timeUnit :value ) . + +:Value a samm:Characteristic ; + samm:preferredName "Value"@en ; + samm:description "the value of the specified timeUnit"@en ; + samm:dataType xsd:integer . + diff --git a/io.catenax.mp_standard_request/1.0.0/GetShopfloorInformation.ttl b/io.catenax.mp_standard_request/1.0.0/GetShopfloorInformation.ttl new file mode 100644 index 00000000..0cb55fa5 --- /dev/null +++ b/io.catenax.mp_standard_request/1.0.0/GetShopfloorInformation.ttl @@ -0,0 +1,153 @@ +########################################################################################## +# Copyright (c) 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e. V. +# Copyright (c) 2023 Siemens 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 samm: . +@prefix samm-c: . +@prefix samm-e: . +@prefix unit: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . +@prefix : . +@prefix ext-header: . +@prefix ext-unsubscribe: . + +:GetShopfloorInformation a samm:Aspect ; + samm:preferredName "GetShopfloorInformation"@en ; + samm:description "Aspect Model to request the Shopfloor Information Service "@en ; + samm:properties ( [ samm:property :synchronousRequest; samm:optional true ] :cxHeader [ samm:property :notificationRequest; samm:optional true ] [ samm:property :cyclicRequest; samm:optional true ] ) ; + samm:operations ( ) ; + samm:events ( ) . + +:synchronousRequest a samm:Property ; + samm:preferredName "synchronousRequest"@en ; + samm:description "data model for a synchronous request"@en ; + samm:characteristic :SynchronousHeaderDataType . + +:cxHeader a samm:Property ; + samm:preferredName "cxHeader"@en ; + samm:description "header that refers to the request of a customer"@en ; + samm:characteristic :CXHeaderCharacteristic . + +:notificationRequest a samm:Property ; + samm:preferredName "notificationRequest"@en ; + samm:description "data model for a notification request"@en ; + samm:characteristic :NotificationHeaderDataType . + +:cyclicRequest a samm:Property ; + samm:preferredName "cyclicRequest"@en ; + samm:description "data model for a cyclicrequest"@en ; + samm:characteristic :CyclicheaderDataType . + +:SynchronousHeaderDataType a samm:Characteristic ; + samm:preferredName "SynchronousHeaderDataType"@en ; + samm:description "DataType for a synchronous Header"@en ; + samm:dataType :SynchronousHeaderEntity . + +:CXHeaderCharacteristic a samm:Characteristic ; + samm:preferredName "CXHeaderCharacteristic"@en ; + samm:description "all information required for a header specified by CX"@en ; + samm:dataType ext-header:MessageHeader . + +:NotificationHeaderDataType a samm:Characteristic ; + samm:preferredName "NotificationHeaderDataType"@en ; + samm:description "DataType for a Notification Header"@en ; + samm:dataType :NotificationHeaderEntity . + +:CyclicheaderDataType a samm:Characteristic ; + samm:preferredName "CyclicheaderDataType"@en ; + samm:description "Data Type for a Cyclic header"@en ; + samm:dataType :CyclicHeaderEntity . + +:SynchronousHeaderEntity a samm:Entity ; + samm:preferredName "SynchronousHeaderEntity"@en ; + samm:description "Header for a synchronous request of the SIS"@en ; + samm:properties ( :offset :customerId [ samm:property :precisionOfForecast; samm:optional true ] :productionForecast4All :orderId :communicationMode ) . + +:NotificationHeaderEntity a samm:Entity ; + samm:extends :CyclicHeaderEntity ; + samm:preferredName "NotificationHeaderEntity"@en ; + samm:description "The Header for a notification communication mode"@en ; + samm:properties ( :deviationOfSchedule ) . + +:CyclicHeaderEntity a samm:Entity ; + samm:extends :SynchronousHeaderEntity ; + samm:preferredName "CyclicHeaderEntity"@en ; + samm:description "the header for a cyclic communication Mode"@en ; + samm:properties ( :notificationInterval ) . + +:offset a samm:Property ; + samm:preferredName "offset"@en ; + samm:description "Meaning: Send/start time of the first message/notification\n- \"0\" ==> immediate response"@en ; + samm:characteristic :TimeValueCharacteristic . + +:customerId a samm:Property ; + samm:preferredName "customerId"@en ; + samm:description "internal customerId"@en ; + samm:characteristic :Bpn . + +:precisionOfForecast a samm:Property ; + samm:preferredName "precisionOfForecast"@en ; + samm:description "Accuracy of the time specification of the completion date.\n- default: implicitly defined by production\n- only as a REQUEST of the requester, since it cannot be guaranteed that the store floor can provide the data in this accuracy."@en ; + samm:characteristic :TimeValueCharacteristic . + +:productionForecast4All a samm:Property ; + samm:preferredName "productionForecast4All"@en ; + samm:description "boolean variable that detemines whether the customer request information about each position of an order, or information about the complete order"@en ; + samm:characteristic samm-c:Boolean ; + samm:exampleValue 0 . + +:orderId a samm:Property ; + samm:preferredName "orderId"@en ; + samm:description "The Id identifying subject of the request"@en ; + samm:characteristic :Uuid ; + samm:exampleValue "uuid = 00000000-0000-0000-C000-000000000046" . + +:communicationMode a samm:Property ; + samm:preferredName "communicationMode"@en ; + samm:description "Value to select the communication mode"@en ; + samm:characteristic :CommunicationModeEnum ; + samm:exampleValue "Notification" . + +:deviationOfSchedule a samm:Property ; + samm:preferredName "deviationOfSchedule"@en ; + samm:description "'- relevant for CommunicationMode = \"notification\".\n- 2-stage:\n 1. synchronous response with delivery date\n 2. if deviation from targeted delivery date"@en ; + samm:characteristic :TimeValueCharacteristic . + +:notificationInterval a samm:Property ; + samm:preferredName "notificationInterval"@en ; + samm:description "Interval time that either specifies the cyclic send time or limits the notification time"@en ; + samm:characteristic :TimeValueCharacteristic . + +:TimeValueCharacteristic a samm:Characteristic ; + samm:preferredName "TimeValueCharacteristic"@en ; + samm:description "Link to the TimeUnit Data Type"@en ; + samm:dataType ext-unsubscribe:TimeValue . + +:Bpn a samm:Characteristic ; + samm:preferredName "Bpn"@en ; + samm:description "Bpn"@en ; + samm:dataType xsd:string . + +:Uuid a samm:Characteristic ; + samm:preferredName "Uuid"@en ; + samm:description "Uuid"@en ; + samm:dataType xsd:string . + +:CommunicationModeEnum a samm-c:Enumeration ; + samm:preferredName "CommunicationModeEnum"@en ; + samm:description "Specifies a communication Mode based on predefined enum values"@en ; + samm:dataType xsd:string ; + samm-c:values ( "synchronous" "cyclic" "notification" ) . + diff --git a/io.catenax.mp_standard_request/1.0.0/metadata.json b/io.catenax.mp_standard_request/1.0.0/metadata.json new file mode 100644 index 00000000..84245e4e --- /dev/null +++ b/io.catenax.mp_standard_request/1.0.0/metadata.json @@ -0,0 +1 @@ +{ "status" : "release" } diff --git a/io.catenax.mp_standard_request/RELEASE_NOTES.md b/io.catenax.mp_standard_request/RELEASE_NOTES.md new file mode 100644 index 00000000..53cebea2 --- /dev/null +++ b/io.catenax.mp_standard_request/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +# Changelog + +All notable changes to this model will be documented in this file. + +## [1.0.0] + +- initial version of the aspect model for GetShopfloorInformation From 1cd06b1ea8439fbae107f1a14a348f101af01ffb Mon Sep 17 00:00:00 2001 From: "Jan Christoph Wehrstedt (Desktop)" Date: Thu, 13 Jul 2023 14:01:57 +0200 Subject: [PATCH 2/4] Update of model after review --- .../1.0.0/DataTypes.ttl | 53 ------ .../1.0.0/GetProductionForecast.ttl | 91 +++++++++++ .../1.0.0/GetShopfloorInformation.ttl | 153 ------------------ .../1.0.0/ShopfloorInformationTypes.ttl | 88 ++++++++++ 4 files changed, 179 insertions(+), 206 deletions(-) delete mode 100644 io.catenax.mp_standard_request/1.0.0/DataTypes.ttl create mode 100644 io.catenax.mp_standard_request/1.0.0/GetProductionForecast.ttl delete mode 100644 io.catenax.mp_standard_request/1.0.0/GetShopfloorInformation.ttl create mode 100644 io.catenax.mp_standard_request/1.0.0/ShopfloorInformationTypes.ttl diff --git a/io.catenax.mp_standard_request/1.0.0/DataTypes.ttl b/io.catenax.mp_standard_request/1.0.0/DataTypes.ttl deleted file mode 100644 index eed2d910..00000000 --- a/io.catenax.mp_standard_request/1.0.0/DataTypes.ttl +++ /dev/null @@ -1,53 +0,0 @@ -########################################################################################## -# Copyright (c) 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e. V. -# Copyright (c) 2023 Siemens 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 samm: . -@prefix samm-c: . -@prefix samm-e: . -@prefix unit: . -@prefix rdf: . -@prefix rdfs: . -@prefix xsd: . -@prefix : . -@prefix ext-header: . - -:timeUnit a samm:Property ; - samm:preferredName "timeUnit"@en ; - samm:description "specifies the unit in which the time es represented"@en ; - samm:characteristic :TimeUnitEnum ; - samm:exampleValue "Month" . - -:TimeUnitEnum a samm-c:Enumeration ; - samm:preferredName "TimeUnitEnum"@en ; - samm:description "Enumerates all possible time units"@en ; - samm:dataType xsd:string ; - samm-c:values ( "Month" "Day" "Week" "Hour" "Minute" "Second" ) . - -:value a samm:Property ; - samm:preferredName "value"@en ; - samm:description "the amount of timeUnits considered"@en ; - samm:characteristic :Value ; - samm:exampleValue 5 . - -:TimeValue a samm:Entity ; - samm:preferredName "TimeValue"@en ; - samm:description "Datatype to express a time value"@en ; - samm:properties ( :timeUnit :value ) . - -:Value a samm:Characteristic ; - samm:preferredName "Value"@en ; - samm:description "the value of the specified timeUnit"@en ; - samm:dataType xsd:integer . - diff --git a/io.catenax.mp_standard_request/1.0.0/GetProductionForecast.ttl b/io.catenax.mp_standard_request/1.0.0/GetProductionForecast.ttl new file mode 100644 index 00000000..90225197 --- /dev/null +++ b/io.catenax.mp_standard_request/1.0.0/GetProductionForecast.ttl @@ -0,0 +1,91 @@ +########################################################################################## +# Copyright (c) 2023 Fraunhofer Institute of Optronics, System Technology and Image Exploitation (IOSB) +# Copyright (c) 2023 Siemens AG +# Copyright (c) 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 : . +@prefix ext-header: . +@prefix ext-types: . + +:GetProductionForecast a samm:Aspect ; + samm:preferredName "Get Production Forecast"@en ; + samm:description "Aspect Model to request a production forecast"@en ; + samm:properties ( [ samm:property :request; samm:optional true ] ext-header:header ) ; + samm:operations ( ) ; + samm:events ( ) . + +:request a samm:Property ; + samm:preferredName "Request"@en ; + samm:description "Data model for a request"@en ; + samm:characteristic :RequestCharacteristic . + +:RequestCharacteristic a samm:Characteristic ; + samm:preferredName "Request Characteristic"@en ; + samm:description "DataType for a request"@en ; + samm:dataType :RequestEntity . + +:RequestEntity a samm:Entity ; + samm:preferredName "Request Entity"@en ; + samm:description "Entity for a request of a production forecast"@en ; + samm:properties ( :offset :customerId [ samm:property :precisionOfForecast; samm:optional true ] :productionForecast4All :orderId [ samm:property :deviationOfSchedule; samm:optional true ] [ samm:property :notificationInterval; samm:optional true ] ext-types:communicationMode ext-types:versionDataModel ) . + +:offset a samm:Property ; + samm:preferredName "offset"@en ; + samm:description "Send/start time of the first message/notification\n- \"0\" ==> immediate response"@en ; + samm:characteristic :TimeValueCharacteristic . + +:customerId a samm:Property ; + samm:preferredName "customerId"@en ; + samm:description "Internal customerId"@en ; + samm:characteristic ext-header:BpnCharacteristic ; + samm:exampleValue "BPNL7588787849VQ" . + +:precisionOfForecast a samm:Property ; + samm:preferredName "Precision of forecast"@en ; + samm:description "Accuracy of the time specification of the completion date.\n- default: implicitly defined by production\n- only as a REQUEST of the requester, since it cannot be guaranteed that the store floor can provide the data in this accuracy."@en ; + samm:characteristic :TimeValueCharacteristic . + +:productionForecast4All a samm:Property ; + samm:preferredName "Production forecast for all"@en ; + samm:description "Boolean variable that detemines whether the customer request information about each position of an order, or information about the complete order"@en ; + samm:characteristic samm-c:Boolean ; + samm:exampleValue false . + +:orderId a samm:Property ; + samm:preferredName "orderId"@en ; + samm:description "The Id identifying subject of the request"@en ; + samm:characteristic ext-header:UuidCharacteristic ; + samm:exampleValue "00000000-0000-0000-C000-000000000046" . + +:deviationOfSchedule a samm:Property ; + samm:preferredName "Deviation of Schedule"@en ; + samm:description "Mandatory property for the notification mode. The property specifies the deviation from targeted delivery date that must be met to send a notification to a subscriber"@en ; + samm:characteristic :TimeValueCharacteristic . + +:notificationInterval a samm:Property ; + samm:preferredName "Notification Interval"@en ; + samm:description "Interval time that either specifies the cyclic send time or limits the notification time"@en ; + samm:characteristic :TimeValueCharacteristic . + +:TimeValueCharacteristic a samm:Characteristic ; + samm:preferredName "TimeValueCharacteristic"@en ; + samm:description "Link to the TimeUnit Data Type"@en ; + samm:dataType ext-types:TimeValue . + diff --git a/io.catenax.mp_standard_request/1.0.0/GetShopfloorInformation.ttl b/io.catenax.mp_standard_request/1.0.0/GetShopfloorInformation.ttl deleted file mode 100644 index 0cb55fa5..00000000 --- a/io.catenax.mp_standard_request/1.0.0/GetShopfloorInformation.ttl +++ /dev/null @@ -1,153 +0,0 @@ -########################################################################################## -# Copyright (c) 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e. V. -# Copyright (c) 2023 Siemens 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 samm: . -@prefix samm-c: . -@prefix samm-e: . -@prefix unit: . -@prefix rdf: . -@prefix rdfs: . -@prefix xsd: . -@prefix : . -@prefix ext-header: . -@prefix ext-unsubscribe: . - -:GetShopfloorInformation a samm:Aspect ; - samm:preferredName "GetShopfloorInformation"@en ; - samm:description "Aspect Model to request the Shopfloor Information Service "@en ; - samm:properties ( [ samm:property :synchronousRequest; samm:optional true ] :cxHeader [ samm:property :notificationRequest; samm:optional true ] [ samm:property :cyclicRequest; samm:optional true ] ) ; - samm:operations ( ) ; - samm:events ( ) . - -:synchronousRequest a samm:Property ; - samm:preferredName "synchronousRequest"@en ; - samm:description "data model for a synchronous request"@en ; - samm:characteristic :SynchronousHeaderDataType . - -:cxHeader a samm:Property ; - samm:preferredName "cxHeader"@en ; - samm:description "header that refers to the request of a customer"@en ; - samm:characteristic :CXHeaderCharacteristic . - -:notificationRequest a samm:Property ; - samm:preferredName "notificationRequest"@en ; - samm:description "data model for a notification request"@en ; - samm:characteristic :NotificationHeaderDataType . - -:cyclicRequest a samm:Property ; - samm:preferredName "cyclicRequest"@en ; - samm:description "data model for a cyclicrequest"@en ; - samm:characteristic :CyclicheaderDataType . - -:SynchronousHeaderDataType a samm:Characteristic ; - samm:preferredName "SynchronousHeaderDataType"@en ; - samm:description "DataType for a synchronous Header"@en ; - samm:dataType :SynchronousHeaderEntity . - -:CXHeaderCharacteristic a samm:Characteristic ; - samm:preferredName "CXHeaderCharacteristic"@en ; - samm:description "all information required for a header specified by CX"@en ; - samm:dataType ext-header:MessageHeader . - -:NotificationHeaderDataType a samm:Characteristic ; - samm:preferredName "NotificationHeaderDataType"@en ; - samm:description "DataType for a Notification Header"@en ; - samm:dataType :NotificationHeaderEntity . - -:CyclicheaderDataType a samm:Characteristic ; - samm:preferredName "CyclicheaderDataType"@en ; - samm:description "Data Type for a Cyclic header"@en ; - samm:dataType :CyclicHeaderEntity . - -:SynchronousHeaderEntity a samm:Entity ; - samm:preferredName "SynchronousHeaderEntity"@en ; - samm:description "Header for a synchronous request of the SIS"@en ; - samm:properties ( :offset :customerId [ samm:property :precisionOfForecast; samm:optional true ] :productionForecast4All :orderId :communicationMode ) . - -:NotificationHeaderEntity a samm:Entity ; - samm:extends :CyclicHeaderEntity ; - samm:preferredName "NotificationHeaderEntity"@en ; - samm:description "The Header for a notification communication mode"@en ; - samm:properties ( :deviationOfSchedule ) . - -:CyclicHeaderEntity a samm:Entity ; - samm:extends :SynchronousHeaderEntity ; - samm:preferredName "CyclicHeaderEntity"@en ; - samm:description "the header for a cyclic communication Mode"@en ; - samm:properties ( :notificationInterval ) . - -:offset a samm:Property ; - samm:preferredName "offset"@en ; - samm:description "Meaning: Send/start time of the first message/notification\n- \"0\" ==> immediate response"@en ; - samm:characteristic :TimeValueCharacteristic . - -:customerId a samm:Property ; - samm:preferredName "customerId"@en ; - samm:description "internal customerId"@en ; - samm:characteristic :Bpn . - -:precisionOfForecast a samm:Property ; - samm:preferredName "precisionOfForecast"@en ; - samm:description "Accuracy of the time specification of the completion date.\n- default: implicitly defined by production\n- only as a REQUEST of the requester, since it cannot be guaranteed that the store floor can provide the data in this accuracy."@en ; - samm:characteristic :TimeValueCharacteristic . - -:productionForecast4All a samm:Property ; - samm:preferredName "productionForecast4All"@en ; - samm:description "boolean variable that detemines whether the customer request information about each position of an order, or information about the complete order"@en ; - samm:characteristic samm-c:Boolean ; - samm:exampleValue 0 . - -:orderId a samm:Property ; - samm:preferredName "orderId"@en ; - samm:description "The Id identifying subject of the request"@en ; - samm:characteristic :Uuid ; - samm:exampleValue "uuid = 00000000-0000-0000-C000-000000000046" . - -:communicationMode a samm:Property ; - samm:preferredName "communicationMode"@en ; - samm:description "Value to select the communication mode"@en ; - samm:characteristic :CommunicationModeEnum ; - samm:exampleValue "Notification" . - -:deviationOfSchedule a samm:Property ; - samm:preferredName "deviationOfSchedule"@en ; - samm:description "'- relevant for CommunicationMode = \"notification\".\n- 2-stage:\n 1. synchronous response with delivery date\n 2. if deviation from targeted delivery date"@en ; - samm:characteristic :TimeValueCharacteristic . - -:notificationInterval a samm:Property ; - samm:preferredName "notificationInterval"@en ; - samm:description "Interval time that either specifies the cyclic send time or limits the notification time"@en ; - samm:characteristic :TimeValueCharacteristic . - -:TimeValueCharacteristic a samm:Characteristic ; - samm:preferredName "TimeValueCharacteristic"@en ; - samm:description "Link to the TimeUnit Data Type"@en ; - samm:dataType ext-unsubscribe:TimeValue . - -:Bpn a samm:Characteristic ; - samm:preferredName "Bpn"@en ; - samm:description "Bpn"@en ; - samm:dataType xsd:string . - -:Uuid a samm:Characteristic ; - samm:preferredName "Uuid"@en ; - samm:description "Uuid"@en ; - samm:dataType xsd:string . - -:CommunicationModeEnum a samm-c:Enumeration ; - samm:preferredName "CommunicationModeEnum"@en ; - samm:description "Specifies a communication Mode based on predefined enum values"@en ; - samm:dataType xsd:string ; - samm-c:values ( "synchronous" "cyclic" "notification" ) . - diff --git a/io.catenax.mp_standard_request/1.0.0/ShopfloorInformationTypes.ttl b/io.catenax.mp_standard_request/1.0.0/ShopfloorInformationTypes.ttl new file mode 100644 index 00000000..e79b04bd --- /dev/null +++ b/io.catenax.mp_standard_request/1.0.0/ShopfloorInformationTypes.ttl @@ -0,0 +1,88 @@ +########################################################################################## +# Copyright (c) 2023 Fraunhofer Institute of Optronics, System Technology and Image Exploitation (IOSB) +# Copyright (c) 2023 Siemens AG +# Copyright (c) 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 : . +@prefix ext-header: . + +:ShopfloorInformationTypes a samm:Aspect ; + samm:preferredName "Shopfloor Information Types"@en ; + samm:description "Collection of types used in multiple data models of the Shopfloor Information Service"@en ; + samm:properties ( :communicationMode :versionDataModel :timeValue ) ; + samm:operations ( ) ; + samm:events ( ) . + +:communicationMode a samm:Property ; + samm:preferredName "communication Mode"@en ; + samm:description "Specification of the communication mode"@en ; + samm:characteristic :CommunicationModeEnum ; + samm:exampleValue "synchronous" . + +:versionDataModel a samm:Property ; + samm:preferredName "version Data Model"@en ; + samm:description "Specifies the used version of the data model"@en ; + samm:characteristic ext-header:VersionCharacteristic ; + samm:exampleValue "urn:samm:io.catenax.shared.shopfloor_information_types:1.0.0" . + +:timeValue a samm:Property ; + samm:preferredName "Time Value"@en ; + samm:description "A time Value property"@en ; + samm:characteristic :TimeValueCharacteristic . + +:CommunicationModeEnum a samm-c:Enumeration ; + samm:preferredName "Communication Mode Enumeration"@en ; + samm:description "Enumerates all possible communication modes"@en ; + samm:dataType xsd:string ; + samm-c:values ( "synchronous" "cyclic" "notification" ) . + +:TimeValueCharacteristic a samm:Characteristic ; + samm:preferredName "Time Value Characteristic"@en ; + samm:description "Link to the TimeUnit Data Type"@en ; + samm:dataType :TimeValue . + +:TimeValue a samm:Entity ; + samm:preferredName "TimeValue"@en ; + samm:description "Datatype to express a time value"@en ; + samm:properties ( :timeUnit :value ) . + +:timeUnit a samm:Property ; + samm:preferredName "time Unit"@en ; + samm:description "Specifies the unit in which the time is represented"@en ; + samm:characteristic :TimeUnitEnum ; + samm:exampleValue "Hour" . + +:value a samm:Property ; + samm:preferredName "value"@en ; + samm:description "The amount of timeUnits considered"@en ; + samm:characteristic :IntegerValueCharacteristic ; + samm:exampleValue 12 . + +:TimeUnitEnum a samm-c:Enumeration ; + samm:preferredName "TimeUnitEnum"@en ; + samm:description "Enumerates all possible time units"@en ; + samm:dataType xsd:string ; + samm-c:values ( "Month" "Day" "Week" "Hour" "Minute" "Second" ) . + +:IntegerValueCharacteristic a samm:Characteristic ; + samm:preferredName "Integer Value Characteristic"@en ; + samm:description "The value of the specified timeUnit as an integer value"@en ; + samm:dataType xsd:integer . + From e16f404fe962e12b7c931a82ab539297362b12ba Mon Sep 17 00:00:00 2001 From: "Jan Christoph Wehrstedt (Desktop)" Date: Fri, 14 Jul 2023 15:40:27 +0200 Subject: [PATCH 3/4] Update GetProductionForecast after review --- .../1.0.0/ShopfloorInformationTypes.ttl | 88 ------------------- .../1.0.0/GetProductionForecast.ttl | 6 +- .../1.0.0/metadata.json | 0 .../RELEASE_NOTES.md | 2 +- 4 files changed, 4 insertions(+), 92 deletions(-) delete mode 100644 io.catenax.mp_standard_request/1.0.0/ShopfloorInformationTypes.ttl rename {io.catenax.mp_standard_request => io.catenax.shopfloor_information.get_production_forecast}/1.0.0/GetProductionForecast.ttl (94%) rename {io.catenax.mp_standard_request => io.catenax.shopfloor_information.get_production_forecast}/1.0.0/metadata.json (100%) rename {io.catenax.mp_standard_request => io.catenax.shopfloor_information.get_production_forecast}/RELEASE_NOTES.md (58%) diff --git a/io.catenax.mp_standard_request/1.0.0/ShopfloorInformationTypes.ttl b/io.catenax.mp_standard_request/1.0.0/ShopfloorInformationTypes.ttl deleted file mode 100644 index e79b04bd..00000000 --- a/io.catenax.mp_standard_request/1.0.0/ShopfloorInformationTypes.ttl +++ /dev/null @@ -1,88 +0,0 @@ -########################################################################################## -# Copyright (c) 2023 Fraunhofer Institute of Optronics, System Technology and Image Exploitation (IOSB) -# Copyright (c) 2023 Siemens AG -# Copyright (c) 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 : . -@prefix ext-header: . - -:ShopfloorInformationTypes a samm:Aspect ; - samm:preferredName "Shopfloor Information Types"@en ; - samm:description "Collection of types used in multiple data models of the Shopfloor Information Service"@en ; - samm:properties ( :communicationMode :versionDataModel :timeValue ) ; - samm:operations ( ) ; - samm:events ( ) . - -:communicationMode a samm:Property ; - samm:preferredName "communication Mode"@en ; - samm:description "Specification of the communication mode"@en ; - samm:characteristic :CommunicationModeEnum ; - samm:exampleValue "synchronous" . - -:versionDataModel a samm:Property ; - samm:preferredName "version Data Model"@en ; - samm:description "Specifies the used version of the data model"@en ; - samm:characteristic ext-header:VersionCharacteristic ; - samm:exampleValue "urn:samm:io.catenax.shared.shopfloor_information_types:1.0.0" . - -:timeValue a samm:Property ; - samm:preferredName "Time Value"@en ; - samm:description "A time Value property"@en ; - samm:characteristic :TimeValueCharacteristic . - -:CommunicationModeEnum a samm-c:Enumeration ; - samm:preferredName "Communication Mode Enumeration"@en ; - samm:description "Enumerates all possible communication modes"@en ; - samm:dataType xsd:string ; - samm-c:values ( "synchronous" "cyclic" "notification" ) . - -:TimeValueCharacteristic a samm:Characteristic ; - samm:preferredName "Time Value Characteristic"@en ; - samm:description "Link to the TimeUnit Data Type"@en ; - samm:dataType :TimeValue . - -:TimeValue a samm:Entity ; - samm:preferredName "TimeValue"@en ; - samm:description "Datatype to express a time value"@en ; - samm:properties ( :timeUnit :value ) . - -:timeUnit a samm:Property ; - samm:preferredName "time Unit"@en ; - samm:description "Specifies the unit in which the time is represented"@en ; - samm:characteristic :TimeUnitEnum ; - samm:exampleValue "Hour" . - -:value a samm:Property ; - samm:preferredName "value"@en ; - samm:description "The amount of timeUnits considered"@en ; - samm:characteristic :IntegerValueCharacteristic ; - samm:exampleValue 12 . - -:TimeUnitEnum a samm-c:Enumeration ; - samm:preferredName "TimeUnitEnum"@en ; - samm:description "Enumerates all possible time units"@en ; - samm:dataType xsd:string ; - samm-c:values ( "Month" "Day" "Week" "Hour" "Minute" "Second" ) . - -:IntegerValueCharacteristic a samm:Characteristic ; - samm:preferredName "Integer Value Characteristic"@en ; - samm:description "The value of the specified timeUnit as an integer value"@en ; - samm:dataType xsd:integer . - diff --git a/io.catenax.mp_standard_request/1.0.0/GetProductionForecast.ttl b/io.catenax.shopfloor_information.get_production_forecast/1.0.0/GetProductionForecast.ttl similarity index 94% rename from io.catenax.mp_standard_request/1.0.0/GetProductionForecast.ttl rename to io.catenax.shopfloor_information.get_production_forecast/1.0.0/GetProductionForecast.ttl index 90225197..f5d87ca3 100644 --- a/io.catenax.mp_standard_request/1.0.0/GetProductionForecast.ttl +++ b/io.catenax.shopfloor_information.get_production_forecast/1.0.0/GetProductionForecast.ttl @@ -21,7 +21,7 @@ @prefix rdfs: . @prefix xsd: . @prefix : . -@prefix ext-header: . +@prefix ext-header: . @prefix ext-types: . :GetProductionForecast a samm:Aspect ; @@ -76,12 +76,12 @@ :deviationOfSchedule a samm:Property ; samm:preferredName "Deviation of Schedule"@en ; - samm:description "Mandatory property for the notification mode. The property specifies the deviation from targeted delivery date that must be met to send a notification to a subscriber"@en ; + samm:description "Mandatory property for the notification mode. The property specifies the deviation from targeted delivery date that must be met to send a notification to a subscriber\n\nmandatory for CommunicationMode = \"notification\""@en ; samm:characteristic :TimeValueCharacteristic . :notificationInterval a samm:Property ; samm:preferredName "Notification Interval"@en ; - samm:description "Interval time that either specifies the cyclic send time or limits the notification time"@en ; + samm:description "Interval time that either specifies the cyclic send time or limits the notification time\nmandatory for CommunicationMode = \"cyclic\""@en ; samm:characteristic :TimeValueCharacteristic . :TimeValueCharacteristic a samm:Characteristic ; diff --git a/io.catenax.mp_standard_request/1.0.0/metadata.json b/io.catenax.shopfloor_information.get_production_forecast/1.0.0/metadata.json similarity index 100% rename from io.catenax.mp_standard_request/1.0.0/metadata.json rename to io.catenax.shopfloor_information.get_production_forecast/1.0.0/metadata.json diff --git a/io.catenax.mp_standard_request/RELEASE_NOTES.md b/io.catenax.shopfloor_information.get_production_forecast/RELEASE_NOTES.md similarity index 58% rename from io.catenax.mp_standard_request/RELEASE_NOTES.md rename to io.catenax.shopfloor_information.get_production_forecast/RELEASE_NOTES.md index 53cebea2..f55bfb9c 100644 --- a/io.catenax.mp_standard_request/RELEASE_NOTES.md +++ b/io.catenax.shopfloor_information.get_production_forecast/RELEASE_NOTES.md @@ -4,4 +4,4 @@ All notable changes to this model will be documented in this file. ## [1.0.0] -- initial version of the aspect model for GetShopfloorInformation +- initial version of the aspect model for get production forecast From c6f61a461b877135f4de87cbdc23c85dc186082e Mon Sep 17 00:00:00 2001 From: Dominik Oeh Date: Fri, 4 Aug 2023 14:18:08 +0200 Subject: [PATCH 4/4] fix: message header prefix --- .../1.0.0/GetProductionForecast.ttl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/io.catenax.shopfloor_information.get_production_forecast/1.0.0/GetProductionForecast.ttl b/io.catenax.shopfloor_information.get_production_forecast/1.0.0/GetProductionForecast.ttl index f5d87ca3..f7c489fc 100644 --- a/io.catenax.shopfloor_information.get_production_forecast/1.0.0/GetProductionForecast.ttl +++ b/io.catenax.shopfloor_information.get_production_forecast/1.0.0/GetProductionForecast.ttl @@ -20,8 +20,8 @@ @prefix rdf: . @prefix rdfs: . @prefix xsd: . -@prefix : . -@prefix ext-header: . +@prefix : . +@prefix ext-header: . @prefix ext-types: . :GetProductionForecast a samm:Aspect ; @@ -33,18 +33,18 @@ :request a samm:Property ; samm:preferredName "Request"@en ; - samm:description "Data model for a request"@en ; + samm:description "Data model for a request"@en ; samm:characteristic :RequestCharacteristic . :RequestCharacteristic a samm:Characteristic ; samm:preferredName "Request Characteristic"@en ; - samm:description "DataType for a request"@en ; + samm:description "Data type for a request"@en ; samm:dataType :RequestEntity . :RequestEntity a samm:Entity ; samm:preferredName "Request Entity"@en ; samm:description "Entity for a request of a production forecast"@en ; - samm:properties ( :offset :customerId [ samm:property :precisionOfForecast; samm:optional true ] :productionForecast4All :orderId [ samm:property :deviationOfSchedule; samm:optional true ] [ samm:property :notificationInterval; samm:optional true ] ext-types:communicationMode ext-types:versionDataModel ) . + samm:properties ( :offset :customerId [ samm:property :precisionOfForecast; samm:optional true ] :productionForecastForAll :orderId [ samm:property :deviationOfSchedule; samm:optional true ] [ samm:property :notificationInterval; samm:optional true ] ext-types:communicationMode ext-types:versionDataModel ) . :offset a samm:Property ; samm:preferredName "offset"@en ; @@ -59,10 +59,10 @@ :precisionOfForecast a samm:Property ; samm:preferredName "Precision of forecast"@en ; - samm:description "Accuracy of the time specification of the completion date.\n- default: implicitly defined by production\n- only as a REQUEST of the requester, since it cannot be guaranteed that the store floor can provide the data in this accuracy."@en ; + samm:description "Accuracy of the time specification of the completion date.\n- default: implicitly defined by production\n- only as a REQUEST of the requester since it cannot be guaranteed that the store floor can provide the data in this accuracy."@en ; samm:characteristic :TimeValueCharacteristic . -:productionForecast4All a samm:Property ; +:productionForecastForAll a samm:Property ; samm:preferredName "Production forecast for all"@en ; samm:description "Boolean variable that detemines whether the customer request information about each position of an order, or information about the complete order"@en ; samm:characteristic samm-c:Boolean ;