cards.sunshine.listScans

sunshine.cards

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Lists the scans of a Sunshine Card that this instance has signed, most recent (highest counter) first. A scan its scanner has since deleted is still listed.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Present when there may be more scans: pass it to list them.",
              "type": "string"
            },
            "scans": {
              "items": {
                "ref": "#scan",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "scans"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "did": {
            "description": "The card's creator.",
            "format": "did",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "uid": {
            "description": "The tag's serial number, in hex.",
            "maxLength": 14,
            "minLength": 14,
            "type": "string"
          }
        },
        "required": [
          "did",
          "uid"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "scan": {
      "properties": {
        "counter": {
          "description": "The tag's read counter for this scan.",
          "maximum": 16777215,
          "minimum": 1,
          "type": "integer"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "scanner": {
          "format": "did",
          "type": "string"
        },
        "uri": {
          "description": "The cards.sunshine.scan record in the scanner's repo.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "scanner",
        "counter",
        "createdAt"
      ],
      "type": "object"
    }
  },
  "id": "cards.sunshine.listScans",
  "lexicon": 1
}

Validate Record

Validate a record against cards.sunshine.listScans

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:web:sunshine.cards
CID
bafyreihqoz5g3sezegyjbo2linue6th22wg2zay4qjinkouqneyu6upvre
Indexed At
2026-10-17 13:22 UTC
AT-URI
at://did:web:sunshine.cards/com.atproto.lexicon.schema/cards.sunshine.listScans

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • cards.sunshine.scan recordnot from the namespace authority

    Proof that this repo's owner scanned a Sunshine Card, signed by the instance that checked the tap. The record key is <creator DID>:<UID>:<counter>.

  • Get scans for a record.

Lexicon Garden

@