{
"id": "place.stream.badge.issuance",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"did",
"badge",
"createdAt"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "The DID of the user being granted the badge."
},
"badge": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"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."
}
}
},
"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."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}