family.pardy.familytime.goal
A star chart goal: earn this many stars, get the reward. Stars, claims and rewards point at the id. Tied to an event, it shows before it on the days it happens; otherwise in its own window. Board configuration: board space (parents only); each parent saves their own copy with rkey = id, and the newest updatedAt wins (a deleted copy removes it).
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | familytime.pardy.family |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A star chart goal: earn this many stars, get the reward. Stars, claims and rewards point at the id. Tied to an event, it shows before it on the days it happens; otherwise in its own window. Board configuration: board space (parents only); each parent saves their own copy with rkey = id, and the newest updatedAt wins (a deleted copy removes it).",
"key": "any",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"deleted": {
"description": "Removed, when this is the newest copy.",
"type": "boolean"
},
"emoji": {
"maxLength": 32,
"type": "string"
},
"event": {
"description": "A board event's URI, or an imported calendar series (feed URI#uid): when to show the goal, not how many stars it takes.",
"maxLength": 2000,
"type": "string"
},
"id": {
"description": "Stable across edits and parents; the record key.",
"maxLength": 64,
"type": "string"
},
"reward": {
"properties": {
"emoji": {
"maxLength": 32,
"type": "string"
},
"title": {
"maxLength": 100,
"type": "string"
}
},
"required": [
"title",
"emoji"
],
"type": "object"
},
"show": {
"description": "When to show it, if not tied to an event.",
"properties": {
"from": {
"maxLength": 5,
"type": "string"
},
"until": {
"maxLength": 5,
"type": "string"
}
},
"required": [
"from",
"until"
],
"type": "object"
},
"stars": {
"description": "Stars to earn the reward.",
"maximum": 30,
"minimum": 1,
"type": "integer"
},
"title": {
"maxLength": 100,
"type": "string"
},
"updatedAt": {
"description": "Last write wins across parents.",
"format": "datetime",
"type": "string"
},
"who": {
"description": "Kids it's for; empty means every kid.",
"items": {
"format": "did",
"type": "string"
},
"type": "array"
}
},
"required": [
"createdAt",
"id",
"updatedAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "family.pardy.familytime.goal",
"lexicon": 1
}