# cards.sunshine.set

> Published by [sunshine.cards](https://lexicon.garden/identity/did:web:sunshine.cards)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:sunshine.cards/cards.sunshine.set)
- [Documentation](https://lexicon.garden/lexicon/did:web:sunshine.cards/cards.sunshine.set/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:sunshine.cards/cards.sunshine.set/examples)

## Definitions

### `cards.sunshine.set`

**Type**: `record`

A set of Sunshine Cards, in order, like 'Autumn Market 2026'. A set may include other accounts' cards. Listing a card exposes its record key, which today is its tag's UID.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cards` | `array` | Yes | The set's cards, in order: at-uris of cards.sunshine.card records. A card's record is only published once someone first scans it, so expect records listed here to be absent until then, and show the set gracefully when one is not found. |
| `createdAt` | `string` (datetime) | Yes |  |
| `strings` | `array` | Yes | The set's title and description, one entry per language. The first entry is the default, shown when none matches the reader's language. |

### `cards.sunshine.set#strings`

**Type**: `object`

The set's strings in one language.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `description` | `string` | No |  |
| `lang` | `string` (language) | Yes |  |
| `title` | `string` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A set of Sunshine Cards, in order, like 'Autumn Market 2026'. A set may include other accounts' cards. Listing a card exposes its record key, which today is its tag's UID.",
      "key": "tid",
      "record": {
        "properties": {
          "cards": {
            "description": "The set's cards, in order: at-uris of cards.sunshine.card records. A card's record is only published once someone first scans it, so expect records listed here to be absent until then, and show the set gracefully when one is not found.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 500,
            "type": "array"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "strings": {
            "description": "The set's title and description, one entry per language. The first entry is the default, shown when none matches the reader's language.",
            "items": {
              "ref": "#strings",
              "type": "ref"
            },
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "strings",
          "cards",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "strings": {
      "description": "The set's strings in one language.",
      "properties": {
        "description": {
          "maxGraphemes": 300,
          "maxLength": 3000,
          "type": "string"
        },
        "lang": {
          "format": "language",
          "type": "string"
        },
        "title": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "required": [
        "lang",
        "title"
      ],
      "type": "object"
    }
  },
  "id": "cards.sunshine.set",
  "lexicon": 1
}
```
