{
"id": "blue.registry.donation",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"item",
"createdAt"
],
"properties": {
"item": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the donation item."
},
"amount": {
"ref": "blue.registry.item#money",
"type": "ref",
"description": "Amount donated."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp of the donation."
}
}
},
"description": "Records a donation to an item. Stored in the donor's repo. Multiple donations to the same item are allowed."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"description": "A record indicating a user has donated to a donation item."
}