# fyi.atstore.listing.review

> Published by [atstore.fyi](https://lexicon.garden/identity/did:plc:dvy6bdnofdfc4php4s5b457d)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:dvy6bdnofdfc4php4s5b457d/fyi.atstore.listing.review)
- [Documentation](https://lexicon.garden/lexicon/did:plc:dvy6bdnofdfc4php4s5b457d/fyi.atstore.listing.review/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:dvy6bdnofdfc4php4s5b457d/fyi.atstore.listing.review/examples)

## Definitions

### `fyi.atstore.listing.review`

**Type**: `record`

A user review of an AT Store directory listing. Subject must be the at:// URI of a fyi.atstore.listing.detail record.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `text` | `string` | No | Optional written review; omit for a stars-only rating. |
| `rating` | `integer` | Yes | Star rating 1–5. |
| `subject` | `string` (at-uri) | Yes | AT URI of the fyi.atstore.listing.detail record being reviewed. |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "fyi.atstore.listing.review",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "rating",
          "createdAt"
        ],
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 8000,
            "description": "Optional written review; omit for a stars-only rating."
          },
          "rating": {
            "type": "integer",
            "maximum": 5,
            "minimum": 1,
            "description": "Star rating 1–5."
          },
          "subject": {
            "type": "string",
            "format": "at-uri",
            "description": "AT URI of the fyi.atstore.listing.detail record being reviewed."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "A user review of an AT Store directory listing. Subject must be the at:// URI of a fyi.atstore.listing.detail record."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
