{
  "$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
}
