691 lines
27 KiB
JSON
691 lines
27 KiB
JSON
{
|
|
"idShort": "AssetInterfacesDescription",
|
|
"id": "www.example.com/ids/sm/7142_2140_7032_7989",
|
|
"kind": "Instance",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://admin-shell.io/idta/AssetInterfaceDescription/1/0/Submodel"
|
|
}
|
|
]
|
|
},
|
|
"submodelElements": [
|
|
{
|
|
"idShort": "Interface01",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#"
|
|
}
|
|
]
|
|
},
|
|
"embeddedDataSpecifications": [],
|
|
"value": [
|
|
{
|
|
"idShort": "EndpointMetadata",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://admin-shell.io/idta/AssetInterfacesDescription/1/0/EndpointMetadata"
|
|
}
|
|
]
|
|
},
|
|
"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"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
},
|
|
{
|
|
"idShort": "InterfaceMetadata",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://admin-shell.io/idta/AssetInterfacesDescription/1/0/InterfaceMetadata"
|
|
}
|
|
]
|
|
},
|
|
"embeddedDataSpecifications": [],
|
|
"value": [
|
|
{
|
|
"idShort": "Properties",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#hasPropertyAffordance"
|
|
}
|
|
]
|
|
},
|
|
"value": [
|
|
{
|
|
"idShort": "Property01",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://admin-shell.io/idta/AssetInterfacesDescription/1/0/InterfaceMetadata/Properties/Property"
|
|
}
|
|
]
|
|
},
|
|
"value": [
|
|
{
|
|
"idShort": "title",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#title"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "TestingParameter01",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "observable",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#isObservable"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:boolean",
|
|
"value": "true",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "type",
|
|
"valueType": "xs:string",
|
|
"value": "integer",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "forms",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#hasForm"
|
|
}
|
|
]
|
|
},
|
|
"typeValueListElement": "SubmodelElementCollection",
|
|
"value": [
|
|
{
|
|
"idShort": "",
|
|
"value": [
|
|
{
|
|
"idShort": "href",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/hypermedia#hasTarget"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "/testasset/testparam1",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "contentType",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/hypermedia#forContentType"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "application/json",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "op",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#OperationType"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "readProperty",
|
|
"modelType": "Property"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementList"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
},
|
|
{
|
|
"idShort": "Property02",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://admin-shell.io/idta/AssetInterfacesDescription/1/0/InterfaceMetadata/Properties/Property"
|
|
}
|
|
]
|
|
},
|
|
"value": [
|
|
{
|
|
"idShort": "title",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#title"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "TestingParameter02",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "observable",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#isObservable"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:boolean",
|
|
"value": "false",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "type",
|
|
"valueType": "xs:string",
|
|
"value": "boolean",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "forms",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#hasForm"
|
|
}
|
|
]
|
|
},
|
|
"typeValueListElement": "SubmodelElementCollection",
|
|
"value": [
|
|
{
|
|
"idShort": "",
|
|
"value": [
|
|
{
|
|
"idShort": "href",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/hypermedia#hasTarget"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "mqtt://127.0.0.1:1883/testasset/testparam2",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "contentType",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/hypermedia#forContentType"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "application/json",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "op",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#OperationType"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "readProperty",
|
|
"modelType": "Property"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
},
|
|
{
|
|
"idShort": "",
|
|
"value": [
|
|
{
|
|
"idShort": "href",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/hypermedia#hasTarget"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "mqtt://127.0.0.1:1883/testasset/testparam2/write",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "contentType",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/hypermedia#forContentType"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "application/json",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "op",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#OperationType"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "writeProperty",
|
|
"modelType": "Property"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementList"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
},
|
|
{
|
|
"idShort": "Actions",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#ActionAffordance"
|
|
}
|
|
]
|
|
},
|
|
"value": [
|
|
{
|
|
"idShort": "Action01",
|
|
"value": [
|
|
{
|
|
"idShort": "async",
|
|
"valueType": "xs:boolean",
|
|
"value": "false",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "forms",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#hasForm"
|
|
}
|
|
]
|
|
},
|
|
"typeValueListElement": "SubmodelElementCollection",
|
|
"value": [
|
|
{
|
|
"idShort": "",
|
|
"value": [
|
|
{
|
|
"idShort": "href",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/hypermedia#hasTarget"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "/testasset/testoperation1",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "contentType",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/hypermedia#forContentType"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "application/json",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "op",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#OperationType"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "invokeAction",
|
|
"modelType": "Property"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementList"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
},
|
|
{
|
|
"idShort": "Action02",
|
|
"value": [
|
|
{
|
|
"idShort": "async",
|
|
"valueType": "xs:boolean",
|
|
"value": "false",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "forms",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#hasForm"
|
|
}
|
|
]
|
|
},
|
|
"typeValueListElement": "SubmodelElementCollection",
|
|
"value": [
|
|
{
|
|
"idShort": "",
|
|
"value": [
|
|
{
|
|
"idShort": "href",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/hypermedia#hasTarget"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "/testasset/testoperation2",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "contentType",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/hypermedia#forContentType"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "application/json",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "op",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#OperationType"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "invokeAction",
|
|
"modelType": "Property"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementList"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
},
|
|
{
|
|
"idShort": "Action03",
|
|
"value": [
|
|
{
|
|
"idShort": "async",
|
|
"valueType": "xs:boolean",
|
|
"value": "false",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "forms",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#hasForm"
|
|
}
|
|
]
|
|
},
|
|
"typeValueListElement": "SubmodelElementCollection",
|
|
"value": [
|
|
{
|
|
"idShort": "",
|
|
"value": [
|
|
{
|
|
"idShort": "href",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/hypermedia#hasTarget"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "/testasset/testoperation3",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "contentType",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/hypermedia#forContentType"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "application/json",
|
|
"modelType": "Property"
|
|
},
|
|
{
|
|
"idShort": "op",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#OperationType"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "invokeAction",
|
|
"modelType": "Property"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementList"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
},
|
|
{
|
|
"idShort": "Events",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#EventAffordance"
|
|
}
|
|
]
|
|
},
|
|
"modelType": "SubmodelElementCollection"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
},
|
|
{
|
|
"idShort": "title",
|
|
"semanticId": {
|
|
"type": "ExternalReference",
|
|
"keys": [
|
|
{
|
|
"type": "GlobalReference",
|
|
"value": "https://www.w3.org/2019/wot/td#title"
|
|
}
|
|
]
|
|
},
|
|
"valueType": "xs:string",
|
|
"value": "Titel",
|
|
"modelType": "Property"
|
|
}
|
|
],
|
|
"modelType": "SubmodelElementCollection"
|
|
}
|
|
],
|
|
"modelType": "Submodel"
|
|
}
|