# app.starrysky.streak.freezegrant

> Published by [starrysky.app](https://lexicon.garden/identity/did:plc:pdftantb2wpnczkhusrixbpy)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:pdftantb2wpnczkhusrixbpy/app.starrysky.streak.freezegrant)
- [Documentation](https://lexicon.garden/lexicon/did:plc:pdftantb2wpnczkhusrixbpy/app.starrysky.streak.freezegrant/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:pdftantb2wpnczkhusrixbpy/app.starrysky.streak.freezegrant/examples)

## Definitions

### `app.starrysky.streak.freezegrant`

**Type**: `record`

An attestation from an authorized granter issuing extra streak freezes to a user.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `sig` | `bytes` | No | Cryptographic signature from the granter (optional for self-hosted data, recommended for verification). |
| `note` | `string` | No |  |
| `count` | `integer` | Yes | Number of freezes granted in this record. |
| `policy` | `string` (at-uri) | Yes | The URI of the policy these freezes apply to. |
| `createdAt` | `string` (datetime) | Yes |  |
| `recipient` | `string` (did) | Yes | The DID of the user receiving the freezes. |

## Raw Schema

```json
{
  "id": "app.starrysky.streak.freezegrant",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "recipient",
          "policy",
          "count",
          "createdAt"
        ],
        "properties": {
          "sig": {
            "type": "bytes",
            "description": "Cryptographic signature from the granter (optional for self-hosted data, recommended for verification)."
          },
          "note": {
            "type": "string",
            "maxLength": 300
          },
          "count": {
            "type": "integer",
            "default": 1,
            "description": "Number of freezes granted in this record."
          },
          "policy": {
            "type": "string",
            "format": "at-uri",
            "description": "The URI of the policy these freezes apply to."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "recipient": {
            "type": "string",
            "format": "did",
            "description": "The DID of the user receiving the freezes."
          }
        }
      },
      "description": "An attestation from an authorized granter issuing extra streak freezes to a user."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
