Files
2023-12-21 10:22:43 +01:00

1184 lines
76 KiB
JSON

{
"assetAdministrationShells": [
{
"idShort": "AASwithAIDandAIMC",
"id": "https://example.com/ids/sm/6560_0160_7032_0896",
"assetInformation": {
"assetKind": "Instance",
"globalAssetId": "draft"
},
"submodels": [
{
"type": "ExternalReference",
"keys": [
{
"type": "Submodel",
"value": "www.example.com/ids/sm/7142_2140_7032_7989"
}
]
},
{
"type": "ModelReference",
"keys": [
{
"type": "Submodel",
"value": "https://example.com/ids/sm/4342_8060_7032_0872"
}
]
},
{
"type": "ModelReference",
"keys": [
{
"type": "Submodel",
"value": "https://example.com/ids/sm/8055_9060_7032_0793"
}
]
}
],
"modelType": "AssetAdministrationShell"
}
],
"submodels": [
{
"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"
},
{
"idShort": "AssetInterfacesMappingConfiguration",
"id": "https://example.com/ids/sm/4342_8060_7032_0872",
"kind": "Instance",
"submodelElements": [
{
"idShort": "Mapping01",
"value": [
{
"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": "DEL-00",
"value": [
{
"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": "DEL-00",
"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": "Properties"
},
{
"type": "SubmodelElementCollection",
"value": "Property01"
}
]
},
"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": "DEL-01",
"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": "Properties"
},
{
"type": "SubmodelElementCollection",
"value": "Property02"
}
]
},
"second": {
"type": "ModelReference",
"keys": [
{
"type": "Submodel",
"value": "https://example.com/ids/sm/8055_9060_7032_0793"
},
{
"type": "SubmodelElementCollection",
"value": "Params"
},
{
"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"
},
{
"type": "SubmodelElementCollection",
"value": "Interface01"
},
{
"type": "SubmodelElementCollection",
"value": "InterfaceMetadata"
},
{
"type": "SubmodelElementCollection",
"value": "Actions"
},
{
"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": "SubmodelElementList"
}
],
"modelType": "SubmodelElementCollection"
}
],
"modelType": "SubmodelElementList"
}
],
"modelType": "SubmodelElementCollection"
}
],
"modelType": "Submodel"
},
{
"idShort": "OperationalData",
"id": "https://example.com/ids/sm/8055_9060_7032_0793",
"submodelElements": [
{
"idShort": "Params",
"value": [
{
"idShort": "TestParam1",
"valueType": "xs:string",
"modelType": "Property"
},
{
"idShort": "TestParam2",
"valueType": "xs:string",
"modelType": "Property"
}
],
"modelType": "SubmodelElementCollection"
},
{
"idShort": "Operations",
"value": [
{
"idShort": "TestOperation1",
"description": [
{
"language": "de",
"text": "Operation, sync mit keinem In/Out"
}
],
"modelType": "Operation"
},
{
"idShort": "TestOperation2",
"description": [
{
"language": "de",
"text": "Operation, sync mit einem Input"
}
],
"inputVariables": [
{
"value": {
"idShort": "TestInput",
"valueType": "xs:string",
"modelType": "Property"
}
}
],
"modelType": "Operation"
},
{
"idShort": "TestOperation3",
"description": [
{
"language": "de",
"text": "Operation, sync mit einem Input und einem Output"
}
],
"inputVariables": [
{
"value": {
"idShort": "TestInput",
"valueType": "xs:int",
"modelType": "Property"
}
}
],
"outputVariables": [
{
"value": {
"idShort": "TestOutput",
"valueType": "xs:float",
"modelType": "Property"
}
}
],
"modelType": "Operation"
}
],
"modelType": "SubmodelElementCollection"
}
],
"modelType": "Submodel"
}
],
"conceptDescriptions": [
{
"id": "https://example.com/ids/cd/3505_8080_9032_2713",
"embeddedDataSpecifications": [
{
"dataSpecification": {
"type": "ExternalReference",
"keys": [
{
"type": "GlobalReference",
"value": "http://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0"
}
]
},
"dataSpecificationContent": {
"preferredName": [
{
"language": "en?",
"text": ""
}
],
"unit": "Watt",
"symbol": "W",
"dataType": "INTEGER_MEASURE",
"modelType": "DataSpecificationIec61360"
}
}
],
"modelType": "ConceptDescription"
},
{
"id": "https://example.com/ids/cd/9285_8080_9032_4909",
"embeddedDataSpecifications": [
{
"dataSpecification": {
"type": "ExternalReference",
"keys": [
{
"type": "GlobalReference",
"value": "http://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0"
}
]
},
"dataSpecificationContent": {
"preferredName": [
{
"language": "en?",
"text": ""
}
],
"unit": "Datetime ISO 8601",
"modelType": "DataSpecificationIec61360"
}
}
],
"modelType": "ConceptDescription"
}
]
}