app.certified.badge.award

lexicon.store View official

Documentation

Records a badge award to a user, project, or activity claim.

main record

Records a badge award to a user, project, or activity claim.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

Client-declared timestamp when this record was originally created

note string Optional

Optional statement explaining the reason for this badge award.

maxLength: 500 bytes
url string uri Optional

Optional URL the badge award links to.

maxLength: 2048 bytes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "badge",
      "subject",
      "createdAt"
    ],
    "properties": {
      "url": {
        "type": "string",
        "format": "uri",
        "maxLength": 2048,
        "description": "Optional URL the badge award links to."
      },
      "note": {
        "type": "string",
        "maxLength": 500,
        "description": "Optional statement explaining the reason for this badge award."
      },
      "badge": {
        "ref": "app.certified.badge.definition",
        "type": "ref",
        "description": "Reference to the badge definition for this award."
      },
      "subject": {
        "refs": [
          "app.certified.defs#did",
          "com.atproto.repo.strongRef"
        ],
        "type": "union",
        "description": "Entity the badge award is for (either an account DID or any specific AT Protocol record), e.g. a user, a project, or a specific activity claim."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Client-declared timestamp when this record was originally created"
      }
    }
  },
  "description": "Records a badge award to a user, project, or activity claim."
}

Lexicon Garden

@