Schedule
Тип: object additionalProperties: false
| Поле | Обязательное | Тип | Описание и ограничения |
|---|---|---|---|
can_edit | Да | boolean | Может ли вызывающий изменить текущее задание. Для удалённых заданий false. Вычисляется по текущему владельцу, включая повтор идемпотентного создания. Активное выполнение может запрещать сброс сессии. |
profile | Да | string | Сохранённое имя профиля Orpheus. minLength: 1 |
template | Да | string | Сохранённое имя шаблона Orpheus. minLength: 1 |
url | Да | string / null | Абсолютная ссылка на карточку Space Web из ORPHEUS_PUBLIC_URL. Если адрес не настроен — null. Вычисляется при формировании ответа. format: "uri" |
name | Да | string | minLength: 1maxLength: 200 |
prompt | Да | string | minLength: 1 |
cron | Да | string | minLength: 1 |
timezone | Да | string | minLength: 1 |
status | Да | Status | |
model | Да | string / null | minLength: 1 |
session_mode | Да | SessionMode | |
owner_email | Да | string / null | minLength: 1 |
services | Да | ServiceCodes | |
id | Да | string | format: "uuid" |
created_at | Да | string | format: "date-time" |
updated_at | Да | string | format: "date-time" |
next_run_at | Да | string / null | format: "date-time" |
deleted_at | Да | string / null | format: "date-time" |
last_occurrence | Да | NullableOccurrence |
JSON Schema
json
{
"type": "object",
"additionalProperties": false,
"required": [
"id",
"url",
"can_edit",
"name",
"prompt",
"cron",
"timezone",
"status",
"model",
"profile",
"template",
"session_mode",
"owner_email",
"services",
"created_at",
"updated_at",
"next_run_at",
"deleted_at",
"last_occurrence"
],
"properties": {
"can_edit": {
"type": "boolean",
"description": "Whether this caller may modify the current schedule. False for deleted schedules. Computed from current ownership even on an idempotent creation replay; busy state can still prevent session reset."
},
"profile": {
"type": "string",
"minLength": 1,
"description": "Stored Orpheus profile name."
},
"template": {
"type": "string",
"minLength": 1,
"description": "Stored Orpheus template name."
},
"url": {
"type": "string",
"format": "uri",
"nullable": true,
"description": "Absolute Space Web card URL from ORPHEUS_PUBLIC_URL, or null when not configured. Computed at response time."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"prompt": {
"type": "string",
"minLength": 1
},
"cron": {
"type": "string",
"minLength": 1
},
"timezone": {
"type": "string",
"minLength": 1
},
"status": {
"$ref": "#/components/schemas/Status"
},
"model": {
"type": "string",
"nullable": true,
"minLength": 1
},
"session_mode": {
"$ref": "#/components/schemas/SessionMode"
},
"owner_email": {
"type": "string",
"nullable": true,
"minLength": 1
},
"services": {
"$ref": "#/components/schemas/ServiceCodes"
},
"id": {
"type": "string",
"format": "uuid"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"next_run_at": {
"type": "string",
"format": "date-time",
"nullable": true
},
"deleted_at": {
"type": "string",
"format": "date-time",
"nullable": true
},
"last_occurrence": {
"$ref": "#/components/schemas/NullableOccurrence"
}
}
}