Merge thing command at /features

{
  "topic": "com.acme/xdk_53/things/twin/commands/merge",
  "headers": {
    "content-type": "application/merge-patch+json"
  },
  "path": "/features",
  "value": {
    "accelerometer": {
      "definition": [
        "com.acme:accelerometer:1.0.0"
      ],
      "properties": {
        "x": 3.141,
        "y": 2.718,
        "z": 1,
        "unit": "g"
      }
    }
  }
}

Merge thing command response at /features

{
  "topic": "com.acme/xdk_53/things/twin/commands/merge",
  "headers": {},
  "path": "/features",
  "status": 204
}

Thing merged event at /features

{
  "topic": "com.acme/xdk_53/things/twin/events/merged",
  "headers": {
    "content-type": "application/merge-patch+json"
  },
  "path": "/features",
  "value": {
    "accelerometer": {
      "definition": [
        "com.acme:accelerometer:1.0.0"
      ],
      "properties": {
        "x": 3.141,
        "y": 2.718,
        "z": 1,
        "unit": "g"
      }
    }
  },
  "revision": 42,
  "timestamp": "2021-01-18T09:42:12Z"
}

Merge thing command deleting /features

{
  "topic": "com.acme/xdk_53/things/twin/commands/merge",
  "headers": {
    "content-type": "application/merge-patch+json"
  },
  "path": "/features",
  "value": null
}