{ "openapi": "3.1.0", "info": { "title": "FastAPI", "version": "0.1.0" }, "paths": { "/schedule/": { "get": { "tags": ["Schedule"], "summary": "Read Schedule", "operationId": "read_schedule_schedule__get", "parameters": [ { "name": "start_time", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Start Time" } }, { "name": "end_time", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "End Time" } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "default": 0, "title": "Offset" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "default": 100, "title": "Limit" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Schedule" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/schedule/edit": { "post": { "tags": ["Schedule"], "summary": "Edit Schedule", "description": "Edit Schedule.\n\nAllowed actions types and their payloads are as follows\n\n| type | payloads |\n| ------------------------- | ---------------------------------------------------- |\n| EVENT_ADD | event |\n| EVENT_UPDATE | event |\n| EVENT_DELETE | id |\n| TASK_ADD | task |\n| TASK_UPDATE | task |\n| TASK_DELETE | id |\n| PROCESS_ADD | process |\n| PROCESS_UPDATE | process |\n| PROCESS_ATTACH_NODE | id, node_id |\n| PROCESS_DETACH_NODE | id, node_id |\n| PROCESS_UPDATE_START_TIME | id |\n| PROCESS_ADD_DEPENDENCY | source_id, destination_id, edge_type |\n| PROCESS_DELETE_DEPENDENCY | source_id, destination_id |\n| PROCESS_DELETE | id |\n| PROCESS_DELETE_ALL | id |\n\nBelow is an example of a selected action\n- type: **PROCESS_ADD_DEPENDENCY**\n- payloads: **source_id**, **destination_id**\n\n```json\n{\n \"type\": \"PROCESS_ADD_DEPENDENCY\",\n \"source_id\": \"\",\n \"destination_id\": \"\"\n}\n```", "operationId": "edit_schedule_schedule_edit_post", "parameters": [ { "name": "dry_run", "in": "query", "required": false, "schema": { "type": "boolean", "default": true, "title": "Dry Run" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ScheduleAction" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Message" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/schedule/edit/batch": { "post": { "tags": ["Schedule"], "summary": "Batch Edit Schedule", "operationId": "batch_edit_schedule_schedule_edit_batch_post", "parameters": [ { "name": "dry_run", "in": "query", "required": false, "schema": { "type": "boolean", "default": true, "title": "Dry Run" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ScheduleAction" }, "title": "Actions" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Message" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/tasks/": { "get": { "tags": ["Task"], "summary": "Read Tasks", "operationId": "read_tasks_tasks__get", "parameters": [ { "name": "start_time", "in": "query", "required": false, "schema": { "type": "string", "format": "date-time", "default": "2025-05-16T15:28:05.582872", "title": "Start Time" } }, { "name": "end_time", "in": "query", "required": false, "schema": { "type": "string", "format": "date-time", "default": "2025-05-17T15:28:05.582873", "title": "End Time" } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "default": 0, "title": "Offset" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "default": 100, "title": "Limit" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Task" }, "title": "Response Read Tasks Tasks Get" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "post": { "tags": ["Task"], "summary": "Create Task", "operationId": "create_task_tasks__post", "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TaskCreate" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Task" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/tasks/{uuid}": { "get": { "tags": ["Task"], "summary": "Read Task", "operationId": "read_task_tasks__uuid__get", "parameters": [ { "name": "uuid", "in": "path", "required": true, "schema": { "type": "string", "title": "Uuid" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Task" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "put": { "tags": ["Task"], "summary": "Update Task", "operationId": "update_task_tasks__uuid__put", "parameters": [ { "name": "uuid", "in": "path", "required": true, "schema": { "type": "string", "title": "Uuid" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TaskUpdate" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Message" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "delete": { "tags": ["Task"], "summary": "Delete Task", "operationId": "delete_task_tasks__uuid__delete", "parameters": [ { "name": "uuid", "in": "path", "required": true, "schema": { "type": "string", "title": "Uuid" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Message" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/processes/": { "get": { "tags": ["Process"], "summary": "Read Processes", "operationId": "read_processes_processes__get", "parameters": [ { "name": "start_time", "in": "query", "required": false, "schema": { "type": "string", "format": "date-time", "default": "2025-05-16T15:28:05.577978", "title": "Start Time" } }, { "name": "end_time", "in": "query", "required": false, "schema": { "type": "string", "format": "date-time", "default": "2025-05-17T15:28:05.577979", "title": "End Time" } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "default": 0, "title": "Offset" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "default": 100, "title": "Limit" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Process" }, "title": "Response Read Processes Processes Get" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "post": { "tags": ["Process"], "summary": "Create Process", "operationId": "create_process_processes__post", "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProcessCreate" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Process" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/processes/add_dependency": { "post": { "tags": ["Process"], "summary": "Add Dependency To Process", "operationId": "add_dependency_to_process_processes_add_dependency_post", "parameters": [ { "name": "source_uuid", "in": "query", "required": true, "schema": { "type": "string", "title": "Source Uuid" } }, { "name": "destination_uuid", "in": "query", "required": true, "schema": { "type": "string", "title": "Destination Uuid" } }, { "name": "edge_type", "in": "query", "required": false, "schema": { "type": "string", "default": "hard", "title": "Edge Type" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Message" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/processes/delete_dependency": { "post": { "tags": ["Process"], "summary": "Delete Dependency From Process", "operationId": "delete_dependency_from_process_processes_delete_dependency_post", "parameters": [ { "name": "source_uuid", "in": "query", "required": true, "schema": { "type": "string", "title": "Source Uuid" } }, { "name": "destination_uuid", "in": "query", "required": true, "schema": { "type": "string", "title": "Destination Uuid" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Message" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/processes/{uuid}": { "get": { "tags": ["Process"], "summary": "Read Process", "operationId": "read_process_processes__uuid__get", "parameters": [ { "name": "uuid", "in": "path", "required": true, "schema": { "type": "string", "title": "Uuid" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Process" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "put": { "tags": ["Process"], "summary": "Update Process", "operationId": "update_process_processes__uuid__put", "parameters": [ { "name": "uuid", "in": "path", "required": true, "schema": { "type": "string", "title": "Uuid" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProcessUpdate" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Message" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "delete": { "tags": ["Process"], "summary": "Delete Process", "operationId": "delete_process_processes__uuid__delete", "parameters": [ { "name": "uuid", "in": "path", "required": true, "schema": { "type": "string", "title": "Uuid" } }, { "name": "delete_all", "in": "query", "required": false, "schema": { "type": "boolean", "default": false, "title": "Delete All" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Message" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/processes/{uuid}/attach_node": { "post": { "tags": ["Process"], "summary": "Attach Node To Process", "operationId": "attach_node_to_process_processes__uuid__attach_node_post", "parameters": [ { "name": "uuid", "in": "path", "required": true, "schema": { "type": "string", "title": "Uuid" } }, { "name": "node_uuid", "in": "query", "required": true, "schema": { "type": "string", "title": "Node Uuid" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Message" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/processes/{uuid}/detach_node": { "post": { "tags": ["Process"], "summary": "Detach Node From Process", "operationId": "detach_node_from_process_processes__uuid__detach_node_post", "parameters": [ { "name": "uuid", "in": "path", "required": true, "schema": { "type": "string", "title": "Uuid" } }, { "name": "node_uuid", "in": "query", "required": true, "schema": { "type": "string", "title": "Node Uuid" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Message" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/events/": { "get": { "tags": ["[Legacy] Event"], "summary": "Read Events", "operationId": "read_events_events__get", "parameters": [ { "name": "start_time", "in": "query", "required": false, "schema": { "type": "string", "format": "date-time", "default": "2025-05-16T15:28:05.575928", "title": "Start Time" } }, { "name": "end_time", "in": "query", "required": false, "schema": { "type": "string", "format": "date-time", "default": "2025-05-17T15:28:05.575929", "title": "End Time" } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "default": 0, "title": "Offset" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "default": 100, "title": "Limit" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Event" }, "title": "Response Read Events Events Get" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "post": { "tags": ["[Legacy] Event"], "summary": "Create Event", "operationId": "create_event_events__post", "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EventCreate" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Event" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/events/{uuid}": { "get": { "tags": ["[Legacy] Event"], "summary": "Read Event", "operationId": "read_event_events__uuid__get", "parameters": [ { "name": "uuid", "in": "path", "required": true, "schema": { "type": "string", "title": "Uuid" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Event" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "put": { "tags": ["[Legacy] Event"], "summary": "Update Event", "operationId": "update_event_events__uuid__put", "parameters": [ { "name": "uuid", "in": "path", "required": true, "schema": { "type": "string", "title": "Uuid" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EventUpdate" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Message" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "delete": { "tags": ["[Legacy] Event"], "summary": "Delete Event", "operationId": "delete_event_events__uuid__delete", "parameters": [ { "name": "uuid", "in": "path", "required": true, "schema": { "type": "string", "title": "Uuid" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Message" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } } }, "components": { "schemas": { "Dependency": { "properties": { "id": { "type": "string", "title": "Id" }, "needs": { "items": { "$ref": "#/components/schemas/Edge" }, "type": "array", "title": "Needs" } }, "type": "object", "required": ["id", "needs"], "title": "Dependency" }, "Edge": { "properties": { "id": { "type": "string", "title": "Id" }, "type": { "type": "string", "title": "Type", "default": "hard" } }, "type": "object", "required": ["id"], "title": "Edge" }, "Event": { "properties": { "type": { "type": "string", "title": "Type" }, "description": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Description" }, "start_time": { "type": "string", "format": "date-time", "title": "Start Time" }, "end_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "End Time" }, "id": { "type": "string", "title": "Id" }, "series_id": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Series Id" }, "process_id": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Process Id" } }, "type": "object", "required": ["type", "start_time", "id"], "title": "Event" }, "EventCreate": { "properties": { "type": { "type": "string", "title": "Type" }, "description": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Description" }, "start_time": { "type": "string", "format": "date-time", "title": "Start Time" }, "end_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "End Time" } }, "additionalProperties": false, "type": "object", "required": ["type", "start_time"], "title": "EventCreate" }, "EventPayload": { "properties": { "type": { "type": "string", "title": "Type" }, "description": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Description" }, "start_time": { "type": "string", "format": "date-time", "title": "Start Time" }, "end_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "End Time" }, "id": { "type": "string", "format": "uuid4", "title": "Id" } }, "additionalProperties": false, "type": "object", "required": ["type", "start_time", "id"], "title": "EventPayload" }, "EventUpdate": { "properties": { "type": { "type": "string", "title": "Type" }, "description": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Description" }, "start_time": { "type": "string", "format": "date-time", "title": "Start Time" }, "end_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "End Time" } }, "additionalProperties": false, "type": "object", "required": ["type", "start_time"], "title": "EventUpdate" }, "HTTPValidationError": { "properties": { "detail": { "items": { "$ref": "#/components/schemas/ValidationError" }, "type": "array", "title": "Detail" } }, "type": "object", "title": "HTTPValidationError" }, "JsonValue": {}, "Message": { "properties": { "message": { "type": "string", "title": "Message" } }, "type": "object", "required": ["message"], "title": "Message", "description": "Schema for Message." }, "Process": { "properties": { "graph": { "items": { "$ref": "#/components/schemas/Dependency" }, "type": "array", "title": "Graph" }, "id": { "type": "string", "title": "Id" } }, "type": "object", "required": ["graph", "id"], "title": "Process" }, "ProcessCreate": { "properties": { "graph": { "items": { "$ref": "#/components/schemas/Dependency" }, "type": "array", "title": "Graph" } }, "additionalProperties": false, "type": "object", "required": ["graph"], "title": "ProcessCreate" }, "ProcessPayload": { "properties": { "graph": { "items": { "$ref": "#/components/schemas/Dependency" }, "type": "array", "title": "Graph" }, "id": { "type": "string", "format": "uuid4", "title": "Id" } }, "additionalProperties": false, "type": "object", "required": ["graph", "id"], "title": "ProcessPayload" }, "ProcessUpdate": { "properties": { "graph": { "items": { "$ref": "#/components/schemas/Dependency" }, "type": "array", "title": "Graph" } }, "additionalProperties": false, "type": "object", "required": ["graph"], "title": "ProcessUpdate" }, "Schedule": { "properties": { "tasks": { "items": { "$ref": "#/components/schemas/Task" }, "type": "array", "title": "Tasks" }, "processes": { "items": { "$ref": "#/components/schemas/Process" }, "type": "array", "title": "Processes" } }, "additionalProperties": false, "type": "object", "required": ["tasks", "processes"], "title": "Schedule" }, "ScheduleAction": { "properties": { "type": { "type": "string", "title": "Type" }, "id": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Id" }, "event": { "anyOf": [ { "$ref": "#/components/schemas/EventPayload" }, { "type": "null" } ] }, "task": { "anyOf": [ { "$ref": "#/components/schemas/TaskPayload" }, { "type": "null" } ] }, "process": { "anyOf": [ { "$ref": "#/components/schemas/ProcessPayload" }, { "type": "null" } ] }, "node_id": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Node Id" }, "source_id": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Source Id" }, "destination_id": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Destination Id" }, "edge_type": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Edge Type" } }, "additionalProperties": false, "type": "object", "required": ["type"], "title": "ScheduleAction" }, "Task": { "properties": { "type": { "type": "string", "title": "Type" }, "description": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Description" }, "start_time": { "type": "string", "format": "date-time", "title": "Start Time" }, "end_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "End Time" }, "resource_id": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Resource Id" }, "deadline": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Deadline" }, "task_details": { "anyOf": [ { "$ref": "#/components/schemas/JsonValue" }, { "type": "null" } ] }, "id": { "type": "string", "title": "Id" }, "series_id": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Series Id" }, "process_id": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Process Id" }, "status": { "type": "string", "title": "Status" }, "planned_start_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Planned Start Time" }, "planned_end_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Planned End Time" }, "estimated_duration": { "anyOf": [ { "type": "string", "format": "duration" }, { "type": "null" } ], "title": "Estimated Duration" }, "actual_start_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Actual Start Time" }, "actual_end_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Actual End Time" } }, "type": "object", "required": ["type", "start_time", "id", "status"], "title": "Task" }, "TaskCreate": { "properties": { "type": { "type": "string", "title": "Type" }, "description": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Description" }, "start_time": { "type": "string", "format": "date-time", "title": "Start Time" }, "end_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "End Time" }, "resource_id": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Resource Id" }, "deadline": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Deadline" }, "task_details": { "anyOf": [ { "$ref": "#/components/schemas/JsonValue" }, { "type": "null" } ] } }, "additionalProperties": false, "type": "object", "required": ["type", "start_time"], "title": "TaskCreate" }, "TaskPayload": { "properties": { "type": { "type": "string", "title": "Type" }, "description": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Description" }, "start_time": { "type": "string", "format": "date-time", "title": "Start Time" }, "end_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "End Time" }, "resource_id": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Resource Id" }, "deadline": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Deadline" }, "task_details": { "anyOf": [ { "$ref": "#/components/schemas/JsonValue" }, { "type": "null" } ] }, "id": { "type": "string", "format": "uuid4", "title": "Id" } }, "additionalProperties": false, "type": "object", "required": ["type", "start_time", "id"], "title": "TaskPayload" }, "TaskUpdate": { "properties": { "type": { "type": "string", "title": "Type" }, "description": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Description" }, "start_time": { "type": "string", "format": "date-time", "title": "Start Time" }, "end_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "End Time" }, "resource_id": { "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Resource Id" }, "deadline": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Deadline" }, "task_details": { "anyOf": [ { "$ref": "#/components/schemas/JsonValue" }, { "type": "null" } ] } }, "additionalProperties": false, "type": "object", "required": ["type", "start_time"], "title": "TaskUpdate" }, "ValidationError": { "properties": { "loc": { "items": { "anyOf": [{ "type": "string" }, { "type": "integer" }] }, "type": "array", "title": "Location" }, "msg": { "type": "string", "title": "Message" }, "type": { "type": "string", "title": "Error Type" } }, "type": "object", "required": ["loc", "msg", "type"], "title": "ValidationError" } } } }