cards.sunshine.cardAdmin

sunshine.cards

Documentation

A card's secrets, kept in its creator's deck. The record key is the card's UID, as 14 upper-case hex characters.

main record

A card's secrets, kept in its creator's deck. The record key is the card's UID, as 14 upper-case hex characters.

Record Key any Any valid record key

Properties

adminKey bytes Required

The tag's key 0, needed to change its settings or keys.

maxLength: 16minLength: 16
allowRescans boolean Optional

Whether one person may collect this card more than once.

Default: true
public unknown Required

The card's public details: a complete cards.sunshine.card record, published when someone first collects the card.

signingKey bytes Required

The key the tag signs taps with. It also decrypts the tag's PICC data.

maxLength: 16minLength: 16
View raw schema
{
  "description": "A card's secrets, kept in its creator's deck. The record key is the card's UID, as 14 upper-case hex characters.",
  "key": "any",
  "record": {
    "properties": {
      "adminKey": {
        "description": "The tag's key 0, needed to change its settings or keys.",
        "maxLength": 16,
        "minLength": 16,
        "type": "bytes"
      },
      "allowRescans": {
        "default": true,
        "description": "Whether one person may collect this card more than once.",
        "type": "boolean"
      },
      "public": {
        "description": "The card's public details: a complete cards.sunshine.card record, published when someone first collects the card.",
        "type": "unknown"
      },
      "signingKey": {
        "description": "The key the tag signs taps with. It also decrypts the tag's PICC data.",
        "maxLength": 16,
        "minLength": 16,
        "type": "bytes"
      }
    },
    "required": [
      "adminKey",
      "signingKey",
      "public"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@