Community Pool Disbursement v1¶
Source schema: doc/schemas/community-pool-disbursement.v1.schema.json
Machine-readable schema for one council-approved community-pool outflow. The signed surface uses orbiplex-community-pool-disbursement-v1\x00 || deterministic_cbor(payload_without_signature).
Governing Basis¶
doc/project/40-proposals/016-supervised-prepaid-gateway-and-escrow-mvp.mddoc/project/50-requirements/requirements-007.md
Project Lineage¶
Requirements¶
Stories¶
Fields¶
| Field | Required | Shape | Description |
|---|---|---|---|
schema/v |
yes |
const: 1 |
|
disbursement/id |
yes |
string | |
pool/account-id |
yes |
string | Ledger account id of the source community-pool. |
destination/account-id |
yes |
string | Ledger account id receiving the disbursement. |
amount |
yes |
integer | Transferred amount in internal minor units. For ORC, the value uses ORC minor units with fixed scale 2. |
unit |
yes |
const: ORC |
Internal settlement unit carried by the disbursement in MVP. ORC uses fixed decimal scale 2. |
purpose |
yes |
enum: ubc-subsidy, infrastructure-support, emergency-relief |
|
basis/refs |
yes |
array | |
approved-by/id |
yes |
string | |
approved-at |
yes |
string | |
ledger-transfer/id |
yes |
string | The append-only internal transfer that executed the outflow. |
notes |
no |
string | |
signature |
yes |
ref: #/$defs/signature |
Definitions¶
| Definition | Shape | Description |
|---|---|---|
signature |
object | |
| ## Field Semantics |
schema/v¶
- Required:
yes - Shape: const:
1
disbursement/id¶
- Required:
yes - Shape: string
pool/account-id¶
- Required:
yes - Shape: string
Ledger account id of the source community-pool.
destination/account-id¶
- Required:
yes - Shape: string
Ledger account id receiving the disbursement.
amount¶
- Required:
yes - Shape: integer
Transferred amount in internal minor units. For ORC, the value uses ORC minor units with fixed scale 2.
unit¶
- Required:
yes - Shape: const:
ORC
Internal settlement unit carried by the disbursement in MVP. ORC uses fixed decimal scale 2.
purpose¶
- Required:
yes - Shape: enum:
ubc-subsidy,infrastructure-support,emergency-relief
basis/refs¶
- Required:
yes - Shape: array
approved-by/id¶
- Required:
yes - Shape: string
approved-at¶
- Required:
yes - Shape: string
ledger-transfer/id¶
- Required:
yes - Shape: string
The append-only internal transfer that executed the outflow.
notes¶
- Required:
no - Shape: string
signature¶
- Required:
yes - Shape: ref:
#/$defs/signature
Definition Semantics¶
$defs.signature¶
- Shape: object