# dev.pcvera.temp.badge.rejection

> Published by [pcvera.dev](https://lexicon.garden/identity/did:plc:aqspvjgrjpjy3d5rzjudfmw4)

✓ This is the authoritative definition for this NSID.

## Description

Recipient rejects a pending badge grant.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:aqspvjgrjpjy3d5rzjudfmw4/dev.pcvera.temp.badge.rejection)
- [Documentation](https://lexicon.garden/lexicon/did:plc:aqspvjgrjpjy3d5rzjudfmw4/dev.pcvera.temp.badge.rejection/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:aqspvjgrjpjy3d5rzjudfmw4/dev.pcvera.temp.badge.rejection/examples)

## Definitions

### `dev.pcvera.temp.badge.rejection`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `reason` | `string` | Yes | Machine-readable rejection reason. |
| `grantUri` | `string` (at-uri) | Yes | AT URI of the dev.pcvera.temp.badge.grant record being rejected. |
| `rejectedAt` | `string` (datetime) | Yes | When the recipient rejected the grant. |
| `recipientDid` | `string` (did) | Yes | DID of the recipient who rejected (must match the grant recipient). |

## Raw Schema

```json
{
  "id": "dev.pcvera.temp.badge.rejection",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "recipientDid",
          "grantUri",
          "rejectedAt",
          "reason"
        ],
        "properties": {
          "reason": {
            "enum": [
              "spam",
              "mistake",
              "not_interested",
              "other"
            ],
            "type": "string",
            "description": "Machine-readable rejection reason."
          },
          "grantUri": {
            "type": "string",
            "format": "at-uri",
            "description": "AT URI of the dev.pcvera.temp.badge.grant record being rejected."
          },
          "rejectedAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the recipient rejected the grant."
          },
          "recipientDid": {
            "type": "string",
            "format": "did",
            "description": "DID of the recipient who rejected (must match the grant recipient)."
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Recipient rejects a pending badge grant."
}
```
