Last active
January 8, 2018 08:13
-
-
Save LukasBrin/6f6d9d18cf42e7de17e38d4d8d3b0025 to your computer and use it in GitHub Desktop.
Commands in SAP IoT Application Enablement - Configure the package
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
POST /appcore-conf/Configuration | |
{ | |
"id": "sap.iotrig.thingshadow", | |
"version": "1.0.0", | |
"scope": "private", | |
"description": { | |
"en": "" | |
}, | |
"dependencies": [], | |
"services": { | |
"dataService": { | |
"thingTypes": [ | |
{ | |
"name": "sap.iotrig.thingshadow:Robot", | |
"description": { | |
"en": "" | |
}, | |
"propertyTypes": [ | |
{ | |
"id": "Arm", | |
"description": { | |
"en": "" | |
}, | |
"propertySetType": "sap.iotrig.thingshadow:Arm" | |
}, | |
{ | |
"id": "Image", | |
"propertySetType": "sap.iotrig.thingshadow:Image" | |
} | |
] | |
} | |
], | |
"propertySetTypes": [ | |
{ | |
"name": "sap.iotrig.thingshadow:Default", | |
"description": { | |
"en": "Default PST" | |
}, | |
"dataCategory": "MasterData", | |
"propertyTypes": [] | |
}, | |
{ | |
"name": "sap.iotrig.thingshadow:Image", | |
"description": { | |
"en": "Image properties" | |
}, | |
"dataCategory": "MasterData", | |
"propertyTypes": [ | |
{ | |
"value": { | |
"description": {}, | |
"id": "ImageName", | |
"length": "127", | |
"type": "String" | |
} | |
} | |
] | |
}, | |
{ | |
"name": "sap.iotrig.thingshadow:Arm", | |
"description": { | |
"en": "" | |
}, | |
"dataCategory": "TimeSeriesData", | |
"propertyTypes": [ | |
{ | |
"value": { | |
"description": {}, | |
"id": "Hydraulics", | |
"type": "NumericFlexible", | |
"qualityCode": "0" | |
} | |
} | |
] | |
}, | |
{ | |
"name": "sap.iotrig.thingshadow:Ref70556", | |
"description": { | |
"en": "ReferencePropertyData" | |
}, | |
"dataCategory": "ReferencePropertyData", | |
"referredPropertySetType": "sap.iotrig.thingshadow:Arm", | |
"propertyTypes": [ | |
{ | |
"value": { | |
"id": "Command67428", | |
"referenceProperty": "Hydraulics", | |
"attributeType": "com.sap.iot.core.Command" | |
} | |
}, | |
{ | |
"value": { | |
"id": "UoM60529", | |
"referenceProperty": "Hydraulics", | |
"attributeType": "com.sap.iot.core.UoM" | |
} | |
} | |
] | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment