From 99b6a74350fc49f41effa2b04975751e2924241d Mon Sep 17 00:00:00 2001 From: Guy Kouamou Ntonfo Date: Thu, 23 Nov 2023 23:17:09 +0100 Subject: [PATCH 1/7] Added Smart notification model --- .../examples/example-normalized.json | 21 +++++++ .../SmartNotification/examples/example.json | 11 ++++ .../KITT4SME/SmartNotification/notes.yaml | 7 +++ .../KITT4SME/SmartNotification/schema.json | 61 +++++++++++++++++++ 4 files changed, 100 insertions(+) create mode 100644 SMARTMANUFACTURING/KITT4SME/SmartNotification/examples/example-normalized.json create mode 100644 SMARTMANUFACTURING/KITT4SME/SmartNotification/examples/example.json create mode 100644 SMARTMANUFACTURING/KITT4SME/SmartNotification/notes.yaml create mode 100644 SMARTMANUFACTURING/KITT4SME/SmartNotification/schema.json diff --git a/SMARTMANUFACTURING/KITT4SME/SmartNotification/examples/example-normalized.json b/SMARTMANUFACTURING/KITT4SME/SmartNotification/examples/example-normalized.json new file mode 100644 index 000000000..ec8aa864e --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/SmartNotification/examples/example-normalized.json @@ -0,0 +1,21 @@ +{ + "id": "urn:ngsi-ld:Shopfloor:001", + "type": "Machine", + "recommendation": { + "type": "String", + "value": "Decrease robot speed" + }, + "timestamp": { + "type": "StructuredValue", + "value": { + "dateTime": "2022-10-12T18:01:10.120Z", + "format": "YYYY-MM-DDThh:mm:ss.zzzZ", + "timezoneId": "UTC" + } +}, + "metadata": { + "type": "StructuredValue", + "value": {} + + } +} \ No newline at end of file diff --git a/SMARTMANUFACTURING/KITT4SME/SmartNotification/examples/example.json b/SMARTMANUFACTURING/KITT4SME/SmartNotification/examples/example.json new file mode 100644 index 000000000..a14a38648 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/SmartNotification/examples/example.json @@ -0,0 +1,11 @@ +{ + "id": "urn:ngsi-ld:Shopfloor:001", + "type": "Machine", + "recommendation": "Decrease robot speed", + "timestamp": { + "dateTime": "2022-10-12T18:01:10.120Z", + "format": "YYYY-MM-DDThh:mm:ss.zzzZ", + "timezoneId": "UTC" + }, + "metadata": {} + } \ No newline at end of file diff --git a/SMARTMANUFACTURING/KITT4SME/SmartNotification/notes.yaml b/SMARTMANUFACTURING/KITT4SME/SmartNotification/notes.yaml new file mode 100644 index 000000000..47f403afc --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/SmartNotification/notes.yaml @@ -0,0 +1,7 @@ +notesHeader: + +notesMiddle: + +notesFooter: + +notesReadme: Smart notification data model used in the KITT4SME project. https://kitt4sme.eu/ diff --git a/SMARTMANUFACTURING/KITT4SME/SmartNotification/schema.json b/SMARTMANUFACTURING/KITT4SME/SmartNotification/schema.json new file mode 100644 index 000000000..0e244032e --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/SmartNotification/schema.json @@ -0,0 +1,61 @@ +{ + "$schema": "http://json-schema.org/schema#", + "$schemaVersion": "0.0.1", + "modelTags": "", + "derivedFrom": "", + "license": "", + "$id": "https://smart-data-models.github.io/XXXsubjectXXX/XXXdataModelXXX/schema.json", + "title": "", + "description": "", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "type": { + "description": "Property. NGSI Entity type. It has to be Machine", + "enum": [ + "Machine" + ] + }, + "recommendation": { + "type": "string", + "description": "Property. " + }, + "timestamp": { + "type": "object", + "properties": { + "dateTime": { + "type": "string", + "format": "date-time", + "description": "Property. " + }, + "format": { + "type": "string", + "description": "Property. Format of the output" + }, + "timezoneId": { + "type": "string", + "description": "Property. " + } + }, + "description": "Property. " + }, + "metadata": { + "type": "object", + "properties": {}, + "description": "Property. " + } + } + } + ], + "required": [ + "id", + "type" + ] +} \ No newline at end of file From a1c5194ce4b6c413e4b2570be38c41f97e86ea3d Mon Sep 17 00:00:00 2001 From: ntonfoholonix Date: Fri, 24 Nov 2023 00:33:52 +0100 Subject: [PATCH 2/7] Battery manufacturing model --- .../examples/example-normalized.json | 90 +++++++++ .../examples/example.json | 53 +++++ .../KITT4SME/BatteryManufacturing/notes.yaml | 7 + .../KITT4SME/BatteryManufacturing/schema.json | 186 ++++++++++++++++++ 4 files changed, 336 insertions(+) create mode 100644 SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/examples/example-normalized.json create mode 100644 SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/examples/example.json create mode 100644 SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/notes.yaml create mode 100644 SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/schema.json diff --git a/SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/examples/example-normalized.json b/SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/examples/example-normalized.json new file mode 100644 index 000000000..c734a6ab0 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/examples/example-normalized.json @@ -0,0 +1,90 @@ +{ + "id": "urn:ngsi-ld:Shop floor:001", + "type": "Machine", + "equipmentDevice": { + "name": "", + "deviceProperties": { + "properties": {} + }, + "devicePosition": { + "x": 0, + "y": 0, + "z": 0 + }, + "description": "" + }, + "qualityKPIs": { + "value": { + "perc_ok_welding_points": "val", + "tbd": "val" + }, + "type": "StructuredValue" + }, + "detectedAnomalies": { + "value": { + "anom_1": "val", + "anom_2": "val" + }, + "type": "StructuredValue" + }, + "mlPredictionValues": { + "value": { + "pred_1": "val", + "pred_2": "val" + }, + "type": "StructuredValue" + }, + "BarCode": { + "value": "scanned Barcode of battery", + "type": "string" + }, + "Face": { + "value": "1st", + "type": "string" + }, + "Cell": { + "value": "1st", + "type": "string" + }, + "Point": { + "value": "Point of battery pack", + "type": "string" + }, + "Group": { + "value": "A-E1", + "type": "string" + }, + "WeldCounter": { + "value": 5, + "type": "integer" + }, + "OutputJoules": { + "value": 10.0, + "type": "Double" + }, + "Charge": { + "value": 10.0, + "type": "Double" + }, + "Residue": { + "value": 10.0, + "type": "Double" + }, + "ForceLN": { + "value": 10.0, + "type": "Double" + }, + "ForceLN1": { + "value": 10.0, + "type": "Double" + }, + "timestamp": { + "type": "StructuredValue", + "value": { + "dateTime": "2022-10-12T18:01:10.120Z", + "format": "YYYY-MM-DDThh:mm:ss.zzzZ", + "timezoneId": "UTC" + } + }, + "metadata": {} +} \ No newline at end of file diff --git a/SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/examples/example.json b/SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/examples/example.json new file mode 100644 index 000000000..9c655ddda --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/examples/example.json @@ -0,0 +1,53 @@ +{ + "id": "urn:ngsi-ld:Shop floor:001", + "type": "Machine", + "equipmentDevice": { + "name": "", + "deviceProperties": { + "properties": {} + }, + "devicePosition": { + "x": 0, + "y": 0, + "z": 0 + }, + "description": "" + }, + "qualityKPIs": { + "perc_ok_welding_points": "val", + "tbd": "val" + }, + "detectedAnomalies": { + + "anom_1": "val", + "anom_2": "val" + }, + "mlPredictionValues": { + + "pred_1": "val", + "pred_2": "val" + }, + "BarCode": "scanned Barcode of battery", + + "Face": "1st", + "Cell": "1st", + + "Point": "Point of battery pack", + + "Group":"A-E1", + + "WeldCounter": 5, + + "OutputJoules": 10.0, + "Charge": 10.0, + "Residue": 10.0, + "ForceLN": 10.0, + "ForceLN1": 10.0, + "timestamp": { + "dateTime": "2022-10-12T18:01:10.120Z", + "format": "YYYY-MM-DDThh:mm:ss.zzzZ", + "timezoneId": "UTC" + + }, + "metadata": {} + } \ No newline at end of file diff --git a/SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/notes.yaml b/SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/notes.yaml new file mode 100644 index 000000000..6e55286d0 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/notes.yaml @@ -0,0 +1,7 @@ +notesHeader: + +notesMiddle: + +notesFooter: + +notesReadme: Battery manufacturing data model used in the KITT4SME project. https://kitt4sme.eu/ diff --git a/SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/schema.json b/SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/schema.json new file mode 100644 index 000000000..54be98eb9 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/BatteryManufacturing/schema.json @@ -0,0 +1,186 @@ +{ + "$schema": "http://json-schema.org/schema#", + "$schemaVersion": "0.0.1", + "modelTags": "", + "derivedFrom": "", + "license": "", + "$id": "https://smart-data-models.github.io/XXXsubjectXXX/XXXdataModelXXX/schema.json", + "title": "", + "description": "", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "type": { + "description": "Property. NGSI Entity type.", + "enum": [ + "Machine" + ] + }, + "equipmentDevice": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Property. The name of this item" + }, + "deviceProperties": { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": {}, + "description": "Property. " + } + }, + "description": "Property. " + }, + "devicePosition": { + "type": "object", + "properties": { + "x": { + "type": "number", + "description": "Property. " + }, + "y": { + "type": "number", + "description": "Property. " + }, + "z": { + "type": "number", + "description": "Property. " + } + }, + "description": "Property. " + }, + "description": { + "type": "string", + "description": "Property. A description of this item" + } + }, + "description": "Property. " + }, + "qualityKPIs": { + "type": "object", + "properties": { + "perc_ok_welding_points": { + "type": "string", + "description": "Property. " + }, + "tbd": { + "type": "string", + "description": "Property. " + } + }, + "description": "Property. " + }, + "detectedAnomalies": { + "type": "object", + "properties": { + "anom_1": { + "type": "string", + "description": "Property. " + }, + "anom_2": { + "type": "string", + "description": "Property. " + } + }, + "description": "Property. " + }, + "mlPredictionValues": { + "type": "object", + "properties": { + "pred_1": { + "type": "string", + "description": "Property. " + }, + "pred_2": { + "type": "string", + "description": "Property. " + } + }, + "description": "Property. " + }, + "BarCode": { + "type": "string", + "description": "Property. " + }, + "Face": { + "type": "string", + "description": "Property. " + }, + "Cell": { + "type": "string", + "description": "Property. " + }, + "Point": { + "type": "string", + "description": "Property. " + }, + "Group": { + "type": "string", + "description": "Property. " + }, + "WeldCounter": { + "type": "number", + "description": "Property. " + }, + "OutputJoules": { + "type": "number", + "description": "Property. " + }, + "Charge": { + "type": "number", + "description": "Property. " + }, + "Residue": { + "type": "number", + "description": "Property. " + }, + "ForceLN": { + "type": "number", + "description": "Property. " + }, + "ForceLN1": { + "type": "number", + "description": "Property. " + }, + "timestamp": { + "type": "object", + "properties": { + "dateTime": { + "type": "string", + "format": "date-time", + "description": "Property. " + }, + "format": { + "type": "string", + "description": "Property. Format of the output" + }, + "timezoneId": { + "type": "string", + "description": "Property. " + } + }, + "description": "Property. " + }, + "metadata": { + "type": "object", + "properties": {}, + "description": "Property. " + } + } + } + ], + "required": [ + "id", + "type" + ] +} \ No newline at end of file From a41da3c02a0aac36eb47103c1421391982f3a621 Mon Sep 17 00:00:00 2001 From: ntonfoholonix Date: Fri, 24 Nov 2023 00:43:55 +0100 Subject: [PATCH 3/7] SMARTMANUFACTURING - KITT4SME - Added Cobot data model --- .../Cobot/examples/example-normalized.json | 89 +++++++++ .../KITT4SME/Cobot/examples/example.json | 38 ++++ SMARTMANUFACTURING/KITT4SME/Cobot/notes.yaml | 7 + SMARTMANUFACTURING/KITT4SME/Cobot/schema.json | 169 ++++++++++++++++++ 4 files changed, 303 insertions(+) create mode 100644 SMARTMANUFACTURING/KITT4SME/Cobot/examples/example-normalized.json create mode 100644 SMARTMANUFACTURING/KITT4SME/Cobot/examples/example.json create mode 100644 SMARTMANUFACTURING/KITT4SME/Cobot/notes.yaml create mode 100644 SMARTMANUFACTURING/KITT4SME/Cobot/schema.json diff --git a/SMARTMANUFACTURING/KITT4SME/Cobot/examples/example-normalized.json b/SMARTMANUFACTURING/KITT4SME/Cobot/examples/example-normalized.json new file mode 100644 index 000000000..a9692c250 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/Cobot/examples/example-normalized.json @@ -0,0 +1,89 @@ +{ + "id": "urn:ngsi-ld:Shopfloor:001", + "type": "Machine", + "equipmentDevice": { + "name": "", + "deviceProperties": { + "properties": {} + }, + "devicePosition": { + "x": 0, + "y": 0, + "z": 0 + }, + "description": "" + }, + "WorkpieceWeightAfterInjection": { + "value": 0, + "type": "Number" + }, + "WorkpieceWeightAfterNutsAndScrewInsertion ": { + "value": 0, + "type": "Number" + }, + "ForceMeasuredDuringDrilling": { + "value": 0, + "type": "Number" + }, + "NutPresence": { + "value": {}, + "type": "StructuredValue" + }, + "WorkerPresenceInTheWorkCell": { + "value": false, + "type": "Boolean" + }, + "BufferLevelOnTheConveyorBelt": { + "value": 0, + "type": "Integer" + }, + "WorkpiecePresenceOnTheConveyorBelt": { + "value": false, + "type": "Boolean" + }, + "BufferLevelOnThePallet": { + "value": 0, + "type": "Integer" + }, + "WorkpieceOnTheWorkbench": { + "value": false, + "type": "Boolean" + }, + "StatusOfTheCobot ": { + "value": {}, + "type": "StructuredValue" + }, + "PerceivedExertionFatigueOfTheWorker": { + "value": 0, + "type": "Integer" + }, + "ProcessKPIs": { + "value": {}, + "type": "StructuredValue" + }, + "OperatorAssignedTask": { + "value": {}, + "type": "StructuredValue" + }, + "CobotTask": { + "value": {}, + "type": "StructuredValue" + }, + "CobotSpeed": { + "value": 0, + "type": "Number" + }, + "DrillingForce": { + "value": 0, + "type": "Number" + }, + "timestamp": { + "type": "StructuredValue", + "value": { + "dateTime": "2022-10-12T18:01:10.120Z", + "format": "YYYY-MM-DDThh:mm:ss.zzzZ", + "timezoneId": "UTC" + } + }, + "metadata": {} +} \ No newline at end of file diff --git a/SMARTMANUFACTURING/KITT4SME/Cobot/examples/example.json b/SMARTMANUFACTURING/KITT4SME/Cobot/examples/example.json new file mode 100644 index 000000000..3650ee83b --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/Cobot/examples/example.json @@ -0,0 +1,38 @@ +{ + "id": "urn:ngsi-ld:Shopfloor:001", + "type": "Machine", + "equipmentDevice": { + "name": "", + "deviceProperties": { + "properties": {} + }, + "devicePosition": { + "x": 0, + "y": 0, + "z": 0 + }, + "description": "" + }, + "WorkpieceWeightAfterInjection": 0, + "WorkpieceWeightAfterNutsAndScrewInsertion ": 0, + "ForceMeasuredDuringDrilling": 0, + "NutPresence": {}, + "WorkerPresenceInTheWorkCell": false, + "BufferLevelOnTheConveyorBelt": 0, + "WorkpiecePresenceOnTheConveyorBelt": false, + "BufferLevelOnThePallet": 0, + "WorkpieceOnTheWorkbench": false, + "StatusOfTheCobot ": {}, + "PerceivedExertionFatigueOfTheWorker": 0, + "ProcessKPIs": {}, + "OperatorAssignedTask": {}, + "CobotTask": {}, + "CobotSpeed": 0, + "DrillingForce": 0, + "timestamp": { + "dateTime": "2022-10-12T18:01:10.120Z", + "format": "YYYY-MM-DDThh:mm:ss.zzzZ", + "timezoneId": "UTC" + }, + "metadata": {} +} \ No newline at end of file diff --git a/SMARTMANUFACTURING/KITT4SME/Cobot/notes.yaml b/SMARTMANUFACTURING/KITT4SME/Cobot/notes.yaml new file mode 100644 index 000000000..8606c9384 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/Cobot/notes.yaml @@ -0,0 +1,7 @@ +notesHeader: + +notesMiddle: + +notesFooter: + +notesReadme: Cobot data model used in the KITT4SME project. https://kitt4sme.eu/ diff --git a/SMARTMANUFACTURING/KITT4SME/Cobot/schema.json b/SMARTMANUFACTURING/KITT4SME/Cobot/schema.json new file mode 100644 index 000000000..2521c6467 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/Cobot/schema.json @@ -0,0 +1,169 @@ +{ + "$schema": "http://json-schema.org/schema#", + "$schemaVersion": "0.0.1", + "modelTags": "", + "derivedFrom": "", + "license": "", + "$id": "https://smart-data-models.github.io/XXXsubjectXXX/XXXdataModelXXX/schema.json", + "title": "", + "description": "", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "type": { + "description": "Property. NGSI Entity type. It has to be Machine", + "enum": [ + "Machine" + ] + }, + "equipmentDevice": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Property. The name of this item" + }, + "deviceProperties": { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": {}, + "description": "Property. " + } + }, + "description": "Property. " + }, + "devicePosition": { + "type": "object", + "properties": { + "x": { + "type": "number", + "description": "Property. " + }, + "y": { + "type": "number", + "description": "Property." + }, + "z": { + "type": "number", + "description": "Property. " + } + }, + "description": "Property. " + }, + "description": { + "type": "string", + "description": "Property. A description of this item" + } + }, + "description": "Property. " + }, + "WorkpieceWeightAfterInjection": { + "type": "number", + "description": "Property. " + }, + "WorkpieceWeightAfterNutsAndScrewInsertion": { + "type": "number", + "description": "Property. " + }, + "ForceMeasuredDuringDrilling": { + "type": "number", + "description": "Property. " + }, + "NutPresence": { + "type": "object", + "properties": {}, + "description": "Property. " + }, + "WorkerPresenceInTheWorkCell": { + "type": "number", + "description": "Property. " + }, + "BufferLevelOnTheConveyorBelt": { + "type": "number", + "description": "Property. " + }, + "WorkpiecePresenceOnTheConveyorBelt": { + "type": "number", + "description": "Property. " + }, + "BufferLevelOnThePallet": { + "type": "number", + "description": "Property. " + }, + "WorkpieceOnTheWorkbench": { + "type": "number", + "description": "Property. " + }, + "StatusOfTheCobot": { + "type": "object", + "properties": {}, + "description": "Property. " + }, + "PerceivedExertionFatigueOfTheWorker": { + "type": "number", + "description": "Property. " + }, + "ProcessKPIs": { + "type": "object", + "properties": {}, + "description": "Property. " + }, + "OperatorAssignedTask": { + "type": "object", + "properties": {}, + "description": "Property. " + }, + "CobotTask": { + "type": "object", + "properties": {}, + "description": "Property. " + }, + "CobotSpeed": { + "type": "number", + "description": "Property. " + }, + "DrillingForce": { + "type": "number", + "description": "Property. " + }, + "timestamp": { + "type": "object", + "properties": { + "dateTime": { + "type": "string", + "format": "date-time", + "description": "Property. " + }, + "format": { + "type": "string", + "description": "Property. Format of the output" + }, + "timezoneId": { + "type": "string", + "description": "Property. " + } + }, + "description": "Property. " + }, + "metadata": { + "type": "object", + "properties": {}, + "description": "Property. " + } + } + } + ], + "required": [ + "id", + "type" + ] +} \ No newline at end of file From 887c4fc2dd4b9ae73c768e667a08643b030f5aff Mon Sep 17 00:00:00 2001 From: ntonfoholonix Date: Fri, 24 Nov 2023 00:53:12 +0100 Subject: [PATCH 4/7] SMARTMANUFACTURING - KITT4SME - Added Event measurement model --- .../examples/example-normalized.json | 69 +++++++++ .../EventMeasurement/examples/example.json | 33 ++++ .../KITT4SME/EventMeasurement/notes.yaml | 7 + .../KITT4SME/EventMeasurement/schema.json | 144 ++++++++++++++++++ 4 files changed, 253 insertions(+) create mode 100644 SMARTMANUFACTURING/KITT4SME/EventMeasurement/examples/example-normalized.json create mode 100644 SMARTMANUFACTURING/KITT4SME/EventMeasurement/examples/example.json create mode 100644 SMARTMANUFACTURING/KITT4SME/EventMeasurement/notes.yaml create mode 100644 SMARTMANUFACTURING/KITT4SME/EventMeasurement/schema.json diff --git a/SMARTMANUFACTURING/KITT4SME/EventMeasurement/examples/example-normalized.json b/SMARTMANUFACTURING/KITT4SME/EventMeasurement/examples/example-normalized.json new file mode 100644 index 000000000..8979a5520 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/EventMeasurement/examples/example-normalized.json @@ -0,0 +1,69 @@ +{ + "id": "urn:ngsi-ld: Machine:001", + "type": "Machine", + "equipmentDevice": { + "name": "", + "deviceProperties": { + "properties": {} + }, + "devicePosition": { + "x": 0, + "y": 0, + "z": 0 + }, + "description": "" + }, + "Tweezer_ID": { + "value": "", + "type": "string" + }, + "Width_tip1": { + "value": 0, + "type": "Number" + }, + "Thightness_tip1": { + "value": 0, + "type": "Number" + }, + "Width_tip2": { + "value": 0, + "type": "Number" + }, + "Thightness_tip2": { + "value": 0, + "type": "Number" + }, + "Inspection_Result": { + "value": 0, + "type": "Number" + }, + "RAW_ID": { + "value": "", + "type": "string" + }, + "Position_X": { + "value": 0, + "type": "Number" + }, + "Position_Y": { + "value": 0, + "type": "Number" + }, + "Width": { + "value": 0, + "type": "Number" + }, + "Height": { + "value": 0, + "type": "Number" + }, + "timestamp": { + "type": "StructuredValue", + "value": { + "dateTime": "2022-10-12T18:01:10.120Z", + "format": "YYYY-MM-DDThh:mm:ss.zzzZ", + "timezoneId": "UTC" + } + }, + "metadata": {} +} \ No newline at end of file diff --git a/SMARTMANUFACTURING/KITT4SME/EventMeasurement/examples/example.json b/SMARTMANUFACTURING/KITT4SME/EventMeasurement/examples/example.json new file mode 100644 index 000000000..42ffa6779 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/EventMeasurement/examples/example.json @@ -0,0 +1,33 @@ +{ + "id": "urn:ngsi-ld: Machine:001", + "type": "Machine", + "equipmentDevice": { + "name": "", + "deviceProperties": { + "properties": {} + }, + "devicePosition": { + "x": 0, + "y": 0, + "z": 0 + }, + "description": "" + }, + "Tweezer_ID": "", + "Width_tip1": 0, + "Thightness_tip1": 0, + "Width_tip2": 0, + "Thightness_tip2": 0, + "Inspection_Result": 0, + "RAW_ID": "", + "Position_X": 0, + "Position_Y": 0, + "Width": 0, + "Height": 0, + "timestamp": { + "dateTime": "2022-10-12T18:01:10.120Z", + "format": "YYYY-MM-DDThh:mm:ss.zzzZ", + "timezoneId": "UTC" + }, + "metadata": {} +} \ No newline at end of file diff --git a/SMARTMANUFACTURING/KITT4SME/EventMeasurement/notes.yaml b/SMARTMANUFACTURING/KITT4SME/EventMeasurement/notes.yaml new file mode 100644 index 000000000..8606c9384 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/EventMeasurement/notes.yaml @@ -0,0 +1,7 @@ +notesHeader: + +notesMiddle: + +notesFooter: + +notesReadme: Cobot data model used in the KITT4SME project. https://kitt4sme.eu/ diff --git a/SMARTMANUFACTURING/KITT4SME/EventMeasurement/schema.json b/SMARTMANUFACTURING/KITT4SME/EventMeasurement/schema.json new file mode 100644 index 000000000..0d2596e71 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/EventMeasurement/schema.json @@ -0,0 +1,144 @@ +{ + "$schema": "http://json-schema.org/schema#", + "$schemaVersion": "0.0.1", + "modelTags": "", + "derivedFrom": "", + "license": "", + "$id": "https://smart-data-models.github.io/XXXsubjectXXX/XXXdataModelXXX/schema.json", + "title": "", + "description": "", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "type": { + "description": "Property. NGSI Entity type. It has to be Machine", + "enum": [ + "Machine" + ] + }, + "equipmentDevice": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Property. The name of this item" + }, + "deviceProperties": { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": {}, + "description": "Property. " + } + }, + "description": "Property. " + }, + "devicePosition": { + "type": "object", + "properties": { + "x": { + "type": "number", + "description": "Property. " + }, + "y": { + "type": "number", + "description": "Property. " + }, + "z": { + "type": "number", + "description": "Property. " + } + }, + "description": "Property. " + }, + "description": { + "type": "string", + "description": "Property. A description of this item" + } + }, + "description": "Property. " + }, + "Tweezer_ID": { + "type": "string", + "description": "Property. " + }, + "Width_tip1": { + "type": "number", + "description": "Property. " + }, + "Thightness_tip1": { + "type": "number", + "description": "Property. " + }, + "Width_tip2": { + "type": "number", + "description": "Property. " + }, + "Thightness_tip2": { + "type": "number", + "description": "Property. " + }, + "Inspection_Result": { + "type": "number", + "description": "Property. " + }, + "RAW_ID": { + "type": "string", + "description": "Property. " + }, + "Position_X": { + "type": "number", + "description": "Property. " + }, + "Position_Y": { + "type": "number", + "description": "Property. " + }, + "Width": { + "type": "number", + "description": "Property. " + }, + "Height": { + "type": "number", + "description": "Property. " + }, + "timestamp": { + "type": "object", + "properties": { + "dateTime": { + "type": "string", + "format": "date-time", + "description": "Property. " + }, + "format": { + "type": "string", + "description": "Property. Format of the output" + }, + "timezoneId": { + "type": "string", + "description": "Property. " + } + }, + "description": "Property. " + }, + "metadata": { + "type": "object", + "properties": {}, + "description": "Property. " + } + } + } + ], + "required": [ + "id", + "type" + ] +} \ No newline at end of file From b285e6934b3256ee02b3fc4cdcc214af1a39a161 Mon Sep 17 00:00:00 2001 From: ntonfoholonix Date: Fri, 24 Nov 2023 00:57:01 +0100 Subject: [PATCH 5/7] SMARTMANUFACTURING - KITT4SME - updated Event measurement model --- SMARTMANUFACTURING/KITT4SME/EventMeasurement/notes.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SMARTMANUFACTURING/KITT4SME/EventMeasurement/notes.yaml b/SMARTMANUFACTURING/KITT4SME/EventMeasurement/notes.yaml index 8606c9384..98228235d 100644 --- a/SMARTMANUFACTURING/KITT4SME/EventMeasurement/notes.yaml +++ b/SMARTMANUFACTURING/KITT4SME/EventMeasurement/notes.yaml @@ -4,4 +4,4 @@ notesMiddle: notesFooter: -notesReadme: Cobot data model used in the KITT4SME project. https://kitt4sme.eu/ +notesReadme: Event measurement data model used in the KITT4SME project. https://kitt4sme.eu/ From 330902bca156bc8fc07a45bb48a7033e9aef6ade Mon Sep 17 00:00:00 2001 From: ntonfoholonix Date: Fri, 24 Nov 2023 01:01:11 +0100 Subject: [PATCH 6/7] SMARTMANUFACTURING - KITT4SME - updated physiological data model --- .../examples/example-normalized.json | 0 .../{ => Physiological}/examples/example.json | 0 .../KITT4SME/Physiological/notes.yaml | 7 ++ .../KITT4SME/{ => Physiological}/schema.json | 116 ++++++++++-------- SMARTMANUFACTURING/KITT4SME/notes.yaml | 8 -- 5 files changed, 74 insertions(+), 57 deletions(-) rename SMARTMANUFACTURING/KITT4SME/{ => Physiological}/examples/example-normalized.json (100%) rename SMARTMANUFACTURING/KITT4SME/{ => Physiological}/examples/example.json (100%) create mode 100644 SMARTMANUFACTURING/KITT4SME/Physiological/notes.yaml rename SMARTMANUFACTURING/KITT4SME/{ => Physiological}/schema.json (59%) delete mode 100644 SMARTMANUFACTURING/KITT4SME/notes.yaml diff --git a/SMARTMANUFACTURING/KITT4SME/examples/example-normalized.json b/SMARTMANUFACTURING/KITT4SME/Physiological/examples/example-normalized.json similarity index 100% rename from SMARTMANUFACTURING/KITT4SME/examples/example-normalized.json rename to SMARTMANUFACTURING/KITT4SME/Physiological/examples/example-normalized.json diff --git a/SMARTMANUFACTURING/KITT4SME/examples/example.json b/SMARTMANUFACTURING/KITT4SME/Physiological/examples/example.json similarity index 100% rename from SMARTMANUFACTURING/KITT4SME/examples/example.json rename to SMARTMANUFACTURING/KITT4SME/Physiological/examples/example.json diff --git a/SMARTMANUFACTURING/KITT4SME/Physiological/notes.yaml b/SMARTMANUFACTURING/KITT4SME/Physiological/notes.yaml new file mode 100644 index 000000000..2673f2557 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/Physiological/notes.yaml @@ -0,0 +1,7 @@ +notesHeader: + +notesMiddle: + +notesFooter: + +notesReadme: Physiological data model used in the KITT4SME project. https://kitt4sme.eu/ diff --git a/SMARTMANUFACTURING/KITT4SME/schema.json b/SMARTMANUFACTURING/KITT4SME/Physiological/schema.json similarity index 59% rename from SMARTMANUFACTURING/KITT4SME/schema.json rename to SMARTMANUFACTURING/KITT4SME/Physiological/schema.json index d3808d590..c89f4994b 100644 --- a/SMARTMANUFACTURING/KITT4SME/schema.json +++ b/SMARTMANUFACTURING/KITT4SME/Physiological/schema.json @@ -1,17 +1,13 @@ { "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", - "modelTags": "KITT4SME, Sensing Layer, Holonix, EU, Project, Manufacturing, Worker, Session", + "modelTags": "", "derivedFrom": "", "license": "", "$id": "https://smart-data-models.github.io/XXXsubjectXXX/XXXdataModelXXX/schema.json", - "title": "KITT4SME Sensing Layer", - "description": "Data model produced by the Sensing Layer in the KITT4SME project", + "title": "", + "description": "", "type": "object", - "required": [ - "id", - "type" - ], "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" @@ -21,12 +17,8 @@ }, { "properties": { - "id": { - "type": "string", - "pattern": "^urn:ngsi:Wearable:[0-9]+$" - }, "type": { - "type": "string", + "description": "Property. NGSI Entity type. It has to be Wearable", "enum": [ "Wearable" ] @@ -45,121 +37,147 @@ "properties": { "dateTime": { "type": "string", - "format": "date-time" + "format": "date-time", + "description": "Property. " }, "format": { "type": "string", - "pattern": "^YYYY-MM-DDThh:mm:ss.zzzZ$" + "description": "Property. Format of the output" }, "timezoneId": { "type": "string", - "enum": [ - "UTC" - ] + "description": "Property. " } - } + }, + "description": "Property. " }, "end": { "type": "object", "properties": { "dateTime": { "type": "string", - "format": "date-time" + "format": "date-time", + "description": "Property. " }, "format": { "type": "string", - "pattern": "^YYYY-MM-DDThh:mm:ss.zzzZ$" + "description": "Property. Format of the output" }, "timezoneId": { "type": "string", - "enum": [ - "UTC" - ] + "description": "Property. " } - } + }, + "description": "Property. " } - } + }, + "description": "Property. " }, "worker": { "type": "object", "properties": { "workerId": { "type": "string", - "format": "uuid" + "description": "Property. " }, "description": { - "type": "string" + "type": "string", + "description": "Property. A description of this item" } - } + }, + "description": "Property. " } - } + }, + "description": "Property. " }, "wearableAccelometer": { "type": "object", "properties": { "x": { - "type": "number" + "type": "number", + "description": "Property. " }, "y": { - "type": "number" + "type": "number", + "description": "Property. " }, "z": { - "type": "number" + "type": "number", + "description": "Property. " } - } + }, + "description": "Property. " }, "name": { - "type": "string" + "type": "string", + "description": "Property. The name of this item" }, "deviceProperties": { "type": "object", "properties": { "properties": { - "type": "object" + "type": "object", + "properties": {}, + "description": "Property. " } - } + }, + "description": "Property. " }, "description": { - "type": "string" + "type": "string", + "description": "Property. A description of this item" } - } + }, + "description": "Property. " }, "workerId": { "type": "string", - "format": "uuid" + "description": "Property. " }, "sessionId": { "type": "string", - "format": "uuid" + "description": "Property. " }, "temperature": { - "type": "number" + "type": "number", + "description": "Property. " }, "gsr": { - "type": "number" + "type": "number", + "description": "Property. " }, "heartRate": { - "type": "number" + "type": "number", + "description": "Property. " }, "rrInterval": { - "type": "number" + "type": "number", + "description": "Property. " }, "position": { "type": "object", "properties": { "latitude": { - "type": "number" + "type": "number", + "description": "Property. " }, "longitude": { - "type": "number" + "type": "number", + "description": "Property. " } - } + }, + "description": "Property. " }, "timestamp": { "type": "string", - "format": "date-time" + "format": "date-time", + "description": "Property. " } } } + ], + "required": [ + "id", + "type" ] -} +} \ No newline at end of file diff --git a/SMARTMANUFACTURING/KITT4SME/notes.yaml b/SMARTMANUFACTURING/KITT4SME/notes.yaml deleted file mode 100644 index d0ea1a6af..000000000 --- a/SMARTMANUFACTURING/KITT4SME/notes.yaml +++ /dev/null @@ -1,8 +0,0 @@ -notesHeader: - -notesMiddle: - -notesFooter: - -notesReadme: - Wearable data model used in the KITT4SME project. https://kitt4sme.eu/ From 36f96a00b07b2dd45d4bd93d768abeadabf5c149 Mon Sep 17 00:00:00 2001 From: ntonfoholonix Date: Fri, 24 Nov 2023 01:11:25 +0100 Subject: [PATCH 7/7] SMARTMANUFACTURING - KITT4SME - added quality system data model --- .../examples/example-normalized.json | 31 ++++++++ .../QualitySystem/examples/example.json | 16 ++++ .../KITT4SME/QualitySystem/notes.yaml | 7 ++ .../KITT4SME/QualitySystem/schema.json | 79 +++++++++++++++++++ 4 files changed, 133 insertions(+) create mode 100644 SMARTMANUFACTURING/KITT4SME/QualitySystem/examples/example-normalized.json create mode 100644 SMARTMANUFACTURING/KITT4SME/QualitySystem/examples/example.json create mode 100644 SMARTMANUFACTURING/KITT4SME/QualitySystem/notes.yaml create mode 100644 SMARTMANUFACTURING/KITT4SME/QualitySystem/schema.json diff --git a/SMARTMANUFACTURING/KITT4SME/QualitySystem/examples/example-normalized.json b/SMARTMANUFACTURING/KITT4SME/QualitySystem/examples/example-normalized.json new file mode 100644 index 000000000..59682f308 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/QualitySystem/examples/example-normalized.json @@ -0,0 +1,31 @@ +{ + "id": "urn:ngsi-ld:Shopfloor:001", + "type": "Machine", + "format": "", + "height": { + "value": 0, + "type": "number" + }, + "width": { + "value": 0, + "type": "number" + }, + "value": { + "value": { + "url": { + "value": "http...", + "type": "string" + } + }, + "type": "StructuredValue" + }, + "timestamp": { + "type": "StructuredValue", + "value": { + "dateTime": "2022-10-12T18:01:10.120Z", + "format": "YYYY-MM-DDThh:mm:ss.zzzZ", + "timezoneId": "UTC" + } + }, + "metadata": {} +} \ No newline at end of file diff --git a/SMARTMANUFACTURING/KITT4SME/QualitySystem/examples/example.json b/SMARTMANUFACTURING/KITT4SME/QualitySystem/examples/example.json new file mode 100644 index 000000000..f804b8d81 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/QualitySystem/examples/example.json @@ -0,0 +1,16 @@ +{ + "id": "urn:ngsi-ld:Shopfloor:001", + "type": "Machine", + "format": "", + "height": 0, + "width": 0, + "value": { + "url": "http..." + }, + "timestamp": { + "dateTime": "2022-10-12T18:01:10.120Z", + "format": "YYYY-MM-DDThh:mm:ss.zzzZ", + "timezoneId": "UTC" + }, + "metadata": {} +} \ No newline at end of file diff --git a/SMARTMANUFACTURING/KITT4SME/QualitySystem/notes.yaml b/SMARTMANUFACTURING/KITT4SME/QualitySystem/notes.yaml new file mode 100644 index 000000000..33eeb7231 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/QualitySystem/notes.yaml @@ -0,0 +1,7 @@ +notesHeader: + +notesMiddle: + +notesFooter: + +notesReadme: Quality system data model used in the KITT4SME project. https://kitt4sme.eu/ diff --git a/SMARTMANUFACTURING/KITT4SME/QualitySystem/schema.json b/SMARTMANUFACTURING/KITT4SME/QualitySystem/schema.json new file mode 100644 index 000000000..30767c105 --- /dev/null +++ b/SMARTMANUFACTURING/KITT4SME/QualitySystem/schema.json @@ -0,0 +1,79 @@ +{ + "$schema": "http://json-schema.org/schema#", + "$schemaVersion": "0.0.1", + "modelTags": "", + "derivedFrom": "", + "license": "", + "$id": "https://smart-data-models.github.io/XXXsubjectXXX/XXXdataModelXXX/schema.json", + "title": "", + "description": "", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "type": { + "description": "Property. NGSI Entity type. It has to be Machine", + "enum": [ + "Machine" + ] + }, + "format": { + "type": "string", + "description": "Property. Format of the output" + }, + "height": { + "type": "number", + "description": "Property. " + }, + "width": { + "type": "number", + "description": "Property. " + }, + "value": { + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "Property. URL which provides a description or further information about this item" + } + }, + "description": "Property. https://schema.org/Number. Default: 0.0" + }, + "timestamp": { + "type": "object", + "properties": { + "dateTime": { + "type": "string", + "format": "date-time", + "description": "Property. " + }, + "format": { + "type": "string", + "description": "Property. Format of the output" + }, + "timezoneId": { + "type": "string", + "description": "Property. " + } + }, + "description": "Property. " + }, + "metadata": { + "type": "object", + "properties": {}, + "description": "Property. " + } + } + } + ], + "required": [ + "id", + "type" + ] +} \ No newline at end of file