{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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"
    }
  },
  "id": "cards.sunshine.cardAdmin",
  "lexicon": 1
}
