# place.stream.badge.issuance

> 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.

- Kind: record
- Record key: tid
- Authority: badge.stream.place
- Lexicon: 1
- Published by [stream.place](https://lexicon.garden/identity/did:plc:rbvrr34edl5ddpuwcubjiost), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.badge.issuance)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.badge.issuance/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.badge.issuance/analytics)

## Record (`place.stream.badge.issuance`)

Type: record · key tid

### Properties

- `badge` (ref, required): Strong reference to the place.stream.badge.def record being granted.
  - Reference: `com.atproto.repo.strongRef`
- `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.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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"
    }
  },
  "id": "place.stream.badge.issuance",
  "lexicon": 1
}
```
