{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "The running total of the charity fundraiser Flushes hosts. Written by the account that runs the site and read by everybody; Flushes handles no money, so this record is a transcription of a total held elsewhere, not a ledger.",
"key": "literal:self",
"record": {
"properties": {
"goalUsd": {
"description": "Whole US dollars the fundraiser is aiming at.",
"minimum": 1,
"type": "integer"
},
"raisedUsd": {
"description": "Whole US dollars raised so far, as shown on the fundraiser page. Whole dollars because that is the only precision the site displays.",
"minimum": 0,
"type": "integer"
},
"source": {
"description": "The fundraiser page the figures were read from, so anybody can check them against it.",
"format": "uri",
"type": "string"
},
"updatedAt": {
"description": "When these figures were read off the fundraiser page. Shown beside the total, because a transcribed number with no date on it reads as live.",
"format": "datetime",
"type": "string"
}
},
"required": [
"raisedUsd",
"goalUsd",
"updatedAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "im.flushing.fundraiser",
"lexicon": 1
}