-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New submodel IoT_sensor_data #83
Merged
bs-jokri
merged 11 commits into
eclipse-tractusx:main
from
Cvetanka-ZF:Cvetanka-ZF-IoTSensorData
Apr 17, 2023
Merged
Changes from 5 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
13d98ff
Create metadata.json
Cvetanka-ZF 829ec02
Upload of .ttl file
Cvetanka-ZF e6f08cd
Upload of RELEASE_NOTES.md
Cvetanka-ZF 624f499
Requested changes applied
Cvetanka-ZF 23ba871
Added Contributing Companies
Cvetanka-ZF a215140
Rename IoTSensorData.ttl to IotSensorData.ttl
Cvetanka-ZF a553d0e
Preferred Name change
Cvetanka-ZF 236d864
Merge branch 'eclipse-tractusx:main' into Cvetanka-ZF-IoTSensorData
Cvetanka-ZF 87d6440
New property added "Error Code"
Cvetanka-ZF e09c0cd
added Contributors to the Eclipse Foundation
Cvetanka-ZF 031c0b2
set ErrorCode optional
Cvetanka-ZF File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,299 @@ | ||
####################################################################### | ||
# Copyright (c) 2022 BASF SE | ||
# Copyright (c) 2022 Henkel AG & Co. KGaA | ||
# Copyright (c) 2022 ZF Friedrichshafen AG | ||
# | ||
# See the NOTICE file(s) distributed with this work for additional | ||
# information regarding copyright ownership. | ||
# | ||
# This work is made available under the terms of the | ||
# Creative Commons Attribution 4.0 International (CC-BY-4.0) license, | ||
# which is available at | ||
# https://creativecommons.org/licenses/by/4.0/legalcode. | ||
# | ||
# SPDX-License-Identifier: CC-BY-4.0 | ||
####################################################################### | ||
|
||
@prefix bamm: <urn:bamm:io.openmanufacturing:meta-model:2.0.0#>. | ||
@prefix bamm-c: <urn:bamm:io.openmanufacturing:characteristic:2.0.0#>. | ||
@prefix bamm-e: <urn:bamm:io.openmanufacturing:entity:2.0.0#>. | ||
@prefix unit: <urn:bamm:io.openmanufacturing:unit:2.0.0#>. | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>. | ||
@prefix : <urn:bamm:io.catenax.iot_sensor_data:1.0.0#>. | ||
|
||
:IotSensorData a bamm:Aspect; | ||
bamm:properties ([ | ||
bamm:property :geoData; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :batteryLevel; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :humidity; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :fillingLevel; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :temperature; | ||
bamm:optional "true"^^xsd:boolean | ||
] :timestampSensoric [ | ||
bamm:property :light; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :acceleration; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :weight; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :pressure; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :binarySensor; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :soundSensor; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :transmissionMethod; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :analogSensor; | ||
bamm:optional "true"^^xsd:boolean | ||
] :catenaXId); | ||
bamm:operations (); | ||
bamm:events (); | ||
bamm:preferredName "IoT Sensor Data"@en; | ||
bamm:description "The data collected by an IoT Sensor Device."@en. | ||
:geoData a bamm:Property; | ||
bamm:preferredName "Geo Data"@en; | ||
bamm:description "Geodata, geographic data or geospatial data, refers to data and information that has explicit or implicit association with a location relative to Earth."@en; | ||
bamm:characteristic :GeoDataCharacteristic. | ||
:batteryLevel a bamm:Property; | ||
bamm:preferredName "Battery Level"@en; | ||
bamm:description "The battery level displays how much charge of the battery has been left."@en; | ||
bamm:characteristic :BatteryLevelCharacteristic; | ||
bamm:exampleValue "50.00"^^xsd:decimal. | ||
:humidity a bamm:Property; | ||
bamm:preferredName "Humidity"@en; | ||
bamm:description "Describes the concentration of water vapor present in the air."@en; | ||
bamm:characteristic :HumidityCharacteristic; | ||
bamm:exampleValue "74.00"^^xsd:decimal. | ||
:fillingLevel a bamm:Property; | ||
bamm:preferredName "Filling Level"@en; | ||
bamm:description "Volume percentage of a liquid or solid filling material in a container or vessel."@en; | ||
bamm:characteristic :FillingLevelCharacteristic; | ||
bamm:exampleValue "45.00"^^xsd:decimal; | ||
bamm:see <https://www.giessereilexikon.com/en/foundry-lexicon/Encyclopedia/show/filling-level-4695/?cHash=25ad834655406130e927973c5b7d5f8b>. | ||
:temperature a bamm:Property; | ||
bamm:preferredName "Temperature"@en; | ||
bamm:description "Physical quantity that expresses quantitatively the perceptions of hotness and coldness."@en; | ||
bamm:characteristic :TemperatureCharacteristic; | ||
bamm:exampleValue "25.00"^^xsd:decimal. | ||
:timestampSensoric a bamm:Property; | ||
bamm:preferredName "Timestamp Sensoric"@en; | ||
bamm:description "The timestamp of the latest sensor reading."@en; | ||
bamm:characteristic bamm-c:Timestamp; | ||
bamm:exampleValue "2023-02-05T15:48:54"^^xsd:dateTime. | ||
:light a bamm:Property; | ||
bamm:preferredName "Light"@en; | ||
bamm:description "The measure of brightness of a light source in terms of energy being emitted."@en; | ||
bamm:characteristic :LightCharacteristic; | ||
bamm:exampleValue "450.00"^^xsd:decimal; | ||
bamm:see <https://www.wikidata.org/wiki/Q107780>. | ||
:acceleration a bamm:Property; | ||
bamm:preferredName "Acceleration"@en; | ||
bamm:description "The rate of change of the velocity of an object with respect to time."@en; | ||
bamm:characteristic :AccelerationCharacteristic; | ||
bamm:exampleValue "33.528"^^xsd:decimal. | ||
:weight a bamm:Property; | ||
bamm:preferredName "Weight"@en; | ||
bamm:description "Measured weight at timestamp."@en; | ||
bamm:characteristic :WeightCharacteristic; | ||
bamm:exampleValue "15.50"^^xsd:decimal. | ||
:pressure a bamm:Property; | ||
bamm:preferredName "Pressure"@en; | ||
bamm:description "Force applied over an area."@en; | ||
bamm:characteristic :PressureCharacteristic; | ||
bamm:exampleValue "2.60"^^xsd:decimal; | ||
bamm:see <https://www.wikidata.org/wiki/Q39552>. | ||
:binarySensor a bamm:Property; | ||
bamm:preferredName "Binary Sensor"@en; | ||
bamm:description "Binary sensor monitors the state of condition of the parent assets."@en; | ||
bamm:characteristic :BinarySensorCharacteristic; | ||
bamm:exampleValue "1"^^xsd:integer. | ||
:soundSensor a bamm:Property; | ||
bamm:preferredName "Sound Sensor"@en; | ||
bamm:description "Measured sound pressure level - local pressure deviation from the ambient pressure, caused by a sound wave."@en; | ||
bamm:characteristic :SoundSensorCharacteristic; | ||
bamm:exampleValue "48.00"^^xsd:decimal; | ||
bamm:see <https://www.wikidata.org/wiki/Q14515278>. | ||
:transmissionMethod a bamm:Property; | ||
bamm:preferredName "Transmission Method"@en; | ||
bamm:description "The method under which the sensing data is transmitted from the source to the remote node."@en; | ||
bamm:characteristic :TransmissionMethodCharacteristic; | ||
bamm:exampleValue "LoRaWAN". | ||
:analogSensor a bamm:Property; | ||
bamm:preferredName "Analog Sensor 1-10"@en; | ||
bamm:description "Sensor that produce continuous analog output signal."@en; | ||
bamm:characteristic :AnalogSensorCharacteristic. | ||
:catenaXId a bamm:Property; | ||
bamm:preferredName "Catena-X Identifier"@en; | ||
bamm:description "The fully anonymous Catena-X ID of the asset, valid for the Catena-X dataspace."@en; | ||
bamm:characteristic :CatenaXIdTrait; | ||
bamm:exampleValue "urn:uuid:ed85f17e-29dd-473c-9cb8-d7ad1dc44d2f". | ||
:GeoDataCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "Geo Data Characteristic"@en; | ||
bamm:description "Characteristic to describe the related Geo data."@en; | ||
bamm:dataType :GeoDataEntity. | ||
:BatteryLevelCharacteristic a bamm-c:Measurement; | ||
bamm:preferredName "Battery Level Characteristic"@en; | ||
bamm:description "Characteristic to describe the property battery level."@en; | ||
bamm:dataType xsd:decimal; | ||
bamm-c:unit unit:percent. | ||
:HumidityCharacteristic a bamm-c:Measurement; | ||
bamm:preferredName "Humidity Characteristic"@en; | ||
bamm:description "Characteristic that describes the property humidity."@en; | ||
bamm:dataType xsd:decimal; | ||
bamm-c:unit unit:percent. | ||
:FillingLevelCharacteristic a bamm-c:Measurement; | ||
bamm:preferredName "Filling Level Characteristic"@en; | ||
bamm:description "Characteristic that describes the property filling level."@en; | ||
bamm:dataType xsd:decimal; | ||
bamm-c:unit unit:percent. | ||
:TemperatureCharacteristic a bamm-c:Measurement; | ||
bamm:preferredName "Temperature Characteristic"@en; | ||
bamm:description "Characteristic that describes the property temperature."@en; | ||
bamm:dataType xsd:decimal; | ||
bamm-c:unit unit:degreeCelsius. | ||
:LightCharacteristic a bamm-c:Measurement; | ||
bamm:preferredName "Light Characteristic"@en; | ||
bamm:description "Characteristic that describes the property light."@en; | ||
bamm:dataType xsd:decimal; | ||
bamm-c:unit unit:lumen. | ||
:AccelerationCharacteristic a bamm-c:Measurement; | ||
bamm:preferredName "Acceleration Characteristic"@en; | ||
bamm:description "Characteristic that describes the property acceleration."@en; | ||
bamm:dataType xsd:decimal; | ||
bamm-c:unit unit:metrePerSecondSquared. | ||
:WeightCharacteristic a bamm-c:Measurement; | ||
bamm:preferredName "Weight Characteristic"@en; | ||
bamm:description "Characteristic that describes the property weight."@en; | ||
bamm:dataType xsd:decimal; | ||
bamm-c:unit unit:kilogram. | ||
:PressureCharacteristic a bamm-c:Measurement; | ||
bamm:preferredName "Pressure Characteristic"@en; | ||
bamm:description "Characteristic that describes the property pressure."@en; | ||
bamm:dataType xsd:decimal; | ||
bamm-c:unit unit:pascal. | ||
:BinarySensorCharacteristic a bamm-c:Enumeration; | ||
bamm:preferredName "Binary Sensor Characteristic"@en; | ||
bamm:description "Characteristic that describes the property binary sensor."@en; | ||
bamm:dataType xsd:integer; | ||
bamm-c:values ("0"^^xsd:integer "1"^^xsd:integer). | ||
:SoundSensorCharacteristic a bamm-c:Measurement; | ||
bamm:preferredName "Sound Sensor Characteristic"@en; | ||
bamm:description "Characteristic that describes the property sound sensor."@en; | ||
bamm:dataType xsd:decimal; | ||
bamm-c:unit unit:decibel. | ||
:TransmissionMethodCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "Transmission Method Characteristic"@en; | ||
bamm:description "Characteristic that describes the property transmission method."@en; | ||
bamm:dataType xsd:string. | ||
:AnalogSensorCharacteristic a bamm-c:List; | ||
bamm:preferredName "Analog Sensor 1-10 Characteristic"@en; | ||
bamm:description "Characteristic that describes the property analog sensor."@en; | ||
bamm:dataType :AnalogSensorEntity. | ||
:GeoDataEntity a bamm:Entity; | ||
bamm:properties ([ | ||
bamm:property :latitude; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :longitude; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :altitude; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :geoDataTimestamp; | ||
bamm:optional "true"^^xsd:boolean | ||
]); | ||
bamm:preferredName "Geo Data Entity"@en; | ||
bamm:description "Encapsulates the Geo Data relevant attributes."@en. | ||
:latitude a bamm:Property; | ||
bamm:preferredName "Latitude"@en; | ||
bamm:description "The angle between zenith and a plane parallel to the equator."@en; | ||
bamm:characteristic :LatitudeCharacteristic; | ||
bamm:exampleValue "4807.03"^^xsd:decimal; | ||
bamm:see <https://www.wikidata.org/wiki/Q34027>. | ||
:longitude a bamm:Property; | ||
bamm:preferredName "Longitude"@en; | ||
bamm:description "Geographic coordinate that specifies the east-west position of a point on the Earth's surface."@en; | ||
bamm:characteristic :LongitudeCharacteristic; | ||
bamm:exampleValue "01131.02"^^xsd:decimal; | ||
bamm:see <https://www.wikidata.org/wiki/Q36477>. | ||
:altitude a bamm:Property; | ||
bamm:preferredName "Altitude"@en; | ||
bamm:description "Antenna Altitude above/below mean-sea-level (geoid)."@en; | ||
bamm:characteristic :AltitudeCharacteristic; | ||
bamm:exampleValue "280.20"^^xsd:decimal; | ||
bamm:see <http://www.nmea.de/nmea0183datensaetze.html#gga>. | ||
:geoDataTimestamp a bamm:Property; | ||
bamm:preferredName "Geo Data Timestamp"@en; | ||
bamm:description "The timestamp of the latest sensor reading of the geo data."@en; | ||
bamm:characteristic bamm-c:Timestamp; | ||
bamm:exampleValue "2023-02-04T14:48:54"^^xsd:dateTime. | ||
:LatitudeCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "Latitude Characteristic"@en; | ||
bamm:description "Characteristic describing the property latitude."@en; | ||
bamm:see <https://www.iso.org/standard/39242.html>; | ||
bamm:dataType xsd:decimal. | ||
:LongitudeCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "Longitude Characteristic"@en; | ||
bamm:description "Characteristic describing the property longitude."@en; | ||
bamm:see <https://www.iso.org/standard/39242.html>; | ||
bamm:dataType xsd:decimal. | ||
:AltitudeCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "Altitude Characteristic"@en; | ||
bamm:description "Characteristic describing the property altitude."@en; | ||
bamm:see <http://www.nmea.de/nmea0183datensaetze.html#gga>; | ||
bamm:dataType xsd:decimal. | ||
:CatenaXIdTrait a bamm-c:Trait; | ||
bamm:preferredName "Catena-X Id Trait"@en; | ||
bamm:description "Trait to ensure UUID v4 data format."@en; | ||
bamm-c:baseCharacteristic :UUIDv4; | ||
bamm-c:constraint :Constraint1. | ||
:UUIDv4 a bamm:Characteristic; | ||
bamm:preferredName "UUIDv4"@en; | ||
bamm:description "A version 4 UUID is a universally unique identifier that is generated using random 32 hexadecimal characters."@en; | ||
bamm:dataType xsd:string. | ||
:Constraint1 a bamm-c:RegularExpressionConstraint; | ||
bamm:preferredName "Catena-X Id Regular Expression"@en; | ||
bamm:description "The provided regular expression ensures that the UUID is composed of five groups of characters separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 hexadecimal characters and 4 hyphens), optionally prefixed by \"urn:uuid:\" to make it an IRI."@en; | ||
bamm:see <https://datatracker.ietf.org/doc/html/rfc4122>; | ||
bamm:value "(^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)|(^urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)". | ||
:AnalogSensorEntity a bamm:Entity; | ||
bamm:properties (:analogSensorNumber :analogSensorValue); | ||
bamm:preferredName "Analog Sensor Entity"@en; | ||
bamm:description "Encapsulates all analog sensor properties."@en. | ||
:analogSensorNumber a bamm:Property; | ||
bamm:preferredName "Analog Sensor Number"@en; | ||
bamm:description "Characteristic describing the number of Analog sensor."@en; | ||
bamm:characteristic :AnalogSensorNumberCharacteristic; | ||
bamm:exampleValue "1"^^xsd:integer. | ||
:analogSensorValue a bamm:Property; | ||
bamm:preferredName "Analog Sensor Value"@en; | ||
bamm:description "The value of the analog sensor. "@en; | ||
bamm:characteristic :AnalogSensorValueCharacteristic; | ||
bamm:exampleValue "2.55"^^xsd:float. | ||
:AnalogSensorNumberCharacteristic a bamm-c:Enumeration; | ||
bamm:description "Characteristic of the analog sensor number property."@en; | ||
bamm:dataType xsd:integer; | ||
bamm-c:values ("1"^^xsd:integer "2"^^xsd:integer "3"^^xsd:integer "4"^^xsd:integer "5"^^xsd:integer "6"^^xsd:integer "7"^^xsd:integer "8"^^xsd:integer "9"^^xsd:integer "10"^^xsd:integer). | ||
:AnalogSensorValueCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "Analog Sensor Value Characteristic"@en; | ||
bamm:description "Characteristic describing the property analog sensor value. "@en; | ||
bamm:dataType xsd:float. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{ "status" : "release"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Changelog | ||
All notable changes to this model will be documented in this file. | ||
|
||
## [Unreleased] | ||
|
||
## [1.0.0] - 2023-02-22 | ||
### Added | ||
- initial model | ||
|
||
### Changed | ||
n/a | ||
|
||
### Removed | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still the right preferred name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed.