# com.derakkuma.song

> Published by [derakkuma.com](https://lexicon.garden/identity/did:plc:4uoc2as443j2fg2f6xfsogqs)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4uoc2as443j2fg2f6xfsogqs/com.derakkuma.song)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4uoc2as443j2fg2f6xfsogqs/com.derakkuma.song/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4uoc2as443j2fg2f6xfsogqs/com.derakkuma.song/examples)

## Definitions

### `com.derakkuma.song`

**Type**: `record`

Canonical maimai song metadata published by the Derakkuma catalog authority

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `bpm` | `integer` | No |  |
| `isNew` | `boolean` | No |  |
| `title` | `string` | Yes |  |
| `artist` | `string` | No |  |
| `charts` | `array` | No |  |
| `songId` | `string` | Yes |  |
| `comment` | `string` | No |  |
| `version` | `string` | No |  |
| `category` | `string` | No |  |
| `coverArt` | `blob` | No |  |
| `isLocked` | `boolean` | No |  |
| `imageName` | `string` | No |  |
| `updatedAt` | `string` (datetime) | Yes |  |
| `releaseDate` | `string` | No |  |

## Raw Schema

```json
{
  "id": "com.derakkuma.song",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "songId",
          "title",
          "updatedAt"
        ],
        "properties": {
          "bpm": {
            "type": "integer",
            "minimum": 0
          },
          "isNew": {
            "type": "boolean"
          },
          "title": {
            "type": "string",
            "maxLength": 256
          },
          "artist": {
            "type": "string",
            "maxLength": 512
          },
          "charts": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "at-uri"
            },
            "maxLength": 32
          },
          "songId": {
            "type": "string",
            "maxLength": 256
          },
          "comment": {
            "type": "string",
            "maxLength": 1024
          },
          "version": {
            "type": "string",
            "maxLength": 128
          },
          "category": {
            "type": "string",
            "maxLength": 128
          },
          "coverArt": {
            "type": "blob",
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000
          },
          "isLocked": {
            "type": "boolean"
          },
          "imageName": {
            "type": "string",
            "maxLength": 256
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          },
          "releaseDate": {
            "type": "string",
            "maxLength": 32
          }
        }
      },
      "description": "Canonical maimai song metadata published by the Derakkuma catalog authority"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
