> For the complete documentation index, see [llms.txt](https://docs.uniqpath.com/dmt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uniqpath.com/dmt/configuring-devices/device-definition-files/device.def.md).

# device.def

\[ in progress ]

{% hint style="info" %}
This file is used to specify the basic characteristics and capabilities of device.
{% endhint %}

### Example:

```bash
device: dmt-new
```

### Advanced example:

```bash
device: speaker
  
  player:
    contentRef: music
    mpv:
      defaultVolume: 70
```

{% hint style="info" %}
**.def** files can have either one root key or in case of many, they have to be the same.
{% endhint %}

{% hint style="info" %}
**device.def** only supports one root key (enforced at the semantic parsing level).
{% endhint %}
