{
 "openapi": "3.1.0",
 "info": {
  "title": "SimTP REST API",
  "version": "1.0",
  "description": "Generated from the controllers of the standalone trading application with springdoc. Every call is made as a signed-in person or with a personal API token (scopes api:read, api:write). Controller and schema names are as in the code.",
  "license": {
   "name": "AGPL-3.0-or-later",
   "url": "https://www.gnu.org/licenses/agpl-3.0.html"
  }
 },
 "servers": [
  {
   "url": "https://demo.simtp.io",
   "description": "Demo"
  }
 ],
 "paths": {
  "/api/watchlists/1.0/{id}": {
   "get": {
    "tags": [
     "watchlist-rest-controller"
    ],
    "operationId": "get",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/Watchlist"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "watchlist-rest-controller"
    ],
    "operationId": "rename",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/WatchlistNameRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/Watchlist"
        }
       }
      }
     }
    }
   },
   "delete": {
    "tags": [
     "watchlist-rest-controller"
    ],
    "operationId": "delete",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK"
     }
    }
   }
  },
  "/api/v1/funds/venues/{venue}/options/{symbol}/composition": {
   "put": {
    "tags": [
     "fund-catalogue-admin-rest-controller"
    ],
    "operationId": "saveComposition",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SaveCompositionRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CompositionVersionView"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/funds/{venue}/{symbol}/availability": {
   "get": {
    "tags": [
     "fund-rest-controller"
    ],
    "operationId": "availability",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/AvailabilityView"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "fund-availability-rest-controller"
    ],
    "operationId": "set",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SetAvailabilityRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/AvailabilityView"
        }
       }
      }
     }
    }
   }
  },
  "/api/staff/1.0/{userId}": {
   "get": {
    "tags": [
     "staff-rest-controller"
    ],
    "operationId": "get_1",
    "parameters": [
     {
      "name": "userId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/StaffMember"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "staff-rest-controller"
    ],
    "operationId": "put",
    "parameters": [
     {
      "name": "userId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "X-Change-Reason",
      "in": "header",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/StaffRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/StaffMember"
        }
       }
      }
     }
    }
   },
   "delete": {
    "tags": [
     "staff-rest-controller"
    ],
    "operationId": "delete_1",
    "parameters": [
     {
      "name": "userId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "X-Change-Reason",
      "in": "header",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK"
     }
    }
   }
  },
  "/api/settings/1.0/tenant/{group}": {
   "get": {
    "tags": [
     "settings-rest-controller"
    ],
    "operationId": "tenantSettings",
    "parameters": [
     {
      "name": "group",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/SettingsView"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "settings-rest-controller"
    ],
    "operationId": "updateTenantSettings",
    "parameters": [
     {
      "name": "group",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SettingsChangeRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/SettingsView"
        }
       }
      }
     }
    }
   },
   "delete": {
    "tags": [
     "settings-rest-controller"
    ],
    "operationId": "resetTenantSettings",
    "parameters": [
     {
      "name": "group",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "reason",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/SettingsView"
        }
       }
      }
     }
    }
   }
  },
  "/api/settings/1.0/platform/{group}": {
   "get": {
    "tags": [
     "settings-rest-controller"
    ],
    "operationId": "platformSettings",
    "parameters": [
     {
      "name": "group",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/SettingsView"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "settings-rest-controller"
    ],
    "operationId": "updatePlatformSettings",
    "parameters": [
     {
      "name": "group",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SettingsChangeRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/SettingsView"
        }
       }
      }
     }
    }
   },
   "delete": {
    "tags": [
     "settings-rest-controller"
    ],
    "operationId": "resetPlatformSettings",
    "parameters": [
     {
      "name": "group",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "reason",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/SettingsView"
        }
       }
      }
     }
    }
   }
  },
  "/api/scheduler/1.0/schedules/{id}": {
   "get": {
    "tags": [
     "schedule-rest-controller"
    ],
    "operationId": "get_2",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "platform",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ScheduleSummary"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "schedule-rest-controller"
    ],
    "operationId": "update",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "platform",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ScheduleRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ScheduleResponse"
        }
       }
      }
     }
    }
   },
   "delete": {
    "tags": [
     "schedule-rest-controller"
    ],
    "operationId": "delete_2",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "platform",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ScheduleResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/portfolio/1.0/models/{modelId}": {
   "get": {
    "tags": [
     "portfolio-model-rest-controller"
    ],
    "operationId": "get_3",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "modelId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/PortfolioModelView"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "portfolio-model-rest-controller"
    ],
    "operationId": "change",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "modelId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ModelDraftRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ModelRefView"
        }
       }
      }
     }
    }
   }
  },
  "/api/portfolio/1.0/accounts/{account}/model": {
   "get": {
    "tags": [
     "portfolio-model-rest-controller"
    ],
    "operationId": "assignment",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "account",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ModelAssignmentView"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "portfolio-model-rest-controller"
    ],
    "operationId": "assign",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "account",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AssignModelRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ModelAssignmentView"
        }
       }
      }
     }
    }
   },
   "delete": {
    "tags": [
     "portfolio-model-rest-controller"
    ],
    "operationId": "unassign",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "account",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK"
     }
    }
   }
  },
  "/api/platform/market/1.0/venues/{venue}/profile": {
   "get": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "venueProfile",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "putVenueProfile",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "type": "string"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/orders/1.0": {
   "get": {
    "tags": [
     "order-lifecycle-rest-controller"
    ],
    "operationId": "getAllForCurrentUser",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {}
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "order-lifecycle-rest-controller"
    ],
    "operationId": "put_1",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/UpdateOrderInstruction"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OrderResponse"
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "order-lifecycle-rest-controller"
    ],
    "operationId": "post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/NewOrderInstruction"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OrderResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/me/1.0/preferences": {
   "get": {
    "tags": [
     "user-preference-rest-controller"
    ],
    "operationId": "get_4",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/PreferencesBody"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "user-preference-rest-controller"
    ],
    "operationId": "put_2",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/PreferencesBody"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/PreferencesBody"
        }
       }
      }
     }
    }
   }
  },
  "/api/me/1.0/account": {
   "get": {
    "tags": [
     "account-rest-controller"
    ],
    "operationId": "account",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/AccountView"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "account-rest-controller"
    ],
    "operationId": "update_1",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AccountUpdate"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/AccountView"
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/{id}": {
   "get": {
    "tags": [
     "customer-rest-controller"
    ],
    "operationId": "get_5",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/TenantCustomer"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "customer-rest-controller"
    ],
    "operationId": "update_2",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/UpdateCustomerRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/Customer"
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/{id}/sign-in": {
   "put": {
    "tags": [
     "customer-rest-controller"
    ],
    "operationId": "linkSignIn",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SignInRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/Customer"
        }
       }
      }
     }
    }
   },
   "delete": {
    "tags": [
     "customer-rest-controller"
    ],
    "operationId": "unlinkSignIn",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SignInRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/Customer"
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/{id}/adviser": {
   "put": {
    "tags": [
     "customer-rest-controller"
    ],
    "operationId": "assignAdviser",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AssignAdviserRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CustomerTenantRelationship"
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/options-level/policy": {
   "get": {
    "tags": [
     "options-level-rest-controller"
    ],
    "operationId": "policy",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OptionsPolicyResponse"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "options-level-rest-controller"
    ],
    "operationId": "setPolicy",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SetOptionsPolicyRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OptionsPolicyResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/options-level/clients/{id}": {
   "get": {
    "tags": [
     "options-level-rest-controller"
    ],
    "operationId": "client",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OptionsLevelResponse"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "options-level-rest-controller"
    ],
    "operationId": "setClient",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SetOptionsLevelRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OptionsLevelResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/options-level/accounts/{id}": {
   "get": {
    "tags": [
     "options-level-rest-controller"
    ],
    "operationId": "account_1",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OptionsLevelResponse"
        }
       }
      }
     }
    }
   },
   "put": {
    "tags": [
     "options-level-rest-controller"
    ],
    "operationId": "setAccount",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SetOptionsLevelRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OptionsLevelResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/watchlists/1.0": {
   "get": {
    "tags": [
     "watchlist-rest-controller"
    ],
    "operationId": "list",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/Watchlist"
         }
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "watchlist-rest-controller"
    ],
    "operationId": "create",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/WatchlistNameRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/WatchlistCreated"
        }
       }
      }
     }
    }
   }
  },
  "/api/watchlists/1.0/{id}/items": {
   "post": {
    "tags": [
     "watchlist-rest-controller"
    ],
    "operationId": "addItem",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/WatchlistItemRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/Watchlist"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/venues/{venue}/schemes": {
   "get": {
    "tags": [
     "fund-rest-controller"
    ],
    "operationId": "schemes",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/SchemeView"
         }
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "fund-catalogue-admin-rest-controller"
    ],
    "operationId": "saveScheme",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SaveSchemeRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/SchemeView"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/funds/{venue}/{symbol}/strikes/{dealingDate}/run": {
   "post": {
    "tags": [
     "fund-strike-now-rest-controller"
    ],
    "operationId": "run",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "dealingDate",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/StrikeNowRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/StrikeNowView"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/funds/{venue}/{symbol}/prices": {
   "get": {
    "tags": [
     "fund-rest-controller"
    ],
    "operationId": "prices",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/PriceView"
         }
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "fund-price-admin-rest-controller"
    ],
    "operationId": "enter",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/EnterPriceRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/PriceAdminView"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/funds/{venue}/{symbol}/prices/reject": {
   "post": {
    "tags": [
     "fund-price-admin-rest-controller"
    ],
    "operationId": "reject",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RejectPriceRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK"
     }
    }
   }
  },
  "/api/v1/funds/funds/{venue}/{symbol}/prices/approve": {
   "post": {
    "tags": [
     "fund-price-admin-rest-controller"
    ],
    "operationId": "approve",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ApprovePriceRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/PriceAdminView"
        }
       }
      }
     }
    }
   }
  },
  "/api/surveillance/1.0/alerts/{alertId}/take": {
   "post": {
    "tags": [
     "surveillance-rest-controller"
    ],
    "operationId": "take",
    "parameters": [
     {
      "name": "alertId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TakeBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/surveillance/1.0/alerts/{alertId}/reopen": {
   "post": {
    "tags": [
     "surveillance-rest-controller"
    ],
    "operationId": "reopen",
    "parameters": [
     {
      "name": "alertId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ReopenBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/surveillance/1.0/alerts/{alertId}/notes": {
   "post": {
    "tags": [
     "surveillance-rest-controller"
    ],
    "operationId": "addNote",
    "parameters": [
     {
      "name": "alertId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/NoteBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/surveillance/1.0/alerts/{alertId}/hand-over": {
   "post": {
    "tags": [
     "surveillance-rest-controller"
    ],
    "operationId": "handOver",
    "parameters": [
     {
      "name": "alertId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/HandOverBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/surveillance/1.0/alerts/{alertId}/escalate": {
   "post": {
    "tags": [
     "surveillance-rest-controller"
    ],
    "operationId": "escalate",
    "parameters": [
     {
      "name": "alertId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/EscalateBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/surveillance/1.0/alerts/{alertId}/close": {
   "post": {
    "tags": [
     "surveillance-rest-controller"
    ],
    "operationId": "close",
    "parameters": [
     {
      "name": "alertId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CloseBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/settlements/1.0/{obligationId}/retry": {
   "post": {
    "tags": [
     "settlement-rest-controller"
    ],
    "operationId": "retry",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "obligationId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RetryRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/SettlementObligationDto"
        }
       }
      }
     }
    }
   }
  },
  "/api/settlements/1.0/{obligationId}/cancel": {
   "post": {
    "tags": [
     "settlement-rest-controller"
    ],
    "operationId": "cancel",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "obligationId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CancelRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/SettlementObligationDto"
        }
       }
      }
     }
    }
   }
  },
  "/api/settings/1.0/tenant/email/test": {
   "post": {
    "tags": [
     "email-test-rest-controller"
    ],
    "operationId": "testTenant",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TestSendRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/TestSendResult"
        }
       }
      }
     }
    }
   }
  },
  "/api/settings/1.0/platform/email/test": {
   "post": {
    "tags": [
     "email-test-rest-controller"
    ],
    "operationId": "testPlatform",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TestSendRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/TestSendResult"
        }
       }
      }
     }
    }
   }
  },
  "/api/scheduler/1.0/schedules": {
   "get": {
    "tags": [
     "schedule-rest-controller"
    ],
    "operationId": "list_1",
    "parameters": [
     {
      "name": "platform",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ScheduleSummary"
         }
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "schedule-rest-controller"
    ],
    "operationId": "create_1",
    "parameters": [
     {
      "name": "platform",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ScheduleRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ScheduleResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/scheduler/1.0/schedules/{id}/resume": {
   "post": {
    "tags": [
     "schedule-rest-controller"
    ],
    "operationId": "resume",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "platform",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ScheduleResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/scheduler/1.0/schedules/{id}/pause": {
   "post": {
    "tags": [
     "schedule-rest-controller"
    ],
    "operationId": "pause",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "platform",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ScheduleResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/scheduler/1.0/schedules/{id}/fire": {
   "post": {
    "tags": [
     "schedule-rest-controller"
    ],
    "operationId": "fire",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "repairOfNominal",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "platform",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ScheduleResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/scheduler/1.0/schedules/preview": {
   "post": {
    "tags": [
     "schedule-rest-controller"
    ],
    "operationId": "preview",
    "parameters": [
     {
      "name": "count",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 5
      }
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "platform",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ScheduleRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/FirePreview"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/restricted-list/1.0": {
   "get": {
    "tags": [
     "restricted-list-rest-controller"
    ],
    "operationId": "list_2",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "inForce",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      }
     },
     {
      "name": "symbol",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "restricted-list-rest-controller"
    ],
    "operationId": "add",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RestrictedListRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/reconciliation/1.0/breaks/{breakId}/close": {
   "post": {
    "tags": [
     "reconciliation-rest-controller"
    ],
    "operationId": "close_1",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "breakId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CloseBreakRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ReconciliationBreakDto"
        }
       }
      }
     }
    }
   }
  },
  "/api/portfolio/1.0/rebalances": {
   "post": {
    "tags": [
     "rebalance-rest-controller"
    ],
    "operationId": "propose",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ProposeRebalanceRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/RebalanceProposalView"
        }
       }
      }
     }
    }
   }
  },
  "/api/portfolio/1.0/rebalances/{proposalId}/rejection": {
   "post": {
    "tags": [
     "rebalance-rest-controller"
    ],
    "operationId": "reject_1",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "proposalId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RejectRebalanceRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/RebalanceProposalView"
        }
       }
      }
     }
    }
   }
  },
  "/api/portfolio/1.0/rebalances/{proposalId}/approval": {
   "post": {
    "tags": [
     "rebalance-rest-controller"
    ],
    "operationId": "approve_1",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "proposalId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/RebalanceProposalView"
        }
       }
      }
     }
    }
   }
  },
  "/api/portfolio/1.0/models": {
   "get": {
    "tags": [
     "portfolio-model-rest-controller"
    ],
    "operationId": "list_3",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/PortfolioModelView"
         }
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "portfolio-model-rest-controller"
    ],
    "operationId": "create_2",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ModelDraftRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ModelRefView"
        }
       }
      }
     }
    }
   }
  },
  "/api/portfolio/1.0/models/{modelId}/retirement": {
   "post": {
    "tags": [
     "portfolio-model-rest-controller"
    ],
    "operationId": "retire",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "modelId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ModelRefView"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/market/1.0/listings/{venue}/{symbol}/resume": {
   "post": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "resume_1",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "type": "string"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/market/1.0/listings/{venue}/{symbol}/halt": {
   "post": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "halt",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "type": "string"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/exceptions/1.0/{id}/resolve": {
   "post": {
    "tags": [
     "platform-exceptions-rest-controller"
    ],
    "operationId": "resolve",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ResolveExceptionRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/PlatformExceptionDetail"
        }
       }
      }
     }
    }
   }
  },
  "/api/origination/1.0": {
   "post": {
    "tags": [
     "origination-command-rest-controller"
    ],
    "operationId": "persist",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/Application"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/origination/1.0/{email}/{firstName}/{lastName}": {
   "post": {
    "tags": [
     "origination-command-rest-controller"
    ],
    "operationId": "persist_1",
    "parameters": [
     {
      "name": "email",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "firstName",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "lastName",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/orders/1.0/{id}/release": {
   "post": {
    "tags": [
     "order-lifecycle-rest-controller"
    ],
    "operationId": "release",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ReleaseRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OrderResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/orders/1.0/{id}/reject": {
   "post": {
    "tags": [
     "order-lifecycle-rest-controller"
    ],
    "operationId": "reject_2",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RejectRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OrderResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/orders/1.0/{id}/escalate": {
   "post": {
    "tags": [
     "order-lifecycle-rest-controller"
    ],
    "operationId": "escalate_1",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/EscalateRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OrderResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/orders/1.0/bulk-cancel": {
   "get": {
    "tags": [
     "bulk-cancel-rest-controller"
    ],
    "operationId": "list_4",
    "parameters": [
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 50
      }
     },
     {
      "name": "before",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "format": "date-time"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/BulkCancelBatchResponse"
         }
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "bulk-cancel-rest-controller"
    ],
    "operationId": "start",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/BulkCancelRequestBody"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/BulkCancelBatchResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/orders/1.0/bulk-cancel/{batchId}/stop": {
   "post": {
    "tags": [
     "bulk-cancel-rest-controller"
    ],
    "operationId": "stop",
    "parameters": [
     {
      "name": "batchId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/BulkCancelBatchResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/orders/1.0/bulk-cancel/preview": {
   "post": {
    "tags": [
     "bulk-cancel-rest-controller"
    ],
    "operationId": "preview_1",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/BulkCancelPreviewBody"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/BulkCancelPreviewResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/me/1.0/api-tokens": {
   "get": {
    "tags": [
     "api-token-controller"
    ],
    "operationId": "list_5",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ApiTokenView"
         }
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "api-token-controller"
    ],
    "operationId": "create_3",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CreateApiTokenRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CreatedApiTokenView"
        }
       }
      }
     }
    }
   }
  },
  "/api/instructions/1.0": {
   "get": {
    "tags": [
     "instruction-rest-controller"
    ],
    "operationId": "list_6",
    "parameters": [
     {
      "name": "clientId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "status",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "receivedFrom",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "format": "date-time"
      }
     },
     {
      "name": "receivedTo",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "format": "date-time"
      }
     },
     {
      "name": "hasOrder",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "size",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/InstructionPageResponse"
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "instruction-rest-controller"
    ],
    "operationId": "record",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RecordInstructionBody"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/InstructionResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/instructions/1.0/{id}/withdraw": {
   "post": {
    "tags": [
     "instruction-rest-controller"
    ],
    "operationId": "withdraw",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ReasonBody"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/InstructionResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/instructions/1.0/{id}/orders/{orderId}": {
   "post": {
    "tags": [
     "instruction-rest-controller"
    ],
    "operationId": "link",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "orderId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/InstructionResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/instructions/1.0/{id}/decline": {
   "post": {
    "tags": [
     "instruction-rest-controller"
    ],
    "operationId": "decline",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ReasonBody"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/InstructionResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/instructions/1.0/{id}/amend": {
   "post": {
    "tags": [
     "instruction-rest-controller"
    ],
    "operationId": "amend",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AmendBody"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/InstructionResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/instructions/1.0/{id}/accept": {
   "post": {
    "tags": [
     "instruction-rest-controller"
    ],
    "operationId": "accept",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TransitionBody"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/InstructionResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/instructions/1.0/audit/repair": {
   "post": {
    "tags": [
     "instruction-audit-repair-rest-controller"
    ],
    "operationId": "repair",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/InstructionAuditRepairRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/InstructionAuditRepairResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/fees/quote/1.0": {
   "post": {
    "tags": [
     "fee-quote-rest-controller"
    ],
    "operationId": "quote",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/FeeQuoteRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/FeeQuote"
        }
       }
      }
     }
    }
   }
  },
  "/api/fees/1.0/schedules": {
   "get": {
    "tags": [
     "fee-schedule-rest-controller"
    ],
    "operationId": "list_7",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/FeeScheduleDto"
         }
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "fee-schedule-rest-controller"
    ],
    "operationId": "save",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SaveFeeScheduleRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/fees/1.0/preview": {
   "post": {
    "tags": [
     "fee-schedule-rest-controller"
    ],
    "operationId": "preview_2",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/PreviewRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/fees/1.0/corrections": {
   "post": {
    "tags": [
     "fee-correction-rest-controller"
    ],
    "operationId": "correct",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/FeeCorrectionRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/exceptions/1.0/{id}/resolve": {
   "post": {
    "tags": [
     "exceptions-rest-controller"
    ],
    "operationId": "resolve_1",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ResolveExceptionRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ExceptionRecord"
        }
       }
      }
     }
    }
   }
  },
  "/api/exceptions/1.0/{id}/acknowledge": {
   "post": {
    "tags": [
     "exceptions-rest-controller"
    ],
    "operationId": "acknowledge",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ExceptionRecord"
        }
       }
      }
     }
    }
   }
  },
  "/api/demo/reconciliation/run": {
   "post": {
    "tags": [
     "demo-reconciliation-rest-controller"
    ],
    "operationId": "run_1",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/DemoReconciliationSummary"
        }
       }
      }
     }
    }
   }
  },
  "/api/demo/reconciliation/reset": {
   "post": {
    "tags": [
     "demo-reconciliation-rest-controller"
    ],
    "operationId": "reset",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object",
         "additionalProperties": {
          "type": "boolean"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0": {
   "get": {
    "tags": [
     "customer-rest-controller"
    ],
    "operationId": "list_8",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/TenantCustomer"
         }
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "customer-rest-controller"
    ],
    "operationId": "onboard",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/OnboardRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/TenantCustomer"
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/{id}/kyc": {
   "post": {
    "tags": [
     "customer-rest-controller"
    ],
    "operationId": "recordKyc",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/KycRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CustomerTenantRelationship"
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/{id}/kyc/withdraw": {
   "post": {
    "tags": [
     "customer-rest-controller"
    ],
    "operationId": "withdrawKyc",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/WithdrawKycRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CustomerTenantRelationship"
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/{id}/classification": {
   "get": {
    "tags": [
     "client-classification-rest-controller"
    ],
    "operationId": "current",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ClassificationResponse"
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "client-classification-rest-controller"
    ],
    "operationId": "record_1",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RecordClassificationRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ClassificationResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/{id}/classification/withdraw": {
   "post": {
    "tags": [
     "client-classification-rest-controller"
    ],
    "operationId": "withdraw_1",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "relationshipId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/WithdrawClassificationRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ClassificationHistoryEntry"
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/kyc/backfill": {
   "post": {
    "tags": [
     "customer-rest-controller"
    ],
    "operationId": "backfillKyc",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/KycBackfillResult"
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/classification/audit/repair": {
   "post": {
    "tags": [
     "classification-audit-repair-rest-controller"
    ],
    "operationId": "repair_1",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ClassificationAuditRepairRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ClassificationAuditRepairResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/corporate-actions/1.0/{actionId}/withdraw": {
   "post": {
    "tags": [
     "corporate-action-rest-controller"
    ],
    "operationId": "withdraw_2",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "actionId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/WithdrawRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/WithdrawResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/contract-notes/1.0/{noteId}/delivery": {
   "post": {
    "tags": [
     "contract-note-document-rest-controller"
    ],
    "operationId": "resend",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "noteId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ResendRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ResendResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/contract-notes/1.0/template-approvals": {
   "get": {
    "tags": [
     "contract-note-document-rest-controller"
    ],
    "operationId": "approval",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "templateVersion",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ApprovalView"
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "contract-note-document-rest-controller"
    ],
    "operationId": "approve_2",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ApprovalRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ApprovalResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/contract-notes/1.0/template-approvals/audit-repair": {
   "post": {
    "tags": [
     "contract-note-document-rest-controller"
    ],
    "operationId": "repairAudit",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RepairRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/RepairResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/contract-notes/1.0/consents": {
   "post": {
    "tags": [
     "contract-note-document-rest-controller"
    ],
    "operationId": "recordConsent",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ConsentRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object",
         "additionalProperties": {
          "type": "string"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/contract-notes/1.0/consents/withdrawal": {
   "post": {
    "tags": [
     "contract-note-document-rest-controller"
    ],
    "operationId": "withdrawConsent",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/WithdrawRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object",
         "additionalProperties": {
          "type": "string"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/entries": {
   "get": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "list_9",
    "parameters": [
     {
      "name": "kind",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "status",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "typeCode",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "clientId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "overdue",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "openedFrom",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "openedTo",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "linkType",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "linkRef",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "openEntry",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/OpenBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/entries/{entryId}/take": {
   "post": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "take_1",
    "parameters": [
     {
      "name": "entryId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MoveBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/entries/{entryId}/report": {
   "post": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "report",
    "parameters": [
     {
      "name": "entryId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ReportBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/entries/{entryId}/reopen": {
   "post": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "reopen_1",
    "parameters": [
     {
      "name": "entryId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MoveBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/entries/{entryId}/notices": {
   "post": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "decideNotice",
    "parameters": [
     {
      "name": "entryId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/NoticeDecisionBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/entries/{entryId}/notices/{noticeId}/given": {
   "post": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "recordGiven",
    "parameters": [
     {
      "name": "entryId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "noticeId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/GivenBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/entries/{entryId}/notes": {
   "post": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "addNote_1",
    "parameters": [
     {
      "name": "entryId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/NoteBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/entries/{entryId}/links": {
   "post": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "link_1",
    "parameters": [
     {
      "name": "entryId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/LinkBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/entries/{entryId}/hand-over": {
   "post": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "handOver_1",
    "parameters": [
     {
      "name": "entryId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MoveBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/entries/{entryId}/first-known": {
   "post": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "firstKnown",
    "parameters": [
     {
      "name": "entryId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/FirstKnownBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/entries/{entryId}/decision": {
   "post": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "decide",
    "parameters": [
     {
      "name": "entryId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DecisionBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/entries/{entryId}/close": {
   "post": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "close_2",
    "parameters": [
     {
      "name": "entryId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MoveBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/holds": {
   "get": {
    "tags": [
     "compliance-hold-rest-controller"
    ],
    "operationId": "search",
    "parameters": [
     {
      "name": "active",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "scopeType",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "subjectId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ComplianceHoldDto"
         }
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "compliance-hold-rest-controller"
    ],
    "operationId": "place",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/HoldRequestBody"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/HoldAccepted"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/holds/{holdId}/lift": {
   "post": {
    "tags": [
     "compliance-hold-rest-controller"
    ],
    "operationId": "lift",
    "parameters": [
     {
      "name": "holdId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/HoldLiftBody"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK"
     }
    }
   }
  },
  "/api/compliance/1.0/exports": {
   "post": {
    "tags": [
     "compliance-export-rest-controller"
    ],
    "operationId": "request",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ExportRequestBody"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ExportAccepted"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/authority/periods/{periodId}/start": {
   "post": {
    "tags": [
     "authority-rest-controller"
    ],
    "operationId": "declareStart",
    "parameters": [
     {
      "name": "periodId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AuthorityStartBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/auth/password": {
   "post": {
    "tags": [
     "auth-controller"
    ],
    "operationId": "changePassword",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ChangePasswordRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/clients/{customerId}/screening/decisions": {
   "post": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "decide_1",
    "parameters": [
     {
      "name": "customerId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DecisionBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/clients/{customerId}/review": {
   "get": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "review",
    "parameters": [
     {
      "name": "customerId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "recordReview",
    "parameters": [
     {
      "name": "customerId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ReviewBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/alerts/{alertId}/take": {
   "post": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "take_2",
    "parameters": [
     {
      "name": "alertId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TakeBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/alerts/{alertId}/reopen": {
   "post": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "reopen_2",
    "parameters": [
     {
      "name": "alertId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ReopenBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/alerts/{alertId}/notes": {
   "post": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "addNote_2",
    "parameters": [
     {
      "name": "alertId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/NoteBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/alerts/{alertId}/hand-over": {
   "post": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "handOver_2",
    "parameters": [
     {
      "name": "alertId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/HandOverBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/alerts/{alertId}/escalate": {
   "post": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "escalate_2",
    "parameters": [
     {
      "name": "alertId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/EscalateBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/alerts/{alertId}/close": {
   "post": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "close_3",
    "parameters": [
     {
      "name": "alertId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CloseBody"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/allocations/1.0": {
   "post": {
    "tags": [
     "allocation-rest-controller"
    ],
    "operationId": "submit",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AllocationRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/allocations/1.0/{allocationId}/reallocations": {
   "get": {
    "tags": [
     "reallocation-rest-controller"
    ],
    "operationId": "list_10",
    "parameters": [
     {
      "name": "allocationId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "reallocation-rest-controller"
    ],
    "operationId": "reallocate",
    "parameters": [
     {
      "name": "allocationId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ReallocationRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/accounts/1.0/{id}/holding-identifiers": {
   "get": {
    "tags": [
     "holding-identifiers-rest-controller"
    ],
    "operationId": "list_11",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/HoldingIdentifierView"
         }
        }
       }
      }
     }
    }
   },
   "post": {
    "tags": [
     "holding-identifiers-rest-controller"
    ],
    "operationId": "add_1",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AddHoldingIdentifier"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/HoldingIdentifierView"
        }
       }
      }
     }
    }
   }
  },
  "/api/accounts/1.0/{id}/holding-identifiers/{hid}/reveal": {
   "post": {
    "tags": [
     "holding-identifiers-rest-controller"
    ],
    "operationId": "reveal",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hid",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/HoldingIdentifierReasonRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/RevealedHoldingIdentifier"
        }
       }
      }
     }
    }
   }
  },
  "/api/accounts/1.0/{id}/holding-identifiers/{hid}/deactivate": {
   "post": {
    "tags": [
     "holding-identifiers-rest-controller"
    ],
    "operationId": "deactivate",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hid",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/HoldingIdentifierReasonRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/HoldingIdentifierView"
        }
       }
      }
     }
    }
   }
  },
  "/api/accounts/1.0/{id}/holding-identifiers/{hid}": {
   "patch": {
    "tags": [
     "holding-identifiers-rest-controller"
    ],
    "operationId": "updateRegistration",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hid",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/HoldingIdentifierRegistrationPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/HoldingIdentifierView"
        }
       }
      }
     }
    }
   }
  },
  "/.well-known/oauth-protected-resource": {
   "get": {
    "tags": [
     "protected-resource-metadata-controller"
    ],
    "operationId": "metadata",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object",
         "additionalProperties": {}
        }
       }
      }
     }
    }
   }
  },
  "/.well-known/oauth-protected-resource/**": {
   "get": {
    "tags": [
     "protected-resource-metadata-controller"
    ],
    "operationId": "metadata_1",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object",
         "additionalProperties": {}
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/venues/{venue}/schemes/{code}/options": {
   "get": {
    "tags": [
     "fund-rest-controller"
    ],
    "operationId": "options",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "code",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/OptionView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/venues/{venue}/options/{symbol}/composition/versions": {
   "get": {
    "tags": [
     "fund-catalogue-admin-rest-controller"
    ],
    "operationId": "versions",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/CompositionVersionView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/venues/{venue}/latest-prices": {
   "get": {
    "tags": [
     "fund-price-staff-rest-controller"
    ],
    "operationId": "latestPrices",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/StaffLatestPriceView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/products": {
   "get": {
    "tags": [
     "fund-rest-controller"
    ],
    "operationId": "products",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ProductView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/products/{venue}/{symbol}/dealing": {
   "get": {
    "tags": [
     "fund-next-dealing-rest-controller"
    ],
    "operationId": "next",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/NextDealingView"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/price-rules": {
   "get": {
    "tags": [
     "fund-price-staff-rest-controller"
    ],
    "operationId": "priceRules",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/PriceRulesView"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/pending-prices": {
   "get": {
    "tags": [
     "fund-price-staff-rest-controller"
    ],
    "operationId": "pendingPrices",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/PendingPriceView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/funds/{venue}/{symbol}/prices/staff": {
   "get": {
    "tags": [
     "fund-price-admin-rest-controller"
    ],
    "operationId": "staff",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/StaffPriceView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/funds/{venue}/{symbol}/prices/pending": {
   "get": {
    "tags": [
     "fund-price-admin-rest-controller"
    ],
    "operationId": "pending",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/PriceAdminView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/funds/{venue}/{symbol}/prices/audit": {
   "get": {
    "tags": [
     "fund-price-admin-rest-controller"
    ],
    "operationId": "audit",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "dealingDate",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/PriceAuditView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/funds/{venue}/{symbol}/dealing-summary": {
   "get": {
    "tags": [
     "fund-rest-controller"
    ],
    "operationId": "dealingSummary",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/DealingSummaryView"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/funds/{venue}/{symbol}/availability/count": {
   "get": {
    "tags": [
     "fund-availability-rest-controller"
    ],
    "operationId": "count",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OfferingCountView"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/funds/availability": {
   "get": {
    "tags": [
     "fund-availability-rest-controller"
    ],
    "operationId": "list_12",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/AvailabilityView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/ui-config/1.0": {
   "get": {
    "tags": [
     "ui-config-rest-controller"
    ],
    "operationId": "config",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/UiConfig"
        }
       }
      }
     }
    }
   }
  },
  "/api/trades/1.0/{account}": {
   "get": {
    "tags": [
     "trades-rest-controller"
    ],
    "operationId": "getTrades",
    "parameters": [
     {
      "name": "account",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "format": "date-time"
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "format": "date-time"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 50
      }
     },
     {
      "name": "offset",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/TradeHistoryPage"
        }
       }
      }
     }
    }
   }
  },
  "/api/surveillance/1.0/coverage": {
   "get": {
    "tags": [
     "surveillance-rest-controller"
    ],
    "operationId": "coverage",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/surveillance/1.0/alerts": {
   "get": {
    "tags": [
     "surveillance-rest-controller"
    ],
    "operationId": "search_1",
    "parameters": [
     {
      "name": "state",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ruleId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "clientId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "instrument",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "raisedFrom",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "raisedTo",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/surveillance/1.0/alerts/{alertId}": {
   "get": {
    "tags": [
     "surveillance-rest-controller"
    ],
    "operationId": "get_6",
    "parameters": [
     {
      "name": "alertId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/staff/1.0": {
   "get": {
    "tags": [
     "staff-rest-controller"
    ],
    "operationId": "list_13",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/StaffMember"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/staff/1.0/role-changes": {
   "get": {
    "tags": [
     "staff-rest-controller"
    ],
    "operationId": "roleChanges",
    "parameters": [
     {
      "name": "userId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "format": "date-time"
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "format": "date-time"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RoleChangeResponse"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/staff/1.0/me": {
   "get": {
    "tags": [
     "staff-rest-controller"
    ],
    "operationId": "me",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/StaffMember"
        }
       }
      }
     }
    }
   }
  },
  "/api/staff/1.0/advisers": {
   "get": {
    "tags": [
     "staff-rest-controller"
    ],
    "operationId": "advisers",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/AdviserSummary"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/settlements/1.0": {
   "get": {
    "tags": [
     "settlement-rest-controller"
    ],
    "operationId": "list_14",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "status",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "settleDate",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "accountId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/SettlementObligationDto"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/settlements/1.0/{obligationId}": {
   "get": {
    "tags": [
     "settlement-rest-controller"
    ],
    "operationId": "get_7",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "obligationId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/SettlementObligationDto"
        }
       }
      }
     }
    }
   }
  },
  "/api/settlement-positions/1.0": {
   "get": {
    "tags": [
     "settlement-position-rest-controller"
    ],
    "operationId": "list_15",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "accountId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "size",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "sort",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/SettlementPositionPage"
        }
       }
      }
     }
    }
   }
  },
  "/api/settlement-positions/1.0/{accountId}": {
   "get": {
    "tags": [
     "settlement-position-rest-controller"
    ],
    "operationId": "position",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "accountId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/SettlementPositionView"
        }
       }
      }
     }
    }
   }
  },
  "/api/settlement-positions/1.0/{accountId}/postings": {
   "get": {
    "tags": [
     "settlement-position-rest-controller"
    ],
    "operationId": "postings",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "accountId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/SettlementPostingView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/securities/1.0": {
   "get": {
    "tags": [
     "securities-rest-controller"
    ],
    "operationId": "search_2",
    "parameters": [
     {
      "name": "query",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "offset",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "sector",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "index",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "assetClass",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "underlying",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "expiry",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "format": "date"
      }
     },
     {
      "name": "schemeCode",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/Instrument"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/securities/1.0/{securityCode}": {
   "get": {
    "tags": [
     "securities-rest-controller"
    ],
    "operationId": "get_8",
    "parameters": [
     {
      "name": "securityCode",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/Instrument"
        }
       }
      }
     }
    }
   }
  },
  "/api/securities/1.0/{securityCode}/listings": {
   "get": {
    "tags": [
     "securities-rest-controller"
    ],
    "operationId": "listings",
    "parameters": [
     {
      "name": "securityCode",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/InstrumentListing"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/restricted-list/1.0/{id}": {
   "get": {
    "tags": [
     "restricted-list-rest-controller"
    ],
    "operationId": "get_9",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   },
   "delete": {
    "tags": [
     "restricted-list-rest-controller"
    ],
    "operationId": "lift_1",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "reason",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/reconciliation/1.0/latest": {
   "get": {
    "tags": [
     "reconciliation-rest-controller"
    ],
    "operationId": "latest",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/LatestReconciliationView"
        }
       }
      }
     }
    }
   }
  },
  "/api/reconciliation/1.0/breaks": {
   "get": {
    "tags": [
     "reconciliation-rest-controller"
    ],
    "operationId": "breaks",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "status",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "accountId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ReconciliationBreakDto"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/reconciliation/1.0/breaks/{breakId}": {
   "get": {
    "tags": [
     "reconciliation-rest-controller"
    ],
    "operationId": "breakDetail",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "breakId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ReconciliationBreakDetailDto"
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0": {
   "get": {
    "tags": [
     "prices-rest-controller"
    ],
    "operationId": "list_16",
    "parameters": [
     {
      "name": "symbols",
      "in": "query",
      "required": false,
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/Price"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{symbol}/statistics": {
   "get": {
    "tags": [
     "statistics-rest-controller"
    ],
    "operationId": "statistics",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "venue",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/InstrumentStatistics"
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{symbol}/sales": {
   "get": {
    "tags": [
     "course-of-sales-rest-controller"
    ],
    "operationId": "sales",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "venue",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 50
      }
     },
     {
      "name": "offset",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/TradePrint"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{symbol}/research": {
   "get": {
    "tags": [
     "research-rest-controller"
    ],
    "operationId": "research",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 20
      }
     },
     {
      "name": "offset",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ResearchNote"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{symbol}/options/{expiry}": {
   "get": {
    "tags": [
     "option-series-rest-controller"
    ],
    "operationId": "series",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "expiry",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "venue",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OptionSeries"
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{symbol}/options/expiries": {
   "get": {
    "tags": [
     "option-series-rest-controller"
    ],
    "operationId": "expiries",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "venue",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "type": "string",
          "format": "date"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{symbol}/news": {
   "get": {
    "tags": [
     "news-rest-controller"
    ],
    "operationId": "news",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 20
      }
     },
     {
      "name": "offset",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/NewsItem"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{symbol}/fundamentals": {
   "get": {
    "tags": [
     "company-fundamentals-rest-controller"
    ],
    "operationId": "fundamentals",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CompanyFundamentals"
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{symbol}/composite/statistics": {
   "get": {
    "tags": [
     "composite-market-rest-controller"
    ],
    "operationId": "statistics_1",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "currency",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CompositeStatistics"
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{symbol}/composite/sales": {
   "get": {
    "tags": [
     "composite-market-rest-controller"
    ],
    "operationId": "sales_1",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "currency",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 50
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CompositePrints"
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{symbol}/composite/quote": {
   "get": {
    "tags": [
     "composite-market-rest-controller"
    ],
    "operationId": "quote_1",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "currency",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CompositeQuote"
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{symbol}/composite/depth": {
   "get": {
    "tags": [
     "composite-market-rest-controller"
    ],
    "operationId": "depth",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "currency",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CompositeDepth"
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{symbol}/composite/bars": {
   "get": {
    "tags": [
     "composite-market-rest-controller"
    ],
    "operationId": "bars",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "currency",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "interval",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CompositeBars"
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{symbol}/bars": {
   "get": {
    "tags": [
     "bars-rest-controller"
    ],
    "operationId": "bars_1",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "venue",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "interval",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/Bar"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{symbol}/announcements": {
   "get": {
    "tags": [
     "announcements-rest-controller"
    ],
    "operationId": "announcements",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 20
      }
     },
     {
      "name": "offset",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/Announcement"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{securityCode}": {
   "get": {
    "tags": [
     "prices-rest-controller"
    ],
    "operationId": "get_10",
    "parameters": [
     {
      "name": "securityCode",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/Price"
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{securityCode}/venues": {
   "get": {
    "tags": [
     "prices-rest-controller"
    ],
    "operationId": "venues",
    "parameters": [
     {
      "name": "securityCode",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/Price"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/{securityCode}/history": {
   "get": {
    "tags": [
     "prices-rest-controller"
    ],
    "operationId": "historyFor",
    "parameters": [
     {
      "name": "securityCode",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "minutes",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "maxPoints",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/PricePoint"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/prices/1.0/history": {
   "get": {
    "tags": [
     "prices-rest-controller"
    ],
    "operationId": "history",
    "parameters": [
     {
      "name": "symbols",
      "in": "query",
      "required": false,
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     {
      "name": "minutes",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "maxPoints",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/PricePoint"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/positions/1.0/{account}": {
   "get": {
    "tags": [
     "positions-rest-controller"
    ],
    "operationId": "getPositions",
    "parameters": [
     {
      "name": "account",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/PositionRow"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/positions/1.0/{account}/valued": {
   "get": {
    "tags": [
     "positions-rest-controller"
    ],
    "operationId": "getValuedPositions",
    "parameters": [
     {
      "name": "account",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ValuedPosition"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/portfolio/1.0/rebalances/{proposalId}": {
   "get": {
    "tags": [
     "rebalance-rest-controller"
    ],
    "operationId": "get_11",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "proposalId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/RebalanceProposalView"
        }
       }
      }
     }
    }
   }
  },
  "/api/portfolio/1.0/models/{modelId}/versions/{version}": {
   "get": {
    "tags": [
     "portfolio-model-rest-controller"
    ],
    "operationId": "version",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "modelId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "version",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/PortfolioModelView"
        }
       }
      }
     }
    }
   }
  },
  "/api/portfolio/1.0/cost-base": {
   "get": {
    "tags": [
     "cost-base-rest-controller"
    ],
    "operationId": "list_17",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "accountId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "instrument",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "kind",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "size",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "sort",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CostBaseListResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/portfolio/1.0/cost-base-reconciliation": {
   "get": {
    "tags": [
     "cost-base-reconciliation-rest-controller"
    ],
    "operationId": "get_12",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "account",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CostBaseReconciliationView"
        }
       }
      }
     }
    }
   }
  },
  "/api/portfolio/1.0/accounts/{account}/valuation": {
   "get": {
    "tags": [
     "portfolio-rest-controller"
    ],
    "operationId": "valuation",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "account",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "baseCurrency",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/PortfolioValuationView"
        }
       }
      }
     }
    }
   }
  },
  "/api/portfolio/1.0/accounts/{account}/drift": {
   "get": {
    "tags": [
     "portfolio-rest-controller"
    ],
    "operationId": "drift",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "account",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/PortfolioDriftView"
        }
       }
      }
     }
    }
   }
  },
  "/api/portfolio/1.0/accounts/{account}/cost-base": {
   "get": {
    "tags": [
     "cost-base-rest-controller"
    ],
    "operationId": "get_13",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "account",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "instrument",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CostBaseResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/market/1.0/venues": {
   "get": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "venues_1",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/market/1.0/venues/profiles": {
   "get": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "venueProfiles",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/market/1.0/tick-tables": {
   "get": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "tickTables",
    "parameters": [
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     },
     {
      "name": "size",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/market/1.0/tick-tables/{id}": {
   "get": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "tickTable",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     },
     {
      "name": "size",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/market/1.0/summary": {
   "get": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "summary",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/market/1.0/listings": {
   "get": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "listings_1",
    "parameters": [
     {
      "name": "query",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "venue",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "currency",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "state",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tickTable",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     },
     {
      "name": "size",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/market/1.0/listings/{venue}/{symbol}": {
   "get": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "listing",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/market/1.0/listings/{venue}/{symbol}/trades": {
   "get": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "trades",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "offset",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/market/1.0/listings/{venue}/{symbol}/state-history": {
   "get": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "stateHistory",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 50
      }
     },
     {
      "name": "offset",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/market/1.0/listings/{venue}/{symbol}/quote": {
   "get": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "quote_2",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/market/1.0/listings/{venue}/{symbol}/depth": {
   "get": {
    "tags": [
     "platform-market-rest-controller"
    ],
    "operationId": "depth_1",
    "parameters": [
     {
      "name": "venue",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/exceptions/1.0": {
   "get": {
    "tags": [
     "platform-exceptions-rest-controller"
    ],
    "operationId": "list_18",
    "parameters": [
     {
      "name": "includeResolved",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      }
     },
     {
      "name": "repeatedSinceResolved",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/PlatformExceptionList"
        }
       }
      }
     }
    }
   }
  },
  "/api/platform/exceptions/1.0/{id}": {
   "get": {
    "tags": [
     "platform-exceptions-rest-controller"
    ],
    "operationId": "detail",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/PlatformExceptionDetail"
        }
       }
      }
     }
    }
   }
  },
  "/api/orders/events": {
   "get": {
    "tags": [
     "order-lifecycle-event-controller"
    ],
    "operationId": "getOrderEvents",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/event-stream": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ServerSentEventObject"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/orders/1.0/{id}": {
   "get": {
    "tags": [
     "order-lifecycle-rest-controller"
    ],
    "summary": "Get an order by its ID",
    "operationId": "get_14",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "description": "Order ID",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Order found",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ClientOrder"
        },
        "examples": {
         "Successful_json": {
          "description": "Successful_json",
          "value": " {\n                                \"id\": \"1\", \n                                \"symbol\": \"CBA\", \n                                \"quantity\": 1000, \n                                \"price\": 1.12345 \n                            "
         }
        }
       }
      }
     },
     "400": {
      "description": "ID not valid",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "404": {
      "description": "Order not found",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "500": {
      "description": "Internal server error",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "503": {
      "description": "Order lifecycle API is not available",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   },
   "delete": {
    "tags": [
     "order-lifecycle-rest-controller"
    ],
    "operationId": "cancel_1",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "reason",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OrderResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/orders/1.0/stp": {
   "get": {
    "tags": [
     "stp-rest-controller"
    ],
    "operationId": "report_1",
    "parameters": [
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/StpReport"
        }
       }
      }
     }
    }
   }
  },
  "/api/orders/1.0/routing/orders/{orderId}/decisions": {
   "get": {
    "tags": [
     "routing-explain-rest-controller"
    ],
    "operationId": "byOrder",
    "parameters": [
     {
      "name": "orderId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RoutingExplanation"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/orders/1.0/routing/decisions/{decisionId}": {
   "get": {
    "tags": [
     "routing-explain-rest-controller"
    ],
    "operationId": "byDecision",
    "parameters": [
     {
      "name": "decisionId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/RoutingExplanation"
        }
       }
      }
     }
    }
   }
  },
  "/api/orders/1.0/held": {
   "get": {
    "tags": [
     "order-lifecycle-rest-controller"
    ],
    "operationId": "held",
    "parameters": [
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/HeldOrderEntry"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/orders/1.0/bulk-cancel/{batchId}": {
   "get": {
    "tags": [
     "bulk-cancel-rest-controller"
    ],
    "operationId": "get_15",
    "parameters": [
     {
      "name": "batchId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "cursor",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 100
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/BulkCancelViewResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/me/1.0": {
   "get": {
    "tags": [
     "capabilities-rest-controller"
    ],
    "operationId": "me_1",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/Me"
        }
       }
      }
     }
    }
   }
  },
  "/api/me/1.0/sessions": {
   "get": {
    "tags": [
     "account-rest-controller"
    ],
    "operationId": "sessions",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/SessionView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/instructions/1.0/{id}": {
   "get": {
    "tags": [
     "instruction-rest-controller"
    ],
    "operationId": "get_16",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/InstructionResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/instructions/1.0/{id}/history": {
   "get": {
    "tags": [
     "instruction-rest-controller"
    ],
    "operationId": "history_1",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/InstructionHistoryResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/fees/1.0/schedules/{scheduleId}/history": {
   "get": {
    "tags": [
     "fee-schedule-rest-controller"
    ],
    "operationId": "history_2",
    "parameters": [
     {
      "name": "scheduleId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/FeeScheduleDto"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/fees/1.0/readiness": {
   "get": {
    "tags": [
     "fee-schedule-rest-controller"
    ],
    "operationId": "readiness",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/FeeReadinessDto"
        }
       }
      }
     }
    }
   }
  },
  "/api/exceptions/1.0": {
   "get": {
    "tags": [
     "exceptions-rest-controller"
    ],
    "operationId": "list_19",
    "parameters": [
     {
      "name": "includeResolved",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ExceptionRecord"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/depth/1.0/{symbol}": {
   "get": {
    "tags": [
     "market-depth-rest-controller"
    ],
    "operationId": "get_17",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/MarketDepth"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/demo/reconciliation": {
   "get": {
    "tags": [
     "demo-reconciliation-rest-controller"
    ],
    "operationId": "available",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object",
         "additionalProperties": {
          "type": "boolean"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/{id}/classification/history": {
   "get": {
    "tags": [
     "client-classification-rest-controller"
    ],
    "operationId": "history_3",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "relationshipId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ClassificationHistoryEntry"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/options-level/accounts/{id}/effective": {
   "get": {
    "tags": [
     "options-level-rest-controller"
    ],
    "operationId": "effective",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/EffectiveOptionsLevelResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/customers/1.0/classification/catalogue": {
   "get": {
    "tags": [
     "client-classification-rest-controller"
    ],
    "operationId": "catalogue",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CatalogueResponse"
        }
       }
      }
     }
    }
   }
  },
  "/api/corporate-actions/1.0": {
   "get": {
    "tags": [
     "corporate-action-rest-controller"
    ],
    "operationId": "list_20",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "instrument",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "status",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/CorporateActionView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/corporate-actions/1.0/{actionId}": {
   "get": {
    "tags": [
     "corporate-action-rest-controller"
    ],
    "operationId": "get_18",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "actionId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CorporateActionDetailView"
        }
       }
      }
     }
    }
   }
  },
  "/api/corporate-actions/1.0/{actionId}/postings": {
   "get": {
    "tags": [
     "corporate-action-rest-controller"
    ],
    "operationId": "postings_1",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "actionId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "accountId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/CorporateActionPostingView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/contract-notes/1.0": {
   "get": {
    "tags": [
     "contract-note-rest-controller"
    ],
    "operationId": "list_21",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "orderId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "accountId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "clientId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ContractNoteView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/contract-notes/1.0/{noteId}": {
   "get": {
    "tags": [
     "contract-note-rest-controller"
    ],
    "operationId": "get_19",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "noteId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ContractNoteView"
        }
       }
      }
     }
    }
   }
  },
  "/api/contract-notes/1.0/{noteId}/document": {
   "get": {
    "tags": [
     "contract-note-rest-controller"
    ],
    "operationId": "document",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "noteId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "format",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "text"
      }
     },
     {
      "name": "zone",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "UTC"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/contract-notes/1.0/template-brand": {
   "get": {
    "tags": [
     "contract-note-document-rest-controller"
    ],
    "operationId": "brand",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/BrandPreviewView"
        }
       }
      }
     }
    }
   }
  },
  "/api/contract-notes/1.0/search": {
   "get": {
    "tags": [
     "contract-note-rest-controller"
    ],
    "operationId": "search_3",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     },
     {
      "name": "accountId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "clientId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "orderId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "size",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "sort",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ContractNotePage"
        }
       }
      }
     }
    }
   }
  },
  "/api/contract-notes/1.0/client-visible": {
   "get": {
    "tags": [
     "contract-note-document-rest-controller"
    ],
    "operationId": "clientVisible",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ClientVisibleView"
        }
       }
      }
     }
    }
   }
  },
  "/api/contract-notes/1.0/approval-summary": {
   "get": {
    "tags": [
     "contract-note-document-rest-controller"
    ],
    "operationId": "approvalSummary",
    "parameters": [
     {
      "name": "caller",
      "in": "query",
      "required": false,
      "schema": {
       "$ref": "#/components/schemas/VerifiedCaller"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ApprovalSummaryView"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/trading-controls": {
   "get": {
    "tags": [
     "trading-controls-rest-controller"
    ],
    "operationId": "report_2",
    "parameters": [
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "format",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "section",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/reminders": {
   "get": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "reminders",
    "parameters": [
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/entries/{entryId}": {
   "get": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "get_20",
    "parameters": [
     {
      "name": "entryId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/entries/{entryId}/history": {
   "get": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "history_4",
    "parameters": [
     {
      "name": "entryId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/registers/config": {
   "get": {
    "tags": [
     "register-rest-controller"
    ],
    "operationId": "config_1",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/orders/{orderId}/timeline": {
   "get": {
    "tags": [
     "compliance-rest-controller"
    ],
    "operationId": "timeline",
    "parameters": [
     {
      "name": "orderId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/OrderTimelineDto"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/instructions/{id}/words": {
   "get": {
    "tags": [
     "compliance-rest-controller"
    ],
    "operationId": "instructionWords",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/holds/{holdId}": {
   "get": {
    "tags": [
     "compliance-hold-rest-controller"
    ],
    "operationId": "get_21",
    "parameters": [
     {
      "name": "holdId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ComplianceHoldDto"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/exports/{exportId}": {
   "get": {
    "tags": [
     "compliance-export-rest-controller"
    ],
    "operationId": "status",
    "parameters": [
     {
      "name": "exportId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/ExportView"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/exports/{exportId}/manifest.sig": {
   "get": {
    "tags": [
     "compliance-export-rest-controller"
    ],
    "operationId": "signature",
    "parameters": [
     {
      "name": "exportId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string",
         "format": "byte"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/exports/{exportId}/manifest.json": {
   "get": {
    "tags": [
     "compliance-export-rest-controller"
    ],
    "operationId": "manifest",
    "parameters": [
     {
      "name": "exportId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string",
         "format": "byte"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/exports/{exportId}/file": {
   "get": {
    "tags": [
     "compliance-export-rest-controller"
    ],
    "operationId": "file",
    "parameters": [
     {
      "name": "exportId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "string",
         "format": "byte"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/export-keys": {
   "get": {
    "tags": [
     "compliance-export-keys-rest-controller"
    ],
    "operationId": "keys",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/PublishedKey"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/authority/periods": {
   "get": {
    "tags": [
     "authority-rest-controller"
    ],
    "operationId": "list_22",
    "parameters": [
     {
      "name": "personId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "authority",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "category",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "asOf",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "active",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "cursor",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/authority/periods/{periodId}": {
   "get": {
    "tags": [
     "authority-rest-controller"
    ],
    "operationId": "get_22",
    "parameters": [
     {
      "name": "periodId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/authority/config": {
   "get": {
    "tags": [
     "authority-rest-controller"
    ],
    "operationId": "config_2",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/compliance/1.0/audit": {
   "get": {
    "tags": [
     "compliance-rest-controller"
    ],
    "operationId": "search_4",
    "parameters": [
     {
      "name": "accountId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "instrument",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "orderId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "subjectType",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "source",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "subjectId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "clientId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "action",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/auth/me": {
   "get": {
    "tags": [
     "auth-controller"
    ],
    "operationId": "me_2",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/CallerInfo"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/suspicions": {
   "get": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "suspicionList",
    "parameters": [
     {
      "name": "state",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/reviews/overdue": {
   "get": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "overdueReviews",
    "parameters": [
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/coverage": {
   "get": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "coverage_1",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/clients/{customerId}/screening": {
   "get": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "screening",
    "parameters": [
     {
      "name": "customerId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/cdd-retention": {
   "get": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "cddRetentionList",
    "parameters": [
     {
      "name": "state",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/alerts": {
   "get": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "search_5",
    "parameters": [
     {
      "name": "state",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "clientId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/aml/1.0/alerts/{alertId}": {
   "get": {
    "tags": [
     "aml-rest-controller"
    ],
    "operationId": "get_23",
    "parameters": [
     {
      "name": "alertId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/allocations/1.0/{allocationId}": {
   "get": {
    "tags": [
     "allocation-rest-controller"
    ],
    "operationId": "get_24",
    "parameters": [
     {
      "name": "allocationId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/allocations/1.0/{allocationId}/reallocations/{id}": {
   "get": {
    "tags": [
     "reallocation-rest-controller"
    ],
    "operationId": "get_25",
    "parameters": [
     {
      "name": "allocationId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/accounts/1.0": {
   "get": {
    "tags": [
     "trading-accounts-rest-controller"
    ],
    "operationId": "list_23",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/TradingAccountView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/accounts/1.0/{id}": {
   "get": {
    "tags": [
     "trading-accounts-rest-controller"
    ],
    "operationId": "get_26",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/TradingAccount"
        }
       }
      }
     }
    }
   }
  },
  "/api/accounts/1.0/{id}/reservations": {
   "get": {
    "tags": [
     "trading-accounts-rest-controller"
    ],
    "operationId": "reservations",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/FundsReservation"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/accounts/1.0/{id}/holdings-reservations": {
   "get": {
    "tags": [
     "trading-accounts-rest-controller"
    ],
    "operationId": "holdingsReservations",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/HoldingsReservation"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/accounts/1.0/{id}/funds": {
   "get": {
    "tags": [
     "trading-accounts-rest-controller"
    ],
    "operationId": "funds",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/CurrencyFunds"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/accounts/1.0/settlement-links": {
   "get": {
    "tags": [
     "trading-accounts-rest-controller"
    ],
    "operationId": "links",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/SettlementLink"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/accounts/1.0/holding-identifiers/schemes": {
   "get": {
    "tags": [
     "holding-identifiers-rest-controller"
    ],
    "operationId": "schemes_1",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/HoldingIdentifierSchemeView"
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/access/1.0/staff/{userId}": {
   "get": {
    "tags": [
     "access-insight-rest-controller"
    ],
    "operationId": "staffAccess",
    "parameters": [
     {
      "name": "userId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/StaffAccess"
        }
       }
      }
     }
    }
   }
  },
  "/api/access/1.0/model": {
   "get": {
    "tags": [
     "access-insight-rest-controller"
    ],
    "operationId": "model",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/AccessMatrix"
        }
       }
      }
     }
    }
   }
  },
  "/api/access/1.0/graph": {
   "get": {
    "tags": [
     "access-insight-rest-controller"
    ],
    "operationId": "graph",
    "parameters": [
     {
      "name": "type",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "id",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "depth",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/AccessGraph"
        }
       }
      }
     }
    }
   }
  },
  "/api/access/1.0/explain": {
   "get": {
    "tags": [
     "access-insight-rest-controller"
    ],
    "operationId": "explain",
    "parameters": [
     {
      "name": "subjectType",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "subjectId",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "action",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "resourceType",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "resourceId",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/Explanation"
        }
       }
      }
     }
    }
   }
  },
  "/api/watchlists/1.0/{id}/items/{symbol}": {
   "delete": {
    "tags": [
     "watchlist-rest-controller"
    ],
    "operationId": "removeItem",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "*/*": {
        "schema": {
         "$ref": "#/components/schemas/Watchlist"
        }
       }
      }
     }
    }
   }
  },
  "/api/me/1.0/sessions/{id}": {
   "delete": {
    "tags": [
     "account-rest-controller"
    ],
    "operationId": "endSession",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK"
     }
    }
   }
  },
  "/api/me/1.0/api-tokens/{id}": {
   "delete": {
    "tags": [
     "api-token-controller"
    ],
    "operationId": "revoke",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK"
     }
    }
   }
  }
 },
 "components": {
  "schemas": {
   "WatchlistNameRequest": {
    "type": "object",
    "properties": {
     "name": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "Watchlist": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "items": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/WatchlistItem"
      }
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "updatedAt": {
      "type": "string",
      "format": "date-time"
     }
    },
    "required": [
     "createdAt",
     "id",
     "items",
     "name",
     "updatedAt"
    ]
   },
   "WatchlistItem": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": "string"
     },
     "position": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "position",
     "symbol"
    ]
   },
   "CompositionLineRequest": {
    "type": "object",
    "properties": {
     "kind": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "INSTRUMENT",
       "CASH"
      ]
     },
     "instrument": {
      "type": [
       "string",
       "null"
      ]
     },
     "weight": {
      "type": [
       "number",
       "null"
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "cashRatePercent": {
      "type": [
       "number",
       "null"
      ]
     }
    }
   },
   "SaveCompositionRequest": {
    "type": "object",
    "properties": {
     "effectiveFrom": {
      "type": [
       "string",
       "null"
      ]
     },
     "lines": {
      "type": [
       "array",
       "null"
      ],
      "items": {
       "$ref": "#/components/schemas/CompositionLineRequest"
      }
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "CompositionLine": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "enum": [
       "INSTRUMENT",
       "CASH"
      ]
     },
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "weightPercent": {
      "type": "number"
     },
     "cashRatePercent": {
      "type": [
       "number",
       "null"
      ]
     }
    },
    "required": [
     "kind",
     "weightPercent"
    ]
   },
   "CompositionVersionView": {
    "type": "object",
    "properties": {
     "version": {
      "type": "integer",
      "format": "int32"
     },
     "effectiveFrom": {
      "type": "string",
      "format": "date"
     },
     "lines": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CompositionLine"
      }
     },
     "changedBy": {
      "type": "string"
     },
     "changedAt": {
      "type": "string",
      "format": "date-time"
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "changedAt",
     "changedBy",
     "effectiveFrom",
     "lines",
     "version"
    ]
   },
   "SetAvailabilityRequest": {
    "type": "object",
    "properties": {
     "available": {
      "type": [
       "boolean",
       "null"
      ]
     },
     "displayName": {
      "type": [
       "string",
       "null"
      ]
     },
     "minimumApplicationOverride": {
      "type": [
       "number",
       "null"
      ]
     },
     "minimumRedemptionOverride": {
      "type": [
       "number",
       "null"
      ]
     },
     "agreementReference": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "tenantId": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "AvailabilityView": {
    "type": "object",
    "properties": {
     "venue": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "available": {
      "type": "boolean"
     },
     "displayName": {
      "type": [
       "string",
       "null"
      ]
     },
     "minimumApplicationOverride": {
      "type": [
       "number",
       "null"
      ]
     },
     "minimumRedemptionOverride": {
      "type": [
       "number",
       "null"
      ]
     },
     "agreementReference": {
      "type": [
       "string",
       "null"
      ]
     },
     "version": {
      "type": "integer",
      "format": "int32"
     },
     "changedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "changedAt": {
      "type": "string",
      "format": "date-time"
     }
    },
    "required": [
     "available",
     "changedAt",
     "symbol",
     "venue",
     "version"
    ]
   },
   "StaffRequest": {
    "type": "object",
    "properties": {
     "displayName": {
      "type": [
       "string",
       "null"
      ]
     },
     "idpSubjects": {
      "type": [
       "array",
       "null"
      ],
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     },
     "roles": {
      "type": [
       "array",
       "null"
      ],
      "items": {
       "type": "string",
       "enum": [
        "MEMBER",
        "ADVISER",
        "SUPERVISOR",
        "SUPPORT",
        "DTR",
        "SENIOR_DTR",
        "HEAD_DTR",
        "SYSADMIN",
        "BACK_OFFICE",
        "SETTLEMENTS_SUPERVISOR",
        "COMPLIANCE",
        "COMPLIANCE_EXPORT",
        "COMPLIANCE_HOLD",
        "SURVEILLANCE",
        "AML",
        "MODEL_MANAGER"
       ]
      },
      "uniqueItems": true
     },
     "supervisors": {
      "type": [
       "array",
       "null"
      ],
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     },
     "support": {
      "type": [
       "array",
       "null"
      ],
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     }
    }
   },
   "Address": {
    "type": "object",
    "properties": {
     "street": {
      "type": "string"
     },
     "city": {
      "type": "string"
     },
     "state": {
      "type": "string"
     },
     "zipCode": {
      "type": "string"
     },
     "country": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "AF",
       "AX",
       "AL",
       "DZ",
       "AS",
       "AD",
       "AO",
       "AI",
       "AQ",
       "AG",
       "AR",
       "AM",
       "AW",
       "AU",
       "AT",
       "AZ",
       "BS",
       "BH",
       "BD",
       "BB",
       "BY",
       "BE",
       "BZ",
       "BJ",
       "BM",
       "BT",
       "BO",
       "BQ",
       "BA",
       "BW",
       "BV",
       "BR",
       "IO",
       "BN",
       "BG",
       "BF",
       "BI",
       "CV",
       "KH",
       "CM",
       "CA",
       "KY",
       "CF",
       "TD",
       "CL",
       "CN",
       "CX",
       "CC",
       "CO",
       "KM",
       "CG",
       "CD",
       "CK",
       "CR",
       "CI",
       "HR",
       "CU",
       "CW",
       "CY",
       "CZ",
       "DK",
       "DJ",
       "DM",
       "DO",
       "EC",
       "EG",
       "SV",
       "GQ",
       "ER",
       "EE",
       "SZ",
       "ET",
       "FK",
       "FO",
       "FJ",
       "FI",
       "FR",
       "GF",
       "PF",
       "TF",
       "GA",
       "GM",
       "GE",
       "DE",
       "GH",
       "GI",
       "GR",
       "GL",
       "GD",
       "GP",
       "GU",
       "GT",
       "GG",
       "GN",
       "GW",
       "GY",
       "HT",
       "HM",
       "VA",
       "HN",
       "HK",
       "HU",
       "IS",
       "IN",
       "ID",
       "IR",
       "IQ",
       "IE",
       "IM",
       "IL",
       "IT",
       "JM",
       "JP",
       "JE",
       "JO",
       "KZ",
       "KE",
       "KI",
       "KP",
       "KR",
       "KW",
       "KG",
       "LA",
       "LV",
       "LB",
       "LS",
       "LR",
       "LY",
       "LI",
       "LT",
       "LU",
       "MO",
       "MG",
       "MW",
       "MY",
       "MV",
       "ML",
       "MT",
       "MH",
       "MQ",
       "MR",
       "MU",
       "YT",
       "MX",
       "FM",
       "MD",
       "MC",
       "MN",
       "ME",
       "MS",
       "MA",
       "MZ",
       "MM",
       "NA",
       "NR",
       "NP",
       "NL",
       "NC",
       "NZ",
       "NI",
       "NE",
       "NG",
       "NU",
       "NF",
       "MK",
       "MP",
       "NO",
       "OM",
       "PK",
       "PW",
       "PS",
       "PA",
       "PG",
       "PY",
       "PE",
       "PH",
       "PN",
       "PL",
       "PT",
       "PR",
       "QA",
       "RE",
       "RO",
       "RU",
       "RW",
       "BL",
       "SH",
       "KN",
       "LC",
       "MF",
       "PM",
       "VC",
       "WS",
       "SM",
       "ST",
       "SA",
       "SN",
       "RS",
       "SC",
       "SL",
       "SG",
       "SX",
       "SK",
       "SI",
       "SB",
       "SO",
       "ZA",
       "GS",
       "SS",
       "ES",
       "LK",
       "SD",
       "SR",
       "SE",
       "CH",
       "SY",
       "TW",
       "TJ",
       "TZ",
       "TH",
       "TL",
       "TG",
       "TK",
       "TO",
       "TT",
       "TN",
       "TR",
       "TM",
       "TC",
       "TV",
       "UG",
       "UA",
       "AE",
       "GB",
       "US",
       "UM",
       "UY",
       "UZ",
       "VU",
       "VE",
       "VN",
       "VG",
       "VI",
       "WF",
       "EH",
       "YE",
       "ZM",
       "ZW"
      ]
     }
    },
    "required": [
     "city",
     "state",
     "street",
     "zipCode"
    ]
   },
   "PersonalDetails": {
    "type": "object",
    "properties": {
     "dateOfBirth": {
      "type": [
       "string",
       "null"
      ],
      "format": "date"
     },
     "phone": {
      "type": [
       "string",
       "null"
      ]
     },
     "address": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/Address"
       },
       {
        "type": "null"
       }
      ]
     }
    }
   },
   "StaffMember": {
    "type": "object",
    "properties": {
     "tenantId": {
      "type": "string"
     },
     "userId": {
      "type": "string"
     },
     "displayName": {
      "type": "string"
     },
     "idpSubjects": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     },
     "roles": {
      "type": "array",
      "items": {
       "type": "string",
       "enum": [
        "MEMBER",
        "ADVISER",
        "SUPERVISOR",
        "SUPPORT",
        "DTR",
        "SENIOR_DTR",
        "HEAD_DTR",
        "SYSADMIN",
        "BACK_OFFICE",
        "SETTLEMENTS_SUPERVISOR",
        "COMPLIANCE",
        "COMPLIANCE_EXPORT",
        "COMPLIANCE_HOLD",
        "SURVEILLANCE",
        "AML",
        "MODEL_MANAGER"
       ]
      },
      "uniqueItems": true
     },
     "supervisors": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     },
     "support": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     },
     "details": {
      "$ref": "#/components/schemas/PersonalDetails"
     }
    },
    "required": [
     "details",
     "displayName",
     "idpSubjects",
     "roles",
     "supervisors",
     "support",
     "tenantId",
     "userId"
    ]
   },
   "SettingsChangeRequest": {
    "type": "object",
    "properties": {
     "values": {
      "type": [
       "object",
       "null"
      ],
      "additionalProperties": {}
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "EffectiveValue": {
    "type": "object",
    "properties": {
     "value": {},
     "origin": {
      "type": "string",
      "enum": [
       "TENANT",
       "PLATFORM",
       "DEFAULT",
       "UNSET"
      ]
     },
     "secretSet": {
      "type": [
       "boolean",
       "null"
      ]
     }
    },
    "required": [
     "origin"
    ]
   },
   "SettingsView": {
    "type": "object",
    "properties": {
     "group": {
      "type": "string"
     },
     "version": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "values": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/EffectiveValue"
      }
     }
    },
    "required": [
     "group",
     "values"
    ]
   },
   "RuleRequest": {
    "type": "object",
    "properties": {
     "type": {
      "type": "string"
     },
     "expression": {
      "type": [
       "string",
       "null"
      ]
     },
     "unit": {
      "type": [
       "string",
       "null"
      ]
     },
     "every": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "localTime": {
      "type": [
       "string",
       "null"
      ]
     },
     "startDate": {
      "type": [
       "string",
       "null"
      ]
     },
     "gapPolicy": {
      "type": [
       "string",
       "null"
      ]
     },
     "seconds": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "at": {
      "type": [
       "string",
       "null"
      ]
     },
     "localDateTime": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "type"
    ]
   },
   "ScheduleRequest": {
    "type": "object",
    "properties": {
     "scheduleId": {
      "type": "string"
     },
     "eventKey": {
      "type": "string"
     },
     "firedTopic": {
      "type": "string"
     },
     "rule": {
      "$ref": "#/components/schemas/RuleRequest"
     },
     "tenantId": {
      "type": [
       "string",
       "null"
      ]
     },
     "payload": {
      "type": [
       "string",
       "null"
      ]
     },
     "payloadSchema": {
      "type": [
       "string",
       "null"
      ]
     },
     "zone": {
      "type": "string"
     },
     "misfirePolicy": {
      "type": "string"
     },
     "maxCatchUp": {
      "type": "integer",
      "format": "int32"
     },
     "startAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "endAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "enabled": {
      "type": "boolean"
     },
     "requiresAck": {
      "type": "boolean"
     },
     "ackDeadlineSeconds": {
      "type": "integer",
      "format": "int32"
     },
     "description": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "calendarRef": {
      "type": [
       "string",
       "null"
      ]
     },
     "calendarPolicy": {
      "type": "string"
     }
    },
    "required": [
     "ackDeadlineSeconds",
     "calendarPolicy",
     "enabled",
     "eventKey",
     "firedTopic",
     "maxCatchUp",
     "misfirePolicy",
     "requiresAck",
     "rule",
     "scheduleId",
     "zone"
    ]
   },
   "ScheduleResponse": {
    "type": "object",
    "properties": {
     "commandId": {
      "type": "string"
     },
     "outcome": {
      "type": "string"
     },
     "errorCode": {
      "type": [
       "string",
       "null"
      ]
     },
     "message": {
      "type": [
       "string",
       "null"
      ]
     },
     "resultingVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "nextFireAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     }
    },
    "required": [
     "commandId",
     "outcome"
    ]
   },
   "VerifiedCaller": {
    "type": "object",
    "properties": {
     "tenantId": {
      "type": "string"
     },
     "callerKey": {
      "type": "string"
     },
     "subjectType": {
      "type": "string"
     },
     "subjectId": {
      "type": "string"
     }
    },
    "required": [
     "callerKey",
     "subjectId",
     "subjectType",
     "tenantId"
    ]
   },
   "ModelDraftRequest": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string"
     },
     "ownership": {
      "type": "string"
     },
     "baseCurrency": {
      "type": "string"
     },
     "targets": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ModelTargetRequest"
      }
     },
     "cashPercent": {
      "type": "string"
     },
     "toleranceBand": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     }
    },
    "required": [
     "baseCurrency",
     "cashPercent",
     "name",
     "ownership",
     "targets"
    ]
   },
   "ModelTargetRequest": {
    "type": "object",
    "properties": {
     "instrument": {
      "type": "string"
     },
     "weightPercent": {
      "type": "string"
     }
    },
    "required": [
     "instrument",
     "weightPercent"
    ]
   },
   "ModelRefView": {
    "type": "object",
    "properties": {
     "modelId": {
      "type": "string"
     },
     "version": {
      "type": "integer",
      "format": "int32"
     },
     "status": {
      "type": "string"
     }
    },
    "required": [
     "modelId",
     "status",
     "version"
    ]
   },
   "AssignModelRequest": {
    "type": "object",
    "properties": {
     "modelId": {
      "type": "string"
     }
    },
    "required": [
     "modelId"
    ]
   },
   "ModelAssignmentView": {
    "type": "object",
    "properties": {
     "account": {
      "type": "string"
     },
     "modelId": {
      "type": "string"
     },
     "assignedBy": {
      "type": "string"
     },
     "assignedAt": {
      "type": "string"
     }
    },
    "required": [
     "account",
     "assignedAt",
     "assignedBy",
     "modelId"
    ]
   },
   "UpdateOrderInstruction": {
    "type": "object",
    "properties": {
     "orderId": {
      "type": [
       "string",
       "null"
      ]
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "limitPrice": {
      "type": [
       "number",
       "null"
      ]
     },
     "orderStatus": {
      "type": "string",
      "enum": [
       "NEW",
       "PARTIALLY_FILLED",
       "FILLED",
       "DONE_FOR_DAY",
       "CANCELED",
       "REPLACED",
       "PENDING_CANCEL",
       "STOPPED",
       "REJECTED",
       "SUSPENDED",
       "PENDING_NEW",
       "CALCULATED",
       "EXPIRED",
       "ACCEPTED_FOR_BIDDING",
       "PENDING_REPLACE",
       "PENDING_RELEASE",
       "AWAITING_STRIKE"
      ]
     },
     "requestedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "amount": {
      "type": [
       "number",
       "null"
      ]
     },
     "quantityDecimal": {
      "type": [
       "number",
       "null"
      ]
     }
    },
    "required": [
     "orderStatus",
     "quantity"
    ]
   },
   "OrderError": {
    "type": "object",
    "properties": {
     "code": {
      "type": [
       "string",
       "null"
      ]
     },
     "description": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "OrderFunds": {
    "type": "object",
    "properties": {
     "reservationId": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "reserved": {
      "type": "number"
     },
     "available": {
      "type": [
       "number",
       "null"
      ]
     }
    },
    "required": [
     "currency",
     "reservationId",
     "reserved"
    ]
   },
   "OrderResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": [
       "string",
       "null"
      ]
     },
     "clientReference": {
      "type": [
       "string",
       "null"
      ]
     },
     "success": {
      "type": "boolean"
     },
     "errors": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OrderError"
      },
      "uniqueItems": true
     },
     "status": {
      "type": [
       "string",
       "null"
      ]
     },
     "enteredBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "enteredVia": {
      "type": [
       "string",
       "null"
      ]
     },
     "outcome": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "SENT",
       "REJECTED",
       "HELD"
      ]
     },
     "message": {
      "type": [
       "string",
       "null"
      ]
     },
     "platformPrice": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/PlatformPrice"
       },
       {
        "type": "null"
       }
      ]
     },
     "funds": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/OrderFunds"
       },
       {
        "type": "null"
       }
      ]
     },
     "fundsReservation": {
      "type": [
       "string",
       "null"
      ]
     },
     "warnings": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "instructionId": {
      "type": [
       "string",
       "null"
      ]
     },
     "positionEffect": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "OPEN",
       "CLOSE"
      ]
     }
    },
    "required": [
     "errors",
     "success",
     "warnings"
    ]
   },
   "PlatformPrice": {
    "type": "object",
    "properties": {
     "price": {
      "type": "number"
     },
     "source": {
      "type": "string"
     }
    },
    "required": [
     "price",
     "source"
    ]
   },
   "PreferencesBody": {
    "type": "object",
    "properties": {
     "timeZone": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "AccountUpdate": {
    "type": "object",
    "properties": {
     "displayName": {
      "type": [
       "string",
       "null"
      ]
     },
     "details": {
      "$ref": "#/components/schemas/PersonalDetails"
     }
    },
    "required": [
     "details"
    ]
   },
   "AccountView": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string"
     },
     "tenantId": {
      "type": "string"
     },
     "userId": {
      "type": "string"
     },
     "firstName": {
      "type": [
       "string",
       "null"
      ]
     },
     "lastName": {
      "type": [
       "string",
       "null"
      ]
     },
     "email": {
      "type": [
       "string",
       "null"
      ]
     },
     "displayName": {
      "type": [
       "string",
       "null"
      ]
     },
     "details": {
      "$ref": "#/components/schemas/PersonalDetails"
     },
     "editable": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     }
    },
    "required": [
     "details",
     "editable",
     "kind",
     "tenantId",
     "userId"
    ]
   },
   "UpdateCustomerRequest": {
    "type": "object",
    "properties": {
     "firstName": {
      "type": [
       "string",
       "null"
      ]
     },
     "lastName": {
      "type": [
       "string",
       "null"
      ]
     },
     "email": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "Customer": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "firstName": {
      "type": "string"
     },
     "lastName": {
      "type": "string"
     },
     "email": {
      "type": "string"
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "idpSubjects": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     },
     "details": {
      "$ref": "#/components/schemas/PersonalDetails"
     }
    },
    "required": [
     "createdAt",
     "details",
     "email",
     "firstName",
     "id",
     "idpSubjects",
     "lastName"
    ]
   },
   "SignInRequest": {
    "type": "object",
    "properties": {
     "idpSubject": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "AssignAdviserRequest": {
    "type": "object",
    "properties": {
     "adviserId": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "CustomerTenantRelationship": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "customerId": {
      "type": "string"
     },
     "tenantId": {
      "type": "string"
     },
     "status": {
      "type": "string",
      "enum": [
       "ACTIVE",
       "FORMER"
      ]
     },
     "kycVerified": {
      "type": "boolean"
     },
     "kycProvider": {
      "type": [
       "string",
       "null"
      ]
     },
     "kycWithdrawnAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "kycWithdrawalReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "establishedAt": {
      "type": "string",
      "format": "date-time"
     },
     "endedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "adviserId": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "customerId",
     "establishedAt",
     "id",
     "kycVerified",
     "status",
     "tenantId"
    ]
   },
   "SetOptionsPolicyRequest": {
    "type": "object",
    "properties": {
     "defaultLevel": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "requireFact": {
      "type": [
       "boolean",
       "null"
      ]
     },
     "noGate": {
      "type": [
       "boolean",
       "null"
      ]
     },
     "acknowledged": {
      "type": [
       "boolean",
       "null"
      ]
     }
    }
   },
   "OptionsPolicyResponse": {
    "type": "object",
    "properties": {
     "defaultLevel": {
      "type": "integer",
      "format": "int32"
     },
     "requireFact": {
      "type": "boolean"
     },
     "noGate": {
      "type": "boolean"
     },
     "noGateBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "changedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "changedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     }
    },
    "required": [
     "defaultLevel",
     "noGate",
     "requireFact"
    ]
   },
   "SetOptionsLevelRequest": {
    "type": "object",
    "properties": {
     "level": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "source": {
      "type": [
       "string",
       "null"
      ]
     },
     "evidenceRef": {
      "type": [
       "string",
       "null"
      ]
     },
     "expiresAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     }
    }
   },
   "OptionsLevelResponse": {
    "type": "object",
    "properties": {
     "subject": {
      "type": "string"
     },
     "subjectId": {
      "type": "string"
     },
     "level": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "source": {
      "type": [
       "string",
       "null"
      ]
     },
     "evidenceRef": {
      "type": [
       "string",
       "null"
      ]
     },
     "recordedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "recordedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "expiresAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     }
    },
    "required": [
     "subject",
     "subjectId"
    ]
   },
   "WatchlistCreated": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     }
    },
    "required": [
     "id"
    ]
   },
   "WatchlistItemRequest": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "SaveSchemeRequest": {
    "type": "object",
    "properties": {
     "schemeCode": {
      "type": [
       "string",
       "null"
      ]
     },
     "name": {
      "type": [
       "string",
       "null"
      ]
     },
     "responsibleEntityName": {
      "type": [
       "string",
       "null"
      ]
     },
     "pdsReference": {
      "type": [
       "string",
       "null"
      ]
     },
     "pdsIssueDate": {
      "type": [
       "string",
       "null"
      ]
     },
     "pdsUrl": {
      "type": [
       "string",
       "null"
      ]
     },
     "tmdReference": {
      "type": [
       "string",
       "null"
      ]
     },
     "tmdDate": {
      "type": [
       "string",
       "null"
      ]
     },
     "effectiveFrom": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "tmdUrl": {
      "type": [
       "string",
       "null"
      ]
     },
     "tmdSummary": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "SchemeView": {
    "type": "object",
    "properties": {
     "venue": {
      "type": "string"
     },
     "schemeCode": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "responsibleEntityName": {
      "type": "string"
     },
     "pdsReference": {
      "type": [
       "string",
       "null"
      ]
     },
     "pdsIssueDate": {
      "type": [
       "string",
       "null"
      ],
      "format": "date"
     },
     "pdsUrl": {
      "type": [
       "string",
       "null"
      ]
     },
     "tmdReference": {
      "type": [
       "string",
       "null"
      ]
     },
     "tmdDate": {
      "type": [
       "string",
       "null"
      ],
      "format": "date"
     },
     "version": {
      "type": "integer",
      "format": "int32"
     },
     "effectiveFrom": {
      "type": "string",
      "format": "date"
     },
     "tmdUrl": {
      "type": [
       "string",
       "null"
      ]
     },
     "tmdSummary": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "effectiveFrom",
     "name",
     "responsibleEntityName",
     "schemeCode",
     "venue",
     "version"
    ]
   },
   "StrikeNowRequest": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "earlyRun": {
      "type": "boolean"
     }
    },
    "required": [
     "earlyRun"
    ]
   },
   "StrikeNowView": {
    "type": "object",
    "properties": {
     "filled": {
      "type": "integer",
      "format": "int32"
     },
     "rejected": {
      "type": "integer",
      "format": "int32"
     },
     "waiting": {
      "type": "integer",
      "format": "int32"
     },
     "totalUnits": {
      "type": "string"
     },
     "totalAmount": {
      "type": "string"
     }
    },
    "required": [
     "filled",
     "rejected",
     "totalAmount",
     "totalUnits",
     "waiting"
    ]
   },
   "EnterPriceRequest": {
    "type": "object",
    "properties": {
     "dealingDate": {
      "type": [
       "string",
       "null"
      ]
     },
     "nav": {
      "type": [
       "number",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "buyPrice": {
      "type": [
       "number",
       "null"
      ]
     },
     "sellPrice": {
      "type": [
       "number",
       "null"
      ]
     },
     "user": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "PriceAdminView": {
    "type": "object",
    "properties": {
     "dealingDate": {
      "type": "string",
      "format": "date"
     },
     "version": {
      "type": "integer",
      "format": "int32"
     },
     "nav": {
      "type": "number"
     },
     "buyPrice": {
      "type": "number"
     },
     "sellPrice": {
      "type": "number"
     },
     "strikeAt": {
      "type": "string",
      "format": "date-time"
     },
     "status": {
      "type": "string"
     },
     "enteredBy": {
      "type": "string"
     },
     "approvedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "correctionOf": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "correctionReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "enteredAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "approvedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "enteredByName": {
      "type": [
       "string",
       "null"
      ]
     },
     "approvedByName": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "buyPrice",
     "dealingDate",
     "enteredBy",
     "nav",
     "sellPrice",
     "status",
     "strikeAt",
     "version"
    ]
   },
   "RejectPriceRequest": {
    "type": "object",
    "properties": {
     "dealingDate": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "user": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "ApprovePriceRequest": {
    "type": "object",
    "properties": {
     "dealingDate": {
      "type": [
       "string",
       "null"
      ]
     },
     "user": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "TakeBody": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    }
   },
   "ReopenBody": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    }
   },
   "NoteBody": {
    "type": "object",
    "properties": {
     "text": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "HandOverBody": {
    "type": "object",
    "properties": {
     "toUserId": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    }
   },
   "EscalateBody": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "suspicionFormedAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    }
   },
   "CloseBody": {
    "type": "object",
    "properties": {
     "outcome": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "regulator": {
      "type": [
       "string",
       "null"
      ]
     },
     "reference": {
      "type": [
       "string",
       "null"
      ]
     },
     "lodgedAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "suspicionFormedAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    }
   },
   "RetryRequest": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "SettlementObligationDto": {
    "type": "object",
    "properties": {
     "obligationId": {
      "type": "string"
     },
     "tenantId": {
      "type": "string"
     },
     "tradeId": {
      "type": "string"
     },
     "accountId": {
      "type": "string"
     },
     "instrument": {
      "type": "string"
     },
     "venue": {
      "type": "string"
     },
     "side": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     },
     "price": {
      "type": "number"
     },
     "grossAmount": {
      "type": "number"
     },
     "currency": {
      "type": "string"
     },
     "tradeDate": {
      "type": "string",
      "format": "date"
     },
     "settleDate": {
      "type": "string",
      "format": "date"
     },
     "settlementTimezone": {
      "type": "string"
     },
     "status": {
      "type": "string"
     },
     "statusReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "statusReasonClass": {
      "type": [
       "string",
       "null"
      ]
     },
     "settledQuantity": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "attempt": {
      "type": "integer",
      "format": "int32"
     },
     "statusUpdatedAt": {
      "type": "string",
      "format": "date-time"
     },
     "tradedAt": {
      "type": "string",
      "format": "date-time"
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "assetClass": {
      "type": [
       "string",
       "null"
      ]
     },
     "multiplier": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "cashOnly": {
      "type": "boolean"
     }
    },
    "required": [
     "accountId",
     "attempt",
     "cashOnly",
     "createdAt",
     "currency",
     "grossAmount",
     "instrument",
     "obligationId",
     "price",
     "quantity",
     "settleDate",
     "settlementTimezone",
     "side",
     "status",
     "statusUpdatedAt",
     "tenantId",
     "tradeDate",
     "tradeId",
     "tradedAt",
     "venue"
    ]
   },
   "CancelRequest": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "TestSendRequest": {
    "type": "object",
    "properties": {
     "to": {
      "type": "string"
     }
    },
    "required": [
     "to"
    ]
   },
   "TestSendResult": {
    "type": "object",
    "properties": {
     "sent": {
      "type": "boolean"
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "detail": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "sent"
    ]
   },
   "FirePreview": {
    "type": "object",
    "properties": {
     "at": {
      "type": "string",
      "format": "date-time"
     },
     "local": {
      "type": "string"
     },
     "zone": {
      "type": "string"
     },
     "shiftedByGap": {
      "type": "boolean"
     }
    },
    "required": [
     "at",
     "local",
     "shiftedByGap",
     "zone"
    ]
   },
   "RestrictedListRequest": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "accountId": {
      "type": [
       "string",
       "null"
      ]
     },
     "effectiveFrom": {
      "type": [
       "string",
       "null"
      ]
     },
     "effectiveTo": {
      "type": [
       "string",
       "null"
      ]
     },
     "tenantId": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "CloseBreakRequest": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "ReconciliationBreakDto": {
    "type": "object",
    "properties": {
     "breakId": {
      "type": "string"
     },
     "runId": {
      "type": "string"
     },
     "tenantId": {
      "type": "string"
     },
     "asAt": {
      "type": "string",
      "format": "date-time"
     },
     "kind": {
      "type": "string"
     },
     "feed": {
      "type": "string"
     },
     "accountId": {
      "type": [
       "string",
       "null"
      ]
     },
     "instrument": {
      "type": [
       "string",
       "null"
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "simtpQuantity": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "backOfficeQuantity": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "simtpAmount": {
      "type": [
       "number",
       "null"
      ]
     },
     "backOfficeAmount": {
      "type": [
       "number",
       "null"
      ]
     },
     "difference": {
      "type": [
       "number",
       "null"
      ]
     },
     "detail": {
      "type": [
       "string",
       "null"
      ]
     },
     "status": {
      "type": "string"
     },
     "openedAt": {
      "type": "string",
      "format": "date-time"
     },
     "closedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "closedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "closeReason": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "asAt",
     "breakId",
     "feed",
     "kind",
     "openedAt",
     "runId",
     "status",
     "tenantId"
    ]
   },
   "ProposeRebalanceRequest": {
    "type": "object",
    "properties": {
     "accounts": {
      "type": [
       "array",
       "null"
      ],
      "items": {
       "type": "string"
      }
     },
     "blockAccount": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "CashLineView": {
    "type": "object",
    "properties": {
     "currency": {
      "type": "string"
     },
     "amount": {
      "$ref": "#/components/schemas/MoneyView"
     },
     "fxRate": {
      "type": [
       "string",
       "null"
      ]
     },
     "fxSource": {
      "type": [
       "string",
       "null"
      ]
     },
     "fxAsOf": {
      "type": [
       "string",
       "null"
      ]
     },
     "valueInBase": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/MoneyView"
       },
       {
        "type": "null"
       }
      ]
     },
     "missing": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "amount",
     "currency"
    ]
   },
   "DriftLineView": {
    "type": "object",
    "properties": {
     "instrument": {
      "type": "string"
     },
     "targetPercent": {
      "type": "string"
     },
     "currentPercent": {
      "type": [
       "string",
       "null"
      ]
     },
     "driftPoints": {
      "type": [
       "string",
       "null"
      ]
     },
     "status": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "instrument",
     "targetPercent"
    ]
   },
   "LegAllocationView": {
    "type": "object",
    "properties": {
     "account": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     }
    },
    "required": [
     "account",
     "quantity"
    ]
   },
   "MoneyView": {
    "type": "object",
    "properties": {
     "amount": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     }
    },
    "required": [
     "amount",
     "currency"
    ]
   },
   "PortfolioDriftView": {
    "type": "object",
    "properties": {
     "account": {
      "type": "string"
     },
     "modelId": {
      "type": "string"
     },
     "modelVersion": {
      "type": "integer",
      "format": "int32"
     },
     "baseCurrency": {
      "type": "string"
     },
     "toleranceBand": {
      "type": "string"
     },
     "complete": {
      "type": "boolean"
     },
     "missing": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "lines": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/DriftLineView"
      }
     },
     "valuation": {
      "$ref": "#/components/schemas/PortfolioValuationView"
     },
     "asAt": {
      "type": "string"
     }
    },
    "required": [
     "account",
     "asAt",
     "baseCurrency",
     "complete",
     "lines",
     "missing",
     "modelId",
     "modelVersion",
     "toleranceBand",
     "valuation"
    ]
   },
   "PortfolioValuationView": {
    "type": "object",
    "properties": {
     "account": {
      "type": "string"
     },
     "baseCurrency": {
      "type": "string"
     },
     "total": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/MoneyView"
       },
       {
        "type": "null"
       }
      ]
     },
     "complete": {
      "type": "boolean"
     },
     "missing": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "lines": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ValuationLineView"
      }
     },
     "cash": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CashLineView"
      }
     },
     "asAt": {
      "type": "string"
     }
    },
    "required": [
     "account",
     "asAt",
     "baseCurrency",
     "cash",
     "complete",
     "lines",
     "missing"
    ]
   },
   "RebalanceLegView": {
    "type": "object",
    "properties": {
     "legNo": {
      "type": "integer",
      "format": "int32"
     },
     "instrument": {
      "type": "string"
     },
     "side": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     },
     "account": {
      "type": "string"
     },
     "allocations": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/LegAllocationView"
      }
     },
     "referencePrice": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "referencePriceAsOf": {
      "type": "string"
     },
     "status": {
      "type": "string"
     },
     "clOrdId": {
      "type": "string"
     },
     "orderId": {
      "type": [
       "string",
       "null"
      ]
     },
     "allocationId": {
      "type": [
       "string",
       "null"
      ]
     },
     "failureReason": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "account",
     "allocations",
     "clOrdId",
     "currency",
     "instrument",
     "legNo",
     "quantity",
     "referencePrice",
     "referencePriceAsOf",
     "side",
     "status"
    ]
   },
   "RebalanceProposalView": {
    "type": "object",
    "properties": {
     "proposalId": {
      "type": "string"
     },
     "status": {
      "type": "string"
     },
     "accounts": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "modelId": {
      "type": "string"
     },
     "modelVersion": {
      "type": "integer",
      "format": "int32"
     },
     "baseCurrency": {
      "type": "string"
     },
     "blockAccount": {
      "type": [
       "string",
       "null"
      ]
     },
     "legs": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RebalanceLegView"
      }
     },
     "drifts": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/PortfolioDriftView"
      }
     },
     "proposedBy": {
      "type": "string"
     },
     "proposedAt": {
      "type": "string"
     },
     "expiresAt": {
      "type": "string"
     },
     "decidedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "decidedAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "notice": {
      "type": "string"
     },
     "noticeText": {
      "type": "string"
     }
    },
    "required": [
     "accounts",
     "baseCurrency",
     "drifts",
     "expiresAt",
     "legs",
     "modelId",
     "modelVersion",
     "notice",
     "noticeText",
     "proposalId",
     "proposedAt",
     "proposedBy",
     "status"
    ]
   },
   "ValuationLineView": {
    "type": "object",
    "properties": {
     "instrument": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "price": {
      "type": [
       "string",
       "null"
      ]
     },
     "priceAsOf": {
      "type": [
       "string",
       "null"
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "marketValue": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/MoneyView"
       },
       {
        "type": "null"
       }
      ]
     },
     "fxRate": {
      "type": [
       "string",
       "null"
      ]
     },
     "fxSource": {
      "type": [
       "string",
       "null"
      ]
     },
     "fxAsOf": {
      "type": [
       "string",
       "null"
      ]
     },
     "valueInBase": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/MoneyView"
       },
       {
        "type": "null"
       }
      ]
     },
     "missing": {
      "type": [
       "string",
       "null"
      ]
     },
     "stale": {
      "type": "boolean"
     },
     "staleReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "assetClass": {
      "type": [
       "string",
       "null"
      ]
     },
     "priceAsAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "quantityDecimal": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "instrument",
     "quantity",
     "stale"
    ]
   },
   "RejectRebalanceRequest": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "ResolveExceptionRequest": {
    "type": "object",
    "properties": {
     "note": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "PlatformExceptionDetail": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "execId": {
      "type": [
       "string",
       "null"
      ]
     },
     "clOrdId": {
      "type": [
       "string",
       "null"
      ]
     },
     "origClOrdId": {
      "type": [
       "string",
       "null"
      ]
     },
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "status": {
      "type": "string"
     },
     "raisedAt": {
      "type": "string",
      "format": "date-time"
     },
     "repeatCount": {
      "type": "integer",
      "format": "int32"
     },
     "lastSeenAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "repeatedSinceResolved": {
      "type": "boolean"
     },
     "raw": {
      "type": [
       "string",
       "null"
      ]
     },
     "acknowledgedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "resolvedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "resolvedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "note": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "id",
     "raisedAt",
     "repeatCount",
     "repeatedSinceResolved",
     "status"
    ]
   },
   "Applicant": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "firstName": {
      "type": [
       "string",
       "null"
      ]
     },
     "lastName": {
      "type": [
       "string",
       "null"
      ]
     },
     "email": {
      "type": [
       "string",
       "null"
      ]
     },
     "mobile": {
      "type": [
       "string",
       "null"
      ]
     },
     "password": {
      "type": [
       "string",
       "null"
      ]
     },
     "addresses": {
      "type": [
       "object",
       "null"
      ],
      "additionalProperties": {
       "$ref": "#/components/schemas/ApplicantAddress"
      }
     },
     "version": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "dateOfBirth": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     }
    },
    "required": [
     "id"
    ]
   },
   "ApplicantAddress": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "houseNumber": {
      "type": [
       "string",
       "null"
      ]
     },
     "streetNumber": {
      "type": [
       "string",
       "null"
      ]
     },
     "streetAddress1": {
      "type": [
       "string",
       "null"
      ]
     },
     "streetAddress2": {
      "type": [
       "string",
       "null"
      ]
     },
     "city": {
      "type": [
       "string",
       "null"
      ]
     },
     "postcode": {
      "type": [
       "string",
       "null"
      ]
     },
     "version": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "countryCode": {
      "type": [
       "string",
       "null"
      ]
     },
     "state": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "id"
    ]
   },
   "Application": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "tenantId": {
      "type": [
       "string",
       "null"
      ]
     },
     "applicants": {
      "type": [
       "object",
       "null"
      ],
      "additionalProperties": {
       "$ref": "#/components/schemas/Applicant"
      }
     },
     "acceptedTerms": {
      "type": [
       "boolean",
       "null"
      ]
     },
     "account": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/ApplicationAccount"
       },
       {
        "type": "null"
       }
      ]
     },
     "approved": {
      "type": "boolean"
     },
     "version": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    },
    "required": [
     "approved",
     "id"
    ]
   },
   "ApplicationAccount": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "type": {
      "type": [
       "string",
       "null"
      ]
     },
     "settlementAccounts": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/ApplicationSettlementAccount"
      }
     },
     "labels": {
      "type": [
       "array",
       "null"
      ],
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     },
     "version": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    },
    "required": [
     "id",
     "settlementAccounts"
    ]
   },
   "ApplicationSettlementAccount": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": [
       "string",
       "null"
      ]
     },
     "balance": {
      "type": [
       "number",
       "null"
      ]
     },
     "labels": {
      "type": [
       "array",
       "null"
      ],
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     },
     "version": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    },
    "required": [
     "id"
    ]
   },
   "NewOrderInstruction": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "quantity": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "marketSide": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "BUY",
       "SELL"
      ]
     },
     "orderPriceType": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "MARKET",
       "LIMIT"
      ]
     },
     "limitPrice": {
      "type": [
       "number",
       "null"
      ]
     },
     "placementTime": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "timeInForce": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "GTC",
       "FOK",
       "IOC",
       "DAY",
       "GTT"
      ]
     },
     "account": {
      "type": [
       "string",
       "null"
      ]
     },
     "clientId": {
      "type": [
       "string",
       "null"
      ]
     },
     "adviserId": {
      "type": [
       "string",
       "null"
      ]
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "instructedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "instructionId": {
      "type": [
       "string",
       "null"
      ]
     },
     "positionEffect": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "OPEN",
       "CLOSE"
      ]
     },
     "expireTime": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "quantityDecimal": {
      "type": [
       "number",
       "null"
      ]
     },
     "orderBasis": {
      "type": [
       "string",
       "null"
      ]
     },
     "amount": {
      "type": [
       "number",
       "null"
      ]
     }
    }
   },
   "ReleaseRequest": {
    "type": "object",
    "properties": {
     "note": {
      "type": [
       "string",
       "null"
      ]
     },
     "quantity": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "limitPrice": {
      "type": [
       "number",
       "null"
      ]
     },
     "acknowledgedUnchecked": {
      "type": "boolean"
     }
    },
    "required": [
     "acknowledgedUnchecked"
    ]
   },
   "RejectRequest": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "EscalateRequest": {
    "type": "object",
    "properties": {
     "toLevel": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "note": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "BulkCancelFilter": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "BulkCancelRequestBody": {
    "type": "object",
    "properties": {
     "requestId": {
      "type": [
       "string",
       "null"
      ]
     },
     "scope": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/BulkCancelScopeBody"
       },
       {
        "type": "null"
       }
      ]
     },
     "filter": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/BulkCancelFilter"
       },
       {
        "type": "null"
       }
      ]
     },
     "reasonCode": {
      "type": [
       "string",
       "null"
      ]
     },
     "reasonText": {
      "type": [
       "string",
       "null"
      ]
     },
     "confirmTenantId": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "BulkCancelScopeBody": {
    "type": "object",
    "properties": {
     "type": {
      "type": [
       "string",
       "null"
      ]
     },
     "id": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "BulkCancelBatchResponse": {
    "type": "object",
    "properties": {
     "batchId": {
      "type": "string"
     },
     "requestId": {
      "type": "string"
     },
     "status": {
      "type": "string"
     },
     "scope": {
      "$ref": "#/components/schemas/BulkCancelScopeBody"
     },
     "filter": {
      "$ref": "#/components/schemas/BulkCancelFilter"
     },
     "reasonCode": {
      "type": "string"
     },
     "reasonText": {
      "type": [
       "string",
       "null"
      ]
     },
     "initiatedBy": {
      "type": "string"
     },
     "stopReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "acceptedAt": {
      "type": "string",
      "format": "date-time"
     },
     "startedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "finishedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "found": {
      "type": "integer",
      "format": "int32"
     },
     "sent": {
      "type": "integer",
      "format": "int32"
     },
     "skippedHeld": {
      "type": "integer",
      "format": "int32"
     },
     "skippedNotWorking": {
      "type": "integer",
      "format": "int32"
     },
     "failed": {
      "type": "integer",
      "format": "int32"
     },
     "passes": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "acceptedAt",
     "batchId",
     "failed",
     "filter",
     "found",
     "initiatedBy",
     "passes",
     "reasonCode",
     "requestId",
     "scope",
     "sent",
     "skippedHeld",
     "skippedNotWorking",
     "status"
    ]
   },
   "BulkCancelPreviewBody": {
    "type": "object",
    "properties": {
     "scope": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/BulkCancelScopeBody"
       },
       {
        "type": "null"
       }
      ]
     },
     "filter": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/BulkCancelFilter"
       },
       {
        "type": "null"
       }
      ]
     }
    }
   },
   "BulkCancelPreviewResponse": {
    "type": "object",
    "properties": {
     "total": {
      "type": "integer",
      "format": "int32"
     },
     "byStatus": {
      "type": "object",
      "additionalProperties": {
       "type": "integer",
       "format": "int32"
      }
     },
     "held": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "byStatus",
     "held",
     "total"
    ]
   },
   "CreateApiTokenRequest": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string"
     },
     "scopes": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "expiresInDays": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    },
    "required": [
     "name",
     "scopes"
    ]
   },
   "CreatedApiTokenView": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "scopes": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "hint": {
      "type": "string"
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "expiresAt": {
      "type": "string",
      "format": "date-time"
     },
     "token": {
      "type": "string"
     }
    },
    "required": [
     "createdAt",
     "expiresAt",
     "hint",
     "id",
     "name",
     "scopes",
     "token"
    ]
   },
   "RecordInstructionBody": {
    "type": "object",
    "properties": {
     "clientId": {
      "type": [
       "string",
       "null"
      ]
     },
     "accountId": {
      "type": [
       "string",
       "null"
      ]
     },
     "authority": {
      "type": [
       "string",
       "null"
      ]
     },
     "instructingParty": {
      "type": [
       "string",
       "null"
      ]
     },
     "authorityRef": {
      "type": [
       "string",
       "null"
      ]
     },
     "channel": {
      "type": [
       "string",
       "null"
      ]
     },
     "receivedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "content": {
      "type": [
       "string",
       "null"
      ]
     },
     "requestId": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "InstructionResponse": {
    "type": "object",
    "properties": {
     "instructionId": {
      "type": "string"
     },
     "clientId": {
      "type": "string"
     },
     "accountId": {
      "type": [
       "string",
       "null"
      ]
     },
     "authority": {
      "type": "string"
     },
     "instructingParty": {
      "type": "string"
     },
     "authorityRef": {
      "type": [
       "string",
       "null"
      ]
     },
     "channel": {
      "type": "string"
     },
     "receivedAt": {
      "type": "string",
      "format": "date-time"
     },
     "recordedAt": {
      "type": "string",
      "format": "date-time"
     },
     "recordedBy": {
      "type": "string"
     },
     "recordedVia": {
      "type": [
       "string",
       "null"
      ]
     },
     "content": {
      "type": "string"
     },
     "status": {
      "type": "string"
     },
     "version": {
      "type": "integer",
      "format": "int32"
     },
     "late": {
      "type": "boolean"
     },
     "lateBySeconds": {
      "type": "integer",
      "format": "int64"
     },
     "systemRecorded": {
      "type": "boolean"
     },
     "orderIds": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    },
    "required": [
     "authority",
     "channel",
     "clientId",
     "content",
     "instructingParty",
     "instructionId",
     "late",
     "lateBySeconds",
     "orderIds",
     "receivedAt",
     "recordedAt",
     "recordedBy",
     "status",
     "systemRecorded",
     "version"
    ]
   },
   "ReasonBody": {
    "type": "object",
    "properties": {
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "reasonCode": {
      "type": [
       "string",
       "null"
      ]
     },
     "reasonText": {
      "type": [
       "string",
       "null"
      ]
     },
     "requestId": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "AmendBody": {
    "type": "object",
    "properties": {
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "content": {
      "type": [
       "string",
       "null"
      ]
     },
     "restatedReceivedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "requestId": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "TransitionBody": {
    "type": "object",
    "properties": {
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "requestId": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "InstructionAuditRepairRequest": {
    "type": "object",
    "properties": {
     "since": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "limit": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "after": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/InstructionRepairCursor"
       },
       {
        "type": "null"
       }
      ]
     }
    }
   },
   "InstructionRepairCursor": {
    "type": "object",
    "properties": {
     "recordedAt": {
      "type": "string",
      "format": "date-time"
     },
     "instructionId": {
      "type": "string"
     },
     "seq": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "instructionId",
     "recordedAt",
     "seq"
    ]
   },
   "InstructionAuditRepairResponse": {
    "type": "object",
    "properties": {
     "attempted": {
      "type": "integer",
      "format": "int32"
     },
     "republished": {
      "type": "integer",
      "format": "int32"
     },
     "failed": {
      "type": "integer",
      "format": "int32"
     },
     "more": {
      "type": "boolean"
     },
     "next": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/InstructionRepairCursor"
       },
       {
        "type": "null"
       }
      ]
     },
     "since": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     }
    },
    "required": [
     "attempted",
     "failed",
     "more",
     "republished"
    ]
   },
   "FeeQuoteRequest": {
    "type": "object",
    "properties": {
     "clientId": {
      "type": "string"
     },
     "assetClass": {
      "type": "string"
     },
     "venue": {
      "type": "string"
     },
     "instrument": {
      "type": "string"
     },
     "side": {
      "type": "string"
     },
     "quantity": {
      "type": "number"
     },
     "limitPrice": {
      "type": "number"
     },
     "currency": {
      "type": "string"
     },
     "channel": {
      "type": "string"
     }
    },
    "required": [
     "assetClass",
     "channel",
     "clientId",
     "currency",
     "instrument",
     "limitPrice",
     "quantity",
     "side",
     "venue"
    ]
   },
   "FeeQuote": {
    "type": "object",
    "properties": {
     "status": {
      "type": "string"
     },
     "clientId": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "estimatedValue": {
      "type": "string"
     },
     "lines": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/FeeQuoteLine"
      }
     },
     "total": {
      "type": [
       "string",
       "null"
      ]
     },
     "scheduleId": {
      "type": [
       "string",
       "null"
      ]
     },
     "scheduleVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "rulesApplied": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "statement": {
      "type": "string"
     },
     "quotedAt": {
      "type": "string",
      "format": "date-time"
     }
    },
    "required": [
     "clientId",
     "currency",
     "estimatedValue",
     "lines",
     "quotedAt",
     "rulesApplied",
     "statement",
     "status"
    ]
   },
   "FeeQuoteLine": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string"
     },
     "description": {
      "type": "string"
     },
     "amount": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "rule": {
      "type": "string"
     }
    },
    "required": [
     "amount",
     "currency",
     "description",
     "kind",
     "rule"
    ]
   },
   "FeeBandDto": {
    "type": "object",
    "properties": {
     "upTo": {
      "type": [
       "number",
       "null"
      ]
     },
     "kind": {
      "type": "string"
     },
     "rate": {
      "type": "number"
     }
    },
    "required": [
     "kind",
     "rate"
    ]
   },
   "FeeScheduleDto": {
    "type": "object",
    "properties": {
     "scheduleId": {
      "type": "string"
     },
     "version": {
      "type": "integer",
      "format": "int32"
     },
     "name": {
      "type": "string"
     },
     "assetClass": {
      "type": "string"
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "instrument": {
      "type": [
       "string",
       "null"
      ]
     },
     "channel": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "bands": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/FeeBandDto"
      }
     },
     "minimum": {
      "type": [
       "number",
       "null"
      ]
     },
     "maximum": {
      "type": [
       "number",
       "null"
      ]
     },
     "effectiveFrom": {
      "type": "string",
      "format": "date-time"
     },
     "author": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "savedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     }
    },
    "required": [
     "assetClass",
     "bands",
     "channel",
     "currency",
     "effectiveFrom",
     "name",
     "scheduleId",
     "version"
    ]
   },
   "SaveFeeScheduleRequest": {
    "type": "object",
    "properties": {
     "schedule": {
      "$ref": "#/components/schemas/FeeScheduleDto"
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "schedule"
    ]
   },
   "PreviewRequest": {
    "type": "object",
    "properties": {
     "schedule": {
      "$ref": "#/components/schemas/FeeScheduleDto"
     },
     "value": {
      "type": "number"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     }
    },
    "required": [
     "quantity",
     "schedule",
     "value"
    ]
   },
   "FeeCorrectionRequest": {
    "type": "object",
    "properties": {
     "orderId": {
      "type": "string"
     },
     "accountId": {
      "type": "string"
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "tenantId": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "accountId",
     "orderId"
    ]
   },
   "ExceptionRecord": {
    "type": "object",
    "properties": {
     "exceptionId": {
      "type": "string"
     },
     "tenantId": {
      "type": "string"
     },
     "kind": {
      "type": "string",
      "enum": [
       "FUNDS_RESERVATION_REFUSED",
       "HOLDINGS_RESERVATION_REFUSED",
       "SETTLEMENT_FAILED",
       "RECONCILIATION_BREAK",
       "CONTRACT_NOTE_UNCORRECTED",
       "ALLOCATION_FUNDS_SHORTFALL",
       "ALLOCATION_HOLDINGS_SHORTFALL",
       "REBALANCE_ALLOCATION_FAILED",
       "FEE_SCHEDULE_MISSING",
       "NO_SETTLEMENT_ACCOUNT",
       "REPORT_NOT_APPLIED",
       "OBLIGATION_UNSTAMPED",
       "STAMPED_ACCOUNT_REFUSED",
       "FEE_STAMP_MISMATCH",
       "FEE_CURRENCY_ACCOUNT_UNRESOLVED",
       "HOLD_RESTORE_FAILED",
       "PENDING_AT_VENUE_TOO_LONG",
       "VENUE_REPORT_UNPLACED",
       "TRADE_CANCEL_AFTER_SETTLEMENT",
       "CARRIED_ORDER_FAILED_VETTING",
       "ORDER_PAST_EXPIRY",
       "CARRIED_ORDER_CANCEL_UNCONFIRMED",
       "HOLDING_IDENTIFIER_MISSING",
       "CONTRACT_NOTE_NOT_DELIVERED",
       "CONTRACT_NOTE_DOCUMENT_INTEGRITY",
       "CONTRACT_NOTE_DOCUMENT_DEFECT",
       "CONTRACT_NOTE_LATE_NOT_SENT",
       "CLASSIFICATION_EXPIRING",
       "CLASSIFICATION_LAPSED",
       "POSTING_NEEDS_REPAIR",
       "OPTION_ITM_EXPIRY",
       "FUND_STRIKE_FAILED",
       "FUND_PRICE_REJECTED",
       "FUND_PRICE_CORRECTED",
       "FUND_NAV_NOT_STRUCK"
      ]
     },
     "status": {
      "type": "string",
      "enum": [
       "OPEN",
       "ACKNOWLEDGED",
       "RESOLVED"
      ]
     },
     "accountId": {
      "type": [
       "string",
       "null"
      ]
     },
     "clientId": {
      "type": [
       "string",
       "null"
      ]
     },
     "orderId": {
      "type": [
       "string",
       "null"
      ]
     },
     "reservationId": {
      "type": [
       "string",
       "null"
      ]
     },
     "amount": {
      "type": [
       "number",
       "null"
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "quantity": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "raisedAt": {
      "type": "string",
      "format": "date-time"
     },
     "detail": {
      "type": [
       "string",
       "null"
      ]
     },
     "acknowledgedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "acknowledgedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "resolvedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "resolvedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "note": {
      "type": [
       "string",
       "null"
      ]
     },
     "recurredAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "reopenCount": {
      "type": "integer",
      "format": "int32"
     },
     "handledBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "handledAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     }
    },
    "required": [
     "exceptionId",
     "kind",
     "raisedAt",
     "reopenCount",
     "status",
     "tenantId"
    ]
   },
   "DemoReconciliationSummary": {
    "type": "object",
    "properties": {
     "outcome": {
      "type": "string"
     },
     "run": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/ReconciliationRunDto"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "required": [
     "outcome"
    ]
   },
   "ReconciliationRunDto": {
    "type": "object",
    "properties": {
     "runId": {
      "type": "string"
     },
     "tenantId": {
      "type": "string"
     },
     "asAt": {
      "type": "string",
      "format": "date-time"
     },
     "ranAt": {
      "type": "string",
      "format": "date-time"
     },
     "holdingsAsAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "cashAsAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "holdingsCompared": {
      "type": "integer",
      "format": "int32"
     },
     "cashCompared": {
      "type": "integer",
      "format": "int32"
     },
     "breakCount": {
      "type": "integer",
      "format": "int32"
     },
     "openBreaks": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "asAt",
     "breakCount",
     "cashCompared",
     "holdingsCompared",
     "openBreaks",
     "ranAt",
     "runId",
     "tenantId"
    ]
   },
   "OnboardRequest": {
    "type": "object",
    "properties": {
     "firstName": {
      "type": [
       "string",
       "null"
      ]
     },
     "lastName": {
      "type": [
       "string",
       "null"
      ]
     },
     "email": {
      "type": [
       "string",
       "null"
      ]
     },
     "adviserId": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "TenantCustomer": {
    "type": "object",
    "properties": {
     "customer": {
      "$ref": "#/components/schemas/Customer"
     },
     "relationship": {
      "$ref": "#/components/schemas/CustomerTenantRelationship"
     }
    },
    "required": [
     "customer",
     "relationship"
    ]
   },
   "KycRequest": {
    "type": "object",
    "properties": {
     "provider": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "WithdrawKycRequest": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "RecordClassificationRequest": {
    "type": "object",
    "properties": {
     "classCode": {
      "type": [
       "string",
       "null"
      ]
     },
     "basisCode": {
      "type": [
       "string",
       "null"
      ]
     },
     "evidenceRef": {
      "type": [
       "string",
       "null"
      ]
     },
     "effectiveFrom": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "expiresAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "requestId": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "ClassificationResponse": {
    "type": "object",
    "properties": {
     "state": {
      "type": "string"
     },
     "classCode": {
      "type": [
       "string",
       "null"
      ]
     },
     "basisCode": {
      "type": [
       "string",
       "null"
      ]
     },
     "classificationId": {
      "type": [
       "string",
       "null"
      ]
     },
     "effectiveFrom": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "expiresAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "evidenceRef": {
      "type": [
       "string",
       "null"
      ]
     },
     "recordedBy": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "state"
    ]
   },
   "WithdrawClassificationRequest": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "requestId": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "ClassificationHistoryEntry": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "relationshipId": {
      "type": "string"
     },
     "classCode": {
      "type": "string"
     },
     "basisCode": {
      "type": "string"
     },
     "evidenceRef": {
      "type": [
       "string",
       "null"
      ]
     },
     "effectiveFrom": {
      "type": "string",
      "format": "date-time"
     },
     "expiresAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "recordedBy": {
      "type": "string"
     },
     "recordedAt": {
      "type": "string",
      "format": "date-time"
     },
     "status": {
      "type": "string"
     },
     "endedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "endReason": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "basisCode",
     "classCode",
     "effectiveFrom",
     "id",
     "recordedAt",
     "recordedBy",
     "relationshipId",
     "status"
    ]
   },
   "KycBackfillResult": {
    "type": "object",
    "properties": {
     "tenantId": {
      "type": "string"
     },
     "cleared": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "cleared",
     "tenantId"
    ]
   },
   "ClassificationAuditRepairRequest": {
    "type": "object",
    "properties": {
     "from": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "to": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     }
    }
   },
   "ClassificationAuditRepairResponse": {
    "type": "object",
    "properties": {
     "published": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "published"
    ]
   },
   "WithdrawRequest": {
    "type": "object",
    "properties": {
     "reason": {
      "type": "string"
     }
    },
    "required": [
     "reason"
    ]
   },
   "WithdrawResponse": {
    "type": "object",
    "properties": {
     "actionId": {
      "type": "string"
     },
     "outcome": {
      "type": "string"
     },
     "announced": {
      "type": "boolean"
     },
     "warning": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "actionId",
     "announced",
     "outcome"
    ]
   },
   "ResendRequest": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "ResendResponse": {
    "type": "object",
    "properties": {
     "status": {
      "type": "string"
     }
    },
    "required": [
     "status"
    ]
   },
   "ApprovalRequest": {
    "type": "object",
    "properties": {
     "templateVersion": {
      "type": [
       "string",
       "null"
      ]
     },
     "reference": {
      "type": [
       "string",
       "null"
      ]
     },
     "tenantId": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "ApprovalResponse": {
    "type": "object",
    "properties": {
     "approvalId": {
      "type": "string"
     }
    },
    "required": [
     "approvalId"
    ]
   },
   "RepairRequest": {
    "type": "object",
    "properties": {
     "from": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "RepairResponse": {
    "type": "object",
    "properties": {
     "published": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "published"
    ]
   },
   "ConsentRequest": {
    "type": "object",
    "properties": {
     "clientId": {
      "type": "string"
     },
     "channel": {
      "type": "string"
     },
     "evidenceRef": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "channel",
     "clientId"
    ]
   },
   "OpenBody": {
    "type": "object",
    "properties": {
     "kind": {
      "type": [
       "string",
       "null"
      ]
     },
     "typeCode": {
      "type": [
       "string",
       "null"
      ]
     },
     "title": {
      "type": [
       "string",
       "null"
      ]
     },
     "description": {
      "type": [
       "string",
       "null"
      ]
     },
     "firstKnownAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "dueAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "clientId": {
      "type": [
       "string",
       "null"
      ]
     },
     "accountId": {
      "type": [
       "string",
       "null"
      ]
     },
     "requestId": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "MoveBody": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "toUserId": {
      "type": [
       "string",
       "null"
      ]
     },
     "outcome": {
      "type": [
       "string",
       "null"
      ]
     },
     "noReportReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    }
   },
   "ReportBody": {
    "type": "object",
    "properties": {
     "regulator": {
      "type": [
       "string",
       "null"
      ]
     },
     "reference": {
      "type": [
       "string",
       "null"
      ]
     },
     "reportedAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    }
   },
   "NoticeDecisionBody": {
    "type": "object",
    "properties": {
     "audience": {
      "type": [
       "string",
       "null"
      ]
     },
     "decision": {
      "type": [
       "string",
       "null"
      ]
     },
     "reasons": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    }
   },
   "GivenBody": {
    "type": "object",
    "properties": {
     "givenAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "reference": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    }
   },
   "LinkBody": {
    "type": "object",
    "properties": {
     "linkType": {
      "type": [
       "string",
       "null"
      ]
     },
     "refId": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    }
   },
   "FirstKnownBody": {
    "type": "object",
    "properties": {
     "firstKnownAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    }
   },
   "DecisionBody": {
    "type": "object",
    "properties": {
     "decision": {
      "type": [
       "string",
       "null"
      ]
     },
     "reasons": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    }
   },
   "HoldRequestBody": {
    "type": "object",
    "properties": {
     "scope": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/HoldScopeBody"
       },
       {
        "type": "null"
       }
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "reference": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "HoldScopeBody": {
    "type": "object",
    "properties": {
     "type": {
      "type": [
       "string",
       "null"
      ]
     },
     "subjectId": {
      "type": [
       "string",
       "null"
      ]
     },
     "from": {
      "type": [
       "string",
       "null"
      ]
     },
     "to": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "HoldAccepted": {
    "type": "object",
    "properties": {
     "holdId": {
      "type": "string"
     }
    },
    "required": [
     "holdId"
    ]
   },
   "HoldLiftBody": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "ExportRequestBody": {
    "type": "object",
    "properties": {
     "from": {
      "type": [
       "string",
       "null"
      ]
     },
     "to": {
      "type": [
       "string",
       "null"
      ]
     },
     "source": {
      "type": [
       "string",
       "null"
      ]
     },
     "format": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "ExportAccepted": {
    "type": "object",
    "properties": {
     "exportId": {
      "type": "string"
     }
    },
    "required": [
     "exportId"
    ]
   },
   "AuthorityStartBody": {
    "type": "object",
    "properties": {
     "startedAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "expectedVersion": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    }
   },
   "ChangePasswordRequest": {
    "type": "object",
    "properties": {
     "currentPassword": {
      "type": "string"
     },
     "newPassword": {
      "type": "string"
     }
    },
    "required": [
     "currentPassword",
     "newPassword"
    ]
   },
   "ReviewBody": {
    "type": "object",
    "properties": {
     "requestId": {
      "type": [
       "string",
       "null"
      ]
     },
     "riskRating": {
      "type": [
       "string",
       "null"
      ]
     },
     "reviewedAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "reasonCode": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "AllocationRequest": {
    "type": "object",
    "properties": {
     "orderId": {
      "type": "string"
     },
     "targets": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AllocationTargetRequest"
      }
     }
    },
    "required": [
     "orderId",
     "targets"
    ]
   },
   "AllocationTargetRequest": {
    "type": "object",
    "properties": {
     "account": {
      "type": "string"
     },
     "quantity": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "weight": {
      "type": [
       "number",
       "null"
      ]
     }
    },
    "required": [
     "account"
    ]
   },
   "ReallocationRequest": {
    "type": "object",
    "properties": {
     "fromAccount": {
      "type": "string"
     },
     "toAccount": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "reason": {
      "type": "string"
     },
     "idempotencyKey": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "fromAccount",
     "quantity",
     "reason",
     "toAccount"
    ]
   },
   "AddHoldingIdentifier": {
    "type": "object",
    "properties": {
     "scheme": {
      "type": "string"
     },
     "instrumentId": {
      "type": [
       "string",
       "null"
      ]
     },
     "value": {
      "type": "string"
     },
     "sponsorId": {
      "type": [
       "string",
       "null"
      ]
     },
     "registrationName": {
      "type": [
       "string",
       "null"
      ]
     },
     "designation": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "scheme",
     "value"
    ]
   },
   "HoldingIdentifierView": {
    "type": "object",
    "properties": {
     "tenantId": {
      "type": "string"
     },
     "accountId": {
      "type": "string"
     },
     "id": {
      "type": "string"
     },
     "scheme": {
      "type": "string"
     },
     "market": {
      "type": "string"
     },
     "instrumentId": {
      "type": [
       "string",
       "null"
      ]
     },
     "sponsorId": {
      "type": [
       "string",
       "null"
      ]
     },
     "status": {
      "type": "string",
      "enum": [
       "ACTIVE",
       "INACTIVE"
      ]
     },
     "recordedAt": {
      "type": "string",
      "format": "date-time"
     },
     "recordedBy": {
      "type": "string"
     },
     "deactivatedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "deactivatedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "version": {
      "type": "integer",
      "format": "int64"
     },
     "masked": {
      "type": "string"
     },
     "registrationName": {
      "type": [
       "string",
       "null"
      ]
     },
     "designation": {
      "type": [
       "string",
       "null"
      ]
     },
     "hasRegistration": {
      "type": "boolean"
     },
     "sharedNumberNameMismatch": {
      "type": "boolean"
     }
    },
    "required": [
     "accountId",
     "hasRegistration",
     "id",
     "market",
     "masked",
     "recordedAt",
     "recordedBy",
     "scheme",
     "sharedNumberNameMismatch",
     "status",
     "tenantId",
     "version"
    ]
   },
   "HoldingIdentifierReasonRequest": {
    "type": "object",
    "properties": {
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "RevealedHoldingIdentifier": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "scheme": {
      "type": "string"
     },
     "market": {
      "type": "string"
     },
     "value": {
      "type": "string"
     },
     "instrumentId": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "id",
     "market",
     "scheme",
     "value"
    ]
   },
   "HoldingIdentifierRegistrationPatch": {
    "type": "object",
    "additionalProperties": {
     "type": "string"
    },
    "properties": {
     "empty": {
      "type": "boolean"
     }
    }
   },
   "MailSettingsForService": {
    "type": "object",
    "properties": {
     "configured": {
      "type": "boolean"
     },
     "host": {
      "type": [
       "string",
       "null"
      ]
     },
     "port": {
      "type": "integer",
      "format": "int32"
     },
     "username": {
      "type": [
       "string",
       "null"
      ]
     },
     "password": {
      "type": [
       "string",
       "null"
      ]
     },
     "fromAddress": {
      "type": [
       "string",
       "null"
      ]
     },
     "tlsMode": {
      "type": "string"
     },
     "resetEnabled": {
      "type": "boolean"
     },
     "version": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    },
    "required": [
     "configured",
     "port",
     "resetEnabled",
     "tlsMode"
    ]
   },
   "CompositionLineView": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "enum": [
       "INSTRUMENT",
       "CASH"
      ]
     },
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "weightPercent": {
      "type": "string"
     },
     "cashRatePercent": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "kind",
     "weightPercent"
    ]
   },
   "CompositionView": {
    "type": "object",
    "properties": {
     "version": {
      "type": "integer",
      "format": "int32"
     },
     "effectiveFrom": {
      "type": "string",
      "format": "date"
     },
     "lines": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CompositionLineView"
      }
     }
    },
    "required": [
     "effectiveFrom",
     "lines",
     "version"
    ]
   },
   "OptionView": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": "string"
     },
     "composition": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/CompositionView"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "required": [
     "symbol"
    ]
   },
   "StaffLatestPriceView": {
    "type": "object",
    "properties": {
     "venue": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "dealingDate": {
      "type": "string",
      "format": "date"
     },
     "version": {
      "type": "integer",
      "format": "int32"
     },
     "nav": {
      "type": "number"
     },
     "buyPrice": {
      "type": "number"
     },
     "sellPrice": {
      "type": "number"
     },
     "approvedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "approvedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     }
    },
    "required": [
     "buyPrice",
     "dealingDate",
     "nav",
     "sellPrice",
     "symbol",
     "venue",
     "version"
    ]
   },
   "ProductFundView": {
    "type": "object",
    "properties": {
     "providerName": {
      "type": "string"
     },
     "riskBand": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "riskLabel": {
      "type": [
       "string",
       "null"
      ]
     },
     "themeTags": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ThemeTag"
      }
     },
     "benchmark": {
      "type": [
       "string",
       "null"
      ]
     },
     "managementFeePercent": {
      "type": [
       "string",
       "null"
      ]
     },
     "distributionFrequency": {
      "type": [
       "string",
       "null"
      ]
     },
     "distributionDefault": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "providerName",
     "themeTags"
    ]
   },
   "ProductPriceView": {
    "type": "object",
    "properties": {
     "dealingDate": {
      "type": "string",
      "format": "date"
     },
     "buyPrice": {
      "type": "string"
     },
     "sellPrice": {
      "type": "string"
     }
    },
    "required": [
     "buyPrice",
     "dealingDate",
     "sellPrice"
    ]
   },
   "ProductView": {
    "type": "object",
    "properties": {
     "venue": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "schemeCode": {
      "type": "string"
     },
     "schemeName": {
      "type": "string"
     },
     "displayName": {
      "type": [
       "string",
       "null"
      ]
     },
     "fund": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/ProductFundView"
       },
       {
        "type": "null"
       }
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "minimumApplication": {
      "type": [
       "string",
       "null"
      ]
     },
     "minimumRedemption": {
      "type": [
       "string",
       "null"
      ]
     },
     "latestPrice": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/ProductPriceView"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "required": [
     "schemeCode",
     "schemeName",
     "symbol",
     "venue"
    ]
   },
   "ThemeTag": {
    "type": "object",
    "properties": {
     "tag": {
      "type": "string"
     },
     "sourceNote": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "tag"
    ]
   },
   "NextDealingView": {
    "type": "object",
    "properties": {
     "dealingDate": {
      "type": "string"
     },
     "cutOffAt": {
      "type": "string"
     },
     "strikeAt": {
      "type": "string"
     },
     "venueZone": {
      "type": "string"
     }
    },
    "required": [
     "cutOffAt",
     "dealingDate",
     "strikeAt",
     "venueZone"
    ]
   },
   "PriceRulesView": {
    "type": "object",
    "properties": {
     "twoPersonRule": {
      "type": "boolean"
     }
    },
    "required": [
     "twoPersonRule"
    ]
   },
   "PendingPriceView": {
    "type": "object",
    "properties": {
     "venue": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "price": {
      "$ref": "#/components/schemas/PriceAdminView"
     }
    },
    "required": [
     "price",
     "symbol",
     "venue"
    ]
   },
   "PriceView": {
    "type": "object",
    "properties": {
     "dealingDate": {
      "type": "string",
      "format": "date"
     },
     "version": {
      "type": "integer",
      "format": "int32"
     },
     "nav": {
      "type": "string"
     },
     "buyPrice": {
      "type": "string"
     },
     "sellPrice": {
      "type": "string"
     },
     "strikeAt": {
      "type": "string",
      "format": "date-time"
     },
     "source": {
      "type": "string"
     },
     "correctionOf": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     }
    },
    "required": [
     "buyPrice",
     "dealingDate",
     "nav",
     "sellPrice",
     "source",
     "strikeAt",
     "version"
    ]
   },
   "StaffPriceView": {
    "type": "object",
    "properties": {
     "dealingDate": {
      "type": "string",
      "format": "date"
     },
     "version": {
      "type": "integer",
      "format": "int32"
     },
     "nav": {
      "type": "number"
     },
     "buyPrice": {
      "type": "number"
     },
     "sellPrice": {
      "type": "number"
     },
     "correctionOf": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "correctionReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "enteredBy": {
      "type": "string"
     },
     "approvedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "approvedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "enteredAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "enteredByName": {
      "type": [
       "string",
       "null"
      ]
     },
     "approvedByName": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "buyPrice",
     "dealingDate",
     "enteredBy",
     "nav",
     "sellPrice",
     "version"
    ]
   },
   "PriceAuditView": {
    "type": "object",
    "properties": {
     "dealingDate": {
      "type": "string",
      "format": "date"
     },
     "action": {
      "type": "string"
     },
     "actor": {
      "type": "string"
     },
     "at": {
      "type": "string",
      "format": "date-time"
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "version": {
      "type": "integer",
      "format": "int32"
     },
     "actorName": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "action",
     "actor",
     "at",
     "dealingDate",
     "version"
    ]
   },
   "DealingLineView": {
    "type": "object",
    "properties": {
     "orderId": {
      "type": "string"
     },
     "side": {
      "type": "string"
     },
     "units": {
      "type": "number"
     },
     "amount": {
      "type": "number"
     }
    },
    "required": [
     "amount",
     "orderId",
     "side",
     "units"
    ]
   },
   "DealingSummary": {
    "type": "object",
    "properties": {
     "venue": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "dealingDate": {
      "type": "string",
      "format": "date"
     },
     "buyPrice": {
      "type": "number"
     },
     "sellPrice": {
      "type": "number"
     },
     "applications": {
      "type": "integer",
      "format": "int32"
     },
     "redemptions": {
      "type": "integer",
      "format": "int32"
     },
     "unitsIssued": {
      "type": "number"
     },
     "unitsRedeemed": {
      "type": "number"
     },
     "applicationAmount": {
      "type": "number"
     },
     "redemptionAmount": {
      "type": "number"
     },
     "netUnits": {
      "type": "number"
     },
     "netAmount": {
      "type": "number"
     },
     "struckAt": {
      "type": "string",
      "format": "date-time"
     },
     "platformUnitsHeld": {
      "type": [
       "number",
       "null"
      ]
     }
    },
    "required": [
     "applicationAmount",
     "applications",
     "buyPrice",
     "dealingDate",
     "netAmount",
     "netUnits",
     "redemptionAmount",
     "redemptions",
     "sellPrice",
     "struckAt",
     "symbol",
     "unitsIssued",
     "unitsRedeemed",
     "venue"
    ]
   },
   "DealingSummaryView": {
    "type": "object",
    "properties": {
     "platform": {
      "$ref": "#/components/schemas/DealingSummary"
     },
     "mine": {
      "type": [
       "array",
       "null"
      ],
      "items": {
       "$ref": "#/components/schemas/DealingLineView"
      }
     }
    },
    "required": [
     "platform"
    ]
   },
   "OfferingCountView": {
    "type": "object",
    "properties": {
     "tenantsOffering": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "tenantsOffering"
    ]
   },
   "UiConfig": {
    "type": "object",
    "properties": {
     "oidcAuthority": {
      "type": [
       "string",
       "null"
      ]
     },
     "oidcClientId": {
      "type": [
       "string",
       "null"
      ]
     },
     "authMethods": {
      "type": [
       "array",
       "null"
      ],
      "items": {
       "type": "string"
      }
     }
    }
   },
   "FundTradeTerms": {
    "type": "object",
    "properties": {
     "currency": {
      "type": "string"
     },
     "productName": {
      "type": "string"
     }
    },
    "required": [
     "currency",
     "productName"
    ]
   },
   "Trade": {
    "type": "object",
    "properties": {
     "tenantId": {
      "type": "string"
     },
     "id": {
      "type": "string"
     },
     "account": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "side": {
      "type": "string",
      "enum": [
       "BUY",
       "SELL"
      ]
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "price": {
      "type": "number"
     },
     "timestamp": {
      "type": "string",
      "format": "date-time"
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "orderId": {
      "type": [
       "string",
       "null"
      ]
     },
     "execId": {
      "type": [
       "string",
       "null"
      ]
     },
     "cancelledAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "quantityDecimal": {
      "type": [
       "string",
       "null"
      ]
     },
     "assetClass": {
      "type": "string"
     },
     "fund": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/FundTradeTerms"
       },
       {
        "type": "null"
       }
      ]
     },
     "amount": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "account",
     "assetClass",
     "id",
     "price",
     "quantity",
     "side",
     "symbol",
     "tenantId",
     "timestamp"
    ]
   },
   "TradeHistoryPage": {
    "type": "object",
    "properties": {
     "trades": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Trade"
      }
     },
     "hasMore": {
      "type": "boolean"
     }
    },
    "required": [
     "hasMore",
     "trades"
    ]
   },
   "RoleChangeResponse": {
    "type": "object",
    "properties": {
     "changeId": {
      "type": "string"
     },
     "userId": {
      "type": "string"
     },
     "kind": {
      "type": "string",
      "enum": [
       "MEMBER_ADDED",
       "MEMBER_REMOVED",
       "ROLE_GRANTED",
       "ROLE_REVOKED"
      ]
     },
     "role": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "MEMBER",
       "ADVISER",
       "SUPERVISOR",
       "SUPPORT",
       "DTR",
       "SENIOR_DTR",
       "HEAD_DTR",
       "SYSADMIN",
       "BACK_OFFICE",
       "SETTLEMENTS_SUPERVISOR",
       "COMPLIANCE",
       "COMPLIANCE_EXPORT",
       "COMPLIANCE_HOLD",
       "SURVEILLANCE",
       "AML",
       "MODEL_MANAGER"
      ]
     },
     "actor": {
      "type": "string"
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "recordedAt": {
      "type": "string",
      "format": "date-time"
     }
    },
    "required": [
     "actor",
     "changeId",
     "kind",
     "recordedAt",
     "userId"
    ]
   },
   "AdviserSummary": {
    "type": "object",
    "properties": {
     "userId": {
      "type": "string"
     },
     "displayName": {
      "type": "string"
     },
     "supervisors": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     },
     "support": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     }
    },
    "required": [
     "displayName",
     "supervisors",
     "support",
     "userId"
    ]
   },
   "Money": {
    "type": "object",
    "properties": {
     "amount": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     }
    },
    "required": [
     "amount",
     "currency"
    ]
   },
   "SettlementCurrencyTotal": {
    "type": "object",
    "properties": {
     "currency": {
      "type": "string"
     },
     "settledPostings": {
      "$ref": "#/components/schemas/Money"
     },
     "pendingSettlement": {
      "$ref": "#/components/schemas/Money"
     }
    },
    "required": [
     "currency",
     "pendingSettlement",
     "settledPostings"
    ]
   },
   "SettlementPositionPage": {
    "type": "object",
    "properties": {
     "items": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SettlementPositionRow"
      }
     },
     "page": {
      "type": "integer",
      "format": "int32"
     },
     "size": {
      "type": "integer",
      "format": "int32"
     },
     "total": {
      "type": "integer",
      "format": "int64"
     },
     "totalsByCurrency": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SettlementCurrencyTotal"
      }
     }
    },
    "required": [
     "items",
     "page",
     "size",
     "total",
     "totalsByCurrency"
    ]
   },
   "SettlementPositionRow": {
    "type": "object",
    "properties": {
     "accountId": {
      "type": "string"
     },
     "instrument": {
      "type": "string"
     },
     "tradeDateQuantity": {
      "type": "integer",
      "format": "int64"
     },
     "settledQuantity": {
      "type": "integer",
      "format": "int64"
     },
     "pendingQuantity": {
      "type": "integer",
      "format": "int64"
     },
     "hasFailed": {
      "type": "boolean"
     }
    },
    "required": [
     "accountId",
     "hasFailed",
     "instrument",
     "pendingQuantity",
     "settledQuantity",
     "tradeDateQuantity"
    ]
   },
   "SettlementCashView": {
    "type": "object",
    "properties": {
     "currency": {
      "type": "string"
     },
     "settledPostings": {
      "$ref": "#/components/schemas/Money"
     },
     "pendingSettlement": {
      "$ref": "#/components/schemas/Money"
     }
    },
    "required": [
     "currency",
     "pendingSettlement",
     "settledPostings"
    ]
   },
   "SettlementHoldingView": {
    "type": "object",
    "properties": {
     "instrument": {
      "type": "string"
     },
     "tradeDateQuantity": {
      "type": "integer",
      "format": "int64"
     },
     "settledQuantity": {
      "type": "integer",
      "format": "int64"
     },
     "pendingQuantity": {
      "type": "integer",
      "format": "int64"
     },
     "hasFailed": {
      "type": "boolean"
     }
    },
    "required": [
     "hasFailed",
     "instrument",
     "pendingQuantity",
     "settledQuantity",
     "tradeDateQuantity"
    ]
   },
   "SettlementPositionView": {
    "type": "object",
    "properties": {
     "tenantId": {
      "type": "string"
     },
     "accountId": {
      "type": "string"
     },
     "holdings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SettlementHoldingView"
      }
     },
     "cash": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SettlementCashView"
      }
     }
    },
    "required": [
     "accountId",
     "cash",
     "holdings",
     "tenantId"
    ]
   },
   "SettlementPostingView": {
    "type": "object",
    "properties": {
     "postingId": {
      "type": "string"
     },
     "obligationId": {
      "type": "string"
     },
     "accountId": {
      "type": "string"
     },
     "instrument": {
      "type": "string"
     },
     "venue": {
      "type": "string"
     },
     "kind": {
      "type": "string"
     },
     "cash": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/Money"
       },
       {
        "type": "null"
       }
      ]
     },
     "quantityDelta": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "valueDate": {
      "type": "string"
     },
     "reversalOf": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "stage": {
      "type": "string"
     },
     "postedAt": {
      "type": "string"
     }
    },
    "required": [
     "accountId",
     "instrument",
     "kind",
     "obligationId",
     "postedAt",
     "postingId",
     "stage",
     "valueDate",
     "venue"
    ]
   },
   "DerivativeDescriptor": {
    "type": "object",
    "properties": {
     "assetClass": {
      "type": "string"
     },
     "underlying": {
      "type": "string"
     },
     "optionType": {
      "type": "string",
      "enum": [
       "CALL",
       "PUT"
      ]
     },
     "strike": {
      "type": "number"
     },
     "expiry": {
      "type": "string",
      "format": "date"
     },
     "exerciseStyle": {
      "type": "string"
     },
     "settlementType": {
      "type": "string"
     },
     "multiplier": {
      "type": "integer",
      "format": "int32"
     },
     "seriesVersion": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "assetClass",
     "exerciseStyle",
     "expiry",
     "multiplier",
     "optionType",
     "seriesVersion",
     "settlementType",
     "strike",
     "underlying"
    ]
   },
   "FundFacts": {
    "type": "object",
    "properties": {
     "providerName": {
      "type": "string"
     },
     "riskBand": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "riskLabel": {
      "type": [
       "string",
       "null"
      ]
     },
     "themeTags": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ThemeTag"
      }
     },
     "benchmark": {
      "type": [
       "string",
       "null"
      ]
     },
     "managementFeePercent": {
      "type": [
       "number",
       "null"
      ]
     },
     "distributionFrequency": {
      "type": [
       "string",
       "null"
      ]
     },
     "distributionDefault": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "providerName",
     "themeTags"
    ]
   },
   "Instrument": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "description": {
      "type": [
       "string",
       "null"
      ]
     },
     "sector": {
      "type": [
       "string",
       "null"
      ]
     },
     "index": {
      "type": [
       "string",
       "null"
      ]
     },
     "derivative": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/DerivativeDescriptor"
       },
       {
        "type": "null"
       }
      ]
     },
     "declaredAssetClass": {
      "type": [
       "string",
       "null"
      ]
     },
     "schemeCode": {
      "type": [
       "string",
       "null"
      ]
     },
     "fund": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/FundFacts"
       },
       {
        "type": "null"
       }
      ]
     },
     "assetClass": {
      "type": "string"
     }
    },
    "required": [
     "assetClass"
    ]
   },
   "ConversionObject": {
    "type": "object",
    "properties": {
     "logicalTypeName": {
      "type": "string"
     },
     "recommendedSchema": {
      "$ref": "#/components/schemas/Schema"
     }
    }
   },
   "DealingRules": {
    "type": "object",
    "properties": {
     "currency": {
      "type": "string"
     },
     "cutOffLocal": {
      "type": "string",
      "format": "time-local"
     },
     "strikeTimeLocal": {
      "type": "string",
      "format": "time-local"
     },
     "publishLagBusinessDays": {
      "type": "integer",
      "format": "int32"
     },
     "unitDecimals": {
      "type": "integer",
      "format": "int32"
     },
     "minimumApplication": {
      "type": "number"
     },
     "minimumFurtherApplication": {
      "type": "number"
     },
     "minimumRedemption": {
      "type": "number"
     },
     "buySpreadPercent": {
      "type": "number"
     },
     "sellSpreadPercent": {
      "type": "number"
     },
     "redemptionPaymentDays": {
      "type": "integer",
      "format": "int32"
     },
     "maxUnitsBuyAllowancePercent": {
      "type": "number"
     }
    },
    "required": [
     "buySpreadPercent",
     "currency",
     "cutOffLocal",
     "maxUnitsBuyAllowancePercent",
     "minimumApplication",
     "minimumFurtherApplication",
     "minimumRedemption",
     "publishLagBusinessDays",
     "redemptionPaymentDays",
     "sellSpreadPercent",
     "strikeTimeLocal",
     "unitDecimals"
    ]
   },
   "FastReaderBuilder": {
    "type": "object",
    "properties": {
     "keyClassEnabled": {
      "type": "boolean"
     },
     "classPropEnabled": {
      "type": "boolean"
     }
    }
   },
   "Field": {
    "type": "object",
    "properties": {
     "objectProps": {
      "type": "object",
      "additionalProperties": {}
     }
    }
   },
   "InstrumentListing": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "venueSymbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "tickSize": {
      "type": [
       "number",
       "null"
      ]
     },
     "sessionOpen": {
      "type": [
       "string",
       "null"
      ],
      "format": "time-local"
     },
     "sessionClose": {
      "type": [
       "string",
       "null"
      ],
      "format": "time-local"
     },
     "timezone": {
      "type": [
       "string",
       "null"
      ]
     },
     "supportsMarketOrders": {
      "type": [
       "boolean",
       "null"
      ]
     },
     "continuous": {
      "type": [
       "boolean",
       "null"
      ]
     },
     "settlement": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/SettlementConvention"
       },
       {
        "type": "null"
       }
      ]
     },
     "priceSteps": {
      "type": [
       "array",
       "null"
      ],
      "items": {
       "$ref": "#/components/schemas/PriceStepTier"
      }
     },
     "dealing": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/DealingRules"
       },
       {
        "type": "null"
       }
      ]
     }
    }
   },
   "LogicalType": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string"
     }
    }
   },
   "PriceStepTier": {
    "type": "object",
    "properties": {
     "from": {
      "type": "number"
     },
     "step": {
      "type": "number"
     }
    },
    "required": [
     "from",
     "step"
    ]
   },
   "Schema": {
    "type": "object",
    "properties": {
     "type": {
      "type": "string",
      "enum": [
       "RECORD",
       "ENUM",
       "ARRAY",
       "MAP",
       "UNION",
       "FIXED",
       "STRING",
       "BYTES",
       "INT",
       "LONG",
       "FLOAT",
       "DOUBLE",
       "BOOLEAN",
       "NULL"
      ]
     },
     "logicalType": {
      "$ref": "#/components/schemas/LogicalType"
     },
     "name": {
      "type": "string"
     },
     "fields": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Field"
      }
     },
     "error": {
      "type": "boolean"
     },
     "fullName": {
      "type": "string"
     },
     "valueType": {
      "$ref": "#/components/schemas/Schema"
     },
     "aliases": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     },
     "types": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Schema"
      }
     },
     "nullable": {
      "type": "boolean"
     },
     "namespace": {
      "type": "string"
     },
     "enumSymbols": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "fixedSize": {
      "type": "integer",
      "format": "int32"
     },
     "union": {
      "type": "boolean"
     },
     "doc": {
      "type": "string"
     },
     "enumDefault": {
      "type": "string"
     },
     "elementType": {
      "$ref": "#/components/schemas/Schema"
     },
     "objectProps": {
      "type": "object",
      "additionalProperties": {}
     }
    }
   },
   "SettlementConvention": {
    "type": "object",
    "properties": {
     "cycleBusinessDays": {
      "type": "integer",
      "format": "int32"
     },
     "calendarId": {
      "type": "string"
     },
     "timezone": {
      "type": "string"
     },
     "holidays": {
      "type": "array",
      "items": {
       "type": "string",
       "format": "date"
      }
     },
     "weekendDays": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "kind": {
      "type": "string",
      "enum": [
       "DELIVERY_VERSUS_PAYMENT",
       "UNIT_REGISTRY"
      ]
     },
     "redemptionPaymentDays": {
      "type": "integer",
      "format": "int32"
     },
     "schema": {
      "$ref": "#/components/schemas/Schema"
     },
     "specificData": {
      "$ref": "#/components/schemas/SpecificData"
     }
    }
   },
   "SpecificData": {
    "type": "object",
    "properties": {
     "classLoader": {
      "type": "object",
      "properties": {
       "name": {
        "type": "string"
       },
       "registeredAsParallelCapable": {
        "type": "boolean"
       },
       "parent": {
        "type": "object",
        "properties": {
         "name": {
          "type": "string"
         },
         "registeredAsParallelCapable": {
          "type": "boolean"
         },
         "unnamedModule": {
          "type": "object",
          "properties": {
           "name": {
            "type": "string"
           },
           "classLoader": {
            "type": "object",
            "properties": {
             "name": {
              "type": "string"
             },
             "registeredAsParallelCapable": {
              "type": "boolean"
             },
             "definedPackages": {
              "type": "array",
              "items": {
               "type": "object",
               "properties": {
                "name": {
                 "type": "string"
                },
                "sealed": {
                 "type": "boolean"
                },
                "annotations": {
                 "type": "array",
                 "items": {}
                },
                "declaredAnnotations": {
                 "type": "array",
                 "items": {}
                },
                "specificationTitle": {
                 "type": "string"
                },
                "specificationVersion": {
                 "type": "string"
                },
                "specificationVendor": {
                 "type": "string"
                },
                "implementationTitle": {
                 "type": "string"
                },
                "implementationVersion": {
                 "type": "string"
                },
                "implementationVendor": {
                 "type": "string"
                }
               }
              }
             },
             "defaultAssertionStatus": {
              "type": "boolean",
              "writeOnly": true
             }
            }
           },
           "descriptor": {
            "type": "object",
            "properties": {
             "open": {
              "type": "boolean"
             },
             "automatic": {
              "type": "boolean"
             }
            }
           },
           "named": {
            "type": "boolean"
           },
           "annotations": {
            "type": "array",
            "items": {}
           },
           "declaredAnnotations": {
            "type": "array",
            "items": {}
           },
           "packages": {
            "type": "array",
            "items": {
             "type": "string"
            },
            "uniqueItems": true
           },
           "nativeAccessEnabled": {
            "type": "boolean"
           },
           "layer": {}
          }
         },
         "definedPackages": {
          "type": "array",
          "items": {
           "type": "object",
           "properties": {
            "name": {
             "type": "string"
            },
            "sealed": {
             "type": "boolean"
            },
            "annotations": {
             "type": "array",
             "items": {}
            },
            "declaredAnnotations": {
             "type": "array",
             "items": {}
            },
            "specificationTitle": {
             "type": "string"
            },
            "specificationVersion": {
             "type": "string"
            },
            "specificationVendor": {
             "type": "string"
            },
            "implementationTitle": {
             "type": "string"
            },
            "implementationVersion": {
             "type": "string"
            },
            "implementationVendor": {
             "type": "string"
            }
           }
          }
         },
         "defaultAssertionStatus": {
          "type": "boolean",
          "writeOnly": true
         }
        }
       },
       "unnamedModule": {
        "type": "object",
        "properties": {
         "name": {
          "type": "string"
         },
         "classLoader": {
          "type": "object",
          "properties": {
           "name": {
            "type": "string"
           },
           "registeredAsParallelCapable": {
            "type": "boolean"
           },
           "definedPackages": {
            "type": "array",
            "items": {
             "type": "object",
             "properties": {
              "name": {
               "type": "string"
              },
              "sealed": {
               "type": "boolean"
              },
              "annotations": {
               "type": "array",
               "items": {}
              },
              "declaredAnnotations": {
               "type": "array",
               "items": {}
              },
              "specificationTitle": {
               "type": "string"
              },
              "specificationVersion": {
               "type": "string"
              },
              "specificationVendor": {
               "type": "string"
              },
              "implementationTitle": {
               "type": "string"
              },
              "implementationVersion": {
               "type": "string"
              },
              "implementationVendor": {
               "type": "string"
              }
             }
            }
           },
           "defaultAssertionStatus": {
            "type": "boolean",
            "writeOnly": true
           }
          }
         },
         "descriptor": {
          "type": "object",
          "properties": {
           "open": {
            "type": "boolean"
           },
           "automatic": {
            "type": "boolean"
           }
          }
         },
         "named": {
          "type": "boolean"
         },
         "annotations": {
          "type": "array",
          "items": {}
         },
         "declaredAnnotations": {
          "type": "array",
          "items": {}
         },
         "packages": {
          "type": "array",
          "items": {
           "type": "string"
          },
          "uniqueItems": true
         },
         "nativeAccessEnabled": {
          "type": "boolean"
         },
         "layer": {}
        }
       },
       "definedPackages": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "name": {
           "type": "string"
          },
          "sealed": {
           "type": "boolean"
          },
          "annotations": {
           "type": "array",
           "items": {}
          },
          "declaredAnnotations": {
           "type": "array",
           "items": {}
          },
          "specificationTitle": {
           "type": "string"
          },
          "specificationVersion": {
           "type": "string"
          },
          "specificationVendor": {
           "type": "string"
          },
          "implementationTitle": {
           "type": "string"
          },
          "implementationVersion": {
           "type": "string"
          },
          "implementationVendor": {
           "type": "string"
          }
         }
        }
       },
       "defaultAssertionStatus": {
        "type": "boolean",
        "writeOnly": true
       }
      }
     },
     "conversions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ConversionObject"
      }
     },
     "fastReaderEnabled": {
      "type": "boolean"
     },
     "fastReaderBuilder": {
      "$ref": "#/components/schemas/FastReaderBuilder"
     },
     "customCoders": {
      "type": "boolean",
      "writeOnly": true
     }
    }
   },
   "ScheduleSummary": {
    "type": "object",
    "properties": {
     "scheduleId": {
      "type": "string"
     },
     "version": {
      "type": "integer",
      "format": "int64"
     },
     "status": {
      "type": "string"
     },
     "source": {
      "type": "string"
     },
     "eventKey": {
      "type": "string"
     },
     "firedTopic": {
      "type": "string"
     },
     "rule": {
      "$ref": "#/components/schemas/RuleRequest"
     },
     "zone": {
      "type": "string"
     },
     "misfirePolicy": {
      "type": "string"
     },
     "enabled": {
      "type": "boolean"
     },
     "requiresAck": {
      "type": "boolean"
     },
     "description": {
      "type": [
       "string",
       "null"
      ]
     },
     "updatedAt": {
      "type": "string",
      "format": "date-time"
     },
     "payloadBytes": {
      "type": "integer",
      "format": "int32"
     },
     "payload": {
      "type": [
       "string",
       "null"
      ]
     },
     "calendarRef": {
      "type": [
       "string",
       "null"
      ]
     },
     "calendarPolicy": {
      "type": "string"
     }
    },
    "required": [
     "calendarPolicy",
     "enabled",
     "eventKey",
     "firedTopic",
     "misfirePolicy",
     "payloadBytes",
     "requiresAck",
     "rule",
     "scheduleId",
     "source",
     "status",
     "updatedAt",
     "version",
     "zone"
    ]
   },
   "LatestReconciliationView": {
    "type": "object",
    "properties": {
     "run": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/ReconciliationRunDto"
       },
       {
        "type": "null"
       }
      ]
     },
     "feed": {
      "$ref": "#/components/schemas/ReconciliationFeedView"
     }
    },
    "required": [
     "feed"
    ]
   },
   "ReconciliationFeedView": {
    "type": "object",
    "properties": {
     "status": {
      "type": "string"
     },
     "stale": {
      "type": "boolean"
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "stale",
     "status"
    ]
   },
   "ReconciliationBreakDetailDto": {
    "type": "object",
    "properties": {
     "breakRecord": {
      "$ref": "#/components/schemas/ReconciliationBreakDto"
     },
     "run": {
      "$ref": "#/components/schemas/ReconciliationRunDto"
     }
    },
    "required": [
     "breakRecord",
     "run"
    ]
   },
   "Price": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "open": {
      "type": [
       "number",
       "null"
      ]
     },
     "close": {
      "type": [
       "number",
       "null"
      ]
     },
     "high": {
      "type": [
       "number",
       "null"
      ]
     },
     "low": {
      "type": [
       "number",
       "null"
      ]
     },
     "bid": {
      "type": [
       "number",
       "null"
      ]
     },
     "ask": {
      "type": [
       "number",
       "null"
      ]
     },
     "last": {
      "type": [
       "number",
       "null"
      ]
     },
     "volume": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "timestamp": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "bidSize": {
      "type": [
       "number",
       "null"
      ]
     },
     "askSize": {
      "type": [
       "number",
       "null"
      ]
     },
     "lastSize": {
      "type": [
       "number",
       "null"
      ]
     }
    }
   },
   "InstrumentStatistics": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": "string"
     },
     "venue": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "high52w": {
      "type": [
       "number",
       "null"
      ]
     },
     "low52w": {
      "type": [
       "number",
       "null"
      ]
     },
     "high52wDate": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "low52wDate": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "avgVolume30d": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "sessionVwap": {
      "type": [
       "number",
       "null"
      ]
     },
     "asOf": {
      "type": "string",
      "format": "date-time"
     },
     "includesGenerated": {
      "type": [
       "boolean",
       "null"
      ]
     },
     "recordedSince": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     }
    },
    "required": [
     "asOf",
     "currency",
     "symbol",
     "venue"
    ]
   },
   "TradePrint": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "venue": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "price": {
      "type": "number"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     },
     "tradedAt": {
      "type": "string",
      "format": "date-time"
     }
    },
    "required": [
     "currency",
     "id",
     "price",
     "quantity",
     "symbol",
     "tradedAt",
     "venue"
    ]
   },
   "ResearchNote": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "provider": {
      "type": "string"
     },
     "publishedAt": {
      "type": "string",
      "format": "date-time"
     },
     "rating": {
      "type": [
       "string",
       "null"
      ]
     },
     "targetPrice": {
      "type": [
       "number",
       "null"
      ]
     },
     "targetCurrency": {
      "type": [
       "string",
       "null"
      ]
     },
     "url": {
      "type": [
       "string",
       "null"
      ]
     },
     "symbols": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    },
    "required": [
     "id",
     "provider",
     "publishedAt",
     "symbols",
     "title"
    ]
   },
   "OptionContractQuote": {
    "type": "object",
    "properties": {
     "contractSymbol": {
      "type": "string"
     },
     "bid": {
      "type": [
       "number",
       "null"
      ]
     },
     "ask": {
      "type": [
       "number",
       "null"
      ]
     },
     "last": {
      "type": [
       "number",
       "null"
      ]
     },
     "change": {
      "type": [
       "number",
       "null"
      ]
     },
     "volume": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "openInterest": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "impliedVolatility": {
      "type": [
       "number",
       "null"
      ],
      "format": "double"
     },
     "delta": {
      "type": [
       "number",
       "null"
      ],
      "format": "double"
     }
    },
    "required": [
     "contractSymbol"
    ]
   },
   "OptionSeries": {
    "type": "object",
    "properties": {
     "underlying": {
      "type": "string"
     },
     "venue": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "expiry": {
      "type": "string",
      "format": "date"
     },
     "exerciseStyle": {
      "type": "string",
      "enum": [
       "AMERICAN",
       "EUROPEAN"
      ]
     },
     "settlement": {
      "type": "string",
      "enum": [
       "PHYSICAL",
       "CASH"
      ]
     },
     "contractMultiplier": {
      "type": "integer",
      "format": "int32"
     },
     "underlyingLast": {
      "type": [
       "number",
       "null"
      ]
     },
     "asOf": {
      "type": "string",
      "format": "date-time"
     },
     "strikes": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionStrike"
      }
     }
    },
    "required": [
     "asOf",
     "contractMultiplier",
     "currency",
     "exerciseStyle",
     "expiry",
     "settlement",
     "strikes",
     "underlying",
     "venue"
    ]
   },
   "OptionStrike": {
    "type": "object",
    "properties": {
     "strike": {
      "type": "number"
     },
     "call": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/OptionContractQuote"
       },
       {
        "type": "null"
       }
      ]
     },
     "put": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/OptionContractQuote"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "required": [
     "strike"
    ]
   },
   "NewsItem": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "headline": {
      "type": "string"
     },
     "source": {
      "type": "string"
     },
     "publishedAt": {
      "type": "string",
      "format": "date-time"
     },
     "url": {
      "type": [
       "string",
       "null"
      ]
     },
     "symbols": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "summary": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "headline",
     "id",
     "publishedAt",
     "source",
     "symbols"
    ]
   },
   "CompanyDividends": {
    "type": "object",
    "properties": {
     "dividendYield": {
      "type": [
       "number",
       "null"
      ]
     },
     "payoutRatio": {
      "type": [
       "number",
       "null"
      ]
     },
     "taxCreditFraction": {
      "type": [
       "number",
       "null"
      ]
     },
     "lastExDate": {
      "type": [
       "string",
       "null"
      ],
      "format": "date"
     }
    }
   },
   "CompanyFinancialHealth": {
    "type": "object",
    "properties": {
     "cash": {
      "type": [
       "number",
       "null"
      ]
     },
     "totalDebt": {
      "type": [
       "number",
       "null"
      ]
     },
     "netDebt": {
      "type": [
       "number",
       "null"
      ]
     },
     "totalEquity": {
      "type": [
       "number",
       "null"
      ]
     },
     "debtToEquity": {
      "type": [
       "number",
       "null"
      ]
     },
     "currentRatio": {
      "type": [
       "number",
       "null"
      ]
     },
     "quickRatio": {
      "type": [
       "number",
       "null"
      ]
     },
     "interestCover": {
      "type": [
       "number",
       "null"
      ]
     },
     "operatingCashFlow": {
      "type": [
       "number",
       "null"
      ]
     },
     "freeCashFlow": {
      "type": [
       "number",
       "null"
      ]
     }
    }
   },
   "CompanyFundamentals": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": "string"
     },
     "provider": {
      "type": "string"
     },
     "asOf": {
      "type": "string",
      "format": "date-time"
     },
     "priceCurrency": {
      "type": "string"
     },
     "reportingCurrency": {
      "type": "string"
     },
     "period": {
      "type": [
       "string",
       "null"
      ]
     },
     "periodEnd": {
      "type": [
       "string",
       "null"
      ],
      "format": "date"
     },
     "profile": {
      "$ref": "#/components/schemas/CompanyProfile"
     },
     "valuation": {
      "$ref": "#/components/schemas/CompanyValuation"
     },
     "perShare": {
      "$ref": "#/components/schemas/PerShareFigures"
     },
     "dividends": {
      "$ref": "#/components/schemas/CompanyDividends"
     },
     "profitability": {
      "$ref": "#/components/schemas/CompanyProfitability"
     },
     "financialHealth": {
      "$ref": "#/components/schemas/CompanyFinancialHealth"
     },
     "trading": {
      "$ref": "#/components/schemas/CompanyTradingStatistics"
     }
    },
    "required": [
     "asOf",
     "dividends",
     "financialHealth",
     "perShare",
     "priceCurrency",
     "profile",
     "profitability",
     "provider",
     "reportingCurrency",
     "symbol",
     "trading",
     "valuation"
    ]
   },
   "CompanyProfile": {
    "type": "object",
    "properties": {
     "name": {
      "type": [
       "string",
       "null"
      ]
     },
     "sector": {
      "type": [
       "string",
       "null"
      ]
     },
     "industry": {
      "type": [
       "string",
       "null"
      ]
     },
     "country": {
      "type": [
       "string",
       "null"
      ]
     },
     "employees": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "description": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "CompanyProfitability": {
    "type": "object",
    "properties": {
     "revenue": {
      "type": [
       "number",
       "null"
      ]
     },
     "grossProfit": {
      "type": [
       "number",
       "null"
      ]
     },
     "ebitda": {
      "type": [
       "number",
       "null"
      ]
     },
     "netIncome": {
      "type": [
       "number",
       "null"
      ]
     },
     "grossMargin": {
      "type": [
       "number",
       "null"
      ]
     },
     "operatingMargin": {
      "type": [
       "number",
       "null"
      ]
     },
     "netMargin": {
      "type": [
       "number",
       "null"
      ]
     },
     "returnOnEquity": {
      "type": [
       "number",
       "null"
      ]
     },
     "returnOnAssets": {
      "type": [
       "number",
       "null"
      ]
     },
     "revenueGrowth": {
      "type": [
       "number",
       "null"
      ]
     },
     "earningsGrowth": {
      "type": [
       "number",
       "null"
      ]
     }
    }
   },
   "CompanyTradingStatistics": {
    "type": "object",
    "properties": {
     "fiftyTwoWeekHigh": {
      "type": [
       "number",
       "null"
      ]
     },
     "fiftyTwoWeekLow": {
      "type": [
       "number",
       "null"
      ]
     },
     "beta": {
      "type": [
       "number",
       "null"
      ]
     },
     "averageVolume": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    }
   },
   "CompanyValuation": {
    "type": "object",
    "properties": {
     "sharePrice": {
      "type": [
       "number",
       "null"
      ]
     },
     "priceAsOf": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "marketCap": {
      "type": [
       "number",
       "null"
      ]
     },
     "enterpriseValue": {
      "type": [
       "number",
       "null"
      ]
     },
     "trailingPe": {
      "type": [
       "number",
       "null"
      ]
     },
     "forwardPe": {
      "type": [
       "number",
       "null"
      ]
     },
     "pegRatio": {
      "type": [
       "number",
       "null"
      ]
     },
     "priceToBook": {
      "type": [
       "number",
       "null"
      ]
     },
     "priceToSales": {
      "type": [
       "number",
       "null"
      ]
     },
     "evToEbitda": {
      "type": [
       "number",
       "null"
      ]
     }
    }
   },
   "PerShareFigures": {
    "type": "object",
    "properties": {
     "sharesOnIssue": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "earningsPerShare": {
      "type": [
       "number",
       "null"
      ]
     },
     "forwardEarningsPerShare": {
      "type": [
       "number",
       "null"
      ]
     },
     "bookValuePerShare": {
      "type": [
       "number",
       "null"
      ]
     },
     "dividendPerShare": {
      "type": [
       "number",
       "null"
      ]
     }
    }
   },
   "CompositePrice": {
    "type": "object",
    "properties": {
     "price": {
      "type": "number"
     },
     "venue": {
      "type": "string"
     },
     "nativePrice": {
      "type": "number"
     },
     "nativeCurrency": {
      "type": "string"
     },
     "fxRate": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/FxRate"
       },
       {
        "type": "null"
       }
      ]
     },
     "at": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     }
    },
    "required": [
     "nativeCurrency",
     "nativePrice",
     "price",
     "venue"
    ]
   },
   "CompositeStatistics": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "high52w": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/CompositePrice"
       },
       {
        "type": "null"
       }
      ]
     },
     "low52w": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/CompositePrice"
       },
       {
        "type": "null"
       }
      ]
     },
     "avgVolume30d": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "perVenue": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/InstrumentStatistics"
      }
     },
     "contributions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/VenueContribution"
      }
     },
     "asOf": {
      "type": "string",
      "format": "date-time"
     },
     "includesGenerated": {
      "type": [
       "boolean",
       "null"
      ]
     },
     "recordedSince": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     }
    },
    "required": [
     "asOf",
     "contributions",
     "currency",
     "perVenue",
     "symbol"
    ]
   },
   "FxRate": {
    "type": "object",
    "properties": {
     "from": {
      "type": "string"
     },
     "to": {
      "type": "string"
     },
     "rate": {
      "type": "number"
     },
     "source": {
      "type": "string"
     },
     "timestamp": {
      "type": "string",
      "format": "date-time"
     }
    },
    "required": [
     "from",
     "rate",
     "source",
     "timestamp",
     "to"
    ]
   },
   "VenueContribution": {
    "type": "object",
    "properties": {
     "venue": {
      "type": "string"
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "status": {
      "type": "string",
      "enum": [
       "OK",
       "STALE",
       "NO_DATA",
       "NO_FX_RATE"
      ]
     },
     "bid": {
      "type": [
       "number",
       "null"
      ]
     },
     "ask": {
      "type": [
       "number",
       "null"
      ]
     },
     "last": {
      "type": [
       "number",
       "null"
      ]
     },
     "volume": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "timestamp": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     }
    },
    "required": [
     "status",
     "venue"
    ]
   },
   "CompositePrint": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "venue": {
      "type": "string"
     },
     "price": {
      "type": "number"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     },
     "tradedAt": {
      "type": "string",
      "format": "date-time"
     },
     "nativePrice": {
      "type": "number"
     },
     "nativeCurrency": {
      "type": "string"
     },
     "fxRate": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/FxRate"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "required": [
     "id",
     "nativeCurrency",
     "nativePrice",
     "price",
     "quantity",
     "tradedAt",
     "venue"
    ]
   },
   "CompositePrints": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "prints": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CompositePrint"
      }
     },
     "contributions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/VenueContribution"
      }
     }
    },
    "required": [
     "contributions",
     "currency",
     "prints",
     "symbol"
    ]
   },
   "CompositeQuote": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "bestBid": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/CompositePrice"
       },
       {
        "type": "null"
       }
      ]
     },
     "bestAsk": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/CompositePrice"
       },
       {
        "type": "null"
       }
      ]
     },
     "last": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/CompositePrice"
       },
       {
        "type": "null"
       }
      ]
     },
     "volume": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "contributions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/VenueContribution"
      }
     },
     "asOf": {
      "type": "string",
      "format": "date-time"
     }
    },
    "required": [
     "asOf",
     "contributions",
     "currency",
     "symbol"
    ]
   },
   "CompositeDepth": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "bids": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CompositeLevel"
      }
     },
     "asks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CompositeLevel"
      }
     },
     "contributions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/VenueContribution"
      }
     },
     "asOf": {
      "type": "string",
      "format": "date-time"
     }
    },
    "required": [
     "asOf",
     "asks",
     "bids",
     "contributions",
     "currency",
     "symbol"
    ]
   },
   "CompositeLevel": {
    "type": "object",
    "properties": {
     "price": {
      "type": "number"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     },
     "orderCount": {
      "type": "integer",
      "format": "int32"
     },
     "venue": {
      "type": "string"
     },
     "nativePrice": {
      "type": "number"
     },
     "nativeCurrency": {
      "type": "string"
     },
     "fxRate": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/FxRate"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "required": [
     "nativeCurrency",
     "nativePrice",
     "orderCount",
     "price",
     "quantity",
     "venue"
    ]
   },
   "CompositeBar": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "interval": {
      "type": "string",
      "enum": [
       "M1",
       "M5",
       "M15",
       "H1",
       "D1",
       "W1"
      ]
     },
     "start": {
      "type": "string",
      "format": "date-time"
     },
     "open": {
      "type": "number"
     },
     "high": {
      "type": "number"
     },
     "low": {
      "type": "number"
     },
     "close": {
      "type": "number"
     },
     "volume": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "venues": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "origin": {
      "type": "string",
      "enum": [
       "RECORDED",
       "CARRIED",
       "GENERATED"
      ]
     }
    },
    "required": [
     "close",
     "currency",
     "high",
     "interval",
     "low",
     "open",
     "origin",
     "start",
     "symbol",
     "venues"
    ]
   },
   "CompositeBars": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "interval": {
      "type": "string",
      "enum": [
       "M1",
       "M5",
       "M15",
       "H1",
       "D1",
       "W1"
      ]
     },
     "bars": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CompositeBar"
      }
     },
     "contributions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/VenueContribution"
      }
     }
    },
    "required": [
     "bars",
     "contributions",
     "currency",
     "interval",
     "symbol"
    ]
   },
   "Bar": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": "string"
     },
     "venue": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "interval": {
      "type": "string",
      "enum": [
       "M1",
       "M5",
       "M15",
       "H1",
       "D1",
       "W1"
      ]
     },
     "start": {
      "type": "string",
      "format": "date-time"
     },
     "open": {
      "type": "number"
     },
     "high": {
      "type": "number"
     },
     "low": {
      "type": "number"
     },
     "close": {
      "type": "number"
     },
     "volume": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "origin": {
      "type": "string",
      "enum": [
       "RECORDED",
       "CARRIED",
       "GENERATED"
      ]
     }
    },
    "required": [
     "close",
     "currency",
     "high",
     "interval",
     "low",
     "open",
     "origin",
     "start",
     "symbol",
     "venue"
    ]
   },
   "Announcement": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "headline": {
      "type": "string"
     },
     "source": {
      "type": "string"
     },
     "publishedAt": {
      "type": "string",
      "format": "date-time"
     },
     "priceSensitive": {
      "type": "boolean"
     },
     "url": {
      "type": [
       "string",
       "null"
      ]
     },
     "symbols": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    },
    "required": [
     "headline",
     "id",
     "priceSensitive",
     "publishedAt",
     "source",
     "symbols"
    ]
   },
   "PricePoint": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "timestamp": {
      "type": "integer",
      "format": "int64"
     },
     "price": {
      "type": "number"
     },
     "origin": {
      "type": "string",
      "enum": [
       "RECORDED",
       "CARRIED",
       "GENERATED"
      ]
     }
    },
    "required": [
     "origin",
     "price",
     "timestamp"
    ]
   },
   "PositionContract": {
    "type": "object",
    "properties": {
     "underlying": {
      "type": "string"
     },
     "optionType": {
      "type": "string",
      "enum": [
       "CALL",
       "PUT"
      ]
     },
     "strike": {
      "type": "number"
     },
     "expiry": {
      "type": "string",
      "format": "date"
     },
     "multiplier": {
      "type": "integer",
      "format": "int32"
     },
     "label": {
      "type": "string"
     }
    },
    "required": [
     "expiry",
     "label",
     "multiplier",
     "optionType",
     "strike",
     "underlying"
    ]
   },
   "PositionRow": {
    "type": "object",
    "properties": {
     "tenantId": {
      "type": "string"
     },
     "account": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "averageCost": {
      "type": "number"
     },
     "appliedAdjustments": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     },
     "contract": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/PositionContract"
       },
       {
        "type": "null"
       }
      ]
     },
     "quantityDecimal": {
      "type": [
       "number",
       "null"
      ]
     }
    },
    "required": [
     "account",
     "appliedAdjustments",
     "averageCost",
     "quantity",
     "symbol",
     "tenantId"
    ]
   },
   "ContractFields": {
    "type": "object",
    "properties": {
     "assetClass": {
      "type": "string"
     },
     "underlying": {
      "type": "string"
     },
     "optionType": {
      "type": "string",
      "enum": [
       "CALL",
       "PUT"
      ]
     },
     "strike": {
      "type": "number"
     },
     "expiry": {
      "type": "string",
      "format": "date"
     },
     "expired": {
      "type": "boolean"
     }
    },
    "required": [
     "assetClass",
     "expired",
     "expiry",
     "optionType",
     "strike",
     "underlying"
    ]
   },
   "Position": {
    "type": "object",
    "properties": {
     "tenantId": {
      "type": "string"
     },
     "account": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "averageCost": {
      "type": "number"
     },
     "appliedAdjustments": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     },
     "quantityDecimal": {
      "type": [
       "number",
       "null"
      ]
     }
    },
    "required": [
     "account",
     "appliedAdjustments",
     "averageCost",
     "quantity",
     "symbol",
     "tenantId"
    ]
   },
   "ValuedPosition": {
    "type": "object",
    "properties": {
     "position": {
      "$ref": "#/components/schemas/Position"
     },
     "currentPrice": {
      "type": [
       "number",
       "null"
      ]
     },
     "marketValue": {
      "type": [
       "number",
       "null"
      ]
     },
     "unrealisedGain": {
      "type": [
       "number",
       "null"
      ]
     },
     "previousClose": {
      "type": [
       "number",
       "null"
      ]
     },
     "dayChange": {
      "type": [
       "number",
       "null"
      ]
     },
     "priceAsOf": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "stale": {
      "type": "boolean"
     },
     "staleReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "multiplier": {
      "type": "integer",
      "format": "int32"
     },
     "contract": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/ContractFields"
       },
       {
        "type": "null"
       }
      ]
     },
     "markStale": {
      "type": "boolean"
     },
     "markAsOf": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "markReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "markBasis": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "MID",
       "LAST",
       "NAV"
      ]
     },
     "realisedGain": {
      "type": [
       "number",
       "null"
      ]
     },
     "assetClass": {
      "type": [
       "string",
       "null"
      ]
     },
     "markDate": {
      "type": [
       "string",
       "null"
      ],
      "format": "date"
     },
     "quantityDecimal": {
      "type": [
       "number",
       "null"
      ]
     }
    },
    "required": [
     "markStale",
     "multiplier",
     "position",
     "stale"
    ]
   },
   "ModelTargetView": {
    "type": "object",
    "properties": {
     "instrument": {
      "type": "string"
     },
     "weightPercent": {
      "type": "string"
     }
    },
    "required": [
     "instrument",
     "weightPercent"
    ]
   },
   "PortfolioModelView": {
    "type": "object",
    "properties": {
     "modelId": {
      "type": "string"
     },
     "version": {
      "type": "integer",
      "format": "int32"
     },
     "name": {
      "type": "string"
     },
     "ownership": {
      "type": "string"
     },
     "ownerUserId": {
      "type": [
       "string",
       "null"
      ]
     },
     "baseCurrency": {
      "type": "string"
     },
     "targets": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ModelTargetView"
      }
     },
     "cashPercent": {
      "type": "string"
     },
     "toleranceBand": {
      "type": [
       "string",
       "null"
      ]
     },
     "status": {
      "type": "string"
     },
     "changedBy": {
      "type": "string"
     },
     "changedAt": {
      "type": "string"
     }
    },
    "required": [
     "baseCurrency",
     "cashPercent",
     "changedAt",
     "changedBy",
     "modelId",
     "name",
     "ownership",
     "status",
     "targets",
     "version"
    ]
   },
   "CostBaseListResponse": {
    "type": "object",
    "properties": {
     "indicative": {
      "type": "boolean"
     },
     "basis": {
      "type": "string"
     },
     "method": {
      "type": "string"
     },
     "notice": {
      "type": "string"
     },
     "noticeText": {
      "type": "string"
     },
     "asAt": {
      "type": "string"
     },
     "items": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CostBaseRowResponse"
      }
     },
     "page": {
      "type": "integer",
      "format": "int32"
     },
     "size": {
      "type": "integer",
      "format": "int32"
     },
     "total": {
      "type": "integer",
      "format": "int64"
     },
     "totalsByCurrency": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CurrencyTotal"
      }
     },
     "costUnknownRows": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "asAt",
     "basis",
     "costUnknownRows",
     "indicative",
     "items",
     "method",
     "notice",
     "noticeText",
     "page",
     "size",
     "total",
     "totalsByCurrency"
    ]
   },
   "CostBaseRowResponse": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "enum": [
       "PARCEL",
       "DISPOSAL"
      ]
     },
     "rowId": {
      "type": "string"
     },
     "accountId": {
      "type": "string"
     },
     "instrument": {
      "type": "string"
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "tradeDate": {
      "type": "string"
     },
     "acquiredAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "disposedAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     },
     "cost": {
      "type": [
       "string",
       "null"
      ]
     },
     "unitCost": {
      "type": [
       "string",
       "null"
      ]
     },
     "proceeds": {
      "type": [
       "string",
       "null"
      ]
     },
     "realisedGain": {
      "type": [
       "string",
       "null"
      ]
     },
     "gainNotComputedReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "adjustments": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "warnings": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    },
    "required": [
     "accountId",
     "adjustments",
     "instrument",
     "kind",
     "quantity",
     "rowId",
     "tradeDate",
     "warnings"
    ]
   },
   "CurrencyTotal": {
    "type": "object",
    "properties": {
     "currency": {
      "type": "string"
     },
     "cost": {
      "type": "string"
     }
    },
    "required": [
     "cost",
     "currency"
    ]
   },
   "CostBaseComparisonRow": {
    "type": "object",
    "properties": {
     "account": {
      "type": "string"
     },
     "instrument": {
      "type": "string"
     },
     "simtpQuantity": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "backOfficeQuantity": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "quantityDifference": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "simtpCost": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/MoneyView"
       },
       {
        "type": "null"
       }
      ]
     },
     "backOfficeCost": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/MoneyView"
       },
       {
        "type": "null"
       }
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "costDifference": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/MoneyView"
       },
       {
        "type": "null"
       }
      ]
     },
     "status": {
      "type": "string",
      "enum": [
       "MATCHED",
       "DIFFERENT",
       "MISSING_AT_BACK_OFFICE",
       "MISSING_IN_SIMTP",
       "CURRENCY_MISMATCH",
       "SIMTP_COST_UNKNOWN"
      ]
     }
    },
    "required": [
     "account",
     "instrument",
     "status"
    ]
   },
   "CostBaseReconciliationView": {
    "type": "object",
    "properties": {
     "status": {
      "type": "string"
     },
     "backOfficeAsAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "indicative": {
      "type": "boolean"
     },
     "notice": {
      "type": "string"
     },
     "noticeText": {
      "type": "string"
     },
     "rows": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CostBaseComparisonRow"
      }
     }
    },
    "required": [
     "indicative",
     "notice",
     "noticeText",
     "rows",
     "status"
    ]
   },
   "CostBaseResponse": {
    "type": "object",
    "properties": {
     "account": {
      "type": "string"
     },
     "indicative": {
      "type": "boolean"
     },
     "basis": {
      "type": "string"
     },
     "method": {
      "type": "string"
     },
     "notice": {
      "type": "string"
     },
     "noticeText": {
      "type": "string"
     },
     "asAt": {
      "type": "string"
     },
     "books": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ParcelBookResponse"
      }
     }
    },
    "required": [
     "account",
     "asAt",
     "basis",
     "books",
     "indicative",
     "method",
     "notice",
     "noticeText"
    ]
   },
   "DisposalResponse": {
    "type": "object",
    "properties": {
     "movementId": {
      "type": "string"
     },
     "disposedAt": {
      "type": "string"
     },
     "tradeDate": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "proceeds": {
      "type": "string"
     },
     "cost": {
      "type": [
       "string",
       "null"
      ]
     },
     "realisedGain": {
      "type": [
       "string",
       "null"
      ]
     },
     "gainNotComputedReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "method": {
      "type": "string"
     },
     "matchedLots": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/MatchedLotResponse"
      }
     },
     "unmatchedQuantity": {
      "type": "integer",
      "format": "int64"
     }
    },
    "required": [
     "disposedAt",
     "matchedLots",
     "method",
     "movementId",
     "proceeds",
     "quantity",
     "tradeDate",
     "unmatchedQuantity"
    ]
   },
   "MatchedLotResponse": {
    "type": "object",
    "properties": {
     "parcelId": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     },
     "costBase": {
      "type": [
       "string",
       "null"
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "acquiredAt": {
      "type": "string"
     },
     "tradeDate": {
      "type": "string"
     }
    },
    "required": [
     "acquiredAt",
     "parcelId",
     "quantity",
     "tradeDate"
    ]
   },
   "ParcelBookResponse": {
    "type": "object",
    "properties": {
     "instrument": {
      "type": "string"
     },
     "openQuantity": {
      "type": "integer",
      "format": "int64"
     },
     "parcels": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ParcelResponse"
      }
     },
     "disposals": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/DisposalResponse"
      }
     },
     "warnings": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    },
    "required": [
     "disposals",
     "instrument",
     "openQuantity",
     "parcels",
     "warnings"
    ]
   },
   "ParcelResponse": {
    "type": "object",
    "properties": {
     "parcelId": {
      "type": "string"
     },
     "acquiredAt": {
      "type": "string"
     },
     "tradeDate": {
      "type": "string"
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "originalQuantity": {
      "type": "integer",
      "format": "int64"
     },
     "openQuantity": {
      "type": "integer",
      "format": "int64"
     },
     "costBase": {
      "type": [
       "string",
       "null"
      ]
     },
     "unitCost": {
      "type": [
       "string",
       "null"
      ]
     },
     "adjustments": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    },
    "required": [
     "acquiredAt",
     "adjustments",
     "openQuantity",
     "originalQuantity",
     "parcelId",
     "tradeDate"
    ]
   },
   "PlatformExceptionItem": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "execId": {
      "type": [
       "string",
       "null"
      ]
     },
     "clOrdId": {
      "type": [
       "string",
       "null"
      ]
     },
     "origClOrdId": {
      "type": [
       "string",
       "null"
      ]
     },
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "status": {
      "type": "string"
     },
     "raisedAt": {
      "type": "string",
      "format": "date-time"
     },
     "repeatCount": {
      "type": "integer",
      "format": "int32"
     },
     "lastSeenAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "repeatedSinceResolved": {
      "type": "boolean"
     }
    },
    "required": [
     "id",
     "raisedAt",
     "repeatCount",
     "repeatedSinceResolved",
     "status"
    ]
   },
   "PlatformExceptionList": {
    "type": "object",
    "properties": {
     "items": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/PlatformExceptionItem"
      }
     },
     "asOf": {
      "type": "string",
      "format": "date-time"
     },
     "truncated": {
      "type": "boolean"
     }
    },
    "required": [
     "asOf",
     "items",
     "truncated"
    ]
   },
   "ServerSentEventObject": {},
   "ClientOrder": {
    "type": "object",
    "properties": {
     "tenantId": {
      "type": "string"
     },
     "id": {
      "type": "string"
     },
     "currentClOrdId": {
      "type": "string"
     },
     "origClOrdId": {
      "type": [
       "string",
       "null"
      ]
     },
     "symbol": {
      "type": "string"
     },
     "quantity": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "originalQuantity": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "marketSide": {
      "type": "string",
      "enum": [
       "BUY",
       "SELL"
      ]
     },
     "orderPriceType": {
      "type": "string",
      "enum": [
       "MARKET",
       "LIMIT"
      ]
     },
     "limitPrice": {
      "type": [
       "number",
       "null"
      ]
     },
     "orderStatus": {
      "type": "string",
      "enum": [
       "NEW",
       "PARTIALLY_FILLED",
       "FILLED",
       "DONE_FOR_DAY",
       "CANCELED",
       "REPLACED",
       "PENDING_CANCEL",
       "STOPPED",
       "REJECTED",
       "SUSPENDED",
       "PENDING_NEW",
       "CALCULATED",
       "EXPIRED",
       "ACCEPTED_FOR_BIDDING",
       "PENDING_REPLACE",
       "PENDING_RELEASE",
       "AWAITING_STRIKE"
      ]
     },
     "placementTime": {
      "type": "string",
      "format": "date-time"
     },
     "timeInForce": {
      "type": "string",
      "enum": [
       "GTC",
       "FOK",
       "IOC",
       "DAY",
       "GTT"
      ]
     },
     "labels": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     },
     "metadata": {
      "type": [
       "object",
       "null"
      ],
      "additionalProperties": {
       "type": "string"
      }
     },
     "account": {
      "type": [
       "string",
       "null"
      ]
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "clientId": {
      "type": [
       "string",
       "null"
      ]
     },
     "adviserId": {
      "type": [
       "string",
       "null"
      ]
     },
     "expiresAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "contract": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/OrderContract"
       },
       {
        "type": "null"
       }
      ]
     },
     "strikeAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "fund": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/FundOrderTerms"
       },
       {
        "type": "null"
       }
      ]
     },
     "assetClass": {
      "type": "string"
     },
     "instructionId": {
      "type": [
       "string",
       "null"
      ]
     },
     "reservationId": {
      "type": [
       "string",
       "null"
      ]
     },
     "orderBasis": {
      "type": [
       "string",
       "null"
      ]
     },
     "routingDecisionId": {
      "type": [
       "string",
       "null"
      ]
     },
     "vettingWarnings": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "endReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "enteredBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "instructedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "enteredVia": {
      "type": [
       "string",
       "null"
      ]
     },
     "vettedRules": {
      "type": [
       "array",
       "null"
      ],
      "items": {
       "type": "string"
      }
     },
     "businessRulesSkippedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "platformPriceSource": {
      "type": [
       "string",
       "null"
      ]
     },
     "entryChannel": {
      "type": [
       "string",
       "null"
      ]
     },
     "positionEffect": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "OPEN",
       "CLOSE"
      ]
     },
     "rejectReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "holdReason": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "ENTITLEMENT",
       "REFERRED",
       "PREPARED",
       "CLIENT_REVIEW"
      ]
     },
     "holdDetail": {
      "type": [
       "string",
       "null"
      ]
     },
     "requiredLevel": {
      "type": "integer",
      "format": "int32"
     },
     "escalatedBy": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "releasedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "rejectedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "holdRules": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "holdKind": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "RULE_REFERRAL",
       "VETTING_UNAVAILABLE",
       "ENTITLEMENT",
       "PREPARED",
       "CLIENT_REVIEW"
      ]
     },
     "holdBreaches": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/HeldOrderBreach"
      }
     },
     "fundsReservation": {
      "type": [
       "string",
       "null"
      ]
     },
     "selfApproved": {
      "type": "boolean"
     },
     "approvalVettedRules": {
      "type": [
       "array",
       "null"
      ],
      "items": {
       "type": "string"
      }
     },
     "holdExpiresAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "venueZone": {
      "type": "string"
     },
     "cutOffAt": {
      "type": "string"
     },
     "amount": {
      "type": [
       "string",
       "null"
      ]
     },
     "quantityDecimal": {
      "type": [
       "string",
       "null"
      ]
     },
     "dealingDate": {
      "type": [
       "string",
       "null"
      ]
     },
     "reservedAmount": {
      "type": "string"
     },
     "reservedUnits": {
      "type": "string"
     },
     "strikeUnits": {
      "type": "string"
     },
     "strikeAmount": {
      "type": "string"
     },
     "unitPrice": {
      "type": "string"
     }
    },
    "required": [
     "assetClass",
     "currentClOrdId",
     "escalatedBy",
     "holdBreaches",
     "holdRules",
     "id",
     "labels",
     "marketSide",
     "orderPriceType",
     "orderStatus",
     "placementTime",
     "requiredLevel",
     "selfApproved",
     "symbol",
     "tenantId",
     "timeInForce",
     "vettingWarnings"
    ]
   },
   "FundOrderTerms": {
    "type": "object",
    "properties": {
     "currency": {
      "type": "string"
     },
     "productName": {
      "type": "string"
     }
    },
    "required": [
     "currency",
     "productName"
    ]
   },
   "HeldOrderBreach": {
    "type": "object",
    "properties": {
     "rule": {
      "type": "string"
     },
     "description": {
      "type": "string"
     },
     "level": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "description",
     "level",
     "rule"
    ]
   },
   "OrderContract": {
    "type": "object",
    "properties": {
     "underlying": {
      "type": "string"
     },
     "optionType": {
      "type": "string"
     },
     "strike": {
      "type": "number"
     },
     "expiry": {
      "type": "string",
      "format": "date"
     }
    },
    "required": [
     "expiry",
     "optionType",
     "strike",
     "underlying"
    ]
   },
   "StpReport": {
    "type": "object",
    "properties": {
     "tenantId": {
      "type": "string"
     },
     "zone": {
      "type": "string"
     },
     "from": {
      "type": "string",
      "format": "date-time"
     },
     "to": {
      "type": "string",
      "format": "date-time"
     },
     "entered": {
      "type": "integer",
      "format": "int64"
     },
     "outcomes": {
      "type": "object",
      "additionalProperties": {
       "type": "integer",
       "format": "int64"
      }
     },
     "stpRate": {
      "type": [
       "number",
       "null"
      ],
      "format": "double"
     },
     "rejectsByRule": {
      "type": "object",
      "additionalProperties": {
       "type": "integer",
       "format": "int64"
      }
     },
     "heldNow": {
      "type": "integer",
      "format": "int64"
     },
     "timeToDecision": {
      "$ref": "#/components/schemas/TimeToDecision"
     }
    },
    "required": [
     "entered",
     "from",
     "heldNow",
     "outcomes",
     "rejectsByRule",
     "tenantId",
     "timeToDecision",
     "to",
     "zone"
    ]
   },
   "TimeToDecision": {
    "type": "object",
    "properties": {
     "count": {
      "type": "integer",
      "format": "int64"
     },
     "medianSeconds": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "p95Seconds": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "maxSeconds": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     }
    },
    "required": [
     "count"
    ]
   },
   "RoutingCandidateExplanation": {
    "type": "object",
    "properties": {
     "venue": {
      "type": "string"
     },
     "listingCurrency": {
      "type": "string"
     },
     "estimatedAveragePrice": {
      "type": [
       "number",
       "null"
      ]
     },
     "comparablePrice": {
      "type": [
       "number",
       "null"
      ]
     },
     "comparableCurrency": {
      "type": [
       "string",
       "null"
      ]
     },
     "outcome": {
      "type": "string"
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "snapshotRef": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "listingCurrency",
     "outcome",
     "venue"
    ]
   },
   "RoutingDepthExplanation": {
    "type": "object",
    "properties": {
     "snapshotRef": {
      "type": "string"
     },
     "venue": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "capturedAt": {
      "type": "string",
      "format": "date-time"
     },
     "bids": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RoutingDepthLevel"
      }
     },
     "asks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RoutingDepthLevel"
      }
     }
    },
    "required": [
     "asks",
     "bids",
     "capturedAt",
     "currency",
     "snapshotRef",
     "venue"
    ]
   },
   "RoutingDepthLevel": {
    "type": "object",
    "properties": {
     "price": {
      "type": "number"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     }
    },
    "required": [
     "price",
     "quantity"
    ]
   },
   "RoutingExplanation": {
    "type": "object",
    "properties": {
     "decisionId": {
      "type": "string"
     },
     "orderId": {
      "type": "string"
     },
     "tenantId": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "side": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     },
     "orderType": {
      "type": "string"
     },
     "limitPrice": {
      "type": [
       "number",
       "null"
      ]
     },
     "limitCurrency": {
      "type": [
       "string",
       "null"
      ]
     },
     "chosenVenue": {
      "type": [
       "string",
       "null"
      ]
     },
     "outcome": {
      "type": "string"
     },
     "decidedAt": {
      "type": "string",
      "format": "date-time"
     },
     "softwareVersion": {
      "type": "string"
     },
     "algorithmVersion": {
      "type": "string"
     },
     "candidates": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RoutingCandidateExplanation"
      }
     },
     "depth": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RoutingDepthExplanation"
      }
     },
     "fxRates": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RoutingFxExplanation"
      }
     },
     "stalenessLimitMillis": {
      "type": "integer",
      "format": "int64"
     },
     "depthLevels": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "algorithmVersion",
     "candidates",
     "decidedAt",
     "decisionId",
     "depth",
     "depthLevels",
     "fxRates",
     "orderId",
     "orderType",
     "outcome",
     "quantity",
     "side",
     "softwareVersion",
     "stalenessLimitMillis",
     "symbol",
     "tenantId"
    ]
   },
   "RoutingFxExplanation": {
    "type": "object",
    "properties": {
     "fromCurrency": {
      "type": "string"
     },
     "toCurrency": {
      "type": "string"
     },
     "rate": {
      "type": "number"
     },
     "source": {
      "type": "string"
     },
     "asOf": {
      "type": "string",
      "format": "date-time"
     }
    },
    "required": [
     "asOf",
     "fromCurrency",
     "rate",
     "source",
     "toCurrency"
    ]
   },
   "HeldOrderEntry": {
    "type": "object",
    "properties": {
     "orderId": {
      "type": "string"
     },
     "account": {
      "type": [
       "string",
       "null"
      ]
     },
     "clientId": {
      "type": [
       "string",
       "null"
      ]
     },
     "symbol": {
      "type": "string"
     },
     "side": {
      "type": "string",
      "enum": [
       "BUY",
       "SELL"
      ]
     },
     "quantity": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "limitPrice": {
      "type": [
       "number",
       "null"
      ]
     },
     "notional": {
      "type": [
       "number",
       "null"
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "ENTITLEMENT",
       "REFERRED",
       "PREPARED",
       "CLIENT_REVIEW"
      ]
     },
     "rules": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "detail": {
      "type": [
       "string",
       "null"
      ]
     },
     "requiredLevel": {
      "type": "integer",
      "format": "int32"
     },
     "enteredBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "instructedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "instructionId": {
      "type": [
       "string",
       "null"
      ]
     },
     "enteredVia": {
      "type": [
       "string",
       "null"
      ]
     },
     "enteredAt": {
      "type": "string",
      "format": "date-time"
     },
     "waitedSeconds": {
      "type": "integer",
      "format": "int64"
     },
     "expiresAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "releasableByCaller": {
      "type": "boolean"
     },
     "enteredByCaller": {
      "type": "boolean"
     },
     "holdKind": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "RULE_REFERRAL",
       "VETTING_UNAVAILABLE",
       "ENTITLEMENT",
       "PREPARED",
       "CLIENT_REVIEW"
      ]
     },
     "assetClass": {
      "type": [
       "string",
       "null"
      ]
     },
     "fund": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/FundOrderTerms"
       },
       {
        "type": "null"
       }
      ]
     },
     "orderBasis": {
      "type": [
       "string",
       "null"
      ]
     },
     "amount": {
      "type": [
       "string",
       "null"
      ]
     },
     "quantityDecimal": {
      "type": [
       "string",
       "null"
      ]
     },
     "dealingDate": {
      "type": [
       "string",
       "null"
      ]
     },
     "cutOffAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "strikeAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "breaches": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/HeldOrderBreach"
      }
     },
     "warnings": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    },
    "required": [
     "breaches",
     "enteredAt",
     "enteredByCaller",
     "orderId",
     "releasableByCaller",
     "requiredLevel",
     "rules",
     "side",
     "symbol",
     "waitedSeconds",
     "warnings"
    ]
   },
   "BulkCancelItemResponse": {
    "type": "object",
    "properties": {
     "orderId": {
      "type": "string"
     },
     "account": {
      "type": [
       "string",
       "null"
      ]
     },
     "symbol": {
      "type": "string"
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "statusAtRequest": {
      "type": "string"
     },
     "result": {
      "type": "string"
     },
     "errorClass": {
      "type": [
       "string",
       "null"
      ]
     },
     "attempts": {
      "type": "integer",
      "format": "int32"
     },
     "at": {
      "type": "string",
      "format": "date-time"
     },
     "currentStatus": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "at",
     "attempts",
     "orderId",
     "result",
     "statusAtRequest",
     "symbol"
    ]
   },
   "BulkCancelLiveCounts": {
    "type": "object",
    "properties": {
     "confirmedCancelled": {
      "type": "integer",
      "format": "int32"
     },
     "stillPending": {
      "type": "integer",
      "format": "int32"
     },
     "filledBeforeCancel": {
      "type": "integer",
      "format": "int32"
     },
     "other": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "confirmedCancelled",
     "filledBeforeCancel",
     "other",
     "stillPending"
    ]
   },
   "BulkCancelViewResponse": {
    "type": "object",
    "properties": {
     "batch": {
      "$ref": "#/components/schemas/BulkCancelBatchResponse"
     },
     "items": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/BulkCancelItemResponse"
      }
     },
     "nextCursor": {
      "type": [
       "string",
       "null"
      ]
     },
     "liveCounts": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/BulkCancelLiveCounts"
       },
       {
        "type": "null"
       }
      ]
     },
     "liveCountsSkipped": {
      "type": "boolean"
     }
    },
    "required": [
     "batch",
     "items",
     "liveCountsSkipped"
    ]
   },
   "Me": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string"
     },
     "personas": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "tenantId": {
      "type": "string"
     },
     "userId": {
      "type": [
       "string",
       "null"
      ]
     },
     "displayName": {
      "type": [
       "string",
       "null"
      ]
     },
     "roles": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "modules": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "canTrade": {
      "type": "boolean"
     },
     "canOnboardClients": {
      "type": "boolean"
     },
     "canManageClients": {
      "type": "boolean"
     },
     "skipsBusinessRules": {
      "type": "boolean"
     },
     "canRetrySettlement": {
      "type": "boolean"
     },
     "canCloseBreak": {
      "type": "boolean"
     },
     "canManageCorporateActions": {
      "type": "boolean"
     },
     "canManageFeeSchedules": {
      "type": "boolean"
     },
     "canManageFundPrices": {
      "type": "boolean"
     },
     "canManageFundAvailability": {
      "type": "boolean"
     },
     "canViewRegisters": {
      "type": "boolean"
     },
     "canManageRegisters": {
      "type": "boolean"
     },
     "canHandleComplaints": {
      "type": "boolean"
     },
     "canExportCompliance": {
      "type": "boolean"
     },
     "canManageHoldingIdentifiers": {
      "type": "boolean"
     },
     "canRevealHoldingIdentifiers": {
      "type": "boolean"
     },
     "canManageClientClassification": {
      "type": "boolean"
     },
     "canManageInstrumentClassLimits": {
      "type": "boolean"
     },
     "recordInstruction": {
      "type": "boolean"
     },
     "instructionRequired": {
      "type": "boolean"
     },
     "instructionLateAfter": {
      "type": [
       "string",
       "null"
      ]
     },
     "canReleaseContractNotes": {
      "type": "boolean"
     },
     "canDeliverContractNotes": {
      "type": "boolean"
     },
     "canViewContractNoteApprovalSummary": {
      "type": "boolean"
     },
     "functions": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "orderIntake": {
      "$ref": "#/components/schemas/OrderIntake"
     }
    },
    "required": [
     "canCloseBreak",
     "canDeliverContractNotes",
     "canExportCompliance",
     "canHandleComplaints",
     "canManageClientClassification",
     "canManageClients",
     "canManageCorporateActions",
     "canManageFeeSchedules",
     "canManageFundAvailability",
     "canManageFundPrices",
     "canManageHoldingIdentifiers",
     "canManageInstrumentClassLimits",
     "canManageRegisters",
     "canOnboardClients",
     "canReleaseContractNotes",
     "canRetrySettlement",
     "canRevealHoldingIdentifiers",
     "canTrade",
     "canViewContractNoteApprovalSummary",
     "canViewRegisters",
     "functions",
     "instructionRequired",
     "kind",
     "modules",
     "orderIntake",
     "personas",
     "recordInstruction",
     "roles",
     "skipsBusinessRules",
     "tenantId"
    ]
   },
   "OrderIntake": {
    "type": "object",
    "properties": {
     "open": {
      "type": "boolean"
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "open"
    ]
   },
   "SessionView": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "startedAt": {
      "type": "string",
      "format": "date-time"
     },
     "lastSeenAt": {
      "type": "string",
      "format": "date-time"
     },
     "expiresAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "ipAddress": {
      "type": [
       "string",
       "null"
      ]
     },
     "userAgent": {
      "type": [
       "string",
       "null"
      ]
     },
     "clientId": {
      "type": [
       "string",
       "null"
      ]
     },
     "current": {
      "type": "boolean"
     }
    },
    "required": [
     "current",
     "id",
     "lastSeenAt",
     "startedAt"
    ]
   },
   "ApiTokenView": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "scopes": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "hint": {
      "type": "string"
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "expiresAt": {
      "type": "string",
      "format": "date-time"
     },
     "lastUsedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "revokedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "status": {
      "type": "string"
     }
    },
    "required": [
     "createdAt",
     "expiresAt",
     "hint",
     "id",
     "name",
     "scopes",
     "status"
    ]
   },
   "InstructionPageResponse": {
    "type": "object",
    "properties": {
     "items": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/InstructionResponse"
      }
     },
     "page": {
      "type": "integer",
      "format": "int32"
     },
     "size": {
      "type": "integer",
      "format": "int32"
     },
     "total": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "partial": {
      "type": "boolean"
     }
    },
    "required": [
     "items",
     "page",
     "partial",
     "size"
    ]
   },
   "InstructionEntryResponse": {
    "type": "object",
    "properties": {
     "seq": {
      "type": "integer",
      "format": "int32"
     },
     "kind": {
      "type": "string"
     },
     "recordedAt": {
      "type": "string",
      "format": "date-time"
     },
     "recordedBy": {
      "type": "string"
     },
     "recordedVia": {
      "type": [
       "string",
       "null"
      ]
     },
     "receivedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "content": {
      "type": [
       "string",
       "null"
      ]
     },
     "reasonCode": {
      "type": [
       "string",
       "null"
      ]
     },
     "reasonText": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "kind",
     "recordedAt",
     "recordedBy",
     "seq"
    ]
   },
   "InstructionHistoryResponse": {
    "type": "object",
    "properties": {
     "instructionId": {
      "type": "string"
     },
     "entries": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/InstructionEntryResponse"
      }
     }
    },
    "required": [
     "entries",
     "instructionId"
    ]
   },
   "FeeReadinessDto": {
    "type": "object",
    "properties": {
     "setUp": {
      "type": "boolean"
     },
     "hasSchedule": {
      "type": "boolean"
     },
     "hasFeesSettings": {
      "type": "boolean"
     }
    },
    "required": [
     "hasFeesSettings",
     "hasSchedule",
     "setUp"
    ]
   },
   "DepthLevel": {
    "type": "object",
    "properties": {
     "price": {
      "type": "number"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     },
     "orderCount": {
      "type": "integer",
      "format": "int32"
     },
     "ownQuantity": {
      "type": "integer",
      "format": "int64"
     }
    },
    "required": [
     "orderCount",
     "ownQuantity",
     "price",
     "quantity"
    ]
   },
   "MarketDepth": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": "string"
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "bids": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/DepthLevel"
      }
     },
     "asks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/DepthLevel"
      }
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "asks",
     "bids",
     "symbol"
    ]
   },
   "EffectiveOptionsLevelResponse": {
    "type": "object",
    "properties": {
     "account": {
      "type": "string"
     },
     "level": {
      "type": "integer",
      "format": "int32"
     },
     "layer": {
      "type": "string"
     }
    },
    "required": [
     "account",
     "layer",
     "level"
    ]
   },
   "CatalogueBasis": {
    "type": "object",
    "properties": {
     "code": {
      "type": "string"
     },
     "label": {
      "type": "string"
     },
     "classes": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    },
    "required": [
     "classes",
     "code",
     "label"
    ]
   },
   "CatalogueClass": {
    "type": "object",
    "properties": {
     "code": {
      "type": "string"
     },
     "label": {
      "type": "string"
     },
     "requiresEvidence": {
      "type": "boolean"
     },
     "requiresExpiry": {
      "type": "boolean"
     }
    },
    "required": [
     "code",
     "label",
     "requiresEvidence",
     "requiresExpiry"
    ]
   },
   "CatalogueResponse": {
    "type": "object",
    "properties": {
     "classes": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CatalogueClass"
      }
     },
     "bases": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CatalogueBasis"
      }
     },
     "documentZone": {
      "type": "string"
     }
    },
    "required": [
     "bases",
     "classes",
     "documentZone"
    ]
   },
   "CorporateActionView": {
    "type": "object",
    "properties": {
     "actionId": {
      "type": "string"
     },
     "revision": {
      "type": "integer",
      "format": "int32"
     },
     "symbol": {
      "type": "string"
     },
     "venue": {
      "type": "string"
     },
     "timezone": {
      "type": "string"
     },
     "actionType": {
      "type": "string"
     },
     "status": {
      "type": "string"
     },
     "exDate": {
      "type": "string"
     },
     "recordDate": {
      "type": "string"
     },
     "payDate": {
      "type": [
       "string",
       "null"
      ]
     },
     "effectiveDate": {
      "type": "string"
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "amountPerShare": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/MoneyView"
       },
       {
        "type": "null"
       }
      ]
     },
     "ratio": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/RatioView"
       },
       {
        "type": "null"
       }
      ]
     },
     "announcedAt": {
      "type": "string"
     }
    },
    "required": [
     "actionId",
     "actionType",
     "announcedAt",
     "effectiveDate",
     "exDate",
     "recordDate",
     "revision",
     "status",
     "symbol",
     "timezone",
     "venue"
    ]
   },
   "RatioView": {
    "type": "object",
    "properties": {
     "numerator": {
      "type": "integer",
      "format": "int32"
     },
     "denominator": {
      "type": "integer",
      "format": "int32"
     }
    },
    "required": [
     "denominator",
     "numerator"
    ]
   },
   "CorporateActionDetailView": {
    "type": "object",
    "properties": {
     "action": {
      "$ref": "#/components/schemas/CorporateActionView"
     },
     "entitlements": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CorporateActionEntitlementView"
      }
     },
     "postings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CorporateActionPostingView"
      }
     }
    },
    "required": [
     "action",
     "entitlements",
     "postings"
    ]
   },
   "CorporateActionEntitlementView": {
    "type": "object",
    "properties": {
     "account": {
      "type": "string"
     },
     "entitledQuantity": {
      "type": "integer",
      "format": "int64"
     },
     "cash": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/MoneyView"
       },
       {
        "type": "null"
       }
      ]
     },
     "quantityDelta": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "ratio": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/RatioView"
       },
       {
        "type": "null"
       }
      ]
     },
     "effectiveDate": {
      "type": "string"
     },
     "stage": {
      "type": "string"
     }
    },
    "required": [
     "account",
     "effectiveDate",
     "entitledQuantity",
     "stage"
    ]
   },
   "CorporateActionPostingView": {
    "type": "object",
    "properties": {
     "postingId": {
      "type": "string"
     },
     "actionId": {
      "type": "string"
     },
     "revision": {
      "type": "integer",
      "format": "int32"
     },
     "account": {
      "type": "string"
     },
     "kind": {
      "type": "string"
     },
     "effectiveDate": {
      "type": "string"
     },
     "timezone": {
      "type": "string"
     },
     "entitledQuantity": {
      "type": "integer",
      "format": "int64"
     },
     "cash": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/MoneyView"
       },
       {
        "type": "null"
       }
      ]
     },
     "amountPerShare": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/MoneyView"
       },
       {
        "type": "null"
       }
      ]
     },
     "quantityDelta": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int64"
     },
     "ratio": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/RatioView"
       },
       {
        "type": "null"
       }
      ]
     },
     "reversalOf": {
      "type": [
       "string",
       "null"
      ]
     },
     "reversedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "stage": {
      "type": "string"
     },
     "postedAt": {
      "type": "string"
     }
    },
    "required": [
     "account",
     "actionId",
     "effectiveDate",
     "entitledQuantity",
     "kind",
     "postedAt",
     "postingId",
     "revision",
     "stage",
     "timezone"
    ]
   },
   "ContractNoteView": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "orderId": {
      "type": "string"
     },
     "revision": {
      "type": "integer",
      "format": "int32"
     },
     "correctionStatus": {
      "type": "string"
     },
     "supersedes": {
      "type": [
       "string",
       "null"
      ]
     },
     "supersededBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "correctionReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "clientId": {
      "type": [
       "string",
       "null"
      ]
     },
     "clientName": {
      "type": [
       "string",
       "null"
      ]
     },
     "accountId": {
      "type": "string"
     },
     "instrument": {
      "type": "string"
     },
     "venue": {
      "type": "string"
     },
     "side": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     },
     "averagePrice": {
      "$ref": "#/components/schemas/Money"
     },
     "grossAmount": {
      "$ref": "#/components/schemas/Money"
     },
     "currency": {
      "type": "string"
     },
     "tradeDate": {
      "type": "string"
     },
     "settleDate": {
      "type": "string"
     },
     "settlementTimezone": {
      "type": "string"
     },
     "firstTradedAt": {
      "type": "string"
     },
     "lastTradedAt": {
      "type": "string"
     },
     "issuedAt": {
      "type": "string"
     },
     "fills": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/FillView"
      }
     },
     "fees": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/FeeView"
      }
     },
     "document": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/DocumentView"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "required": [
     "accountId",
     "averagePrice",
     "correctionStatus",
     "currency",
     "fees",
     "fills",
     "firstTradedAt",
     "grossAmount",
     "id",
     "instrument",
     "issuedAt",
     "lastTradedAt",
     "orderId",
     "quantity",
     "revision",
     "settleDate",
     "settlementTimezone",
     "side",
     "tradeDate",
     "venue"
    ]
   },
   "ContractView": {
    "type": "object",
    "properties": {
     "multiplier": {
      "type": "integer",
      "format": "int32"
     },
     "positionEffect": {
      "type": [
       "string",
       "null"
      ]
     },
     "underlying": {
      "type": [
       "string",
       "null"
      ]
     },
     "optionType": {
      "type": [
       "string",
       "null"
      ]
     },
     "strike": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/Money"
       },
       {
        "type": "null"
       }
      ]
     },
     "expiry": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "multiplier"
    ]
   },
   "DeliveryView": {
    "type": "object",
    "properties": {
     "status": {
      "type": "string"
     },
     "channel": {
      "type": [
       "string",
       "null"
      ]
     },
     "at": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "status"
    ]
   },
   "DocumentView": {
    "type": "object",
    "properties": {
     "available": {
      "type": "boolean"
     },
     "documentSha256": {
      "type": [
       "string",
       "null"
      ]
     },
     "contentHash": {
      "type": [
       "string",
       "null"
      ]
     },
     "sizeBytes": {
      "type": [
       "integer",
       "null"
      ],
      "format": "int32"
     },
     "generatedAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "regenerated": {
      "type": [
       "boolean",
       "null"
      ]
     },
     "delivery": {
      "$ref": "#/components/schemas/DeliveryView"
     }
    },
    "required": [
     "available",
     "delivery"
    ]
   },
   "FeeView": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string"
     },
     "description": {
      "type": "string"
     },
     "amount": {
      "$ref": "#/components/schemas/Money"
     }
    },
    "required": [
     "amount",
     "description",
     "kind"
    ]
   },
   "FillView": {
    "type": "object",
    "properties": {
     "tradeId": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     },
     "price": {
      "$ref": "#/components/schemas/Money"
     },
     "grossAmount": {
      "$ref": "#/components/schemas/Money"
     },
     "tradedAt": {
      "type": "string"
     },
     "tradeDate": {
      "type": "string"
     },
     "settleDate": {
      "type": "string"
     },
     "contract": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/ContractView"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "required": [
     "grossAmount",
     "price",
     "quantity",
     "settleDate",
     "tradeDate",
     "tradeId",
     "tradedAt"
    ]
   },
   "BrandPreviewView": {
    "type": "object",
    "properties": {
     "firmName": {
      "type": "string"
     },
     "licenceLabel": {
      "type": [
       "string",
       "null"
      ]
     },
     "licenceNumber": {
      "type": [
       "string",
       "null"
      ]
     },
     "abn": {
      "type": [
       "string",
       "null"
      ]
     },
     "address": {
      "type": [
       "string",
       "null"
      ]
     },
     "contactLine": {
      "type": [
       "string",
       "null"
      ]
     },
     "hasLogo": {
      "type": "boolean"
     },
     "logoSha256": {
      "type": [
       "string",
       "null"
      ]
     },
     "disclaimers": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "documentZone": {
      "type": [
       "string",
       "null"
      ]
     },
     "accentColour": {
      "type": [
       "string",
       "null"
      ]
     },
     "licenceNotApplicableReason": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "disclaimers",
     "firmName",
     "hasLogo"
    ]
   },
   "ApprovalView": {
    "type": "object",
    "properties": {
     "tenantId": {
      "type": "string"
     },
     "templateVersion": {
      "type": "string"
     },
     "approvedBy": {
      "type": "string"
     },
     "approvedAt": {
      "type": "string"
     },
     "reference": {
      "type": "string"
     },
     "source": {
      "type": "string"
     },
     "brandChangedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "brandChangedAt": {
      "type": [
       "string",
       "null"
      ]
     },
     "brandChangedAfterApproval": {
      "type": "boolean"
     }
    },
    "required": [
     "approvedAt",
     "approvedBy",
     "brandChangedAfterApproval",
     "reference",
     "source",
     "templateVersion",
     "tenantId"
    ]
   },
   "ContractNotePage": {
    "type": "object",
    "properties": {
     "items": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ContractNoteView"
      }
     },
     "page": {
      "type": "integer",
      "format": "int32"
     },
     "size": {
      "type": "integer",
      "format": "int32"
     },
     "total": {
      "type": "integer",
      "format": "int64"
     }
    },
    "required": [
     "items",
     "page",
     "size",
     "total"
    ]
   },
   "ClientVisibleView": {
    "type": "object",
    "properties": {
     "released": {
      "type": "boolean"
     },
     "templateVersion": {
      "type": "string"
     },
     "canTurnOn": {
      "type": "string"
     },
     "visible": {
      "type": "boolean"
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "canTurnOn",
     "released",
     "templateVersion",
     "visible"
    ]
   },
   "ApprovalSummaryView": {
    "type": "object",
    "properties": {
     "approved": {
      "type": "boolean"
     },
     "brandChangedAfterApproval": {
      "type": "boolean"
     },
     "clientVisible": {
      "type": "boolean"
     },
     "clientVisibleReason": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "approved",
     "brandChangedAfterApproval",
     "clientVisible"
    ]
   },
   "ComplianceOrderDetail": {
    "type": "object",
    "properties": {
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "side": {
      "type": [
       "string",
       "null"
      ]
     },
     "orderType": {
      "type": [
       "string",
       "null"
      ]
     },
     "timeInForce": {
      "type": [
       "string",
       "null"
      ]
     },
     "quantity": {
      "type": [
       "string",
       "null"
      ]
     },
     "limitPrice": {
      "type": [
       "string",
       "null"
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "venue": {
      "type": [
       "string",
       "null"
      ]
     },
     "clientId": {
      "type": [
       "string",
       "null"
      ]
     },
     "instructedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "enteredVia": {
      "type": [
       "string",
       "null"
      ]
     },
     "orderStatus": {
      "type": [
       "string",
       "null"
      ]
     },
     "execId": {
      "type": [
       "string",
       "null"
      ]
     },
     "execType": {
      "type": [
       "string",
       "null"
      ]
     },
     "cumQty": {
      "type": [
       "string",
       "null"
      ]
     },
     "leavesQty": {
      "type": [
       "string",
       "null"
      ]
     },
     "price": {
      "type": [
       "string",
       "null"
      ]
     },
     "lastQty": {
      "type": [
       "string",
       "null"
      ]
     },
     "lastPx": {
      "type": [
       "string",
       "null"
      ]
     },
     "expiresAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "instructionId": {
      "type": [
       "string",
       "null"
      ]
     },
     "instructionReceivedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "instructionChannel": {
      "type": [
       "string",
       "null"
      ]
     },
     "instructionLate": {
      "type": [
       "boolean",
       "null"
      ]
     },
     "underlying": {
      "type": [
       "string",
       "null"
      ]
     },
     "strike": {
      "type": [
       "string",
       "null"
      ]
     },
     "expiry": {
      "type": [
       "string",
       "null"
      ]
     },
     "optionType": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "OrderTimelineDto": {
    "type": "object",
    "properties": {
     "orderId": {
      "type": "string"
     },
     "tenantId": {
      "type": "string"
     },
     "entries": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/TimelineEntryDto"
      }
     },
     "gaps": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/TimelineGapDto"
      }
     },
     "statement": {
      "type": "string"
     },
     "routingDecisionsRecorded": {
      "type": "boolean"
     },
     "excludedSources": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    },
    "required": [
     "entries",
     "excludedSources",
     "gaps",
     "orderId",
     "routingDecisionsRecorded",
     "statement",
     "tenantId"
    ]
   },
   "RecoveryDto": {
    "type": "object",
    "properties": {
     "detectedAt": {
      "type": "string",
      "format": "date-time"
     },
     "sourceTime": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "basis": {
      "type": "string"
     },
     "detectedBy": {
      "type": "string"
     }
    },
    "required": [
     "basis",
     "detectedAt",
     "detectedBy"
    ]
   },
   "TimelineEntryDto": {
    "type": "object",
    "properties": {
     "eventId": {
      "type": "string"
     },
     "occurredAt": {
      "type": "string",
      "format": "date-time"
     },
     "source": {
      "type": "string"
     },
     "actorKind": {
      "type": "string"
     },
     "actor": {
      "type": "string"
     },
     "action": {
      "type": "string"
     },
     "subjectType": {
      "type": "string"
     },
     "subjectId": {
      "type": "string"
     },
     "beforeState": {
      "type": [
       "string",
       "null"
      ]
     },
     "afterState": {
      "type": [
       "string",
       "null"
      ]
     },
     "reason": {
      "type": [
       "string",
       "null"
      ]
     },
     "correlationId": {
      "type": [
       "string",
       "null"
      ]
     },
     "order": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/ComplianceOrderDetail"
       },
       {
        "type": "null"
       }
      ]
     },
     "recovered": {
      "type": "boolean"
     },
     "recovery": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/RecoveryDto"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "required": [
     "action",
     "actor",
     "actorKind",
     "eventId",
     "occurredAt",
     "recovered",
     "source",
     "subjectId",
     "subjectType"
    ]
   },
   "TimelineGapDto": {
    "type": "object",
    "properties": {
     "step": {
      "type": "string"
     },
     "statement": {
      "type": "string"
     }
    },
    "required": [
     "statement",
     "step"
    ]
   },
   "ComplianceHoldDto": {
    "type": "object",
    "properties": {
     "holdId": {
      "type": "string"
     },
     "tenantId": {
      "type": "string"
     },
     "active": {
      "type": "boolean"
     },
     "scopeType": {
      "type": "string"
     },
     "subjectId": {
      "type": [
       "string",
       "null"
      ]
     },
     "rangeFrom": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "rangeTo": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "reason": {
      "type": "string"
     },
     "reference": {
      "type": "string"
     },
     "placedBy": {
      "type": "string"
     },
     "placedAt": {
      "type": "string",
      "format": "date-time"
     },
     "liftedBy": {
      "type": [
       "string",
       "null"
      ]
     },
     "liftedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "liftReason": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "active",
     "holdId",
     "placedAt",
     "placedBy",
     "reason",
     "reference",
     "scopeType",
     "tenantId"
    ]
   },
   "ExportFilter": {
    "type": "object",
    "properties": {
     "source": {
      "type": [
       "string",
       "null"
      ],
      "enum": [
       "POST_TRADE_AUDIT",
       "ROUTING_AUDIT",
       "ORDER_AUDIT",
       "ORDER_EXECUTION",
       "ACCOUNT_AUDIT",
       "API_TOKEN_AUDIT",
       "SURVEILLANCE",
       "AML",
       "REGISTER_ENTRY",
       "AUTHORITY",
       "BULK_CANCEL"
      ]
     },
     "from": {
      "type": "string",
      "format": "date-time"
     },
     "to": {
      "type": "string",
      "format": "date-time"
     },
     "excludedSources": {
      "type": "array",
      "items": {
       "type": "string",
       "enum": [
        "POST_TRADE_AUDIT",
        "ROUTING_AUDIT",
        "ORDER_AUDIT",
        "ORDER_EXECUTION",
        "ACCOUNT_AUDIT",
        "API_TOKEN_AUDIT",
        "SURVEILLANCE",
        "AML",
        "REGISTER_ENTRY",
        "AUTHORITY",
        "BULK_CANCEL"
       ]
      },
      "uniqueItems": true
     },
     "restricted": {
      "type": "boolean"
     }
    },
    "required": [
     "excludedSources",
     "from",
     "restricted",
     "to"
    ]
   },
   "ExportManifest": {
    "type": "object",
    "properties": {
     "recordCount": {
      "type": "integer",
      "format": "int32"
     },
     "firstAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "lastAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "schemaVersion": {
      "type": "string"
     },
     "sha256": {
      "type": "string"
     },
     "format": {
      "type": "string",
      "enum": [
       "CSV",
       "JSONL"
      ]
     },
     "filter": {
      "$ref": "#/components/schemas/ExportFilter"
     },
     "keyId": {
      "type": [
       "string",
       "null"
      ]
     },
     "signature": {
      "type": [
       "string",
       "null"
      ]
     },
     "signatureAlgorithm": {
      "type": [
       "string",
       "null"
      ]
     },
     "signingStatus": {
      "type": "string",
      "enum": [
       "SIGNED",
       "UNSIGNED"
      ]
     },
     "manifestVersion": {
      "type": "string"
     }
    },
    "required": [
     "filter",
     "format",
     "manifestVersion",
     "recordCount",
     "schemaVersion",
     "sha256",
     "signingStatus"
    ]
   },
   "ExportView": {
    "type": "object",
    "properties": {
     "exportId": {
      "type": "string"
     },
     "status": {
      "type": "string"
     },
     "requestedBy": {
      "type": "string"
     },
     "reason": {
      "type": "string"
     },
     "format": {
      "type": "string"
     },
     "requestedAt": {
      "type": "string",
      "format": "date-time"
     },
     "completedAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "manifest": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/ExportManifest"
       },
       {
        "type": "null"
       }
      ]
     },
     "failure": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "exportId",
     "format",
     "reason",
     "requestedAt",
     "requestedBy",
     "status"
    ]
   },
   "PublishedKey": {
    "type": "object",
    "properties": {
     "keyId": {
      "type": "string"
     },
     "algorithm": {
      "type": "string"
     },
     "publicKeyPem": {
      "type": "string"
     },
     "current": {
      "type": "boolean"
     }
    },
    "required": [
     "algorithm",
     "current",
     "keyId",
     "publicKeyPem"
    ]
   },
   "CallerInfo": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "username": {
      "type": "string"
     },
     "firstName": {
      "type": "string"
     },
     "lastName": {
      "type": "string"
     },
     "email": {
      "type": "string"
     },
     "roles": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "uniqueItems": true
     },
     "method": {
      "type": "string"
     }
    },
    "required": [
     "email",
     "firstName",
     "id",
     "lastName",
     "method",
     "roles",
     "username"
    ]
   },
   "TradingAccountView": {
    "type": "object",
    "properties": {
     "tenantId": {
      "type": "string"
     },
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "clientId": {
      "type": [
       "string",
       "null"
      ]
     },
     "adviserId": {
      "type": [
       "string",
       "null"
      ]
     },
     "status": {
      "type": "string",
      "enum": [
       "ACTIVE",
       "SUSPENDED",
       "CLOSED"
      ]
     },
     "kind": {
      "type": "string",
      "enum": [
       "TRADING",
       "SETTLEMENT"
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "tradable": {
      "type": "boolean"
     },
     "block": {
      "type": "boolean"
     }
    },
    "required": [
     "block",
     "id",
     "kind",
     "name",
     "status",
     "tenantId",
     "tradable"
    ]
   },
   "TradingAccount": {
    "type": "object",
    "properties": {
     "tenantId": {
      "type": "string"
     },
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "clientId": {
      "type": [
       "string",
       "null"
      ]
     },
     "adviserId": {
      "type": [
       "string",
       "null"
      ]
     },
     "status": {
      "type": "string",
      "enum": [
       "ACTIVE",
       "SUSPENDED",
       "CLOSED"
      ]
     },
     "kind": {
      "type": "string",
      "enum": [
       "TRADING",
       "SETTLEMENT"
      ]
     },
     "currency": {
      "type": [
       "string",
       "null"
      ]
     },
     "tradable": {
      "type": "boolean"
     }
    },
    "required": [
     "id",
     "kind",
     "name",
     "status",
     "tenantId",
     "tradable"
    ]
   },
   "FundsReservation": {
    "type": "object",
    "properties": {
     "reservationId": {
      "type": "string"
     },
     "tenantId": {
      "type": "string"
     },
     "accountId": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "amount": {
      "type": "number"
     },
     "orderId": {
      "type": "string"
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "status": {
      "type": "string",
      "enum": [
       "ACTIVE",
       "RELEASED",
       "SUPERSEDED",
       "REFUSED"
      ]
     },
     "sequence": {
      "type": "integer",
      "format": "int32"
     },
     "settledAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "refusedReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "feeEstimate": {
      "type": "number"
     },
     "tradingAccountId": {
      "type": [
       "string",
       "null"
      ]
     },
     "counts": {
      "type": "boolean"
     },
     "valueAmount": {
      "type": "number"
     }
    },
    "required": [
     "accountId",
     "amount",
     "counts",
     "createdAt",
     "currency",
     "feeEstimate",
     "orderId",
     "reservationId",
     "sequence",
     "status",
     "tenantId",
     "valueAmount"
    ]
   },
   "HoldingsReservation": {
    "type": "object",
    "properties": {
     "reservationId": {
      "type": "string"
     },
     "tenantId": {
      "type": "string"
     },
     "accountId": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "orderId": {
      "type": "string"
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "status": {
      "type": "string",
      "enum": [
       "ACTIVE",
       "RELEASED",
       "SUPERSEDED",
       "REFUSED"
      ]
     },
     "sequence": {
      "type": "integer",
      "format": "int32"
     },
     "filled": {
      "type": "integer",
      "format": "int32"
     },
     "ended": {
      "type": "boolean"
     },
     "refusedReason": {
      "type": [
       "string",
       "null"
      ]
     },
     "counts": {
      "type": "boolean"
     }
    },
    "required": [
     "accountId",
     "counts",
     "createdAt",
     "ended",
     "filled",
     "orderId",
     "quantity",
     "reservationId",
     "sequence",
     "status",
     "symbol",
     "tenantId"
    ]
   },
   "CurrencyFunds": {
    "type": "object",
    "properties": {
     "currency": {
      "type": "string"
     },
     "balance": {
      "type": [
       "number",
       "null"
      ]
     },
     "asAt": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "stale": {
      "type": "boolean"
     },
     "available": {
      "type": [
       "number",
       "null"
      ]
     },
     "reserved": {
      "type": "number"
     }
    },
    "required": [
     "currency",
     "reserved",
     "stale"
    ]
   },
   "SettlementLink": {
    "type": "object",
    "properties": {
     "tenantId": {
      "type": "string"
     },
     "tradingAccountId": {
      "type": "string"
     },
     "settlementAccountId": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "linkedAt": {
      "type": "string",
      "format": "date-time"
     },
     "linkedBy": {
      "type": "string"
     }
    },
    "required": [
     "currency",
     "linkedAt",
     "linkedBy",
     "settlementAccountId",
     "tenantId",
     "tradingAccountId"
    ]
   },
   "HoldingIdentifierSchemeView": {
    "type": "object",
    "properties": {
     "code": {
      "type": "string"
     },
     "label": {
      "type": "string"
     },
     "market": {
      "type": "string"
     },
     "scope": {
      "type": "string",
      "enum": [
       "ACCOUNT",
       "INSTRUMENT"
      ]
     }
    },
    "required": [
     "code",
     "label",
     "market",
     "scope"
    ]
   },
   "ActionAccess": {
    "type": "object",
    "properties": {
     "action": {
      "type": "string"
     },
     "allowed": {
      "type": "boolean"
     },
     "paths": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "unavailable": {
      "type": "boolean"
     }
    },
    "required": [
     "action",
     "allowed",
     "paths",
     "unavailable"
    ]
   },
   "ObjectAccess": {
    "type": "object",
    "properties": {
     "action": {
      "type": "string"
     },
     "scope": {
      "type": "string",
      "enum": [
       "ALL",
       "SOME",
       "NONE",
       "UNAVAILABLE"
      ]
     },
     "count": {
      "type": "integer",
      "format": "int32"
     },
     "objects": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    },
    "required": [
     "action",
     "count",
     "objects",
     "scope"
    ]
   },
   "StaffAccess": {
    "type": "object",
    "properties": {
     "userId": {
      "type": "string"
     },
     "model": {
      "type": "string"
     },
     "tenant": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ActionAccess"
      }
     },
     "clients": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ObjectAccess"
      }
     },
     "accounts": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ObjectAccess"
      }
     }
    },
    "required": [
     "accounts",
     "clients",
     "model",
     "tenant",
     "userId"
    ]
   },
   "AccessColumn": {
    "type": "object",
    "properties": {
     "key": {
      "type": "string"
     },
     "grants": {
      "type": "object",
      "additionalProperties": {
       "type": "string",
       "enum": [
        "YES",
        "AFTER_KYC"
       ]
      }
     }
    },
    "required": [
     "grants",
     "key"
    ]
   },
   "AccessMatrix": {
    "type": "object",
    "properties": {
     "model": {
      "type": "string"
     },
     "rows": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AccessRow"
      }
     },
     "roles": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AccessColumn"
      }
     },
     "relationships": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AccessColumn"
      }
     }
    },
    "required": [
     "model",
     "relationships",
     "roles",
     "rows"
    ]
   },
   "AccessRow": {
    "type": "object",
    "properties": {
     "type": {
      "type": "string"
     },
     "action": {
      "type": "string"
     },
     "key": {
      "type": "string"
     }
    },
    "required": [
     "action",
     "key",
     "type"
    ]
   },
   "AccessGraph": {
    "type": "object",
    "properties": {
     "focus": {
      "type": "string"
     },
     "nodes": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/GraphNode"
      }
     },
     "edges": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/GraphEdge"
      }
     },
     "truncated": {
      "type": "boolean"
     }
    },
    "required": [
     "edges",
     "focus",
     "nodes",
     "truncated"
    ]
   },
   "GraphEdge": {
    "type": "object",
    "properties": {
     "from": {
      "type": "string"
     },
     "relation": {
      "type": "string"
     },
     "to": {
      "type": "string"
     }
    },
    "required": [
     "from",
     "relation",
     "to"
    ]
   },
   "GraphNode": {
    "type": "object",
    "properties": {
     "type": {
      "type": "string"
     },
     "id": {
      "type": "string"
     },
     "facts": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "key": {
      "type": "string"
     }
    },
    "required": [
     "facts",
     "id",
     "key",
     "type"
    ]
   },
   "Decision": {
    "type": "object",
    "properties": {
     "outcome": {
      "type": "string",
      "enum": [
       "ALLOWED",
       "DENIED",
       "ERROR"
      ]
     },
     "reason": {
      "type": "string"
     },
     "modelVersion": {
      "type": "string"
     },
     "allowed": {
      "type": "boolean"
     }
    },
    "required": [
     "allowed",
     "modelVersion",
     "outcome",
     "reason"
    ]
   },
   "Explanation": {
    "type": "object",
    "properties": {
     "decision": {
      "$ref": "#/components/schemas/Decision"
     },
     "paths": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    },
    "required": [
     "decision",
     "paths"
    ]
   }
  },
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer",
    "description": "OIDC access token, or a personal API token (simtp_pat_...)."
   }
  }
 },
 "security": [
  {
   "bearer": []
  }
 ]
}