| { |
| "@class": "org.apache.streampipes.model.connect.adapter.AdapterDescription", |
| "appId": "org.apache.streampipes.connect.iiot.adapters.simulator.machine", |
| "connectedTo": null, |
| "description": "", |
| "dom": null, |
| "elementId": "sp:org.apache.streampipes.connect.iiot.adapters.simulator.machine", |
| "includedAssets": [ |
| "documentation.md", |
| "icon.png" |
| ], |
| "includedLocales": [ |
| "strings.en" |
| ], |
| "includesAssets": true, |
| "includesLocales": true, |
| "internallyManaged": false, |
| "name": "test1", |
| "rev": "1-73ca816b2ed82d8232b864556c7f2d64", |
| "version": 0, |
| "category": [ |
| "Debugging" |
| ], |
| "config": [ |
| { |
| "@class": "org.apache.streampipes.model.staticproperty.FreeTextStaticProperty", |
| "description": "The time to wait between two events in milliseconds", |
| "internalName": "wait-time-ms", |
| "label": "Wait Time (MS)", |
| "optional": false, |
| "staticPropertyType": "FreeTextStaticProperty", |
| "htmlAllowed": false, |
| "htmlFontFormat": false, |
| "mapsTo": null, |
| "multiLine": false, |
| "placeholdersSupported": false, |
| "requiredDatatype": "http://www.w3.org/2001/XMLSchema#integer", |
| "requiredDomainProperty": null, |
| "value": "1000", |
| "valueSpecification": null |
| }, |
| { |
| "@class": "org.apache.streampipes.model.staticproperty.OneOfStaticProperty", |
| "description": "Select simulated sensor data to be published", |
| "internalName": "selected-simulator-option", |
| "label": "Select sensor", |
| "optional": false, |
| "staticPropertyType": "OneOfStaticProperty", |
| "horizontalRendering": false, |
| "options": [ |
| { |
| "elementId": "sp:option:pOPYGJ", |
| "internalName": null, |
| "name": "flowrate", |
| "selected": true |
| }, |
| { |
| "elementId": "sp:option:CpeHtP", |
| "internalName": null, |
| "name": "pressure", |
| "selected": false |
| }, |
| { |
| "elementId": "sp:option:KYnhkL", |
| "internalName": null, |
| "name": "waterlevel", |
| "selected": false |
| } |
| ] |
| } |
| ], |
| "correspondingDataStreamElementId": null, |
| "correspondingServiceGroup": null, |
| "createdAt": 0, |
| "dataStream": { |
| "@class": "org.apache.streampipes.model.SpDataStream", |
| "appId": "urn:streampipes.apache.org:eventstream:hLNLBx", |
| "connectedTo": null, |
| "description": null, |
| "dom": null, |
| "elementId": "urn:streampipes.apache.org:eventstream:hLNLBx", |
| "includedAssets": [], |
| "includedLocales": [], |
| "includesAssets": false, |
| "includesLocales": false, |
| "internallyManaged": false, |
| "name": null, |
| "rev": null, |
| "category": null, |
| "correspondingAdapterId": null, |
| "eventGrounding": null, |
| "eventSchema": { |
| "eventProperties": [ |
| { |
| "@class": "org.apache.streampipes.model.schema.EventPropertyPrimitive", |
| "additionalMetadata": {}, |
| "description": "Denotes the current density of the fluid", |
| "elementId": "sp:eventproperty:Ruvqlo", |
| "label": "Density", |
| "propertyScope": "MEASUREMENT_PROPERTY", |
| "runtimeId": null, |
| "runtimeName": "density", |
| "semanticType": "http://schema.org/Number", |
| "measurementUnit": null, |
| "runtimeType": "http://www.w3.org/2001/XMLSchema#float", |
| "valueSpecification": null, |
| "id": 1510309651547 |
| }, |
| { |
| "@class": "org.apache.streampipes.model.schema.EventPropertyPrimitive", |
| "additionalMetadata": {}, |
| "description": "Denotes the current mass flow in the sensor", |
| "elementId": "sp:eventproperty:NyTjgp", |
| "label": "Mass Flow", |
| "propertyScope": "MEASUREMENT_PROPERTY", |
| "runtimeId": null, |
| "runtimeName": "mass_flow", |
| "semanticType": "http://schema.org/Number", |
| "measurementUnit": null, |
| "runtimeType": "http://www.w3.org/2001/XMLSchema#float", |
| "valueSpecification": null, |
| "id": 4855204620884 |
| }, |
| { |
| "@class": "org.apache.streampipes.model.schema.EventPropertyPrimitive", |
| "additionalMetadata": {}, |
| "description": "The ID of the sensor", |
| "elementId": "sp:eventproperty:ThjvdL", |
| "label": "Sensor ID", |
| "propertyScope": "DIMENSION_PROPERTY", |
| "runtimeId": null, |
| "runtimeName": "sensorId", |
| "semanticType": "https://streampipes.org/vocabulary/examples/watertank/v1/hasSensorId", |
| "measurementUnit": null, |
| "runtimeType": "http://www.w3.org/2001/XMLSchema#string", |
| "valueSpecification": null, |
| "id": 3260657832066 |
| }, |
| { |
| "@class": "org.apache.streampipes.model.schema.EventPropertyPrimitive", |
| "additionalMetadata": {}, |
| "description": "Any fault flags of the sensors", |
| "elementId": "sp:eventproperty:vxokoH", |
| "label": "Sensor Fault Flags", |
| "propertyScope": "MEASUREMENT_PROPERTY", |
| "runtimeId": null, |
| "runtimeName": "sensor_fault_flags", |
| "semanticType": "http://schema.org/Boolean", |
| "measurementUnit": null, |
| "runtimeType": "http://www.w3.org/2001/XMLSchema#boolean", |
| "valueSpecification": null, |
| "id": 6931662104350 |
| }, |
| { |
| "@class": "org.apache.streampipes.model.schema.EventPropertyPrimitive", |
| "additionalMetadata": {}, |
| "description": "Denotes the current temperature in degrees celsius", |
| "elementId": "sp:eventproperty:cmnXbe", |
| "label": "Temperature", |
| "propertyScope": "MEASUREMENT_PROPERTY", |
| "runtimeId": null, |
| "runtimeName": "temperature", |
| "semanticType": "http://schema.org/Number", |
| "measurementUnit": "http://qudt.org/vocab/unit#DegreeCelsius", |
| "runtimeType": "http://www.w3.org/2001/XMLSchema#float", |
| "valueSpecification": { |
| "@class": "org.apache.streampipes.model.schema.QuantitativeValue", |
| "maxValue": 100, |
| "minValue": 0, |
| "step": 0.1 |
| }, |
| "id": 1980836171418 |
| }, |
| { |
| "@class": "org.apache.streampipes.model.schema.EventPropertyPrimitive", |
| "additionalMetadata": {}, |
| "description": "The current timestamp value", |
| "elementId": "sp:eventproperty:AYjMkj", |
| "label": "Timestamp", |
| "propertyScope": "HEADER_PROPERTY", |
| "runtimeId": null, |
| "runtimeName": "timestamp", |
| "semanticType": "http://schema.org/DateTime", |
| "measurementUnit": null, |
| "runtimeType": "http://www.w3.org/2001/XMLSchema#long", |
| "valueSpecification": null, |
| "id": 5857972009985 |
| }, |
| { |
| "@class": "org.apache.streampipes.model.schema.EventPropertyPrimitive", |
| "additionalMetadata": {}, |
| "description": "Denotes the current volume flow", |
| "elementId": "sp:eventproperty:ORzRsw", |
| "label": "Volume Flow", |
| "propertyScope": "MEASUREMENT_PROPERTY", |
| "runtimeId": null, |
| "runtimeName": "volume_flow", |
| "semanticType": "http://schema.org/Number", |
| "measurementUnit": null, |
| "runtimeType": "http://www.w3.org/2001/XMLSchema#float", |
| "valueSpecification": null, |
| "id": 64305844251 |
| } |
| ] |
| }, |
| "index": 0 |
| }, |
| "deploymentConfiguration": { |
| "desiredServiceTags": [], |
| "selectedEndpointUrl": null |
| }, |
| "eventGrounding": { |
| "transportProtocols": [] |
| }, |
| "eventSchema": { |
| "eventProperties": [] |
| }, |
| "icon": null, |
| "rules": [], |
| "running": false, |
| "schemaRules": [], |
| "selectedEndpointUrl": null, |
| "streamRules": [], |
| "valueRules": [] |
| } |