# club.fellas.v0.rating

> Published by [cam.fellas.club](https://lexicon.garden/identity/did:plc:ctpw7nnpcnuxey7ckqi66mxz)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ctpw7nnpcnuxey7ckqi66mxz/club.fellas.v0.rating)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ctpw7nnpcnuxey7ckqi66mxz/club.fellas.v0.rating/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ctpw7nnpcnuxey7ckqi66mxz/club.fellas.v0.rating/examples)

## Definitions

### `club.fellas.v0.rating`

**Type**: `record`

One participant's star rating of a film or book, at a point in time. Exactly one of imdbId or olid identifies the subject.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `imdbId` | `string` | No | IMDb title identifier for the film being rated, e.g. tt0133093. |
| `olid` | `string` | No | Open Library work identifier for the book being rated, e.g. OL82563W. |
| `ratedAt` | `string` (datetime) | Yes |  |
| `stars` | `integer` | Yes | Rating from 0 to 10, in half-star steps. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One participant's star rating of a film or book, at a point in time. Exactly one of imdbId or olid identifies the subject.",
      "key": "tid",
      "record": {
        "properties": {
          "imdbId": {
            "description": "IMDb title identifier for the film being rated, e.g. tt0133093.",
            "maxLength": 16,
            "type": "string"
          },
          "olid": {
            "description": "Open Library work identifier for the book being rated, e.g. OL82563W.",
            "maxLength": 20,
            "type": "string"
          },
          "ratedAt": {
            "format": "datetime",
            "type": "string"
          },
          "stars": {
            "description": "Rating from 0 to 10, in half-star steps.",
            "maximum": 10,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "stars",
          "ratedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "club.fellas.v0.rating",
  "lexicon": 1
}
```
