Skip to content

place.stream.badge.issuance

Lexicon Version: 1

Type: 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

Record Properties:

NameTypeReq’dDescriptionConstraints
didstringThe DID of the user being granted the badge.Format: did
badgecom.atproto.repo.strongRefStrong reference to the place.stream.badge.def record being granted.
createdAtstringClient-declared timestamp when this issuance was created.Format: datetime

{
"lexicon": 1,
"id": "place.stream.badge.issuance",
"defs": {
"main": {
"type": "record",
"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": {
"type": "object",
"required": ["did", "badge", "createdAt"],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "The DID of the user being granted the badge."
},
"badge": {
"type": "ref",
"ref": "com.atproto.repo.strongRef",
"description": "Strong reference to the place.stream.badge.def record being granted."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when this issuance was created."
}
}
}
}
}
}