Follow AID spec more
This commit is contained in:
@@ -4,337 +4,302 @@
|
||||
"kind": "Instance",
|
||||
"submodelElements": [
|
||||
{
|
||||
"idShort": "MQTT",
|
||||
"typeValueListElement": "SubmodelElementCollection",
|
||||
"idShort": "Mapping01",
|
||||
"value": [
|
||||
{
|
||||
"idShort": "DEL-00",
|
||||
"idShort": "EndpointMetaDataReference",
|
||||
"value": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "www.example.com/ids/sm/7142_2140_7032_7989"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Interface01"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "EndpointMetadata"
|
||||
}
|
||||
]
|
||||
},
|
||||
"modelType": "ReferenceElement"
|
||||
},
|
||||
{
|
||||
"idShort": "MappingConfiguration",
|
||||
"typeValueListElement": "SubmodelElementCollection",
|
||||
"value": [
|
||||
{
|
||||
"idShort": "EndpointMetaDataReference",
|
||||
"value": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "www.example.com/ids/sm/7142_2140_7032_7989"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementList",
|
||||
"value": "MQTT"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "DEL-00"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "EndpointMetadata"
|
||||
}
|
||||
]
|
||||
},
|
||||
"modelType": "ReferenceElement"
|
||||
},
|
||||
{
|
||||
"idShort": "MappingConfiguration",
|
||||
"typeValueListElement": "SubmodelElement",
|
||||
"idShort": "DEL-00",
|
||||
"value": [
|
||||
{
|
||||
"idShort": "DEL-00",
|
||||
"idShort": "InterfaceMetaDataReference",
|
||||
"value": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "www.example.com/ids/sm/7142_2140_7032_7989"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Interface01"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "InterfaceMetadata"
|
||||
}
|
||||
]
|
||||
},
|
||||
"modelType": "ReferenceElement"
|
||||
},
|
||||
{
|
||||
"idShort": "SourceSinkMappings",
|
||||
"typeValueListElement": "SubmodelElement",
|
||||
"value": [
|
||||
{
|
||||
"idShort": "InterfaceMetaDataReference",
|
||||
"value": {
|
||||
"idShort": "DEL-00",
|
||||
"first": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "www.example.com/ids/sm/7142_2140_7032_7989"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementList",
|
||||
"value": "MQTT"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "DEL-00"
|
||||
"value": "Interface01"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "InterfaceMetadata"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Properties"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Property01"
|
||||
}
|
||||
]
|
||||
},
|
||||
"modelType": "ReferenceElement"
|
||||
"second": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "https://example.com/ids/sm/8055_9060_7032_0793"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Params"
|
||||
},
|
||||
{
|
||||
"type": "Property",
|
||||
"value": "TestParam1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"modelType": "RelationshipElement"
|
||||
},
|
||||
{
|
||||
"idShort": "SourceSinkMappings",
|
||||
"typeValueListElement": "SubmodelElement",
|
||||
"value": [
|
||||
{
|
||||
"idShort": "DEL-00",
|
||||
"first": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "www.example.com/ids/sm/7142_2140_7032_7989"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementList",
|
||||
"value": "MQTT"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "DEL-00"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "InterfaceMetadata"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementList",
|
||||
"value": "Properties"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "DEL-00"
|
||||
}
|
||||
]
|
||||
"idShort": "DEL-01",
|
||||
"first": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "www.example.com/ids/sm/7142_2140_7032_7989"
|
||||
},
|
||||
"second": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "https://example.com/ids/sm/8055_9060_7032_0793"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Params"
|
||||
},
|
||||
{
|
||||
"type": "Property",
|
||||
"value": "TestParam1"
|
||||
}
|
||||
]
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Interface01"
|
||||
},
|
||||
"modelType": "RelationshipElement"
|
||||
},
|
||||
{
|
||||
"idShort": "DEL-01",
|
||||
"first": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "www.example.com/ids/sm/7142_2140_7032_7989"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementList",
|
||||
"value": "MQTT"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "DEL-00"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "InterfaceMetadata"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementList",
|
||||
"value": "Properties"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "DEL-01"
|
||||
}
|
||||
]
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "InterfaceMetadata"
|
||||
},
|
||||
"second": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "https://example.com/ids/sm/8055_9060_7032_0793"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Params"
|
||||
},
|
||||
{
|
||||
"type": "Property",
|
||||
"value": "TestParam2"
|
||||
}
|
||||
]
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Properties"
|
||||
},
|
||||
"modelType": "RelationshipElement"
|
||||
},
|
||||
{
|
||||
"idShort": "DEL-02",
|
||||
"first": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "www.example.com/ids/sm/7142_2140_7032_7989"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementList",
|
||||
"value": "MQTT"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "DEL-00"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "InterfaceMetadata"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementList",
|
||||
"value": "Actions"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "DEL-00"
|
||||
}
|
||||
]
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Property02"
|
||||
}
|
||||
]
|
||||
},
|
||||
"second": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "https://example.com/ids/sm/8055_9060_7032_0793"
|
||||
},
|
||||
"second": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "https://example.com/ids/sm/8055_9060_7032_0793"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Operations"
|
||||
},
|
||||
{
|
||||
"type": "Operation",
|
||||
"value": "TestOperation1"
|
||||
}
|
||||
]
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Params"
|
||||
},
|
||||
"modelType": "RelationshipElement"
|
||||
},
|
||||
{
|
||||
"idShort": "DEL-03",
|
||||
"first": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "www.example.com/ids/sm/7142_2140_7032_7989"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementList",
|
||||
"value": "MQTT"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "DEL-00"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "InterfaceMetadata"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementList",
|
||||
"value": "Actions"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "DEL-01"
|
||||
}
|
||||
]
|
||||
{
|
||||
"type": "Property",
|
||||
"value": "TestParam2"
|
||||
}
|
||||
]
|
||||
},
|
||||
"modelType": "RelationshipElement"
|
||||
},
|
||||
{
|
||||
"idShort": "DEL-02",
|
||||
"first": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "www.example.com/ids/sm/7142_2140_7032_7989"
|
||||
},
|
||||
"second": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "https://example.com/ids/sm/8055_9060_7032_0793"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Operations"
|
||||
},
|
||||
{
|
||||
"type": "Operation",
|
||||
"value": "TestOperation2"
|
||||
}
|
||||
]
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Interface01"
|
||||
},
|
||||
"modelType": "RelationshipElement"
|
||||
},
|
||||
{
|
||||
"idShort": "DEL-04",
|
||||
"first": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "www.example.com/ids/sm/7142_2140_7032_7989"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementList",
|
||||
"value": "MQTT"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "DEL-00"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "InterfaceMetadata"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementList",
|
||||
"value": "Actions"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "DEL-02"
|
||||
}
|
||||
]
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "InterfaceMetadata"
|
||||
},
|
||||
"second": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "https://example.com/ids/sm/8055_9060_7032_0793"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Operations"
|
||||
},
|
||||
{
|
||||
"type": "Operation",
|
||||
"value": "TestOperation3"
|
||||
}
|
||||
]
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Actions"
|
||||
},
|
||||
"modelType": "RelationshipElement"
|
||||
}
|
||||
],
|
||||
"modelType": "SubmodelElementList"
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Action01"
|
||||
}
|
||||
]
|
||||
},
|
||||
"second": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "https://example.com/ids/sm/8055_9060_7032_0793"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Operations"
|
||||
},
|
||||
{
|
||||
"type": "Operation",
|
||||
"value": "TestOperation1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"modelType": "RelationshipElement"
|
||||
},
|
||||
{
|
||||
"idShort": "DEL-03",
|
||||
"first": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "www.example.com/ids/sm/7142_2140_7032_7989"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Interface01"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "InterfaceMetadata"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Actions"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Action02"
|
||||
}
|
||||
]
|
||||
},
|
||||
"second": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "https://example.com/ids/sm/8055_9060_7032_0793"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Operations"
|
||||
},
|
||||
{
|
||||
"type": "Operation",
|
||||
"value": "TestOperation2"
|
||||
}
|
||||
]
|
||||
},
|
||||
"modelType": "RelationshipElement"
|
||||
},
|
||||
{
|
||||
"idShort": "DEL-04",
|
||||
"first": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "www.example.com/ids/sm/7142_2140_7032_7989"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Interface01"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "InterfaceMetadata"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Actions"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Action03"
|
||||
}
|
||||
]
|
||||
},
|
||||
"second": {
|
||||
"type": "ModelReference",
|
||||
"keys": [
|
||||
{
|
||||
"type": "Submodel",
|
||||
"value": "https://example.com/ids/sm/8055_9060_7032_0793"
|
||||
},
|
||||
{
|
||||
"type": "SubmodelElementCollection",
|
||||
"value": "Operations"
|
||||
},
|
||||
{
|
||||
"type": "Operation",
|
||||
"value": "TestOperation3"
|
||||
}
|
||||
]
|
||||
},
|
||||
"modelType": "RelationshipElement"
|
||||
}
|
||||
],
|
||||
"modelType": "SubmodelElementCollection"
|
||||
"modelType": "SubmodelElementList"
|
||||
}
|
||||
],
|
||||
"modelType": "SubmodelElementList"
|
||||
"modelType": "SubmodelElementCollection"
|
||||
}
|
||||
],
|
||||
"modelType": "SubmodelElementCollection"
|
||||
"modelType": "SubmodelElementList"
|
||||
}
|
||||
],
|
||||
"modelType": "SubmodelElementList"
|
||||
"modelType": "SubmodelElementCollection"
|
||||
}
|
||||
],
|
||||
"modelType": "Submodel"
|
||||
|
||||
Reference in New Issue
Block a user