cards.sunshine.card

A Sunshine Card's public details. The record key is the card's UID.

Repository @sunshine.cards did:web:sunshine.cards namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritysunshine.cards
Indexed

Showing version bafyreiguorfmx3miyorq3pq6swwflfrrjdl7xge52vd44jcbdvcduffk5y. Show the latest

cid bafyreiguorfmx3miyorq3pq6swwflfrrjdl7xge52vd44jcbdvcduffk5y

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A Sunshine Card's public details. The record key is the card's UID.",
      "key": "any",
      "record": {
        "properties": {
          "back": {
            "accept": [
              "image/*"
            ],
            "description": "The card's back artwork: portrait, in ID-1 bank card proportions (53.98 × 85.60 mm).",
            "maxSize": 1000000,
            "type": "blob"
          },
          "colors": {
            "description": "The card's colours, most prominent first, each an sRGB hex colour like #f4b400.",
            "items": {
              "maxLength": 7,
              "minLength": 7,
              "type": "string"
            },
            "maxLength": 3,
            "type": "array"
          },
          "counter": {
            "description": "The tag's read counter at the last accepted tap.",
            "maximum": 16777215,
            "minimum": 0,
            "type": "integer"
          },
          "front": {
            "accept": [
              "image/*"
            ],
            "description": "The card's front artwork: portrait, in ID-1 bank card proportions (53.98 × 85.60 mm).",
            "maxSize": 1000000,
            "type": "blob"
          },
          "record": {
            "description": "An associated record, embedded whole.",
            "type": "unknown"
          },
          "set": {
            "description": "The cards.sunshine.set this card is primarily part of.",
            "format": "at-uri",
            "type": "string"
          },
          "strings": {
            "description": "The card's title, 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"
          },
          "uid": {
            "description": "The tag's serial number, as 14 upper-case hex characters.",
            "maxLength": 14,
            "minLength": 14,
            "type": "string"
          },
          "url": {
            "description": "The URL anyone can visit when looking at this card collected in someone's account. It may be the same as the URL in the card's NFC (NDEF) record, or something different.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "uid",
          "counter",
          "url"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "strings": {
      "description": "The card's strings in one language.",
      "properties": {
        "lang": {
          "format": "language",
          "type": "string"
        },
        "title": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "required": [
        "lang",
        "title"
      ],
      "type": "object"
    }
  },
  "id": "cards.sunshine.card",
  "lexicon": 1
}