fund.at.funding.plan
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.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | funding.at.fund |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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.",
"key": "any",
"record": {
"properties": {
"amount": {
"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).",
"type": "integer"
},
"channels": {
"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.",
"items": {
"format": "at-uri",
"type": "string"
},
"maxLength": 10,
"type": "array"
},
"createdAt": {
"description": "When this record was created or last updated.",
"format": "datetime",
"type": "string"
},
"currency": {
"description": "ISO 4217 currency code (e.g. 'USD', 'EUR').",
"maxLength": 3,
"type": "string"
},
"description": {
"description": "What this plan covers or how the funds are used.",
"maxLength": 500,
"type": "string"
},
"frequency": {
"description": "How often the plan is billed. Maps to funding.json plan.frequency.",
"knownValues": [
"one-time",
"weekly",
"fortnightly",
"monthly",
"yearly",
"other"
],
"maxLength": 16,
"type": "string"
},
"name": {
"description": "Human-readable plan name (e.g. 'Supporter', 'Sustainer').",
"maxLength": 128,
"type": "string"
},
"status": {
"description": "Whether this plan is currently accepting contributions. Maps to funding.json plan.status.",
"knownValues": [
"active",
"inactive"
],
"maxLength": 16,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "record"
}
},
"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).",
"id": "fund.at.funding.plan",
"lexicon": 1
}