# fm.leadsheet.rating

> Published by [leadsheet.fm](https://lexicon.garden/identity/did:plc:h2pnmd2phwtpwwar2amai6a5)

✓ This is the authoritative definition for this NSID.

## Description

A 1-5 star rating of a chord sheet. An account's newest rating of a sheet replaces its earlier ones.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:h2pnmd2phwtpwwar2amai6a5/fm.leadsheet.rating)
- [Documentation](https://lexicon.garden/lexicon/did:plc:h2pnmd2phwtpwwar2amai6a5/fm.leadsheet.rating/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:h2pnmd2phwtpwwar2amai6a5/fm.leadsheet.rating/examples)

## Definitions

### `fm.leadsheet.rating`

**Type**: `record`

A 1-5 star rating of a chord sheet. An account's newest rating of a sheet replaces its earlier ones.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes |  |
| `value` | `integer` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A 1-5 star rating of a chord sheet. An account's newest rating of a sheet replaces its earlier ones.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "value": {
            "maximum": 5,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "subject",
          "value",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A 1-5 star rating of a chord sheet. An account's newest rating of a sheet replaces its earlier ones.",
  "id": "fm.leadsheet.rating",
  "lexicon": 1
}
```
