# com.suibari.nagi.getRadioTrack

> Published by [suibari.com](https://lexicon.garden/identity/did:plc:uixgxpiqf4i63p6rgpu7ytmx)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uixgxpiqf4i63p6rgpu7ytmx/com.suibari.nagi.getRadioTrack)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uixgxpiqf4i63p6rgpu7ytmx/com.suibari.nagi.getRadioTrack/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uixgxpiqf4i63p6rgpu7ytmx/com.suibari.nagi.getRadioTrack/examples)

## Definitions

### `com.suibari.nagi.getRadioTrack`

**Type**: `query`

認証した本人の現在のbotたんラジオ曲と未読状態。

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `hasUnread` | `boolean` | Yes |  |
| `track` | `ref` → `#track` | No |  |
| `unreadSlotKey` | `string` | No |  |

### `com.suibari.nagi.getRadioTrack#track`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `artist` | `string` | Yes |  |
| `comment` | `string` | Yes |  |
| `commentEn` | `string` | No |  |
| `commentJa` | `string` | No |  |
| `publishedAt` | `string` (datetime) | Yes |  |
| `slotKey` | `string` | Yes |  |
| `songUrl` | `string` (uri) | Yes | 選曲した曲のページ。Last.fmまたは既存のYouTubeリンク。 |
| `sourceUrl` | `string` (uri) | No |  |
| `thumbnailUrl` | `string` (uri) | Yes | 曲のジャケット画像。既存のYouTube履歴では動画サムネイル。 |
| `title` | `string` | Yes |  |
| `videoId` | `string` | No |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "認証した本人の現在のbotたんラジオ曲と未読状態。",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "hasUnread": {
              "type": "boolean"
            },
            "track": {
              "ref": "#track",
              "type": "ref"
            },
            "unreadSlotKey": {
              "type": "string"
            }
          },
          "required": [
            "hasUnread"
          ],
          "type": "object"
        }
      },
      "type": "query"
    },
    "track": {
      "properties": {
        "artist": {
          "type": "string"
        },
        "comment": {
          "type": "string"
        },
        "commentEn": {
          "type": "string"
        },
        "commentJa": {
          "type": "string"
        },
        "publishedAt": {
          "format": "datetime",
          "type": "string"
        },
        "slotKey": {
          "type": "string"
        },
        "songUrl": {
          "description": "選曲した曲のページ。Last.fmまたは既存のYouTubeリンク。",
          "format": "uri",
          "type": "string"
        },
        "sourceUrl": {
          "format": "uri",
          "type": "string"
        },
        "thumbnailUrl": {
          "description": "曲のジャケット画像。既存のYouTube履歴では動画サムネイル。",
          "format": "uri",
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "videoId": {
          "type": "string"
        }
      },
      "required": [
        "slotKey",
        "title",
        "artist",
        "comment",
        "publishedAt",
        "songUrl",
        "thumbnailUrl"
      ],
      "type": "object"
    }
  },
  "id": "com.suibari.nagi.getRadioTrack",
  "lexicon": 1
}
```
