# fund.at.funding.plan

> Published by [at.fund](https://lexicon.garden/identity/did:plc:e5sldj7avn3rinxwqtuddwpu)

✓ This is the authoritative definition for this NSID.

## Description

A funding plan or tier with a suggested amount. Each plan is an individual record keyed by its slug ID. Plans reference channels by AT URI, allowing cross-account references (e.g. multiple maintainers pointing plans at a shared org channel).

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:e5sldj7avn3rinxwqtuddwpu/fund.at.funding.plan)
- [Documentation](https://lexicon.garden/lexicon/did:plc:e5sldj7avn3rinxwqtuddwpu/fund.at.funding.plan/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:e5sldj7avn3rinxwqtuddwpu/fund.at.funding.plan/examples)

## Definitions

### `fund.at.funding.plan`

**Type**: `record`

A funding plan — a named tier or suggested contribution level. References payment channels by AT URI, which may be in this account or any other account's fund.at.funding.channel records.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes | Human-readable plan name (e.g. 'Supporter', 'Sustainer'). |
| `amount` | `integer` | No | Suggested amount in the smallest currency unit (e.g. cents for USD). Use 0 for 'any amount'. Maps to funding.json plan.amount (converted from whole units). |
| `status` | `string` | No | Whether this plan is currently accepting contributions. Maps to funding.json plan.status. |
| `channels` | `array` | No | AT URIs of fund.at.funding.channel records where this plan can be fulfilled. May reference channels in any account. If omitted, all of this account's channels apply. |
| `currency` | `string` | No | ISO 4217 currency code (e.g. 'USD', 'EUR'). |
| `createdAt` | `string` (datetime) | No | When this record was created or last updated. |
| `frequency` | `string` | No | How often the plan is billed. Maps to funding.json plan.frequency. |
| `description` | `string` | No | What this plan covers or how the funds are used. |

## Raw Schema

```json
{
  "id": "fund.at.funding.plan",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 128,
            "description": "Human-readable plan name (e.g. 'Supporter', 'Sustainer')."
          },
          "amount": {
            "type": "integer",
            "description": "Suggested amount in the smallest currency unit (e.g. cents for USD). Use 0 for 'any amount'. Maps to funding.json plan.amount (converted from whole units)."
          },
          "status": {
            "type": "string",
            "maxLength": 16,
            "description": "Whether this plan is currently accepting contributions. Maps to funding.json plan.status.",
            "knownValues": [
              "active",
              "inactive"
            ]
          },
          "channels": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "at-uri"
            },
            "maxLength": 10,
            "description": "AT URIs of fund.at.funding.channel records where this plan can be fulfilled. May reference channels in any account. If omitted, all of this account's channels apply."
          },
          "currency": {
            "type": "string",
            "maxLength": 3,
            "description": "ISO 4217 currency code (e.g. 'USD', 'EUR')."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When this record was created or last updated."
          },
          "frequency": {
            "type": "string",
            "maxLength": 16,
            "description": "How often the plan is billed. Maps to funding.json plan.frequency.",
            "knownValues": [
              "one-time",
              "weekly",
              "fortnightly",
              "monthly",
              "yearly",
              "other"
            ]
          },
          "description": {
            "type": "string",
            "maxLength": 500,
            "description": "What this plan covers or how the funds are used."
          }
        }
      },
      "description": "A funding plan — a named tier or suggested contribution level. References payment channels by AT URI, which may be in this account or any other account's fund.at.funding.channel records."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A funding plan or tier with a suggested amount. Each plan is an individual record keyed by its slug ID. Plans reference channels by AT URI, allowing cross-account references (e.g. multiple maintainers pointing plans at a shared org channel)."
}
```
