place.stream.badge.issuance
Lexicon Version: 1
Definitions
Section titled “Definitions”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:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
did | string | ✅ | The DID of the user being granted the badge. | Format: did |
badge | com.atproto.repo.strongRef | ✅ | Strong reference to the place.stream.badge.def record being granted. | |
createdAt | string | ✅ | Client-declared timestamp when this issuance was created. | Format: datetime |
Lexicon Source
Section titled “Lexicon Source”{ "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." } } } } }}