From b38b8b92f47e25346792e97e0b352c9e1f6655d0 Mon Sep 17 00:00:00 2001 From: "Jan Christoph Wehrstedt (Desktop)" Date: Fri, 7 Jul 2023 14:42:09 +0200 Subject: [PATCH 1/5] first version of ProvideProductionForecast --- .../1.0.0/DataTypes.ttl | 53 ++++++ .../1.0.0/ProvideProductionForecast.ttl | 166 ++++++++++++++++++ .../1.0.0/metadata.json | 1 + .../RELEASE_NOTES.md | 7 + 4 files changed, 227 insertions(+) create mode 100644 io.catenax.mp_standard_response/1.0.0/DataTypes.ttl create mode 100644 io.catenax.mp_standard_response/1.0.0/ProvideProductionForecast.ttl create mode 100644 io.catenax.mp_standard_response/1.0.0/metadata.json create mode 100644 io.catenax.mp_standard_response/RELEASE_NOTES.md diff --git a/io.catenax.mp_standard_response/1.0.0/DataTypes.ttl b/io.catenax.mp_standard_response/1.0.0/DataTypes.ttl new file mode 100644 index 00000000..eed2d910 --- /dev/null +++ b/io.catenax.mp_standard_response/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_response/1.0.0/ProvideProductionForecast.ttl b/io.catenax.mp_standard_response/1.0.0/ProvideProductionForecast.ttl new file mode 100644 index 00000000..529ffab9 --- /dev/null +++ b/io.catenax.mp_standard_response/1.0.0/ProvideProductionForecast.ttl @@ -0,0 +1,166 @@ +########################################################################################## +# 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-request: . +@prefix ext-unsubscribe: . + +:ProvideProductionForecast a samm:Aspect ; + samm:preferredName "ProvideProductionForecast"@en ; + samm:description "Answer to a customer with all information about the requested items"@en ; + samm:properties ( :productionForecastResponse :cxHeader ) ; + samm:operations ( ) ; + samm:events ( ) . + +:productionForecastResponse a samm:Property ; + samm:preferredName "productionForecastResponse"@en ; + samm:description "the concrete information about a production forecast"@en ; + samm:characteristic :ProductionForecastCharacteristic . + +:cxHeader a samm:Property ; + samm:preferredName "cxHeader"@en ; + samm:description "header that refers to the request of a customer"@en ; + samm:characteristic :CXHeaderCharacteristic . + +:ProductionForecastCharacteristic a samm:Characteristic ; + samm:preferredName "ProductionForecastCharacteristic"@en ; + samm:description "All Data that is related to a production forecast"@en ; + samm:dataType :ProductionForecastItem . + +: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 . + +:ProductionForecastItem a samm:Entity ; + samm:preferredName "ProductionForecastItem"@en ; + samm:description "Datamodel of the concrete production forecast"@en ; + samm:properties ( :listOfForecastItems [ samm:property :iterationNo; samm:optional true ] :communicationMode ) . + +:listOfForecastItems a samm:Property ; + samm:preferredName "listOfForecastItems"@en ; + samm:description "List of ForecastItems matching the items to an order"@en ; + samm:characteristic :ForecastItemList . + +:iterationNo a samm:Property ; + samm:preferredName "iterationNo"@en ; + samm:description "only set in CommunicationMode == \"notification/cycle\" to be able to check the order of the notifications. "@en ; + samm:characteristic :IntegerCharacteristic . + +:communicationMode a samm:Property ; + samm:preferredName "communicationMode"@en ; + samm:description "confirmation of the requested communication mode"@en ; + samm:characteristic :CommunicationModeEnum ; + samm:exampleValue "synchronous" . + +:ForecastItemList a samm-c:List ; + samm:preferredName "ForecastItemList"@en ; + samm:description "List with the forecast items"@en ; + samm:dataType :ForecastItem . + +:IntegerCharacteristic a samm:Characteristic ; + samm:preferredName "IntegerCharacteristic"@en ; + samm:dataType xsd:integer . + +:CommunicationModeEnum a samm-c:Enumeration ; + samm:preferredName "CommunicationModeEnum"@en ; + samm:description "Enum that features all possible communication modes"@en ; + samm:dataType xsd:string ; + samm-c:values ( "Month" "Day" "Week" "Hour" "Minute" "Second" ) . + +:ForecastItem a samm:Entity ; + samm:preferredName "ForecastItem"@en ; + samm:description "a ForecastItem entry for the requested order"@en ; + samm:properties ( :positionId :productionForecast :precisionOfForecast :prodcutionStatus [ samm:property :reasons4Delay; samm:optional true ] :returnCode :forecastDate ) . + +:positionId a samm:Property ; + samm:preferredName "positionId"@en ; + samm:description "Identifier of a position of an order"@en ; + samm:characteristic :String ; + samm:exampleValue "00000000-0000-0000-C000-000000000046" . + +:productionForecast a samm:Property ; + samm:preferredName "productionForecast"@en ; + samm:description "date of completion"@en ; + samm:characteristic :Datetime . + +:precisionOfForecast a samm:Property ; + samm:preferredName "precisionOfForecast"@en ; + samm:description "accuracy of the prediction"@en ; + samm:characteristic :TimeValueCharacteristic . + +:prodcutionStatus a samm:Property ; + samm:preferredName "prodcutionStatus"@en ; + samm:description "Status of the order/position within MP"@en ; + samm:characteristic :ProductionStatusEnum ; + samm:exampleValue "ItemPlanned" . + +:reasons4Delay a samm:Property ; + samm:preferredName "reasons4Delay"@en ; + samm:description "optional field to provide information to the customer why a delivery date is not met"@en ; + samm:characteristic :Reasons4DelayEnum ; + samm:exampleValue "supply problems" . + +:returnCode a samm:Property ; + samm:preferredName "returnCode"@en ; + samm:description "return code that indicates whether a single item of an order matches the customers desired request"@en ; + samm:characteristic :ReturnCodeEnum ; + samm:exampleValue "lower accuracy of precision" . + +:forecastDate a samm:Property ; + samm:preferredName "forecastDate"@en ; + samm:description "Date/time of the forecast calculation"@en ; + samm:characteristic :Datetime . + +:String a samm:Characteristic ; + samm:preferredName "String"@en ; + samm:description "String values"@en ; + samm:dataType xsd:string . + +:Datetime a samm:Characteristic ; + samm:preferredName "Datetime"@en ; + samm:description "date of completion of an order position"@en ; + samm:dataType xsd:dateTime . + +:TimeValueCharacteristic a samm:Characteristic ; + samm:preferredName "TimeValueCharacteristic"@en ; + samm:description "Link to the TimeUnit Data Type"@en ; + samm:dataType ext-unsubscribe:TimeValue . + +:ProductionStatusEnum a samm-c:Enumeration ; + samm:preferredName "ProductionStatusEnum"@en ; + samm:description "Enum with possible states of an order within MP"@en ; + samm:dataType xsd:string ; + samm-c:values ( "itemReceived" "itemPlanned" "itemInProduction" "itemCompleted" "statusUndefined" ) . + +:Reasons4DelayEnum a samm-c:Enumeration ; + samm:preferredName "Reasons4DelayEnum"@en ; + samm:description "Enum that specifies reasons for a delay of an order"@en ; + samm:dataType xsd:string ; + samm-c:values ( "supply problems" "internal problems" "other circumstances" "no Information available" ) . + +:ReturnCodeEnum a samm-c:Enumeration ; + samm:preferredName "ReturnCodeEnum"@en ; + samm:description "Enum with all Return Codes"@en ; + samm:dataType xsd:string ; + samm-c:values ( "ok" "faulty request" "lower accuracy of precision" "acknowledged" ) . + diff --git a/io.catenax.mp_standard_response/1.0.0/metadata.json b/io.catenax.mp_standard_response/1.0.0/metadata.json new file mode 100644 index 00000000..84245e4e --- /dev/null +++ b/io.catenax.mp_standard_response/1.0.0/metadata.json @@ -0,0 +1 @@ +{ "status" : "release" } diff --git a/io.catenax.mp_standard_response/RELEASE_NOTES.md b/io.catenax.mp_standard_response/RELEASE_NOTES.md new file mode 100644 index 00000000..714333ad --- /dev/null +++ b/io.catenax.mp_standard_response/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 ProvideProductionForecast From ace83c578fd3a9e758afe7f8609500972fabf55f Mon Sep 17 00:00:00 2001 From: "Jan Christoph Wehrstedt (Desktop)" Date: Thu, 13 Jul 2023 13:58:43 +0200 Subject: [PATCH 2/5] update of model after review --- .../1.0.0/DataTypes.ttl | 53 -------- .../1.0.0/ProvideProductionForecast.ttl | 114 ++++++------------ .../1.0.0/ShopfloorInformationTypes.ttl | 88 ++++++++++++++ 3 files changed, 126 insertions(+), 129 deletions(-) delete mode 100644 io.catenax.mp_standard_response/1.0.0/DataTypes.ttl create mode 100644 io.catenax.mp_standard_response/1.0.0/ShopfloorInformationTypes.ttl diff --git a/io.catenax.mp_standard_response/1.0.0/DataTypes.ttl b/io.catenax.mp_standard_response/1.0.0/DataTypes.ttl deleted file mode 100644 index eed2d910..00000000 --- a/io.catenax.mp_standard_response/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_response/1.0.0/ProvideProductionForecast.ttl b/io.catenax.mp_standard_response/1.0.0/ProvideProductionForecast.ttl index 529ffab9..12c1e955 100644 --- a/io.catenax.mp_standard_response/1.0.0/ProvideProductionForecast.ttl +++ b/io.catenax.mp_standard_response/1.0.0/ProvideProductionForecast.ttl @@ -1,6 +1,7 @@ ########################################################################################## -# Copyright (c) 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e. V. +# 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. @@ -19,74 +20,48 @@ @prefix rdf: . @prefix rdfs: . @prefix xsd: . -@prefix : . +@prefix : . @prefix ext-header: . -@prefix ext-request: . -@prefix ext-unsubscribe: . +@prefix ext-types: . :ProvideProductionForecast a samm:Aspect ; samm:preferredName "ProvideProductionForecast"@en ; samm:description "Answer to a customer with all information about the requested items"@en ; - samm:properties ( :productionForecastResponse :cxHeader ) ; + samm:properties ( :productionForecastResponse ext-header:header ) ; samm:operations ( ) ; samm:events ( ) . :productionForecastResponse a samm:Property ; - samm:preferredName "productionForecastResponse"@en ; - samm:description "the concrete information about a production forecast"@en ; + samm:preferredName "production Forecast Response"@en ; + samm:description "The concrete information about a production forecast"@en ; samm:characteristic :ProductionForecastCharacteristic . -:cxHeader a samm:Property ; - samm:preferredName "cxHeader"@en ; - samm:description "header that refers to the request of a customer"@en ; - samm:characteristic :CXHeaderCharacteristic . - :ProductionForecastCharacteristic a samm:Characteristic ; - samm:preferredName "ProductionForecastCharacteristic"@en ; + samm:preferredName "Production Forecast Characteristic"@en ; samm:description "All Data that is related to a production forecast"@en ; samm:dataType :ProductionForecastItem . -: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 . - :ProductionForecastItem a samm:Entity ; - samm:preferredName "ProductionForecastItem"@en ; - samm:description "Datamodel of the concrete production forecast"@en ; - samm:properties ( :listOfForecastItems [ samm:property :iterationNo; samm:optional true ] :communicationMode ) . + samm:preferredName "Production Forecast Item"@en ; + samm:description "Datamodel of the concrete production forecast for one forecast item"@en ; + samm:properties ( :listOfForecastItems [ samm:property :iterationNo; samm:optional true ] ext-types:communicationMode ext-types:versionDataModel ) . :listOfForecastItems a samm:Property ; - samm:preferredName "listOfForecastItems"@en ; + samm:preferredName "list Of Forecast Items"@en ; samm:description "List of ForecastItems matching the items to an order"@en ; samm:characteristic :ForecastItemList . :iterationNo a samm:Property ; samm:preferredName "iterationNo"@en ; samm:description "only set in CommunicationMode == \"notification/cycle\" to be able to check the order of the notifications. "@en ; - samm:characteristic :IntegerCharacteristic . - -:communicationMode a samm:Property ; - samm:preferredName "communicationMode"@en ; - samm:description "confirmation of the requested communication mode"@en ; - samm:characteristic :CommunicationModeEnum ; - samm:exampleValue "synchronous" . + samm:characteristic ext-types:IntegerValueCharacteristic ; + samm:exampleValue 6 . :ForecastItemList a samm-c:List ; - samm:preferredName "ForecastItemList"@en ; + samm:preferredName "Forecast Item List"@en ; samm:description "List with the forecast items"@en ; samm:dataType :ForecastItem . -:IntegerCharacteristic a samm:Characteristic ; - samm:preferredName "IntegerCharacteristic"@en ; - samm:dataType xsd:integer . - -:CommunicationModeEnum a samm-c:Enumeration ; - samm:preferredName "CommunicationModeEnum"@en ; - samm:description "Enum that features all possible communication modes"@en ; - samm:dataType xsd:string ; - samm-c:values ( "Month" "Day" "Week" "Hour" "Minute" "Second" ) . - :ForecastItem a samm:Entity ; samm:preferredName "ForecastItem"@en ; samm:description "a ForecastItem entry for the requested order"@en ; @@ -95,72 +70,59 @@ :positionId a samm:Property ; samm:preferredName "positionId"@en ; samm:description "Identifier of a position of an order"@en ; - samm:characteristic :String ; + samm:characteristic ext-header:UuidCharacteristic ; samm:exampleValue "00000000-0000-0000-C000-000000000046" . :productionForecast a samm:Property ; - samm:preferredName "productionForecast"@en ; - samm:description "date of completion"@en ; - samm:characteristic :Datetime . + samm:preferredName "production Forecast"@en ; + samm:description "Date of completion"@en ; + samm:characteristic ext-header:Timestamp ; + samm:exampleValue "2023-06-19T21:24:00+07:00"^^xsd:dateTimeStamp . :precisionOfForecast a samm:Property ; - samm:preferredName "precisionOfForecast"@en ; - samm:description "accuracy of the prediction"@en ; - samm:characteristic :TimeValueCharacteristic . + samm:preferredName "precision Of Forecast"@en ; + samm:description "Accuracy of the prediction"@en ; + samm:characteristic ext-types:TimeValueCharacteristic . :prodcutionStatus a samm:Property ; - samm:preferredName "prodcutionStatus"@en ; + samm:preferredName "prodcution Status"@en ; samm:description "Status of the order/position within MP"@en ; samm:characteristic :ProductionStatusEnum ; - samm:exampleValue "ItemPlanned" . + samm:exampleValue "itemPlanned" . :reasons4Delay a samm:Property ; - samm:preferredName "reasons4Delay"@en ; - samm:description "optional field to provide information to the customer why a delivery date is not met"@en ; + samm:preferredName "reasons 4 Delay"@en ; + samm:description "Optional field to provide information to the customer why a delivery date is not met"@en ; samm:characteristic :Reasons4DelayEnum ; samm:exampleValue "supply problems" . :returnCode a samm:Property ; - samm:preferredName "returnCode"@en ; - samm:description "return code that indicates whether a single item of an order matches the customers desired request"@en ; + samm:preferredName "return Code"@en ; + samm:description "Return code that indicates whether a single item of an order matches the customers desired request"@en ; samm:characteristic :ReturnCodeEnum ; samm:exampleValue "lower accuracy of precision" . :forecastDate a samm:Property ; - samm:preferredName "forecastDate"@en ; + samm:preferredName "forecast Date"@en ; samm:description "Date/time of the forecast calculation"@en ; - samm:characteristic :Datetime . - -:String a samm:Characteristic ; - samm:preferredName "String"@en ; - samm:description "String values"@en ; - samm:dataType xsd:string . - -:Datetime a samm:Characteristic ; - samm:preferredName "Datetime"@en ; - samm:description "date of completion of an order position"@en ; - samm:dataType xsd:dateTime . - -:TimeValueCharacteristic a samm:Characteristic ; - samm:preferredName "TimeValueCharacteristic"@en ; - samm:description "Link to the TimeUnit Data Type"@en ; - samm:dataType ext-unsubscribe:TimeValue . + samm:characteristic ext-header:Timestamp ; + samm:exampleValue "2023-06-19T21:24:00+07:00"^^xsd:dateTimeStamp . :ProductionStatusEnum a samm-c:Enumeration ; - samm:preferredName "ProductionStatusEnum"@en ; - samm:description "Enum with possible states of an order within MP"@en ; + samm:preferredName "Production Status Enumeration"@en ; + samm:description "Enumeration with all possible states of an order within MP"@en ; samm:dataType xsd:string ; samm-c:values ( "itemReceived" "itemPlanned" "itemInProduction" "itemCompleted" "statusUndefined" ) . :Reasons4DelayEnum a samm-c:Enumeration ; - samm:preferredName "Reasons4DelayEnum"@en ; + samm:preferredName "Reasons 4 Delay Enum"@en ; samm:description "Enum that specifies reasons for a delay of an order"@en ; samm:dataType xsd:string ; - samm-c:values ( "supply problems" "internal problems" "other circumstances" "no Information available" ) . + samm-c:values ( "supply problems" "internal problems" "other circumstances" "no information available" ) . :ReturnCodeEnum a samm-c:Enumeration ; - samm:preferredName "ReturnCodeEnum"@en ; - samm:description "Enum with all Return Codes"@en ; + samm:preferredName "Return Code Enumeration"@en ; + samm:description "Enumeration with all Return Codes"@en ; samm:dataType xsd:string ; samm-c:values ( "ok" "faulty request" "lower accuracy of precision" "acknowledged" ) . diff --git a/io.catenax.mp_standard_response/1.0.0/ShopfloorInformationTypes.ttl b/io.catenax.mp_standard_response/1.0.0/ShopfloorInformationTypes.ttl new file mode 100644 index 00000000..e79b04bd --- /dev/null +++ b/io.catenax.mp_standard_response/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 a49a8aefedb5e2e0928143f26ff832913d9bd956 Mon Sep 17 00:00:00 2001 From: "Jan Christoph Wehrstedt (Desktop)" Date: Fri, 14 Jul 2023 15:33:23 +0200 Subject: [PATCH 3/5] update ProvideProductionForecast after review --- .../1.0.0/ShopfloorInformationTypes.ttl | 88 ------------------- .../1.0.0/ProvideProductionForecast.ttl | 46 +++++----- .../1.0.0/metadata.json | 0 .../RELEASE_NOTES.md | 0 4 files changed, 23 insertions(+), 111 deletions(-) delete mode 100644 io.catenax.mp_standard_response/1.0.0/ShopfloorInformationTypes.ttl rename {io.catenax.mp_standard_response => io.catenax.shopfloor_information.provide_production_forecast}/1.0.0/ProvideProductionForecast.ttl (78%) rename {io.catenax.mp_standard_response => io.catenax.shopfloor_information.provide_production_forecast}/1.0.0/metadata.json (100%) rename {io.catenax.mp_standard_response => io.catenax.shopfloor_information.provide_production_forecast}/RELEASE_NOTES.md (100%) diff --git a/io.catenax.mp_standard_response/1.0.0/ShopfloorInformationTypes.ttl b/io.catenax.mp_standard_response/1.0.0/ShopfloorInformationTypes.ttl deleted file mode 100644 index e79b04bd..00000000 --- a/io.catenax.mp_standard_response/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_response/1.0.0/ProvideProductionForecast.ttl b/io.catenax.shopfloor_information.provide_production_forecast/1.0.0/ProvideProductionForecast.ttl similarity index 78% rename from io.catenax.mp_standard_response/1.0.0/ProvideProductionForecast.ttl rename to io.catenax.shopfloor_information.provide_production_forecast/1.0.0/ProvideProductionForecast.ttl index 12c1e955..14bfa991 100644 --- a/io.catenax.mp_standard_response/1.0.0/ProvideProductionForecast.ttl +++ b/io.catenax.shopfloor_information.provide_production_forecast/1.0.0/ProvideProductionForecast.ttl @@ -21,18 +21,18 @@ @prefix rdfs: . @prefix xsd: . @prefix : . -@prefix ext-header: . +@prefix ext-header: . @prefix ext-types: . :ProvideProductionForecast a samm:Aspect ; - samm:preferredName "ProvideProductionForecast"@en ; + samm:preferredName "Provide Production Forecast"@en ; samm:description "Answer to a customer with all information about the requested items"@en ; samm:properties ( :productionForecastResponse ext-header:header ) ; samm:operations ( ) ; samm:events ( ) . :productionForecastResponse a samm:Property ; - samm:preferredName "production Forecast Response"@en ; + samm:preferredName "Production Forecast Response"@en ; samm:description "The concrete information about a production forecast"@en ; samm:characteristic :ProductionForecastCharacteristic . @@ -47,13 +47,13 @@ samm:properties ( :listOfForecastItems [ samm:property :iterationNo; samm:optional true ] ext-types:communicationMode ext-types:versionDataModel ) . :listOfForecastItems a samm:Property ; - samm:preferredName "list Of Forecast Items"@en ; + samm:preferredName "List Of Forecast Items"@en ; samm:description "List of ForecastItems matching the items to an order"@en ; samm:characteristic :ForecastItemList . :iterationNo a samm:Property ; - samm:preferredName "iterationNo"@en ; - samm:description "only set in CommunicationMode == \"notification/cycle\" to be able to check the order of the notifications. "@en ; + samm:preferredName "IterationNo"@en ; + samm:description "Only set in CommunicationMode == \"notification/cyclic\" to be able to check the order of the notifications. \n\nNot required for communication mode = \"synchronous\""@en ; samm:characteristic ext-types:IntegerValueCharacteristic ; samm:exampleValue 6 . @@ -65,48 +65,48 @@ :ForecastItem a samm:Entity ; samm:preferredName "ForecastItem"@en ; samm:description "a ForecastItem entry for the requested order"@en ; - samm:properties ( :positionId :productionForecast :precisionOfForecast :prodcutionStatus [ samm:property :reasons4Delay; samm:optional true ] :returnCode :forecastDate ) . + samm:properties ( :positionId :productionForecast :precisionOfForecast :productionStatus [ samm:property :reasons4Delay; samm:optional true ] :returnCode :forecastDate ) . :positionId a samm:Property ; - samm:preferredName "positionId"@en ; + samm:preferredName "PositionId"@en ; samm:description "Identifier of a position of an order"@en ; samm:characteristic ext-header:UuidCharacteristic ; samm:exampleValue "00000000-0000-0000-C000-000000000046" . :productionForecast a samm:Property ; - samm:preferredName "production Forecast"@en ; + samm:preferredName "Production Forecast"@en ; samm:description "Date of completion"@en ; - samm:characteristic ext-header:Timestamp ; - samm:exampleValue "2023-06-19T21:24:00+07:00"^^xsd:dateTimeStamp . + samm:characteristic samm-c:Timestamp ; + samm:exampleValue "2023-06-19T21:24:00+07:00"^^xsd:dateTime . :precisionOfForecast a samm:Property ; - samm:preferredName "precision Of Forecast"@en ; + samm:preferredName "Precision Of Forecast"@en ; samm:description "Accuracy of the prediction"@en ; samm:characteristic ext-types:TimeValueCharacteristic . -:prodcutionStatus a samm:Property ; - samm:preferredName "prodcution Status"@en ; +:productionStatus a samm:Property ; + samm:preferredName "Production Status"@en ; samm:description "Status of the order/position within MP"@en ; samm:characteristic :ProductionStatusEnum ; samm:exampleValue "itemPlanned" . :reasons4Delay a samm:Property ; - samm:preferredName "reasons 4 Delay"@en ; + samm:preferredName "Reasons 4 Delay"@en ; samm:description "Optional field to provide information to the customer why a delivery date is not met"@en ; samm:characteristic :Reasons4DelayEnum ; - samm:exampleValue "supply problems" . + samm:exampleValue "supplyProblems" . :returnCode a samm:Property ; - samm:preferredName "return Code"@en ; + samm:preferredName "Return Code"@en ; samm:description "Return code that indicates whether a single item of an order matches the customers desired request"@en ; samm:characteristic :ReturnCodeEnum ; - samm:exampleValue "lower accuracy of precision" . + samm:exampleValue "ok" . :forecastDate a samm:Property ; - samm:preferredName "forecast Date"@en ; + samm:preferredName "Forecast Date"@en ; samm:description "Date/time of the forecast calculation"@en ; - samm:characteristic ext-header:Timestamp ; - samm:exampleValue "2023-06-19T21:24:00+07:00"^^xsd:dateTimeStamp . + samm:characteristic samm-c:Timestamp ; + samm:exampleValue "2023-06-19T21:24:00+07:00"^^xsd:dateTime . :ProductionStatusEnum a samm-c:Enumeration ; samm:preferredName "Production Status Enumeration"@en ; @@ -118,11 +118,11 @@ samm:preferredName "Reasons 4 Delay Enum"@en ; samm:description "Enum that specifies reasons for a delay of an order"@en ; samm:dataType xsd:string ; - samm-c:values ( "supply problems" "internal problems" "other circumstances" "no information available" ) . + samm-c:values ( "supplyProblems" "otherCircumstances" "internalProblems" "noInformationAvailable" ) . :ReturnCodeEnum a samm-c:Enumeration ; samm:preferredName "Return Code Enumeration"@en ; samm:description "Enumeration with all Return Codes"@en ; samm:dataType xsd:string ; - samm-c:values ( "ok" "faulty request" "lower accuracy of precision" "acknowledged" ) . + samm-c:values ( "ok" "lowerAccuracyOfPrecision" "noForecastAvailable" ) . diff --git a/io.catenax.mp_standard_response/1.0.0/metadata.json b/io.catenax.shopfloor_information.provide_production_forecast/1.0.0/metadata.json similarity index 100% rename from io.catenax.mp_standard_response/1.0.0/metadata.json rename to io.catenax.shopfloor_information.provide_production_forecast/1.0.0/metadata.json diff --git a/io.catenax.mp_standard_response/RELEASE_NOTES.md b/io.catenax.shopfloor_information.provide_production_forecast/RELEASE_NOTES.md similarity index 100% rename from io.catenax.mp_standard_response/RELEASE_NOTES.md rename to io.catenax.shopfloor_information.provide_production_forecast/RELEASE_NOTES.md From e69bea23d73921353b7684c85eea37d8c79cdd3d Mon Sep 17 00:00:00 2001 From: Dominik Oeh Date: Fri, 4 Aug 2023 14:21:03 +0200 Subject: [PATCH 4/5] fix: message header prefix update message header prefix with shared namespace --- .../1.0.0/ProvideProductionForecast.ttl | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/io.catenax.shopfloor_information.provide_production_forecast/1.0.0/ProvideProductionForecast.ttl b/io.catenax.shopfloor_information.provide_production_forecast/1.0.0/ProvideProductionForecast.ttl index 14bfa991..c880c9db 100644 --- a/io.catenax.shopfloor_information.provide_production_forecast/1.0.0/ProvideProductionForecast.ttl +++ b/io.catenax.shopfloor_information.provide_production_forecast/1.0.0/ProvideProductionForecast.ttl @@ -20,8 +20,8 @@ @prefix rdf: . @prefix rdfs: . @prefix xsd: . -@prefix : . -@prefix ext-header: . +@prefix : . +@prefix ext-header: . @prefix ext-types: . :ProvideProductionForecast a samm:Aspect ; @@ -44,15 +44,15 @@ :ProductionForecastItem a samm:Entity ; samm:preferredName "Production Forecast Item"@en ; samm:description "Datamodel of the concrete production forecast for one forecast item"@en ; - samm:properties ( :listOfForecastItems [ samm:property :iterationNo; samm:optional true ] ext-types:communicationMode ext-types:versionDataModel ) . + samm:properties ( :listOfForecastItems [ samm:property :iterationNumber; samm:optional true ] ext-types:communicationMode ext-types:versionDataModel ) . :listOfForecastItems a samm:Property ; samm:preferredName "List Of Forecast Items"@en ; samm:description "List of ForecastItems matching the items to an order"@en ; samm:characteristic :ForecastItemList . -:iterationNo a samm:Property ; - samm:preferredName "IterationNo"@en ; +:iterationNumber a samm:Property ; + samm:preferredName "Iteration Number"@en ; samm:description "Only set in CommunicationMode == \"notification/cyclic\" to be able to check the order of the notifications. \n\nNot required for communication mode = \"synchronous\""@en ; samm:characteristic ext-types:IntegerValueCharacteristic ; samm:exampleValue 6 . @@ -63,12 +63,12 @@ samm:dataType :ForecastItem . :ForecastItem a samm:Entity ; - samm:preferredName "ForecastItem"@en ; - samm:description "a ForecastItem entry for the requested order"@en ; - samm:properties ( :positionId :productionForecast :precisionOfForecast :productionStatus [ samm:property :reasons4Delay; samm:optional true ] :returnCode :forecastDate ) . + samm:preferredName "Forecast Item"@en ; + samm:description "ForecastItem entry for the requested order"@en ; + samm:properties ( :positionId :productionForecast :precisionOfForecast :productionStatus [ samm:property :reasonsForDelay; samm:optional true ] :returnCode :forecastDate ) . :positionId a samm:Property ; - samm:preferredName "PositionId"@en ; + samm:preferredName "Position Id"@en ; samm:description "Identifier of a position of an order"@en ; samm:characteristic ext-header:UuidCharacteristic ; samm:exampleValue "00000000-0000-0000-C000-000000000046" . @@ -90,10 +90,10 @@ samm:characteristic :ProductionStatusEnum ; samm:exampleValue "itemPlanned" . -:reasons4Delay a samm:Property ; - samm:preferredName "Reasons 4 Delay"@en ; +:reasonsForDelay a samm:Property ; + samm:preferredName "Reasons For Delay"@en ; samm:description "Optional field to provide information to the customer why a delivery date is not met"@en ; - samm:characteristic :Reasons4DelayEnum ; + samm:characteristic :ReasonsForDelayEnum ; samm:exampleValue "supplyProblems" . :returnCode a samm:Property ; @@ -114,8 +114,8 @@ samm:dataType xsd:string ; samm-c:values ( "itemReceived" "itemPlanned" "itemInProduction" "itemCompleted" "statusUndefined" ) . -:Reasons4DelayEnum a samm-c:Enumeration ; - samm:preferredName "Reasons 4 Delay Enum"@en ; +:ReasonsForDelayEnum a samm-c:Enumeration ; + samm:preferredName "Reasons for Delay Enum"@en ; samm:description "Enum that specifies reasons for a delay of an order"@en ; samm:dataType xsd:string ; samm-c:values ( "supplyProblems" "otherCircumstances" "internalProblems" "noInformationAvailable" ) . From b84f03b86a6614b2c7531a8dc1c3f974b656f5aa Mon Sep 17 00:00:00 2001 From: Johannes Kristan Date: Mon, 4 Sep 2023 15:27:43 +0200 Subject: [PATCH 5/5] Fix namespace to align with folder name --- .../1.0.0/ProvideProductionForecast.ttl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.catenax.shopfloor_information.provide_production_forecast/1.0.0/ProvideProductionForecast.ttl b/io.catenax.shopfloor_information.provide_production_forecast/1.0.0/ProvideProductionForecast.ttl index c880c9db..b1f30d78 100644 --- a/io.catenax.shopfloor_information.provide_production_forecast/1.0.0/ProvideProductionForecast.ttl +++ b/io.catenax.shopfloor_information.provide_production_forecast/1.0.0/ProvideProductionForecast.ttl @@ -20,7 +20,7 @@ @prefix rdf: . @prefix rdfs: . @prefix xsd: . -@prefix : . +@prefix : . @prefix ext-header: . @prefix ext-types: .