app.studynext.tasks
A snapshot of the user's tasks relevant to a single calendar date, for cross-device same-day sync. One record per user per date. rkey = the date (YYYY-MM-DD).
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | studynext.app |
| Commit rev | 3n3kcorkbyk2t |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.dateNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.snapshotItem.properties.deadlineNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.snapshotItem.properties.startDateNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.snapshotItem.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.taskTombstone.properties.deadlineNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.taskTombstone.properties.startDateNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.taskTombstone.properties.statusNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A snapshot of the user's tasks relevant to a single calendar date, for cross-device same-day sync. One record per user per date. rkey = the date (YYYY-MM-DD).",
"key": "any",
"record": {
"properties": {
"date": {
"description": "Snapshot calendar date in YYYY-MM-DD format; equals the rkey for records created by the current writer.",
"type": "string"
},
"items": {
"items": {
"ref": "#snapshotItem",
"type": "ref"
},
"maxLength": 500,
"type": "array"
},
"tombstones": {
"description": "Delete tombstones for plan tasks, carried separately from items so clients that predate this field never apply them. Same item shape as items; deletedAt is always present.",
"items": {
"ref": "#taskTombstone",
"type": "ref"
},
"maxLength": 500,
"type": "array"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"date",
"items",
"updatedAt"
],
"type": "object"
},
"type": "record"
},
"snapshotItem": {
"properties": {
"accent": {
"maxLength": 7,
"type": "string"
},
"amount": {
"type": "integer"
},
"deadline": {
"description": "Calendar date in YYYY-MM-DD format; not a timestamp.",
"type": "string"
},
"deckId": {
"maxLength": 100,
"type": "string"
},
"deletedAt": {
"format": "datetime",
"type": "string"
},
"doneUnits": {
"type": "integer"
},
"estMin": {
"type": "integer"
},
"fromUnit": {
"type": "integer"
},
"id": {
"maxLength": 100,
"type": "string"
},
"isReview": {
"type": "boolean"
},
"material": {
"maxLength": 600,
"type": "string"
},
"planId": {
"description": "Stable key for the associated plan; omitted for free-standing tasks.",
"maxLength": 100,
"type": "string"
},
"repeatDays": {
"items": {
"maximum": 6,
"minimum": 0,
"type": "integer"
},
"maxLength": 7,
"type": "array"
},
"repeatIntervalDays": {
"type": "integer"
},
"round": {
"type": "integer"
},
"startDate": {
"description": "Calendar date in YYYY-MM-DD format; not a timestamp.",
"type": "string"
},
"status": {
"knownValues": [
"pending",
"next",
"done",
"skipped"
],
"type": "string"
},
"subjectId": {
"maxLength": 100,
"type": "string"
},
"subjectName": {
"maxLength": 300,
"type": "string"
},
"title": {
"maxLength": 600,
"type": "string"
},
"toUnit": {
"type": "integer"
},
"unit": {
"maxLength": 60,
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
},
"taskTombstone": {
"properties": {
"accent": {
"maxLength": 7,
"type": "string"
},
"amount": {
"type": "integer"
},
"deadline": {
"description": "Calendar date in YYYY-MM-DD format; not a timestamp.",
"type": "string"
},
"deckId": {
"maxLength": 100,
"type": "string"
},
"deletedAt": {
"format": "datetime",
"type": "string"
},
"doneUnits": {
"type": "integer"
},
"estMin": {
"type": "integer"
},
"fromUnit": {
"type": "integer"
},
"id": {
"maxLength": 100,
"type": "string"
},
"isReview": {
"type": "boolean"
},
"material": {
"maxLength": 600,
"type": "string"
},
"planId": {
"maxLength": 100,
"type": "string"
},
"repeatDays": {
"items": {
"maximum": 6,
"minimum": 0,
"type": "integer"
},
"maxLength": 7,
"type": "array"
},
"repeatIntervalDays": {
"type": "integer"
},
"round": {
"type": "integer"
},
"startDate": {
"description": "Calendar date in YYYY-MM-DD format; not a timestamp.",
"type": "string"
},
"status": {
"knownValues": [
"pending",
"next",
"done",
"skipped"
],
"type": "string"
},
"subjectId": {
"maxLength": 100,
"type": "string"
},
"subjectName": {
"maxLength": 300,
"type": "string"
},
"title": {
"maxLength": 600,
"type": "string"
},
"toUnit": {
"type": "integer"
},
"unit": {
"maxLength": 60,
"type": "string"
}
},
"required": [
"status",
"deletedAt"
],
"type": "object"
}
},
"id": "app.studynext.tasks",
"lexicon": 1
}