diy.razorgirl.winter.job
Scheduled task with natural-language instructions. Supports one-time and recurring schedules.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | winter.razorgirl.diy |
| Indexed |
Checks
Validunlimited-stringdefs.intervalSchedule.properties.typeNo maxLength, maxGraphemes or format limits this string.missing-primary-descriptiondefs.mainThe record has no description.large-stringdefs.main.record.properties.instructionsmaxLength is over 20 KB. Use a blob for content that large.unlimited-stringdefs.main.record.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.onceSchedule.properties.typeNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"intervalSchedule": {
"properties": {
"seconds": {
"type": "integer"
},
"type": {
"const": "interval",
"type": "string"
}
},
"required": [
"type",
"seconds"
],
"type": "object"
},
"main": {
"key": "tid",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"failureCount": {
"default": 0,
"type": "integer"
},
"instructions": {
"maxLength": 50000,
"type": "string"
},
"lastRun": {
"format": "datetime",
"type": "string"
},
"name": {
"maxLength": 128,
"type": "string"
},
"nextRun": {
"format": "datetime",
"type": "string"
},
"schedule": {
"refs": [
"#onceSchedule",
"#intervalSchedule"
],
"type": "union"
},
"status": {
"default": "pending",
"knownValues": [
"pending",
"running",
"completed",
"failed"
],
"type": "string"
}
},
"required": [
"name",
"instructions",
"schedule",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"onceSchedule": {
"properties": {
"runAt": {
"format": "datetime",
"type": "string"
},
"type": {
"const": "once",
"type": "string"
}
},
"required": [
"type",
"runAt"
],
"type": "object"
}
},
"description": "Scheduled task with natural-language instructions. Supports one-time and recurring schedules.",
"id": "diy.razorgirl.winter.job",
"lexicon": 1
}