Skip to content
28 changes: 28 additions & 0 deletions dtmi/azure/common/selfdescribing-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"@context": "dtmi:dtdl:context;2",
"@id": "dtmi:azure:common:SelfDescribing;1",
"@type": "Interface",
"displayName": "IDispatch",
"contents": [
{
"@type": "Command",
"name": "GetTargetModel",
"response": {
"name": "GetTargetModelResponse",
"schema": "string"
}
},
{
"@type": "Property",
"name": "targetModelHash",
"schema": "string",
"writable": false
},
{
"@type": "Property",
"name": "targetModelId",
"schema": "string",
"writable": false
}
]
}
16 changes: 16 additions & 0 deletions dtmi/std/selfreporting-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"@context": "dtmi:dtdl:context;2",
"@id": "dtmi:std:selfreporting;1",
"@type": "Interface",
"displayName": "IDispatch",
"contents": [
{
"@type": "Command",
"name": "GetModel",
"response": {
"name": "GetModelResponse",
"schema": "string"
}
}
]
}