cards.sunshine.scan

sunshine.cards

Documentation

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>.

main record

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>.

Record Key any Any valid record key

Properties

card string at-uri Required

The scanned card's public record.

counter integer Required

The tag's read counter for this tap.

minimum: 1maximum: 16777215
createdAt string datetime Required

An RFC 3339 formatted timestamp.

signatures array of union Required

No description available.

minLength: 1 items
Known types:
View raw schema
{
  "description": "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>.",
  "key": "any",
  "record": {
    "properties": {
      "card": {
        "description": "The scanned card's public record.",
        "format": "at-uri",
        "type": "string"
      },
      "counter": {
        "description": "The tag's read counter for this tap.",
        "maximum": 16777215,
        "minimum": 1,
        "type": "integer"
      },
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "signatures": {
        "items": {
          "refs": [
            "#signature"
          ],
          "type": "union"
        },
        "minLength": 1,
        "type": "array"
      }
    },
    "required": [
      "card",
      "counter",
      "createdAt",
      "signatures"
    ],
    "type": "object"
  },
  "type": "record"
}
signature object

A badge.blue inline signature: https://badge.blue

Properties

cid string cid Required

A content identifier (CID) referencing immutable data.

issuer string did Required

A decentralized identifier (DID).

key string Required

DID URL of the signing key, eg. did:web:sunshine.cards#attestation.

maxLength: 2048 bytes
signature bytes Required

No description available.

maxLength: 64minLength: 64
View raw schema
{
  "description": "A badge.blue inline signature: https://badge.blue",
  "properties": {
    "cid": {
      "format": "cid",
      "type": "string"
    },
    "issuer": {
      "format": "did",
      "type": "string"
    },
    "key": {
      "description": "DID URL of the signing key, eg. did:web:sunshine.cards#attestation.",
      "maxLength": 2048,
      "type": "string"
    },
    "signature": {
      "maxLength": 64,
      "minLength": 64,
      "type": "bytes"
    }
  },
  "required": [
    "key",
    "issuer",
    "cid",
    "signature"
  ],
  "type": "object"
}

Lexicon Garden

@