Files
diplomarbeit-code/Submodel_AssetInterfacesDescription.json
T

429 lines
17 KiB
JSON

{
"idShort": "AssetInterfacesDescription",
"id": "www.example.com/ids/sm/7142_2140_7032_7989",
"kind": "Instance",
"submodelElements": [
{
"idShort": "MQTT",
"typeValueListElement": "SubmodelElement",
"value": [
{
"idShort": "DEL-00",
"semanticId": {
"type": "ExternalReference",
"keys": []
},
"embeddedDataSpecifications": [],
"value": [
{
"idShort": "EndpointMetadata",
"semanticId": {
"type": "ExternalReference",
"keys": []
},
"embeddedDataSpecifications": [],
"value": [
{
"idShort": "titles",
"value": [
{
"language": "en",
"text": "AID and AIMC Test"
}
],
"modelType": "MultiLanguageProperty"
},
{
"idShort": "base",
"semanticId": {
"type": "ExternalReference",
"keys": []
},
"embeddedDataSpecifications": [],
"valueType": "xs:string",
"value": "mqtt://127.0.0.1:1883",
"modelType": "Property"
},
{
"idShort": "mqv:version",
"semanticId": {
"type": "ExternalReference",
"keys": []
},
"embeddedDataSpecifications": [],
"valueType": "xs:string",
"value": "5.0",
"modelType": "Property"
},
{
"idShort": "contentType",
"semanticId": {
"type": "ExternalReference",
"keys": []
},
"embeddedDataSpecifications": [],
"valueType": "xs:string",
"value": "application/json",
"modelType": "Property"
},
{
"idShort": "securityDefinitions",
"semanticId": {
"type": "ExternalReference",
"keys": []
},
"embeddedDataSpecifications": [],
"value": [
{
"idShort": "basic",
"semanticId": {
"type": "ExternalReference",
"keys": []
},
"embeddedDataSpecifications": [],
"value": [
{
"idShort": "in",
"semanticId": {
"type": "ExternalReference",
"keys": []
},
"embeddedDataSpecifications": [],
"valueType": "xs:string",
"value": "header",
"modelType": "Property"
}
],
"modelType": "SubmodelElementCollection"
}
],
"modelType": "SubmodelElementCollection"
},
{
"idShort": "AssetsReservedClientName",
"valueType": "xs:string",
"value": "thisandthat",
"modelType": "Property"
}
],
"modelType": "SubmodelElementCollection"
},
{
"idShort": "InterfaceMetadata",
"semanticId": {
"type": "ExternalReference",
"keys": []
},
"embeddedDataSpecifications": [],
"value": [
{
"idShort": "Properties",
"semanticId": {
"type": "ExternalReference",
"keys": []
},
"embeddedDataSpecifications": [],
"typeValueListElement": "SubmodelElementCollection",
"value": [
{
"idShort": "DEL-00",
"value": [
{
"idShort": "title",
"valueType": "xs:string",
"value": "TestingParameter01",
"modelType": "Property"
},
{
"idShort": "observable",
"valueType": "xs:boolean",
"value": "true",
"modelType": "Property"
},
{
"idShort": "type",
"valueType": "xs:string",
"value": "integer",
"modelType": "Property"
},
{
"idShort": "forms",
"typeValueListElement": "SubmodelElementCollection",
"value": [
{
"idShort": "",
"value": [
{
"idShort": "href",
"valueType": "xs:string",
"value": "/testtopic/testparam1",
"modelType": "Property"
},
{
"idShort": "contentType",
"valueType": "xs:string",
"value": "application/json",
"modelType": "Property"
},
{
"idShort": "op",
"valueType": "xs:string",
"value": "readProperty",
"modelType": "Property"
}
],
"modelType": "SubmodelElementCollection"
}
],
"modelType": "SubmodelElementList"
}
],
"modelType": "SubmodelElementCollection"
},
{
"idShort": "DEL-01",
"value": [
{
"idShort": "title",
"valueType": "xs:string",
"value": "TestingParameter02",
"modelType": "Property"
},
{
"idShort": "observable",
"valueType": "xs:boolean",
"value": "false",
"modelType": "Property"
},
{
"idShort": "type",
"valueType": "xs:string",
"value": "boolean",
"modelType": "Property"
},
{
"idShort": "forms",
"typeValueListElement": "SubmodelElementCollection",
"value": [
{
"idShort": "",
"value": [
{
"idShort": "href",
"valueType": "xs:string",
"value": "mqtt://127.0.0.1:1883/testtopic/testparam2",
"modelType": "Property"
},
{
"idShort": "contentType",
"valueType": "xs:string",
"value": "application/json",
"modelType": "Property"
},
{
"idShort": "op",
"valueType": "xs:string",
"value": "readProperty",
"modelType": "Property"
}
],
"modelType": "SubmodelElementCollection"
},
{
"idShort": "",
"value": [
{
"idShort": "href",
"valueType": "xs:string",
"value": "mqtt://127.0.0.1:1883/testtopic/testparam2/write",
"modelType": "Property"
},
{
"idShort": "contentType",
"valueType": "xs:string",
"value": "application/json",
"modelType": "Property"
},
{
"idShort": "op",
"valueType": "xs:string",
"value": "writeProperty",
"modelType": "Property"
}
],
"modelType": "SubmodelElementCollection"
}
],
"modelType": "SubmodelElementList"
}
],
"modelType": "SubmodelElementCollection"
}
],
"modelType": "SubmodelElementList"
},
{
"idShort": "Actions",
"semanticId": {
"type": "ExternalReference",
"keys": []
},
"embeddedDataSpecifications": [],
"typeValueListElement": "SubmodelElementCollection",
"value": [
{
"idShort": "DEL-00",
"value": [
{
"idShort": "async",
"valueType": "xs:boolean",
"value": "false",
"modelType": "Property"
},
{
"idShort": "forms",
"typeValueListElement": "SubmodelElementCollection",
"value": [
{
"idShort": "",
"value": [
{
"idShort": "href",
"valueType": "xs:string",
"value": "/testtopic/testoperation1",
"modelType": "Property"
},
{
"idShort": "contentType",
"valueType": "xs:string",
"value": "application/json",
"modelType": "Property"
},
{
"idShort": "op",
"valueType": "xs:string",
"value": "invokeAction",
"modelType": "Property"
}
],
"modelType": "SubmodelElementCollection"
}
],
"modelType": "SubmodelElementList"
}
],
"modelType": "SubmodelElementCollection"
},
{
"idShort": "DEL-01",
"value": [
{
"idShort": "async",
"valueType": "xs:boolean",
"value": "false",
"modelType": "Property"
},
{
"idShort": "forms",
"typeValueListElement": "SubmodelElementCollection",
"value": [
{
"idShort": "",
"value": [
{
"idShort": "href",
"valueType": "xs:string",
"value": "/testtopic/testoperation2",
"modelType": "Property"
},
{
"idShort": "contentType",
"valueType": "xs:string",
"value": "application/json",
"modelType": "Property"
},
{
"idShort": "op",
"valueType": "xs:string",
"value": "invokeAction",
"modelType": "Property"
}
],
"modelType": "SubmodelElementCollection"
}
],
"modelType": "SubmodelElementList"
}
],
"modelType": "SubmodelElementCollection"
},
{
"idShort": "DEL-02",
"value": [
{
"idShort": "async",
"valueType": "xs:boolean",
"value": "false",
"modelType": "Property"
},
{
"idShort": "forms",
"typeValueListElement": "SubmodelElementCollection",
"value": [
{
"idShort": "",
"value": [
{
"idShort": "href",
"valueType": "xs:string",
"value": "/testtopic/testoperation3",
"modelType": "Property"
},
{
"idShort": "contentType",
"valueType": "xs:string",
"value": "application/json",
"modelType": "Property"
},
{
"idShort": "op",
"valueType": "xs:string",
"value": "invokeAction",
"modelType": "Property"
}
],
"modelType": "SubmodelElementCollection"
}
],
"modelType": "SubmodelElementList"
}
],
"modelType": "SubmodelElementCollection"
}
],
"modelType": "SubmodelElementList"
},
{
"idShort": "Events",
"semanticId": {
"type": "ExternalReference",
"keys": []
},
"embeddedDataSpecifications": [],
"typeValueListElement": "SubmodelElementCollection",
"value": [],
"modelType": "SubmodelElementList"
}
],
"modelType": "SubmodelElementCollection"
}
],
"modelType": "SubmodelElementCollection"
}
],
"modelType": "SubmodelElementList"
}
],
"modelType": "Submodel"
}