place.stream.badge.issuance

moderation.stream.place

Documentation

Grants a specific badge to a recipient. The badge only appears in chat after the recipient adds this record to their place.stream.chat.profile selection array.

main record

Grants a specific badge to a recipient. The badge only appears in chat after the recipient adds this record to their place.stream.chat.profile selection array.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

Client-declared timestamp when this issuance was created.

did string did Required

The DID of the user being granted the badge.

View raw schema
{
  "description": "Grants a specific badge to a recipient. The badge only appears in chat after the recipient adds this record to their place.stream.chat.profile selection array.",
  "key": "tid",
  "record": {
    "properties": {
      "badge": {
        "description": "Strong reference to the place.stream.badge.def record being granted.",
        "ref": "com.atproto.repo.strongRef",
        "type": "ref"
      },
      "createdAt": {
        "description": "Client-declared timestamp when this issuance was created.",
        "format": "datetime",
        "type": "string"
      },
      "did": {
        "description": "The DID of the user being granted the badge.",
        "format": "did",
        "type": "string"
      }
    },
    "required": [
      "did",
      "badge",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@