{
  "openapi": "3.1.0",
  "info": {
    "title": "Tasking API",
    "contact": {
      "name": "3s API Team",
      "url": "https://developers.spire.com/tasking_api",
      "email": "fabio.battaglia@spire.com"
    },
    "version": "2.16.0"
  },
  "servers": [
    {
      "url": "https://api.orb.spire.com"
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "paths": {
    "/tasking/satellites": {
      "get": {
        "tags": [
          "satellites"
        ],
        "summary": "Get Satellites For User",
        "operationId": "get_satellites_for_user",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIOutput_Sequence_Satellite__"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/tasking/satellite/{satellite_id}": {
      "get": {
        "tags": [
          "satellites"
        ],
        "summary": "Get By Satellite Id",
        "operationId": "get_by_satellite_id",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "satellite_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Satellite Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SatelliteTransitData"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/tasking/contacts": {
      "get": {
        "tags": [
          "contacts"
        ],
        "summary": "Get Contacts",
        "operationId": "get_contacts",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "satellite_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Satellite Id"
            }
          },
          {
            "name": "start_gt",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "Unix timestamp: An \"lower\" bound, returns all contacts with start time greater than the provided epoch. May be used with or without the start_lt argument",
              "examples": [
                1664186708
              ],
              "title": "Start Gt"
            },
            "description": "Unix timestamp: An \"lower\" bound, returns all contacts with start time greater than the provided epoch. May be used with or without the start_lt argument"
          },
          {
            "name": "start_lt",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Start Lt"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContactsOutput"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/tasking/window": {
      "get": {
        "tags": [
          "windows"
        ],
        "summary": "Get Single Window",
        "operationId": "get_single_window",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIOutput_SingleWindow_"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "windows"
        ],
        "summary": "Delete Window",
        "operationId": "delete_window",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIOutput_BaseWindowOutput_"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "windows"
        ],
        "summary": "Post Window",
        "operationId": "post_window",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostWindowInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIOutput_PostWindowOutput_"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/tasking/windows": {
      "get": {
        "tags": [
          "windows"
        ],
        "summary": "Get Windows",
        "operationId": "get_windows",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "satellite_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "title": "Satellite Id"
            }
          },
          {
            "name": "plw_start_lt",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Plw Start Lt"
            }
          },
          {
            "name": "plw_start_gt",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time",
              "examples": [
                1664186708
              ],
              "title": "Plw Start Gt"
            }
          },
          {
            "name": "window_type",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Window Type"
            }
          },
          {
            "name": "scheduler_type",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TKBookingType"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Scheduler Type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WindowsOutput"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/tasking/availability": {
      "get": {
        "tags": [
          "availability"
        ],
        "summary": "Get Availability",
        "operationId": "get_availability",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "window_type",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/TaskingWindowTypes"
            }
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "title": "Start"
            }
          },
          {
            "name": "duration",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "title": "Duration"
            }
          },
          {
            "name": "satellite_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Satellite Id"
            }
          },
          {
            "name": "paired_satellite_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Paired Satellite Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIOutput_Availabilities_"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/tasking/v2/availability": {
      "get": {
        "tags": [
          "availability"
        ],
        "summary": "Get Priority Availability",
        "operationId": "get_priority_availability",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "window_type",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/TaskingWindowTypes"
            }
          },
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "title": "Start"
            }
          },
          {
            "name": "duration",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "title": "Duration"
            }
          },
          {
            "name": "satellite_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Satellite Id"
            }
          },
          {
            "name": "paired_satellite_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Paired Satellite Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIOutput_Availabilities_"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/tasking/upload": {
      "post": {
        "tags": [
          "uploads"
        ],
        "summary": "Upload File",
        "operationId": "upload_file",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "satellite_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "title": "Satellite Id"
            }
          },
          {
            "name": "destination_path",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Destination Path"
            }
          },
          {
            "name": "payload",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Payload"
            }
          },
          {
            "name": "executable",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean",
              "title": "Executable"
            }
          },
          {
            "name": "itar",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Itar"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Body_upload_file"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIOutput_UploadOutput_"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "uploads"
        ],
        "summary": "Delete Uploaded File",
        "operationId": "delete_uploaded_file",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid4",
              "title": "Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIOutput_UploadOutput_"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "uploads"
        ],
        "summary": "Get Single Upload",
        "operationId": "get_single_upload",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid4",
              "title": "Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIOutput_SingleUpload_"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/tasking/uploads": {
      "get": {
        "tags": [
          "uploads"
        ],
        "summary": "Get Uploads",
        "operationId": "get_uploads",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIOutput_Sequence_SingleUpload__"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/tasking/quota": {
      "get": {
        "tags": [
          "quota"
        ],
        "summary": "Get Quota",
        "operationId": "get_quota",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "title": "Start"
            }
          },
          {
            "name": "duration",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "title": "Duration"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIOutput_Quotas_"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/tasking/config": {
      "post": {
        "tags": [
          "configuration manager"
        ],
        "summary": "Add Config",
        "operationId": "add_config",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutputConfig"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/tasking/configs": {
      "get": {
        "tags": [
          "configuration manager"
        ],
        "summary": "Get All Configs",
        "operationId": "get_all_configs",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "skip",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 0,
              "title": "Skip"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "filename",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Filename"
            }
          },
          {
            "name": "destination_path",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Destination Path"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OutputConfig"
                  },
                  "title": "Response Get All Configs"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/tasking/config/{config_id}": {
      "get": {
        "tags": [
          "configuration manager"
        ],
        "summary": "Get Config File",
        "operationId": "get_config_file",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "config_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid4",
              "title": "Config Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentOutputConfig"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "configuration manager"
        ],
        "summary": "Delete Config File",
        "operationId": "delete_config_file",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "config_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid4",
              "title": "Config Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/tasking/config/{config_id}/reapply": {
      "post": {
        "tags": [
          "configuration manager"
        ],
        "summary": "Add Historical Config",
        "operationId": "add_historical_config",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "config_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid4",
              "title": "Config Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutputConfig"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/tasking/meta/geoconstraints": {
      "get": {
        "tags": [
          "meta"
        ],
        "summary": "Get User Geoconstraints",
        "operationId": "get_user_geoconstraints",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/GeoConstraintRulesOutput"
                  },
                  "type": "array",
                  "title": "Response Get User Geoconstraints"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/tasking/meta/schema/{window_type}": {
      "get": {
        "tags": [
          "meta"
        ],
        "summary": "Get Payload Window Jsonschema",
        "operationId": "get_payload_window_jsonschema",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "window_type",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Window Type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayloadWindowSchema"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/tasking/block": {
      "post": {
        "tags": [
          "satellites"
        ],
        "summary": "Post Payload Blocked State",
        "operationId": "post_payload_blocked_state",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "delete_existing_bookings",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Desyncing future bookings for this user, satellite, payload",
              "default": false,
              "title": "Delete Existing Bookings"
            },
            "description": "Desyncing future bookings for this user, satellite, payload"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PayloadBlockInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostPayloadBlockData"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "satellites"
        ],
        "summary": "Delete Payload Blocked State",
        "operationId": "delete_payload_blocked_state",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "satellite_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Satellite Id"
            }
          },
          {
            "name": "payload",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Payload"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/tasking/blocked": {
      "get": {
        "tags": [
          "satellites"
        ],
        "summary": "Get Blocked State Details",
        "operationId": "get_blocked_state_details",
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "satellite_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Satellite Id"
            }
          },
          {
            "name": "payload",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Payload"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayloadState"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/tasking/blocks": {
      "get": {
        "tags": [
          "satellites"
        ],
        "summary": "Get All Blocked States",
        "operationId": "get_all_blocked_states",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/PayloadBlockData"
                  },
                  "type": "array",
                  "title": "Response Get All Blocked States"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestFault"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "APIOutput_Availabilities_": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Availabilities"
          }
        },
        "type": "object",
        "required": [
          "data"
        ],
        "title": "APIOutput[Availabilities]"
      },
      "APIOutput_BaseWindowOutput_": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BaseWindowOutput"
          }
        },
        "type": "object",
        "required": [
          "data"
        ],
        "title": "APIOutput[BaseWindowOutput]"
      },
      "APIOutput_PostWindowOutput_": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PostWindowOutput"
          }
        },
        "type": "object",
        "required": [
          "data"
        ],
        "title": "APIOutput[PostWindowOutput]"
      },
      "APIOutput_Quotas_": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Quotas"
          }
        },
        "type": "object",
        "required": [
          "data"
        ],
        "title": "APIOutput[Quotas]"
      },
      "APIOutput_Sequence_Satellite__": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Satellite"
            },
            "type": "array",
            "title": "Data"
          }
        },
        "type": "object",
        "required": [
          "data"
        ],
        "title": "APIOutput[Sequence[Satellite]]"
      },
      "APIOutput_Sequence_SingleUpload__": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/SingleUpload"
            },
            "type": "array",
            "title": "Data"
          }
        },
        "type": "object",
        "required": [
          "data"
        ],
        "title": "APIOutput[Sequence[SingleUpload]]"
      },
      "APIOutput_SingleUpload_": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SingleUpload"
          }
        },
        "type": "object",
        "required": [
          "data"
        ],
        "title": "APIOutput[SingleUpload]"
      },
      "APIOutput_SingleWindow_": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SingleWindow"
          }
        },
        "type": "object",
        "required": [
          "data"
        ],
        "title": "APIOutput[SingleWindow]"
      },
      "APIOutput_UploadOutput_": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/UploadOutput"
          }
        },
        "type": "object",
        "required": [
          "data"
        ],
        "title": "APIOutput[UploadOutput]"
      },
      "Availabilities": {
        "properties": {
          "available": {
            "items": {
              "$ref": "#/components/schemas/Availability"
            },
            "type": "array",
            "title": "Available",
            "description": "List of availability periods during which the window can be scheduled"
          },
          "priority_displacements": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/PriorityDisplacement"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Priority Displacements",
            "description": "Windows that would be displaced if you book in these slots"
          }
        },
        "type": "object",
        "required": [
          "available"
        ],
        "title": "Availabilities"
      },
      "Availability": {
        "properties": {
          "start": {
            "type": "integer",
            "title": "Start",
            "description": "UNIX timestamp of the beginning of an availability period"
          },
          "end": {
            "type": "integer",
            "title": "End",
            "description": "UNIX timestamp of the end of an availability period"
          }
        },
        "type": "object",
        "required": [
          "start",
          "end"
        ],
        "title": "Availability"
      },
      "BaseWindowOutput": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "description": "Identifier of the windows as returned during a call to POST /tasking/window",
            "examples": [
              "4029855"
            ]
          }
        },
        "type": "object",
        "required": [
          "id"
        ],
        "title": "BaseWindowOutput"
      },
      "BlackoutPeriod": {
        "properties": {
          "before_s": {
            "type": "number",
            "title": "Before S"
          },
          "after_s": {
            "type": "number",
            "title": "After S"
          }
        },
        "type": "object",
        "required": [
          "before_s",
          "after_s"
        ],
        "title": "BlackoutPeriod"
      },
      "Body_upload_file": {
        "properties": {
          "file": {
            "type": "string",
            "format": "binary",
            "title": "File"
          }
        },
        "type": "object",
        "required": [
          "file"
        ],
        "title": "Body_upload_file"
      },
      "ConfigInput": {
        "properties": {
          "destination_path": {
            "type": "string",
            "title": "Destination Path"
          },
          "payload": {
            "type": "string",
            "title": "Payload"
          },
          "config_file": {
            "type": "string",
            "title": "Config File"
          },
          "filename": {
            "type": "string",
            "title": "Filename"
          },
          "satellite_ids": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Satellite Ids"
          }
        },
        "type": "object",
        "required": [
          "destination_path",
          "payload",
          "config_file",
          "filename",
          "satellite_ids"
        ],
        "title": "ConfigInput"
      },
      "Contact": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "description": "Contact Identifier",
            "examples": [
              "4029855"
            ]
          },
          "satellite_id": {
            "type": "string",
            "title": "Satellite Id",
            "examples": [
              "FM123"
            ]
          },
          "state": {
            "$ref": "#/components/schemas/WindowState"
          },
          "type": {
            "$ref": "#/components/schemas/ContactType"
          },
          "start": {
            "type": "integer",
            "title": "Start",
            "description": "UNIX timestamp of the beginning of the contact"
          },
          "duration": {
            "type": "integer",
            "title": "Duration",
            "description": "Duration of the contact in seconds",
            "examples": [
              60
            ]
          },
          "contact_band_uplink": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ContactBand"
              },
              {
                "type": "null"
              }
            ],
            "description": "Uplink (ground-to-space) band: X, S, UHF, or Unknown. None for TXO contacts, which have no uplink.",
            "examples": [
              "S"
            ]
          },
          "contact_band_downlink": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ContactBand"
              },
              {
                "type": "null"
              }
            ],
            "description": "Downlink (space-to-ground) band: X, S, UHF, or Unknown. None for RXO contacts, which have no downlink.",
            "examples": [
              "X"
            ]
          }
        },
        "type": "object",
        "required": [
          "id",
          "satellite_id",
          "state",
          "type",
          "start",
          "duration",
          "contact_band_uplink",
          "contact_band_downlink"
        ],
        "title": "Contact"
      },
      "ContactBand": {
        "type": "string",
        "enum": [
          "X",
          "S",
          "UHF",
          "Unknown"
        ],
        "title": "ContactBand"
      },
      "ContactType": {
        "type": "string",
        "enum": [
          "BIDIR",
          "TXO",
          "RXO"
        ],
        "title": "ContactType"
      },
      "ContactsOutput": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Contact"
            },
            "type": "array",
            "title": "Data"
          },
          "next": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next"
          }
        },
        "type": "object",
        "required": [
          "data"
        ],
        "title": "ContactsOutput"
      },
      "ContentOutputConfig": {
        "properties": {
          "uploads": {
            "items": {
              "$ref": "#/components/schemas/UploadData"
            },
            "type": "array",
            "title": "Uploads"
          },
          "payload": {
            "type": "string",
            "title": "Payload"
          },
          "id": {
            "type": "string",
            "format": "uuid4",
            "title": "Id"
          },
          "user_id": {
            "type": "string",
            "title": "User Id"
          },
          "filename": {
            "type": "string",
            "title": "Filename"
          },
          "destination_path": {
            "type": "string",
            "title": "Destination Path"
          },
          "created_on": {
            "type": "string",
            "format": "date-time",
            "title": "Created On"
          },
          "content": {
            "type": "string",
            "title": "Content"
          }
        },
        "type": "object",
        "required": [
          "uploads",
          "payload",
          "id",
          "user_id",
          "filename",
          "destination_path",
          "created_on",
          "content"
        ],
        "title": "ContentOutputConfig"
      },
      "Fault": {
        "properties": {
          "faultstring": {
            "type": "string",
            "title": "Faultstring"
          },
          "details": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Details"
          }
        },
        "type": "object",
        "required": [
          "faultstring",
          "details"
        ],
        "title": "Fault"
      },
      "GeoConstraintRulesOutput": {
        "properties": {
          "geometries": {
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/Point"
                },
                {
                  "$ref": "#/components/schemas/MultiPoint"
                },
                {
                  "$ref": "#/components/schemas/LineString"
                },
                {
                  "$ref": "#/components/schemas/MultiLineString"
                },
                {
                  "$ref": "#/components/schemas/Polygon"
                },
                {
                  "$ref": "#/components/schemas/MultiPolygon"
                },
                {
                  "$ref": "#/components/schemas/GeometryCollection-Output"
                }
              ],
              "discriminator": {
                "propertyName": "type",
                "mapping": {
                  "GeometryCollection": "#/components/schemas/GeometryCollection-Output",
                  "LineString": "#/components/schemas/LineString",
                  "MultiLineString": "#/components/schemas/MultiLineString",
                  "MultiPoint": "#/components/schemas/MultiPoint",
                  "MultiPolygon": "#/components/schemas/MultiPolygon",
                  "Point": "#/components/schemas/Point",
                  "Polygon": "#/components/schemas/Polygon"
                }
              }
            },
            "type": "array",
            "title": "Geometries"
          },
          "satellite_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Satellite Id"
          },
          "window_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Window Type"
          }
        },
        "type": "object",
        "required": [
          "geometries"
        ],
        "title": "GeoConstraintRulesOutput"
      },
      "GeometryCollection-Output": {
        "properties": {
          "bbox": {
            "anyOf": [
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 4,
                "minItems": 4
              },
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 6,
                "minItems": 6
              },
              {
                "type": "null"
              }
            ],
            "title": "Bbox"
          },
          "type": {
            "type": "string",
            "const": "GeometryCollection",
            "title": "Type"
          },
          "geometries": {
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/Point"
                },
                {
                  "$ref": "#/components/schemas/MultiPoint"
                },
                {
                  "$ref": "#/components/schemas/LineString"
                },
                {
                  "$ref": "#/components/schemas/MultiLineString"
                },
                {
                  "$ref": "#/components/schemas/Polygon"
                },
                {
                  "$ref": "#/components/schemas/MultiPolygon"
                },
                {
                  "$ref": "#/components/schemas/GeometryCollection-Output"
                }
              ],
              "discriminator": {
                "propertyName": "type",
                "mapping": {
                  "GeometryCollection": "#/components/schemas/GeometryCollection-Output",
                  "LineString": "#/components/schemas/LineString",
                  "MultiLineString": "#/components/schemas/MultiLineString",
                  "MultiPoint": "#/components/schemas/MultiPoint",
                  "MultiPolygon": "#/components/schemas/MultiPolygon",
                  "Point": "#/components/schemas/Point",
                  "Polygon": "#/components/schemas/Polygon"
                }
              }
            },
            "type": "array",
            "title": "Geometries"
          }
        },
        "type": "object",
        "required": [
          "type",
          "geometries"
        ],
        "title": "GeometryCollection",
        "description": "GeometryCollection Model"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "LineString": {
        "properties": {
          "bbox": {
            "anyOf": [
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 4,
                "minItems": 4
              },
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 6,
                "minItems": 6
              },
              {
                "type": "null"
              }
            ],
            "title": "Bbox"
          },
          "type": {
            "type": "string",
            "const": "LineString",
            "title": "Type"
          },
          "coordinates": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Position2D"
                },
                {
                  "$ref": "#/components/schemas/Position3D"
                }
              ]
            },
            "type": "array",
            "minItems": 2,
            "title": "Coordinates"
          }
        },
        "type": "object",
        "required": [
          "type",
          "coordinates"
        ],
        "title": "LineString",
        "description": "LineString Model"
      },
      "MultiLineString": {
        "properties": {
          "bbox": {
            "anyOf": [
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 4,
                "minItems": 4
              },
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 6,
                "minItems": 6
              },
              {
                "type": "null"
              }
            ],
            "title": "Bbox"
          },
          "type": {
            "type": "string",
            "const": "MultiLineString",
            "title": "Type"
          },
          "coordinates": {
            "items": {
              "items": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Position2D"
                  },
                  {
                    "$ref": "#/components/schemas/Position3D"
                  }
                ]
              },
              "type": "array",
              "minItems": 2
            },
            "type": "array",
            "title": "Coordinates"
          }
        },
        "type": "object",
        "required": [
          "type",
          "coordinates"
        ],
        "title": "MultiLineString",
        "description": "MultiLineString Model"
      },
      "MultiPoint": {
        "properties": {
          "bbox": {
            "anyOf": [
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 4,
                "minItems": 4
              },
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 6,
                "minItems": 6
              },
              {
                "type": "null"
              }
            ],
            "title": "Bbox"
          },
          "type": {
            "type": "string",
            "const": "MultiPoint",
            "title": "Type"
          },
          "coordinates": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Position2D"
                },
                {
                  "$ref": "#/components/schemas/Position3D"
                }
              ]
            },
            "type": "array",
            "title": "Coordinates"
          }
        },
        "type": "object",
        "required": [
          "type",
          "coordinates"
        ],
        "title": "MultiPoint",
        "description": "MultiPoint Model"
      },
      "MultiPolygon": {
        "properties": {
          "bbox": {
            "anyOf": [
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 4,
                "minItems": 4
              },
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 6,
                "minItems": 6
              },
              {
                "type": "null"
              }
            ],
            "title": "Bbox"
          },
          "type": {
            "type": "string",
            "const": "MultiPolygon",
            "title": "Type"
          },
          "coordinates": {
            "items": {
              "items": {
                "items": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Position2D"
                    },
                    {
                      "$ref": "#/components/schemas/Position3D"
                    }
                  ]
                },
                "type": "array",
                "minItems": 4
              },
              "type": "array"
            },
            "type": "array",
            "title": "Coordinates"
          }
        },
        "type": "object",
        "required": [
          "type",
          "coordinates"
        ],
        "title": "MultiPolygon",
        "description": "MultiPolygon Model"
      },
      "OrbitalElementData": {
        "properties": {
          "tle": {
            "$ref": "#/components/schemas/TLEData"
          },
          "omm": {
            "additionalProperties": true,
            "type": "object",
            "title": "Omm"
          }
        },
        "type": "object",
        "required": [
          "tle",
          "omm"
        ],
        "title": "OrbitalElementData"
      },
      "OutputConfig": {
        "properties": {
          "uploads": {
            "items": {
              "$ref": "#/components/schemas/UploadData"
            },
            "type": "array",
            "title": "Uploads"
          },
          "payload": {
            "type": "string",
            "title": "Payload"
          },
          "id": {
            "type": "string",
            "format": "uuid4",
            "title": "Id"
          },
          "user_id": {
            "type": "string",
            "title": "User Id"
          },
          "filename": {
            "type": "string",
            "title": "Filename"
          },
          "destination_path": {
            "type": "string",
            "title": "Destination Path"
          },
          "created_on": {
            "type": "string",
            "format": "date-time",
            "title": "Created On"
          }
        },
        "type": "object",
        "required": [
          "uploads",
          "payload",
          "id",
          "user_id",
          "filename",
          "destination_path",
          "created_on"
        ],
        "title": "OutputConfig"
      },
      "PayloadBlockData": {
        "properties": {
          "payload": {
            "type": "string",
            "title": "Payload"
          },
          "satellite_id": {
            "type": "string",
            "title": "Satellite Id"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "created_on": {
            "type": "number",
            "title": "Created On"
          }
        },
        "type": "object",
        "required": [
          "payload",
          "satellite_id",
          "created_on"
        ],
        "title": "PayloadBlockData"
      },
      "PayloadBlockInput": {
        "properties": {
          "payload": {
            "type": "string",
            "title": "Payload"
          },
          "satellite_id": {
            "type": "string",
            "title": "Satellite Id"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          }
        },
        "type": "object",
        "required": [
          "payload",
          "satellite_id"
        ],
        "title": "PayloadBlockInput"
      },
      "PayloadState": {
        "properties": {
          "state": {
            "$ref": "#/components/schemas/State"
          },
          "info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PayloadBlockData"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object",
        "required": [
          "state"
        ],
        "title": "PayloadState"
      },
      "PayloadWindowSchema": {
        "properties": {
          "json_schema": {
            "additionalProperties": true,
            "type": "object",
            "title": "Json Schema"
          },
          "bw_periods": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BlackoutPeriod"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object",
        "required": [
          "json_schema",
          "bw_periods"
        ],
        "title": "PayloadWindowSchema"
      },
      "Point": {
        "properties": {
          "bbox": {
            "anyOf": [
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 4,
                "minItems": 4
              },
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 6,
                "minItems": 6
              },
              {
                "type": "null"
              }
            ],
            "title": "Bbox"
          },
          "type": {
            "type": "string",
            "const": "Point",
            "title": "Type"
          },
          "coordinates": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Position2D"
              },
              {
                "$ref": "#/components/schemas/Position3D"
              }
            ],
            "title": "Coordinates"
          }
        },
        "type": "object",
        "required": [
          "type",
          "coordinates"
        ],
        "title": "Point",
        "description": "Point Model"
      },
      "Polygon": {
        "properties": {
          "bbox": {
            "anyOf": [
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 4,
                "minItems": 4
              },
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 6,
                "minItems": 6
              },
              {
                "type": "null"
              }
            ],
            "title": "Bbox"
          },
          "type": {
            "type": "string",
            "const": "Polygon",
            "title": "Type"
          },
          "coordinates": {
            "items": {
              "items": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Position2D"
                  },
                  {
                    "$ref": "#/components/schemas/Position3D"
                  }
                ]
              },
              "type": "array",
              "minItems": 4
            },
            "type": "array",
            "title": "Coordinates"
          }
        },
        "type": "object",
        "required": [
          "type",
          "coordinates"
        ],
        "title": "Polygon",
        "description": "Polygon Model"
      },
      "Position2D": {
        "prefixItems": [
          {
            "type": "number",
            "title": "Longitude"
          },
          {
            "type": "number",
            "title": "Latitude"
          }
        ],
        "type": "array",
        "maxItems": 2,
        "minItems": 2
      },
      "Position3D": {
        "prefixItems": [
          {
            "type": "number",
            "title": "Longitude"
          },
          {
            "type": "number",
            "title": "Latitude"
          },
          {
            "type": "number",
            "title": "Altitude"
          }
        ],
        "type": "array",
        "maxItems": 3,
        "minItems": 3
      },
      "PostPayloadBlockData": {
        "properties": {
          "payload": {
            "type": "string",
            "title": "Payload"
          },
          "satellite_id": {
            "type": "string",
            "title": "Satellite Id"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "created_on": {
            "type": "number",
            "title": "Created On"
          },
          "failed_window_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Failed Window Ids"
          }
        },
        "type": "object",
        "required": [
          "payload",
          "satellite_id",
          "created_on"
        ],
        "title": "PostPayloadBlockData"
      },
      "PostWindowInput": {
        "properties": {
          "satellite_id": {
            "type": "string",
            "minLength": 1,
            "title": "Satellite Id",
            "examples": [
              "FM123"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/TaskingWindowTypes"
          },
          "start": {
            "type": "string",
            "format": "date-time",
            "title": "Start",
            "examples": [
              1664186708
            ]
          },
          "duration": {
            "type": "integer",
            "title": "Duration",
            "description": "Duration of the window in seconds",
            "examples": [
              60
            ]
          },
          "parameters": {
            "additionalProperties": true,
            "type": "object",
            "title": "Parameters",
            "description": "Window parameters",
            "examples": [
              {
                "user_command": {
                  "executable": "/persist/bin/generate_waveform.sh",
                  "executable_arguments": [
                    "--period",
                    "100",
                    "--amplitude",
                    "200"
                  ]
                }
              }
            ]
          },
          "ignore_checks": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Ignore Checks",
            "default": [],
            "examples": [
              "geolocation"
            ]
          },
          "schedule_context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ScheduleContext"
              },
              {
                "type": "null"
              }
            ],
            "examples": [
              {
                "scheduler_id": "63cfbd09-4095-41dd-b89e-ab1a7f95f63e",
                "scheduler_name": "payload-scheduler-production-magquest",
                "type": "automated"
              }
            ]
          }
        },
        "type": "object",
        "required": [
          "satellite_id",
          "type",
          "start",
          "duration",
          "parameters"
        ],
        "title": "PostWindowInput"
      },
      "PostWindowOutput": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "description": "Identifier of the windows as returned during a call to POST /tasking/window",
            "examples": [
              "4029855"
            ]
          },
          "paired_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Paired Id",
            "description": "Identifier of the PAIRED window as returned during a call to POST /tasking/window",
            "examples": [
              "4029855"
            ]
          }
        },
        "type": "object",
        "required": [
          "id"
        ],
        "title": "PostWindowOutput"
      },
      "PriorityDisplacement": {
        "properties": {
          "start": {
            "type": "integer",
            "title": "Start",
            "description": "UNIX timestamp of displaced window start"
          },
          "end": {
            "type": "integer",
            "title": "End",
            "description": "UNIX timestamp of displaced window end"
          },
          "rule_id": {
            "type": "string",
            "title": "Rule Id",
            "description": "Priority rule ID that allows displacement"
          }
        },
        "type": "object",
        "required": [
          "start",
          "end",
          "rule_id"
        ],
        "title": "PriorityDisplacement"
      },
      "Quota": {
        "properties": {
          "scope": {
            "$ref": "#/components/schemas/QuotaScope",
            "description": "The scope of quota"
          },
          "resource": {
            "$ref": "#/components/schemas/QuotaResource",
            "description": "The quota resource type e.g. tasking_duration"
          },
          "usage": {
            "type": "number",
            "title": "Usage",
            "description": "The quota usage for the session"
          },
          "quota": {
            "type": "number",
            "title": "Quota",
            "description": "The quota allowance for the session"
          },
          "unit": {
            "type": "string",
            "title": "Unit",
            "description": "The unit of measurement for the quota and usage values"
          },
          "quota_start": {
            "type": "integer",
            "title": "Quota Start",
            "description": "The quota session start timestamp"
          },
          "quota_end": {
            "type": "integer",
            "title": "Quota End",
            "description": "The quota session end timestamp"
          },
          "basis": {
            "$ref": "#/components/schemas/QuotaTimeBasis",
            "description": "The time basis for the quota e.g. PER_DAY"
          },
          "window_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Window Type",
            "description": "The window type if the quota is window-specific."
          },
          "satellite_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Satellite Id",
            "description": "The satellite id if the quota is satellite-specific."
          }
        },
        "type": "object",
        "required": [
          "scope",
          "resource",
          "usage",
          "quota",
          "unit",
          "quota_start",
          "quota_end",
          "basis"
        ],
        "title": "Quota"
      },
      "QuotaResource": {
        "type": "string",
        "enum": [
          "TASKING_DURATION",
          "DATA_GENERATION_VOLUME"
        ],
        "title": "QuotaResource"
      },
      "QuotaScope": {
        "type": "string",
        "enum": [
          "PER_SATELLITE",
          "GLOBAL",
          "PER_WINDOW"
        ],
        "title": "QuotaScope"
      },
      "QuotaTimeBasis": {
        "type": "string",
        "enum": [
          "PER_DAY"
        ],
        "title": "QuotaTimeBasis"
      },
      "Quotas": {
        "properties": {
          "quotas": {
            "items": {
              "$ref": "#/components/schemas/Quota"
            },
            "type": "array",
            "title": "Quotas",
            "description": "List of quotas"
          }
        },
        "type": "object",
        "required": [
          "quotas"
        ],
        "title": "Quotas"
      },
      "RequestFault": {
        "properties": {
          "fault": {
            "$ref": "#/components/schemas/Fault"
          }
        },
        "type": "object",
        "required": [
          "fault"
        ],
        "title": "RequestFault"
      },
      "Satellite": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "description": "Satellite identifier that should be used for the other queries",
            "examples": [
              "FM123"
            ]
          },
          "norad_id": {
            "type": "string",
            "title": "Norad Id",
            "description": "Norad ID. Used to match the satellite with a TLE",
            "examples": [
              "44403"
            ]
          },
          "supported_windows": {
            "items": {
              "$ref": "#/components/schemas/TaskingWindowTypes"
            },
            "type": "array",
            "title": "Supported Windows",
            "description": "List of windows type that can be scheduled on that satellite",
            "examples": [
              "[PAYLOAD_SDR",
              "LEASE_ADCS]"
            ]
          },
          "supported_payloads": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Supported Payloads",
            "description": "List of payloads that are available on that satellite",
            "examples": [
              "[SDR",
              "ADCS]"
            ]
          }
        },
        "type": "object",
        "required": [
          "id",
          "norad_id",
          "supported_windows",
          "supported_payloads"
        ],
        "title": "Satellite"
      },
      "SatelliteStatus": {
        "type": "string",
        "enum": [
          "ok",
          "deorbited",
          "notcontactable"
        ],
        "title": "SatelliteStatus"
      },
      "SatelliteTransitData": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "description": "Satellite identifier that should be used for the other queries",
            "examples": [
              "FM123"
            ]
          },
          "norad_id": {
            "type": "string",
            "title": "Norad Id",
            "description": "Norad ID. Used to match the satellite with a TLE",
            "examples": [
              "44403"
            ]
          },
          "supported_windows": {
            "items": {
              "$ref": "#/components/schemas/TaskingWindowTypes"
            },
            "type": "array",
            "title": "Supported Windows",
            "description": "List of windows type that can be scheduled on that satellite",
            "examples": [
              "[PAYLOAD_SDR",
              "LEASE_ADCS]"
            ]
          },
          "supported_payloads": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Supported Payloads",
            "description": "List of payloads that are available on that satellite",
            "examples": [
              "[SDR",
              "ADCS]"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/SatelliteStatus",
            "default": "ok"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "tle": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TLEData"
              },
              {
                "type": "null"
              }
            ]
          },
          "orbital_elements": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/OrbitalElementData"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_contact_time": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Contact Time"
          },
          "next_contact_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ContactType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object",
        "required": [
          "id",
          "norad_id",
          "supported_windows",
          "supported_payloads"
        ],
        "title": "SatelliteTransitData"
      },
      "ScheduleContext": {
        "properties": {
          "request_id": {
            "type": "string",
            "title": "Request Id"
          },
          "scheduler_name": {
            "type": "string",
            "title": "Scheduler Name"
          },
          "scheduler_type": {
            "$ref": "#/components/schemas/TKBookingType",
            "default": "mandated"
          }
        },
        "type": "object",
        "required": [
          "request_id",
          "scheduler_name"
        ],
        "title": "ScheduleContext"
      },
      "SingleUpload": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid4",
            "title": "Id",
            "description": "Id of the upload as returned during the creation of the resource"
          },
          "satellite_id": {
            "type": "string",
            "title": "Satellite Id",
            "examples": [
              "FM123"
            ]
          },
          "payload": {
            "type": "string",
            "title": "Payload",
            "examples": [
              "SDR"
            ]
          },
          "destination_path": {
            "type": "string",
            "title": "Destination Path",
            "examples": [
              "/a/path/with_filename.txt"
            ]
          },
          "executable": {
            "type": "boolean",
            "title": "Executable"
          },
          "created_on": {
            "type": "number",
            "title": "Created On",
            "description": "UNIX timestamp of the creation of the upload request"
          },
          "last_update": {
            "type": "number",
            "title": "Last Update",
            "description": "UNIX timestamp of the last time the record has been updated (file has started/finished uploading, or a new segment has been uploaded)"
          },
          "progress": {
            "type": "number",
            "title": "Progress",
            "description": "Current file progress (in percent)",
            "examples": [
              10,
              100
            ]
          },
          "status": {
            "$ref": "#/components/schemas/UploadStatus"
          }
        },
        "type": "object",
        "required": [
          "id",
          "satellite_id",
          "payload",
          "destination_path",
          "executable",
          "created_on",
          "last_update",
          "progress",
          "status"
        ],
        "title": "SingleUpload"
      },
      "SingleWindow": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "description": "Identifier of the windows as returned during a call to POST /tasking/window",
            "examples": [
              "4029855"
            ]
          },
          "satellite_id": {
            "type": "string",
            "title": "Satellite Id",
            "examples": [
              "FM123"
            ]
          },
          "state": {
            "$ref": "#/components/schemas/WindowState"
          },
          "type": {
            "$ref": "#/components/schemas/TaskingWindowTypes"
          },
          "start": {
            "type": "integer",
            "title": "Start",
            "description": "UNIX timestamp of the beginning of the window"
          },
          "duration": {
            "type": "integer",
            "title": "Duration",
            "description": "Duration of the window in seconds",
            "examples": [
              60
            ]
          },
          "parameters": {
            "additionalProperties": true,
            "type": "object",
            "title": "Parameters",
            "description": "Window parameters",
            "examples": [
              {
                "user_command": {
                  "executable": "/persist/bin/generate_waveform.sh",
                  "executable_arguments": [
                    "--period",
                    "100",
                    "--amplitude",
                    "200"
                  ]
                }
              }
            ]
          },
          "exit_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WindowExitStatus"
              },
              {
                "type": "null"
              }
            ],
            "examples": [
              "FAILED",
              "SUCCESSFUL"
            ]
          },
          "ran_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ran Duration",
            "description": "Actual window duration measured in seconds, reported after the window has completed",
            "examples": [
              60.0
            ]
          },
          "file_output": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Output",
            "description": "Files generated by payload window, and their download progress status",
            "examples": [
              {
                "filepath1": {
                  "download_progress": 0.75,
                  "size": 1180,
                  "update_time": "2024-02-29T00:00:00Z"
                },
                "filepath2": {
                  "download_progress": 1.0,
                  "size": 7920,
                  "update_time": "2024-02-29T00:01:00Z"
                },
                "filepath3": {
                  "download_progress": 0.0,
                  "size": 8532
                }
              }
            ]
          }
        },
        "type": "object",
        "required": [
          "id",
          "satellite_id",
          "state",
          "type",
          "start",
          "duration",
          "parameters"
        ],
        "title": "SingleWindow"
      },
      "State": {
        "type": "string",
        "enum": [
          "available",
          "blocked"
        ],
        "title": "State"
      },
      "TKBookingType": {
        "type": "string",
        "enum": [
          "automated",
          "mandated",
          "manual"
        ],
        "title": "TKBookingType"
      },
      "TLEData": {
        "properties": {
          "line_one": {
            "type": "string",
            "title": "Line One"
          },
          "line_two": {
            "type": "string",
            "title": "Line Two"
          }
        },
        "type": "object",
        "required": [
          "line_one",
          "line_two"
        ],
        "title": "TLEData"
      },
      "TaskingWindowTypes": {
        "type": "string",
        "enum": [
          "PAYLOAD_IPI",
          "PAYLOAD_SDR",
          "LEASE_ADCS",
          "LEASE_ISL",
          "MAINTENANCE",
          "PAYLOAD_SABERTOOTH",
          "PAYLOAD_MYRIAD",
          "PAYLOAD_NANO",
          "PAYLOAD_CORAL",
          "PAYLOAD_MARSUPIAL"
        ],
        "title": "TaskingWindowTypes"
      },
      "UploadData": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid4",
            "title": "Id"
          },
          "satellite_id": {
            "type": "string",
            "title": "Satellite Id"
          },
          "status": {
            "$ref": "#/components/schemas/UploadStatus"
          },
          "filename": {
            "type": "string",
            "title": "Filename"
          }
        },
        "type": "object",
        "required": [
          "id",
          "satellite_id",
          "status",
          "filename"
        ],
        "title": "UploadData"
      },
      "UploadOutput": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid4",
            "title": "Id",
            "description": "Id of the upload as returned during the creation of the resource"
          }
        },
        "type": "object",
        "required": [
          "id"
        ],
        "title": "UploadOutput"
      },
      "UploadStatus": {
        "type": "string",
        "enum": [
          "UPLOADED",
          "PENDING",
          "UPLOADING"
        ],
        "title": "UploadStatus"
      },
      "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"
      },
      "Window": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "description": "Identifier of the windows as returned during a call to POST /tasking/window",
            "examples": [
              "4029855"
            ]
          },
          "satellite_id": {
            "type": "string",
            "title": "Satellite Id",
            "examples": [
              "FM123"
            ]
          },
          "state": {
            "$ref": "#/components/schemas/WindowState"
          },
          "type": {
            "$ref": "#/components/schemas/TaskingWindowTypes"
          },
          "start": {
            "type": "integer",
            "title": "Start",
            "description": "UNIX timestamp of the beginning of the window"
          },
          "duration": {
            "type": "integer",
            "title": "Duration",
            "description": "Duration of the window in seconds",
            "examples": [
              60
            ]
          },
          "parameters": {
            "additionalProperties": true,
            "type": "object",
            "title": "Parameters",
            "description": "Window parameters",
            "examples": [
              {
                "user_command": {
                  "executable": "/persist/bin/generate_waveform.sh",
                  "executable_arguments": [
                    "--period",
                    "100",
                    "--amplitude",
                    "200"
                  ]
                }
              }
            ]
          },
          "exit_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WindowExitStatus"
              },
              {
                "type": "null"
              }
            ],
            "examples": [
              "FAILED",
              "SUCCESSFUL"
            ]
          },
          "ran_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ran Duration",
            "description": "Actual window duration measured in seconds, reported after the window has completed",
            "examples": [
              60.0
            ]
          }
        },
        "type": "object",
        "required": [
          "id",
          "satellite_id",
          "state",
          "type",
          "start",
          "duration",
          "parameters"
        ],
        "title": "Window"
      },
      "WindowExitStatus": {
        "type": "string",
        "enum": [
          "FAILED",
          "INCOMPLETE",
          "SUCCESSFUL"
        ],
        "title": "WindowExitStatus"
      },
      "WindowState": {
        "type": "string",
        "enum": [
          "PENDING_SYNC",
          "SYNCED",
          "FAILED_SYNC",
          "PENDING_DELETION",
          "UNKNOWN",
          "DELETED"
        ],
        "title": "WindowState"
      },
      "WindowsOutput": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Window"
            },
            "type": "array",
            "title": "Data"
          },
          "next": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next"
          }
        },
        "type": "object",
        "required": [
          "data"
        ],
        "title": "WindowsOutput"
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "The API key provided during signup, sent as `Authorization: Bearer <API key>`"
      }
    }
  }
}
