# garden.lexicon.dazzling-boarfish.rating.prompt

> Published by [tynanpurdy.com](https://lexicon.garden/identity/did:plc:6ayddqghxhciedbaofoxkcbs)

✓ This is the authoritative definition for this NSID.

## Description

A prompt or question that a rating answers, clarifying what aspect of a subject is being evaluated. Must reference a canonical scale.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:6ayddqghxhciedbaofoxkcbs/garden.lexicon.dazzling-boarfish.rating.prompt)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6ayddqghxhciedbaofoxkcbs/garden.lexicon.dazzling-boarfish.rating.prompt/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6ayddqghxhciedbaofoxkcbs/garden.lexicon.dazzling-boarfish.rating.prompt/examples)

## Definitions

### `garden.lexicon.dazzling-boarfish.rating.prompt`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | No |  |
| `langs` | `array` | No | BCP-47 tag(s) the prompt text is written in. |
| `scale` | `ref` → `com.atproto.repo.strongRef` | Yes | Required pointer to a community.lexicon.rating.scale record. This prompt is only valid with ratings that reference this scale. |
| `text` | `string` | Yes | The prompt or question text. |

## Raw Schema

```json
{
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "langs": {
            "description": "BCP-47 tag(s) the prompt text is written in.",
            "items": {
              "format": "language",
              "type": "string"
            },
            "maxItems": 3,
            "type": "array"
          },
          "scale": {
            "description": "Required pointer to a community.lexicon.rating.scale record. This prompt is only valid with ratings that reference this scale.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "text": {
            "description": "The prompt or question text.",
            "maxLength": 1024,
            "type": "string"
          }
        },
        "required": [
          "text",
          "scale"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A prompt or question that a rating answers, clarifying what aspect of a subject is being evaluated. Must reference a canonical scale.",
  "id": "garden.lexicon.dazzling-boarfish.rating.prompt",
  "lexicon": 1
}
```
