# win.tomo-x.pushat.defs

> Published by [tomo-x.win](https://lexicon.garden/identity/did:plc:qcwvyds5tixmcwkwrg3hxgxd)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.pushat.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.pushat.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.pushat.defs/examples)

## Definitions

### `win.tomo-x.pushat.defs#deviceList`

**Type**: `array`

**Items**:

Type: `ref` → `#deviceListItem`

### `win.tomo-x.pushat.defs#notifyBody`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `body` | `string` | Yes | Body text of the notification. |
| `icon` | `string` (uri) | No | The URI of the icon displayed in the notification. |
| `link` | `string` (uri) | No | Experimental — do not use. The URI to open when the notification is clicked. |
| `title` | `string` | Yes | Title text of the notification. |

### `win.tomo-x.pushat.defs#deviceListItem`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | `string` (tid) | Yes |  |
| `name` | `string` | Yes |  |
| `current` | `boolean` | Yes |  |

## Raw Schema

```json
{
  "id": "win.tomo-x.pushat.defs",
  "defs": {
    "deviceList": {
      "type": "array",
      "items": {
        "ref": "#deviceListItem",
        "type": "ref"
      }
    },
    "notifyBody": {
      "type": "object",
      "required": [
        "title",
        "body"
      ],
      "properties": {
        "body": {
          "type": "string",
          "description": "Body text of the notification."
        },
        "icon": {
          "type": "string",
          "format": "uri",
          "description": "The URI of the icon displayed in the notification."
        },
        "link": {
          "type": "string",
          "format": "uri",
          "description": "Experimental — do not use. The URI to open when the notification is clicked."
        },
        "title": {
          "type": "string",
          "description": "Title text of the notification."
        }
      }
    },
    "deviceListItem": {
      "type": "object",
      "required": [
        "name",
        "id",
        "current"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "tid"
        },
        "name": {
          "type": "string",
          "maxLength": 300,
          "maxGraphemes": 30
        },
        "current": {
          "type": "boolean",
          "default": false
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
