{
  "openapi": "3.0.1",
  "info": {
    "title": "Alleva Rest Api",
    "version": "1.0"
  },
  "paths": {
    "/advanced-forms/{id}/published": {
      "get": {
        "tags": [
          "AdvancedForm"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "time",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedForm"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedForm"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedForm"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/advanced-forms/{id}/published": {
      "get": {
        "tags": [
          "AdvancedForm"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "time",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedForm"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedForm"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedForm"
                }
              }
            }
          }
        }
      }
    },
    "/advanced-forms/{id}/data/{leadId}": {
      "get": {
        "tags": [
          "AdvancedForm"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AdvancedForm"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormSaveRequest"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormSaveRequest"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormSaveRequest"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormSaveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/advanced-forms/{id}/data/{leadId}": {
      "get": {
        "tags": [
          "AdvancedForm"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AdvancedForm"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormSaveRequest"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormSaveRequest"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormSaveRequest"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormSaveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/advanced-forms/{id}/copy": {
      "post": {
        "tags": [
          "AdvancedForm"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/CopyParameters"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/CopyParameters"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/CopyParameters"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/CopyParameters"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdvancedForm"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdvancedForm"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdvancedForm"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/advanced-forms/{id}/copy": {
      "post": {
        "tags": [
          "AdvancedForm"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/CopyParameters"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/CopyParameters"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/CopyParameters"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/CopyParameters"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdvancedForm"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdvancedForm"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdvancedForm"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/advanced-forms/update-autofill": {
      "post": {
        "tags": [
          "AdvancedForm"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AutofillRequest"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AutofillRequest"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AutofillRequest"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AutofillRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/advanced-forms/update-autofill": {
      "post": {
        "tags": [
          "AdvancedForm"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AutofillRequest"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AutofillRequest"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AutofillRequest"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AutofillRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/advanced-forms/data-backup": {
      "post": {
        "tags": [
          "AdvancedFormDataBackup"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AdvancedFormDataBackup"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AdvancedFormDataBackup"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AdvancedFormDataBackup"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AdvancedFormDataBackup"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/advanced-forms/data-backup": {
      "post": {
        "tags": [
          "AdvancedFormDataBackup"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AdvancedFormDataBackup"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AdvancedFormDataBackup"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AdvancedFormDataBackup"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AdvancedFormDataBackup"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/advanced-form-elements": {
      "get": {
        "tags": [
          "AdvancedFormElement"
        ],
        "parameters": [
          {
            "name": "advancedFormId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdvancedFormElement"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdvancedFormElement"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdvancedFormElement"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/advanced-form-elements": {
      "get": {
        "tags": [
          "AdvancedFormElement"
        ],
        "parameters": [
          {
            "name": "advancedFormId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdvancedFormElement"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdvancedFormElement"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdvancedFormElement"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/advanced-forms/instance": {
      "post": {
        "tags": [
          "AdvancedFormInstance"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormInstance"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormInstance"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormInstance"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormInstance"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedFormInstance"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedFormInstance"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedFormInstance"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "AdvancedFormInstance"
        ],
        "parameters": [
          {
            "name": "AdvancedFormId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "LeadId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "SourceKey",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "SourceTypeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedFormInstance"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedFormInstance"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedFormInstance"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/advanced-forms/instance": {
      "post": {
        "tags": [
          "AdvancedFormInstance"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormInstance"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormInstance"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormInstance"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/AdvancedFormInstance"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedFormInstance"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedFormInstance"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedFormInstance"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "AdvancedFormInstance"
        ],
        "parameters": [
          {
            "name": "AdvancedFormId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "LeadId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "SourceKey",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "SourceTypeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedFormInstance"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedFormInstance"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/AdvancedFormInstance"
                }
              }
            }
          }
        }
      }
    },
    "/appointments": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Appointment"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Appointment"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Appointment"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/appointments": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Appointment"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Appointment"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Appointment"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/appointments/{id}": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Appointment"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Appointment"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Appointment"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/appointments/{id}": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Appointment"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Appointment"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Appointment"
                }
              }
            }
          }
        }
      }
    },
    "/beds": {
      "post": {
        "tags": [
          "Bed"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Bed"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Bed"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Bed"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Bed"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Bed"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Bed"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Bed"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Bed"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/beds": {
      "post": {
        "tags": [
          "Bed"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Bed"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Bed"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Bed"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Bed"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Bed"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Bed"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Bed"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Bed"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/beds/{id}": {
      "delete": {
        "tags": [
          "Bed"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Bed"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Bed"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/beds/{id}": {
      "delete": {
        "tags": [
          "Bed"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Bed"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Bed"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Bed"
                }
              }
            }
          }
        }
      }
    },
    "/bed/-/occupancies": {
      "post": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedOccupancy"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedOccupancy"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedOccupancy"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/bed/{bedId}/occupancies": {
      "post": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedOccupancy"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedOccupancy"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedOccupancy"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/-/occupancies": {
      "post": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedOccupancy"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedOccupancy"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedOccupancy"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/{bedId}/occupancies": {
      "post": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedOccupancy"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedOccupancy"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedOccupancy"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedOccupancy"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/bed/-/occupancies/{id}": {
      "delete": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      }
    },
    "/bed/{bedId}/occupancies/{id}": {
      "delete": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/-/occupancies/{id}": {
      "delete": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/{bedId}/occupancies/{id}": {
      "delete": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      }
    },
    "/bed/-/occupancies/end-lead/{leadId}": {
      "delete": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/bed/{bedId}/occupancies/end-lead/{leadId}": {
      "delete": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/bed/-/occupancies/end-lead/{leadId}": {
      "delete": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/bed/{bedId}/occupancies/end-lead/{leadId}": {
      "delete": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/bed/-/occupancies/end/{id}": {
      "delete": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/bed/{bedId}/occupancies/end/{id}": {
      "delete": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/bed/-/occupancies/end/{id}": {
      "delete": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/bed/{bedId}/occupancies/end/{id}": {
      "delete": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/bed/-/occupancies/transfer": {
      "post": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      }
    },
    "/bed/{bedId}/occupancies/transfer": {
      "post": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/-/occupancies/transfer": {
      "post": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/{bedId}/occupancies/transfer": {
      "post": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/OccupancyTransfer"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      }
    },
    "/bed/-/occupancies/occupants": {
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "facilityId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "clientName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/bed/{bedId}/occupancies/occupants": {
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "facilityId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "clientName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/-/occupancies/occupants": {
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "facilityId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "clientName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/{bedId}/occupancies/occupants": {
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "facilityId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "clientName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/bed/-/occupancies/occupants/{leadId}": {
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Occupant"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Occupant"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Occupant"
                }
              }
            }
          }
        }
      }
    },
    "/bed/{bedId}/occupancies/occupants/{leadId}": {
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Occupant"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Occupant"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Occupant"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/-/occupancies/occupants/{leadId}": {
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Occupant"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Occupant"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Occupant"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/{bedId}/occupancies/occupants/{leadId}": {
      "get": {
        "tags": [
          "BedOccupancy"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Occupant"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Occupant"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Occupant"
                }
              }
            }
          }
        }
      }
    },
    "/bed/-/reservations": {
      "post": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedReservation"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedReservation"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedReservation"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/bed/{bedId}/reservations": {
      "post": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedReservation"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedReservation"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedReservation"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/-/reservations": {
      "post": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedReservation"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedReservation"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedReservation"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/{bedId}/reservations": {
      "post": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/BedReservation"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedReservation"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedReservation"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BedReservation"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/bed/-/reservations/occupy": {
      "post": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      }
    },
    "/bed/{bedId}/reservations/occupy": {
      "post": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/-/reservations/occupy": {
      "post": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/{bedId}/reservations/occupy": {
      "post": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedOccupancy"
                }
              }
            }
          }
        }
      }
    },
    "/bed/-/reservations/{id}": {
      "delete": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      }
    },
    "/bed/{bedId}/reservations/{id}": {
      "delete": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/-/reservations/{id}": {
      "delete": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/{bedId}/reservations/{id}": {
      "delete": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/BedReservation"
                }
              }
            }
          }
        }
      }
    },
    "/bed/-/reservations/remove-lead/{leadId}": {
      "delete": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/bed/{bedId}/reservations/remove-lead/{leadId}": {
      "delete": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/bed/-/reservations/remove-lead/{leadId}": {
      "delete": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/bed/{bedId}/reservations/remove-lead/{leadId}": {
      "delete": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/bed/-/reservations/occupants": {
      "get": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "facilityId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "clientName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/bed/{bedId}/reservations/occupants": {
      "get": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "facilityId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "clientName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/-/reservations/occupants": {
      "get": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "facilityId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "clientName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/bed/{bedId}/reservations/occupants": {
      "get": {
        "tags": [
          "BedReservation"
        ],
        "parameters": [
          {
            "name": "facilityId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "bedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "clientName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Occupant"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/client-devices": {
      "post": {
        "tags": [
          "ClientDevice"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDevice"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDevice"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDevice"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDevice"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientDevice"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientDevice"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientDevice"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ClientDevice"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientDevice"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientDevice"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientDevice"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/client-devices": {
      "post": {
        "tags": [
          "ClientDevice"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDevice"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDevice"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDevice"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDevice"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientDevice"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientDevice"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientDevice"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ClientDevice"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientDevice"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientDevice"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientDevice"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/client-devices/{id}": {
      "get": {
        "tags": [
          "ClientDevice"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientDevice"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientDevice"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientDevice"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/client-devices/{id}": {
      "get": {
        "tags": [
          "ClientDevice"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientDevice"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientDevice"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientDevice"
                }
              }
            }
          }
        }
      }
    },
    "/clients/{id}/luin": {
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/clients/{id}/luin": {
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/clients/{id}/history": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientHistory"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientHistory"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientHistory"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/{id}/history": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientHistory"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientHistory"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientHistory"
                }
              }
            }
          }
        }
      }
    },
    "/clients/duplicates": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "firstName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lastName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "email",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dateofbirth",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "phoneNumber",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Client"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Client"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Client"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/duplicates": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "firstName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lastName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "email",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dateofbirth",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "phoneNumber",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Client"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Client"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Client"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/clients/{id}/urgent-alerts": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientUrgentAlert"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientUrgentAlert"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientUrgentAlert"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/{id}/urgent-alerts": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientUrgentAlert"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientUrgentAlert"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientUrgentAlert"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientUrgentAlert"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/clients/{id}/urgent-alerts/read": {
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserUrgentAlertMarkAsRead"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserUrgentAlertMarkAsRead"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserUrgentAlertMarkAsRead"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserUrgentAlertMarkAsRead"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/{id}/urgent-alerts/read": {
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserUrgentAlertMarkAsRead"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserUrgentAlertMarkAsRead"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserUrgentAlertMarkAsRead"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserUrgentAlertMarkAsRead"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/clients/{id}/legacy-form": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "formId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/clients/{id}/legacy-form": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "formId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/clients/{id}/documents": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Document"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Document"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Document"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDocument"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDocument"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDocument"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDocument"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateResult"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateResult"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateResult"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/{id}/documents": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Document"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Document"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Document"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDocument"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDocument"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDocument"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientDocument"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateResult"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateResult"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateResult"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/clients/{id}/documents/{docId}": {
      "delete": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "docId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/{id}/documents/{docId}": {
      "delete": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "docId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/clients/{id}/image": {
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/{id}/image": {
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/clients/{id}/contacts": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Contact"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Contact"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Contact"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/{id}/contacts": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Contact"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Contact"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Contact"
                }
              }
            }
          }
        }
      }
    },
    "/clients/{id}/step-down/documents": {
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    }
                  }
                }
              },
              "encoding": {
                "file": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/{id}/step-down/documents": {
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    }
                  }
                }
              },
              "encoding": {
                "file": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/clients/{leadId}/pronoun": {
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientPronoun"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientPronoun"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientPronoun"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientPronoun"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientPronoun"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientPronoun"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientPronoun"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/{leadId}/pronoun": {
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientPronoun"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientPronoun"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientPronoun"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientPronoun"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientPronoun"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientPronoun"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientPronoun"
                }
              }
            }
          }
        }
      }
    },
    "/clients/list": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientList"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientList"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientList"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/list": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientList"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientList"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientList"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/clients/{id}/assessments/cows": {
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/{id}/assessments/cows": {
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/clients/{id}/assessments/cows/{cowsId}": {
      "patch": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "cowsId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/{id}/assessments/cows/{cowsId}": {
      "patch": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "cowsId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCows"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/clients/{id}/assessments/ciwa": {
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/{id}/assessments/ciwa": {
      "post": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/clients/{id}/assessments/ciwa/{ciwaId}": {
      "patch": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "ciwaId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/{id}/assessments/ciwa/{ciwaId}": {
      "patch": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "ciwaId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientAssessmentsCiwa"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/clients": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Client"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Client"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Client"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Client"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Client"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Client"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/clients/{id}": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Client"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Client"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Client"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/clients/{id}": {
      "get": {
        "tags": [
          "Clients"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Client"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Client"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Client"
                }
              }
            }
          }
        }
      }
    },
    "/data-facets/search": {
      "post": {
        "tags": [
          "DataFacet"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataFacet"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataFacet"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataFacet"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/data-facets/search": {
      "post": {
        "tags": [
          "DataFacet"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataFacet"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataFacet"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataFacet"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/data-values/search": {
      "post": {
        "tags": [
          "DataValue"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValuesSearch"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValuesSearch"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValuesSearch"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValuesSearch"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/data-values/search": {
      "post": {
        "tags": [
          "DataValue"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValuesSearch"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValuesSearch"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValuesSearch"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValuesSearch"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataValueWithKindResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/data-values/{dataFacetId}": {
      "put": {
        "tags": [
          "DataValue"
        ],
        "parameters": [
          {
            "name": "dataFacetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValueWithKind"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValueWithKind"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValueWithKind"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValueWithKind"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/data-values/{dataFacetId}": {
      "put": {
        "tags": [
          "DataValue"
        ],
        "parameters": [
          {
            "name": "dataFacetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValueWithKind"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValueWithKind"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValueWithKind"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/DataValueWithKind"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/discharge-plan": {
      "get": {
        "tags": [
          "DischargePlan"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DischargePlan"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DischargePlan"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DischargePlan"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/discharge-plan": {
      "get": {
        "tags": [
          "DischargePlan"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DischargePlan"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DischargePlan"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DischargePlan"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/discharge-plan/{id}": {
      "get": {
        "tags": [
          "DischargePlan"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/DischargePlan"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/DischargePlan"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/DischargePlan"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/discharge-plan/{id}": {
      "get": {
        "tags": [
          "DischargePlan"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/DischargePlan"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/DischargePlan"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/DischargePlan"
                }
              }
            }
          }
        }
      }
    },
    "/documents": {
      "post": {
        "tags": [
          "Document"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Document"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Document"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Document"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Document"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Document"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Document"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Document"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Document"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/documents": {
      "post": {
        "tags": [
          "Document"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Document"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Document"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Document"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Document"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Document"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Document"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Document"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Document"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/documents/{id}": {
      "patch": {
        "tags": [
          "Document"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Document"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Document"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/documents/{id}": {
      "patch": {
        "tags": [
          "Document"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Document"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Document"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        }
      }
    },
    "/documents/type": {
      "get": {
        "tags": [
          "Document"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentTypeModal"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentTypeModal"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentTypeModal"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/documents/type": {
      "get": {
        "tags": [
          "Document"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentTypeModal"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentTypeModal"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentTypeModal"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/facilities/{id}/logo": {
      "post": {
        "tags": [
          "Facilities"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/FacilityLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/FacilityLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/FacilityLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/FacilityLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/facilities/{id}/logo": {
      "post": {
        "tags": [
          "Facilities"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/FacilityLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/FacilityLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/FacilityLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/FacilityLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/facilities/{id}/npi": {
      "patch": {
        "tags": [
          "Facilities"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "string"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "string"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "string"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/facilities/{id}/npi": {
      "patch": {
        "tags": [
          "Facilities"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "string"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "string"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "string"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/facilities": {
      "get": {
        "tags": [
          "Facilities"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Facility"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Facility"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Facility"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/facilities": {
      "get": {
        "tags": [
          "Facilities"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Facility"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Facility"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Facility"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/facilities/{id}": {
      "get": {
        "tags": [
          "Facilities"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Facility"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Facility"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Facility"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/facilities/{id}": {
      "get": {
        "tags": [
          "Facilities"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Facility"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Facility"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Facility"
                }
              }
            }
          }
        }
      }
    },
    "/homework/{id}/assignment": {
      "get": {
        "tags": [
          "Homework"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/homework/{id}/assignment": {
      "get": {
        "tags": [
          "Homework"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/homework/{id}": {
      "patch": {
        "tags": [
          "Homework"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Homework"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Homework"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Homework"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Homework"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Homework"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Homework"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Homework"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/homework/{id}": {
      "patch": {
        "tags": [
          "Homework"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Homework"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Homework"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Homework"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Homework"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Homework"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Homework"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Homework"
                }
              }
            }
          }
        }
      }
    },
    "/homework/{id}/notes": {
      "post": {
        "tags": [
          "Homework"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/HomeworkNote"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/HomeworkNote"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/HomeworkNote"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/HomeworkNote"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/homework/{id}/notes": {
      "post": {
        "tags": [
          "Homework"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/HomeworkNote"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/HomeworkNote"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/HomeworkNote"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/HomeworkNote"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/homework": {
      "get": {
        "tags": [
          "Homework"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Homework"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Homework"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Homework"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/homework": {
      "get": {
        "tags": [
          "Homework"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Homework"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Homework"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Homework"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/incident-report": {
      "get": {
        "tags": [
          "IncidentReport"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReport"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReport"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReport"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/incident-report": {
      "get": {
        "tags": [
          "IncidentReport"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReport"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReport"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReport"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/incident-report/{id}": {
      "get": {
        "tags": [
          "IncidentReport"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentReport"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentReport"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentReport"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/incident-report/{id}": {
      "get": {
        "tags": [
          "IncidentReport"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentReport"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentReport"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentReport"
                }
              }
            }
          }
        }
      }
    },
    "/intakes/types": {
      "get": {
        "tags": [
          "Intake"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntakeTypes"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntakeTypes"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntakeTypes"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/intakes/types": {
      "get": {
        "tags": [
          "Intake"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntakeTypes"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntakeTypes"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntakeTypes"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/intakes/{intakeType}": {
      "get": {
        "tags": [
          "Intake"
        ],
        "parameters": [
          {
            "name": "intakeType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "leadId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/intakes/{intakeType}": {
      "get": {
        "tags": [
          "Intake"
        ],
        "parameters": [
          {
            "name": "intakeType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "leadId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/intakes/{intakeType}/sections/{sectionType}/{intakeId}": {
      "get": {
        "tags": [
          "Intake"
        ],
        "parameters": [
          {
            "name": "intakeType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sectionType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "intakeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "put": {
        "tags": [
          "Intake"
        ],
        "parameters": [
          {
            "name": "intakeType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sectionType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "intakeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/intakes/{intakeType}/sections/{sectionType}/{intakeId}": {
      "get": {
        "tags": [
          "Intake"
        ],
        "parameters": [
          {
            "name": "intakeType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sectionType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "intakeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "put": {
        "tags": [
          "Intake"
        ],
        "parameters": [
          {
            "name": "intakeType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sectionType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "intakeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/intakes/{intakeType}/sections/{sectionType}": {
      "post": {
        "tags": [
          "Intake"
        ],
        "parameters": [
          {
            "name": "intakeType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sectionType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/intakes/{intakeType}/sections/{sectionType}": {
      "post": {
        "tags": [
          "Intake"
        ],
        "parameters": [
          {
            "name": "intakeType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sectionType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/levels-of-care": {
      "post": {
        "tags": [
          "LevelOfCare"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/LevelOfCare"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/LevelOfCare"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/LevelOfCare"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/LevelOfCare"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "LevelOfCare"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LevelOfCare"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LevelOfCare"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LevelOfCare"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/levels-of-care": {
      "post": {
        "tags": [
          "LevelOfCare"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/LevelOfCare"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/LevelOfCare"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/LevelOfCare"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/LevelOfCare"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "LevelOfCare"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LevelOfCare"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LevelOfCare"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LevelOfCare"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/levels-of-care/{id}": {
      "delete": {
        "tags": [
          "LevelOfCare"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "LevelOfCare"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "LevelOfCare"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/levels-of-care/{id}": {
      "delete": {
        "tags": [
          "LevelOfCare"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "LevelOfCare"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "LevelOfCare"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/LevelOfCare"
                }
              }
            }
          }
        }
      }
    },
    "/manage-intake": {
      "post": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterIntakeSections"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterIntakeSections"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterIntakeSections"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterIntakeSections"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterIntakeSections"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterIntakeSections"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterIntakeSections"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/manage-intake": {
      "post": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterIntakeSections"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterIntakeSections"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterIntakeSections"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterIntakeSections"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterIntakeSections"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterIntakeSections"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterIntakeSections"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/manage-intake/get-list-at-time": {
      "get": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "facilityId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "intakeType",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "time",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterIntakeSections"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterIntakeSections"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterIntakeSections"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/manage-intake/get-list-at-time": {
      "get": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "facilityId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "intakeType",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "time",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterIntakeSections"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterIntakeSections"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterIntakeSections"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/manage-intake/{id}": {
      "patch": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/manage-intake/{id}": {
      "patch": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MasterIntakeSections"
                }
              }
            }
          }
        }
      }
    },
    "/manage-intake/order": {
      "post": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/manage-intake/order": {
      "post": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/manage-intake/custom-forms": {
      "get": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "facilityId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "intakeType",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntakeSectionCustomForm"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntakeSectionCustomForm"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntakeSectionCustomForm"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionCustomFormUpdate"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionCustomFormUpdate"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionCustomFormUpdate"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionCustomFormUpdate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/manage-intake/custom-forms": {
      "get": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "facilityId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "intakeType",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntakeSectionCustomForm"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntakeSectionCustomForm"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntakeSectionCustomForm"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionCustomFormUpdate"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionCustomFormUpdate"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionCustomFormUpdate"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionCustomFormUpdate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/manage-intake/custom-sections": {
      "post": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/manage-intake/custom-sections": {
      "post": {
        "tags": [
          "ManageIntake"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/IntakeSectionOrder"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/master-codes/search": {
      "post": {
        "tags": [
          "MasterCodes"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterCodesSearch"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterCodesSearch"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterCodesSearch"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterCodesSearch"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterCodesResponse"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterCodesResponse"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterCodesResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/master-codes/search": {
      "post": {
        "tags": [
          "MasterCodes"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterCodesSearch"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterCodesSearch"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterCodesSearch"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/MasterCodesSearch"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterCodesResponse"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterCodesResponse"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterCodesResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/medications": {
      "get": {
        "tags": [
          "Medications"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MedicationData"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MedicationData"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MedicationData"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/medications": {
      "get": {
        "tags": [
          "Medications"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MedicationData"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MedicationData"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MedicationData"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/medications/{id}": {
      "get": {
        "tags": [
          "Medications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MedicationData"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MedicationData"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MedicationData"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/medications/{id}": {
      "get": {
        "tags": [
          "Medications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MedicationData"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MedicationData"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/MedicationData"
                }
              }
            }
          }
        }
      }
    },
    "/organizations/guid/{guid}": {
      "get": {
        "tags": [
          "Organizations"
        ],
        "parameters": [
          {
            "name": "guid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/organizations/guid/{guid}": {
      "get": {
        "tags": [
          "Organizations"
        ],
        "parameters": [
          {
            "name": "guid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            }
          }
        }
      }
    },
    "/organizations": {
      "get": {
        "tags": [
          "Organizations"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Organization"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Organization"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Organization"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/organizations": {
      "get": {
        "tags": [
          "Organizations"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Organization"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Organization"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Organization"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/organizations/{id}": {
      "get": {
        "tags": [
          "Organizations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/organizations/{id}": {
      "get": {
        "tags": [
          "Organizations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            }
          }
        }
      }
    },
    "/pronoun": {
      "post": {
        "tags": [
          "Pronoun"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Pronoun"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Pronoun"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Pronoun"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Pronoun"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Pronoun"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Pronoun"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Pronoun"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Pronoun"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/pronoun": {
      "post": {
        "tags": [
          "Pronoun"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Pronoun"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Pronoun"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Pronoun"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Pronoun"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Pronoun"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Pronoun"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Pronoun"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Pronoun"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/pronoun/{id}": {
      "delete": {
        "tags": [
          "Pronoun"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Pronoun"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Pronoun"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/pronoun/{id}": {
      "delete": {
        "tags": [
          "Pronoun"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Pronoun"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Pronoun"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Pronoun"
                }
              }
            }
          }
        }
      }
    },
    "/prospects": {
      "post": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Prospect"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Prospect"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Prospect"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Prospect"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Prospect"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Prospect"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Prospect"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/prospects": {
      "post": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Prospect"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Prospect"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Prospect"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Prospect"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Prospect"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Prospect"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Prospect"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/prospects/{id}": {
      "patch": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/prospects/{id}": {
      "patch": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Prospect"
                }
              }
            }
          }
        }
      }
    },
    "/prospects/{id}/contacts": {
      "post": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientContact"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientContact"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientContact"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientContact"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/prospects/{id}/contacts": {
      "post": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientContact"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientContact"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientContact"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientContact"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/prospects/{id}/insurances": {
      "post": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/InsuranceReturn"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/InsuranceReturn"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/InsuranceReturn"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/prospects/{id}/insurances": {
      "post": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/InsuranceReturn"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/InsuranceReturn"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/InsuranceReturn"
                }
              }
            }
          }
        }
      }
    },
    "/prospects/insurances/{id}": {
      "patch": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientInsurances"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientInsurances"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientInsurances"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/prospects/insurances/{id}": {
      "patch": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ClientInsurances"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientInsurances"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientInsurances"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ClientInsurances"
                }
              }
            }
          }
        }
      }
    },
    "/prospects/import": {
      "post": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BulkProspect"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BulkProspect"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BulkProspect"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BulkProspect"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BulkProspectReturn"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BulkProspectReturn"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BulkProspectReturn"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/prospects/import": {
      "post": {
        "tags": [
          "Prospects"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BulkProspect"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BulkProspect"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BulkProspect"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BulkProspect"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BulkProspectReturn"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BulkProspectReturn"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BulkProspectReturn"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/referral-companies": {
      "post": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralCompany"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralCompany"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralCompany"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralCompany"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralCompany"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralCompany"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralCompany"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/referral-companies": {
      "post": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralCompany"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralCompany"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralCompany"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralCompany"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralCompany"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralCompany"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralCompany"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/referral-companies/{id}": {
      "patch": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/referral-companies/{id}": {
      "patch": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              }
            }
          }
        }
      }
    },
    "/referral-companies/{companyId}/notes/{noteId}": {
      "get": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "companyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "put": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "companyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "patch": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "companyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/referral-companies/{companyId}/notes/{noteId}": {
      "get": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "companyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "put": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "companyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "patch": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "companyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/referral-companies/{companyId}/notes": {
      "get": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "companyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "post": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "companyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/referral-companies/{companyId}/notes": {
      "get": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "companyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "post": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "companyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/referral-companies/notes": {
      "get": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/referral-companies/notes": {
      "get": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/referral-companies/{id}/logo": {
      "post": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/referral-companies/{id}/logo": {
      "post": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/referral-companies/bulk": {
      "post": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralCompany"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralCompany"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralCompany"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/referral-companies/bulk": {
      "post": {
        "tags": [
          "ReferralCompanies"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralCompany"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralCompany"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralCompany"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralCompany"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/referral-contacts": {
      "post": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralContact"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralContact"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralContact"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralContact"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralContact"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralContact"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralContact"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/referral-contacts": {
      "post": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralContact"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralContact"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralContact"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralContact"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralContact"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralContact"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralContact"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/referral-contacts/{id}": {
      "patch": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/referral-contacts/{id}": {
      "patch": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              }
            }
          }
        }
      }
    },
    "/referral-contacts/{contactId}/notes/{noteId}": {
      "get": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "put": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "patch": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/referral-contacts/{contactId}/notes/{noteId}": {
      "get": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "put": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "patch": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/referral-contacts/{contactId}/notes": {
      "get": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "post": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/referral-contacts/{contactId}/notes": {
      "get": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "post": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralNoteCreationApiStruct"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/referral-contacts/notes": {
      "get": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/referral-contacts/notes": {
      "get": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/referral-contacts/{id}/image": {
      "post": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/referral-contacts/{id}/image": {
      "post": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ReferralLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/referral-contacts/bulk": {
      "post": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralContact"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralContact"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralContact"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/referral-contacts/bulk": {
      "post": {
        "tags": [
          "ReferralContacts"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReferralContact"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralContact"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralContact"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReferralContact"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/company/{id}/documents": {
      "post": {
        "tags": [
          "Rehab"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabDocument"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabDocument"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabDocument"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabDocument"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateResult"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateResult"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateResult"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/company/{id}/documents": {
      "post": {
        "tags": [
          "Rehab"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabDocument"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabDocument"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabDocument"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabDocument"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateResult"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateResult"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateResult"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/company/{id}/logo": {
      "post": {
        "tags": [
          "Rehab"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/company/{id}/logo": {
      "post": {
        "tags": [
          "Rehab"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/RehabLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/company": {
      "get": {
        "tags": [
          "Rehab"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Rehab"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Rehab"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Rehab"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/company": {
      "get": {
        "tags": [
          "Rehab"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Rehab"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Rehab"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Rehab"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/company/{id}": {
      "get": {
        "tags": [
          "Rehab"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Rehab"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Rehab"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Rehab"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/company/{id}": {
      "get": {
        "tags": [
          "Rehab"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Rehab"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Rehab"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Rehab"
                }
              }
            }
          }
        }
      }
    },
    "/rooms": {
      "post": {
        "tags": [
          "Room"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Room"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Room"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Room"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Room"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Room"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Room"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Room"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Room"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/rooms": {
      "post": {
        "tags": [
          "Room"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Room"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Room"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Room"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Room"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Room"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Room"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Room"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Room"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rooms/{id}": {
      "delete": {
        "tags": [
          "Room"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Room"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Room"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/rooms/{id}": {
      "delete": {
        "tags": [
          "Room"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Room"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Room"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Room"
                }
              }
            }
          }
        }
      }
    },
    "/sessions/{id}": {
      "get": {
        "tags": [
          "Sessions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Session"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Session"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Session"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Sessions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Session"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Session"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Session"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Session"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/rounds": {
      "post": {
        "tags": [
          "ShiftRounds"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ShiftRounds"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ShiftRounds"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ShiftRounds"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ShiftRounds"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ShiftRounds"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftRounds"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftRounds"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftRounds"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/rounds": {
      "post": {
        "tags": [
          "ShiftRounds"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ShiftRounds"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ShiftRounds"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ShiftRounds"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ShiftRounds"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ShiftRounds"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftRounds"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftRounds"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftRounds"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rounds/{id}": {
      "patch": {
        "tags": [
          "ShiftRounds"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ShiftRounds"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/rounds/{id}": {
      "patch": {
        "tags": [
          "ShiftRounds"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "ShiftRounds"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/ShiftRounds"
                }
              }
            }
          }
        }
      }
    },
    "/rounds/locations": {
      "get": {
        "tags": [
          "ShiftRounds"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftRoundLocation"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftRoundLocation"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftRoundLocation"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/rounds/locations": {
      "get": {
        "tags": [
          "ShiftRounds"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftRoundLocation"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftRoundLocation"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShiftRoundLocation"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/snapshots/{snapshotType}/{snapshotId}": {
      "get": {
        "tags": [
          "Snapshot"
        ],
        "parameters": [
          {
            "name": "snapshotType",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SnapshotType"
            }
          },
          {
            "name": "snapshotId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Snapshot"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Snapshot"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Snapshot"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/snapshots/{snapshotType}/{snapshotId}": {
      "get": {
        "tags": [
          "Snapshot"
        ],
        "parameters": [
          {
            "name": "snapshotType",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SnapshotType"
            }
          },
          {
            "name": "snapshotId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Snapshot"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Snapshot"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Snapshot"
                }
              }
            }
          }
        }
      }
    },
    "/snapshots/{snapshotType}": {
      "post": {
        "tags": [
          "Snapshot"
        ],
        "parameters": [
          {
            "name": "snapshotType",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SnapshotType"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "type": "integer",
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  },
                  "leadId": {
                    "type": "integer",
                    "format": "int64"
                  }
                }
              },
              "encoding": {
                "ContentType": {
                  "style": "form"
                },
                "ContentDisposition": {
                  "style": "form"
                },
                "Headers": {
                  "style": "form"
                },
                "Length": {
                  "style": "form"
                },
                "Name": {
                  "style": "form"
                },
                "FileName": {
                  "style": "form"
                },
                "leadId": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/snapshots/{snapshotType}": {
      "post": {
        "tags": [
          "Snapshot"
        ],
        "parameters": [
          {
            "name": "snapshotType",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SnapshotType"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "type": "integer",
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  },
                  "leadId": {
                    "type": "integer",
                    "format": "int64"
                  }
                }
              },
              "encoding": {
                "ContentType": {
                  "style": "form"
                },
                "ContentDisposition": {
                  "style": "form"
                },
                "Headers": {
                  "style": "form"
                },
                "Length": {
                  "style": "form"
                },
                "Name": {
                  "style": "form"
                },
                "FileName": {
                  "style": "form"
                },
                "leadId": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResult"
                }
              }
            }
          }
        }
      }
    },
    "/snapshots": {
      "get": {
        "tags": [
          "Snapshot"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Snapshot"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Snapshot"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Snapshot"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/snapshots": {
      "get": {
        "tags": [
          "Snapshot"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Snapshot"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Snapshot"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Snapshot"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/snapshots/{id}": {
      "get": {
        "tags": [
          "Snapshot"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Snapshot"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Snapshot"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Snapshot"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/snapshots/{id}": {
      "get": {
        "tags": [
          "Snapshot"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Snapshot"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Snapshot"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Snapshot"
                }
              }
            }
          }
        }
      }
    },
    "/surveys/answers": {
      "post": {
        "tags": [
          "Survey"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SurveyAnswer"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SurveyAnswer"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SurveyAnswer"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SurveyAnswer"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/surveys/answers": {
      "post": {
        "tags": [
          "Survey"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SurveyAnswer"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SurveyAnswer"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SurveyAnswer"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SurveyAnswer"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/surveys": {
      "get": {
        "tags": [
          "Survey"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Survey"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Survey"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Survey"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/surveys": {
      "get": {
        "tags": [
          "Survey"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Survey"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Survey"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Survey"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/surveys/{id}": {
      "get": {
        "tags": [
          "Survey"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Survey"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Survey"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Survey"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/surveys/{id}": {
      "get": {
        "tags": [
          "Survey"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Survey"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Survey"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Survey"
                }
              }
            }
          }
        }
      }
    },
    "/treatment-plans/{id}/signature": {
      "post": {
        "tags": [
          "TreatmentPlans"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/treatment-plans/{id}/signature": {
      "post": {
        "tags": [
          "TreatmentPlans"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/treatment-plans/{id}/review-signature": {
      "post": {
        "tags": [
          "TreatmentPlans"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/treatment-plans/{id}/review-signature": {
      "post": {
        "tags": [
          "TreatmentPlans"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/Signature"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/treatment-plans/{id}/diagnosis": {
      "get": {
        "tags": [
          "TreatmentPlans"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientDiagnosis"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientDiagnosis"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientDiagnosis"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/treatment-plans/{id}/diagnosis": {
      "get": {
        "tags": [
          "TreatmentPlans"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientDiagnosis"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientDiagnosis"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientDiagnosis"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/treatment-plans": {
      "get": {
        "tags": [
          "TreatmentPlans"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TreatmentPlan"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TreatmentPlan"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TreatmentPlan"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/treatment-plans": {
      "get": {
        "tags": [
          "TreatmentPlans"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TreatmentPlan"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TreatmentPlan"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TreatmentPlan"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/treatment-plans/{id}": {
      "get": {
        "tags": [
          "TreatmentPlans"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/TreatmentPlan"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/TreatmentPlan"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/TreatmentPlan"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/treatment-plans/{id}": {
      "get": {
        "tags": [
          "TreatmentPlans"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/TreatmentPlan"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/TreatmentPlan"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/TreatmentPlan"
                }
              }
            }
          }
        }
      }
    },
    "/treatment-reviews": {
      "get": {
        "tags": [
          "TreatmentReviews"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TxReviewDetails"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TxReviewDetails"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TxReviewDetails"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/treatment-reviews": {
      "get": {
        "tags": [
          "TreatmentReviews"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TxReviewDetails"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TxReviewDetails"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TxReviewDetails"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/treatment-reviews/{id}": {
      "get": {
        "tags": [
          "TreatmentReviews"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/TxReviewDetails"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/TxReviewDetails"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/TxReviewDetails"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/treatment-reviews/{id}": {
      "get": {
        "tags": [
          "TreatmentReviews"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/TxReviewDetails"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/TxReviewDetails"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/TxReviewDetails"
                }
              }
            }
          }
        }
      }
    },
    "/licenses": {
      "post": {
        "tags": [
          "UserLicense"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicenseType"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicenseType"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicenseType"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicenseType"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "UserLicense"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserLicenseType"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserLicenseType"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserLicenseType"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/licenses": {
      "post": {
        "tags": [
          "UserLicense"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicenseType"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicenseType"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicenseType"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicenseType"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "UserLicense"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserLicenseType"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserLicenseType"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserLicenseType"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/licenses/{id}": {
      "delete": {
        "tags": [
          "UserLicense"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "UserLicense"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "UserLicense"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/licenses/{id}": {
      "delete": {
        "tags": [
          "UserLicense"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "UserLicense"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "UserLicense"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicenseType"
                }
              }
            }
          }
        }
      }
    },
    "/users/me": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/users/me": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        }
      }
    },
    "/users/licenses": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "licenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/users/licenses": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "licenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      }
    },
    "/users/licenses/{licenseId}": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "licenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "licenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "patch": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "licenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/users/licenses/{licenseId}": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "licenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "licenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "patch": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "licenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      }
    },
    "/users/{id}/licenses": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "licenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/users/{id}/licenses": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "licenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLicense"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      }
    },
    "/users/{id}/licenses/{licenseId}": {
      "delete": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "licenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "patch": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "licenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/users/{id}/licenses/{licenseId}": {
      "delete": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "licenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "patch": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "licenseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UserLicense"
                }
              }
            }
          }
        }
      }
    },
    "/users/{id}/image": {
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/users/{id}/image": {
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/users/{id}/provider-image": {
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ExternalProviderLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ExternalProviderLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ExternalProviderLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ExternalProviderLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/users/{id}/provider-image": {
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ExternalProviderLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ExternalProviderLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ExternalProviderLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/ExternalProviderLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/users/{id}/admin-image": {
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/users/{id}/admin-image": {
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            },
            "application/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            },
            "text/json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            },
            "application/*+json; ver=1.0": {
              "schema": {
                "$ref": "#/components/schemas/UserLogoData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResult"
                }
              }
            }
          }
        }
      }
    },
    "/users": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/User"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/User"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/User"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/users": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Cursor",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/User"
                  }
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/User"
                  }
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/User"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/users/{id}": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/users/{id}": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              },
              "application/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              },
              "text/json; ver=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Address": {
        "type": "object",
        "properties": {
          "line1": {
            "type": "string",
            "nullable": true
          },
          "line2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "stateAbbr": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AdmissionScreening": {
        "type": "object",
        "properties": {
          "isCurrentlyEmployed": {
            "type": "boolean",
            "nullable": true
          },
          "isJobAtRisk": {
            "type": "boolean",
            "nullable": true
          },
          "seekingTreatmentReason": {
            "type": "string",
            "nullable": true
          },
          "willingTreatment": {
            "type": "string",
            "nullable": true
          },
          "isPreviouslyDiagnosed": {
            "type": "boolean",
            "nullable": true
          },
          "hasHistoryOfChronicPain": {
            "type": "boolean",
            "nullable": true
          },
          "painLevel": {
            "type": "integer",
            "format": "int32"
          },
          "assesmentByNursingStaff": {
            "type": "string",
            "nullable": true
          },
          "isHistoryofAddictions": {
            "type": "boolean",
            "nullable": true
          },
          "medicalHistory": {
            "type": "string",
            "nullable": true
          },
          "outstandingIssues": {
            "type": "string",
            "nullable": true
          },
          "isPregnant": {
            "type": "boolean",
            "nullable": true
          },
          "hasPossibilityOfPregnancy": {
            "type": "boolean",
            "nullable": true
          },
          "allergies": {
            "type": "string",
            "nullable": true
          },
          "hasWorkSchoolProblem": {
            "type": "boolean",
            "nullable": true
          },
          "hasFamilyFunctioning": {
            "type": "boolean",
            "nullable": true
          },
          "hasPersonalityChanges": {
            "type": "boolean",
            "nullable": true
          },
          "doStaysAllNight": {
            "type": "boolean",
            "nullable": true
          },
          "impulseControl": {
            "type": "boolean",
            "nullable": true
          },
          "personalityChanges": {
            "type": "boolean",
            "nullable": true
          },
          "isolating": {
            "type": "boolean",
            "nullable": true
          },
          "previousTreatment": {
            "type": "boolean",
            "nullable": true
          },
          "sadOrAngryOften": {
            "type": "boolean",
            "nullable": true
          },
          "lackOfHygiene": {
            "type": "boolean",
            "nullable": true
          },
          "violentOutbursts": {
            "type": "boolean",
            "nullable": true
          },
          "explosiveOutbursts": {
            "type": "boolean",
            "nullable": true
          },
          "inabilityToThinkClearly": {
            "type": "boolean",
            "nullable": true
          },
          "severeMoodSwings": {
            "type": "boolean",
            "nullable": true
          },
          "moneyManaging": {
            "type": "boolean",
            "nullable": true
          },
          "sexualOffense": {
            "type": "boolean",
            "nullable": true
          },
          "historyOfViolence": {
            "type": "boolean",
            "nullable": true
          },
          "voilenceHistory": {
            "type": "string",
            "nullable": true
          },
          "historyOfSeizures": {
            "type": "boolean",
            "nullable": true
          },
          "historyOfChronicPain": {
            "type": "boolean",
            "nullable": true
          },
          "isCurrentSuicidalIdeations": {
            "type": "boolean",
            "nullable": true
          },
          "currentSuicidalIdeations": {
            "type": "string",
            "nullable": true
          },
          "isCurrentHomicidalIdeations": {
            "type": "boolean",
            "nullable": true
          },
          "currentHomicidalIdeations": {
            "type": "string",
            "nullable": true
          },
          "patientHaveMeans": {
            "type": "boolean",
            "nullable": true
          },
          "suicidalAttempts": {
            "type": "boolean",
            "nullable": true
          },
          "noOfSuicidalAttempts": {
            "type": "string",
            "nullable": true
          },
          "historyOfSuicidal": {
            "type": "string",
            "nullable": true
          },
          "historyOfTrauma": {
            "type": "string",
            "nullable": true
          },
          "haveLegalHistory": {
            "type": "boolean",
            "nullable": true
          },
          "beenArrested": {
            "type": "boolean",
            "nullable": true
          },
          "currentlyCharged": {
            "type": "boolean",
            "nullable": true
          },
          "pendingCourtDecision": {
            "type": "boolean",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "dateOfHearing": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "canLeaveState": {
            "type": "boolean",
            "nullable": true
          },
          "afterDischargePlan": {
            "type": "string",
            "nullable": true
          },
          "additionalNotes": {
            "type": "string",
            "nullable": true
          },
          "means": {
            "type": "string",
            "nullable": true
          },
          "differentAboutTreatment": {
            "type": "string",
            "nullable": true
          },
          "manageSelf": {
            "type": "boolean",
            "nullable": true
          },
          "eatingDisorderHistory": {
            "type": "boolean",
            "nullable": true
          },
          "isPhysicalOffense": {
            "type": "boolean"
          },
          "historyofAddictionDesc": {
            "type": "string",
            "nullable": true
          },
          "needAssistanceWithFMLA": {
            "type": "boolean"
          },
          "painNote": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AdvancedForm": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "advancedFormGroupId": {
            "type": "string",
            "format": "uuid"
          },
          "body": {
            "type": "string",
            "nullable": true
          },
          "draftBody": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "isModified": {
            "type": "boolean"
          },
          "isPublished": {
            "type": "boolean"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isAutoFillEnabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AdvancedFormDataBackup": {
        "type": "object",
        "properties": {
          "advancedFormId": {
            "type": "integer",
            "format": "int32"
          },
          "advancedFormInstanceId": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "leadId": {
            "type": "integer",
            "format": "int32"
          },
          "uuid": {
            "type": "string",
            "format": "uuid"
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AdvancedFormElement": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "deletedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "updatedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "updateDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "advancedFormId": {
            "type": "integer",
            "format": "int64"
          },
          "index": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dataFacetId": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AdvancedFormInstance": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "advancedFormId": {
            "type": "integer",
            "format": "int32"
          },
          "leadId": {
            "type": "integer",
            "format": "int64"
          },
          "sourceKey": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "sourceTypeId": {
            "$ref": "#/components/schemas/CustomFormSourceType"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "deletedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "updatedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "updateDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdByUserType": {
            "$ref": "#/components/schemas/UserType"
          },
          "updatedByUserType": {
            "$ref": "#/components/schemas/UserType"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "AdvancedFormSaveRequest": {
        "type": "object",
        "properties": {
          "dataValues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataValueRequest"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AlertReadBy": {
        "type": "object",
        "properties": {
          "user": {
            "$ref": "#/components/schemas/User"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Appointment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "clients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResourceLink"
            },
            "nullable": true
          },
          "startDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "endDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "staff": {
            "$ref": "#/components/schemas/ResourceLink"
          },
          "facilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Facility"
            },
            "nullable": true
          },
          "appointmentType": {
            "type": "string",
            "nullable": true
          },
          "topic": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isAllDay": {
            "type": "boolean"
          },
          "isRecurring": {
            "type": "boolean"
          },
          "isVideoSession": {
            "type": "boolean"
          },
          "isGroupSession": {
            "type": "boolean"
          },
          "isRecTherapy": {
            "type": "boolean"
          },
          "location": {
            "type": "string",
            "nullable": true
          },
          "transport": {
            "$ref": "#/components/schemas/Transport"
          },
          "notes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "meeting": {
            "$ref": "#/components/schemas/ZoomMeetingDetails"
          },
          "appointmentStartDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "appointmentEndDateTime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "ASAMModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "asamid": {
            "type": "integer",
            "format": "int64"
          },
          "sourceID": {
            "type": "integer",
            "format": "int64"
          },
          "riskLevel": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "riskWithdrawal": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "priorWithdrawal": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "physicalIllness": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "cronogicPain": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "chronicCondition": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "cognitiveProblem": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "problemConnection": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "manageActivity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "selfMotivated": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "addictiveDisorder": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "memberLeverged": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "memberImminent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "severeProblem": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "memberAware": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "poseThreat": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "memberResource": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "transportationIssue": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalScore": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean"
          },
          "deletedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "updatedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "updateDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "sourceName": {
            "type": "string",
            "nullable": true
          },
          "clientID": {
            "type": "integer",
            "format": "int64"
          },
          "asamDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dimension1Detail": {
            "type": "string",
            "nullable": true
          },
          "dimension2Detail": {
            "type": "string",
            "nullable": true
          },
          "dimension3Detail": {
            "type": "string",
            "nullable": true
          },
          "dimension4Detail": {
            "type": "string",
            "nullable": true
          },
          "dimension5Detail": {
            "type": "string",
            "nullable": true
          },
          "dimension6Detail": {
            "type": "string",
            "nullable": true
          },
          "validFrom": {
            "type": "string",
            "format": "date-time"
          },
          "validTo": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "AssessmentVitals": {
        "type": "object",
        "properties": {
          "bpSystolic": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "bpDiastolic": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "o2Saturation": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "pulse": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "respirations": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "temperature": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AutofillRequest": {
        "type": "object",
        "properties": {
          "advancedFormId": {
            "type": "integer",
            "format": "int32"
          },
          "facilityIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "isAutofillEnabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Bed": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "forFemale": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "isMaintenance": {
            "type": "boolean"
          },
          "isOccupied": {
            "type": "boolean",
            "nullable": true
          },
          "isReserved": {
            "type": "boolean",
            "nullable": true
          },
          "room": {
            "$ref": "#/components/schemas/Room"
          }
        },
        "additionalProperties": false
      },
      "BedOccupancy": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "client": {
            "$ref": "#/components/schemas/Occupant"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "bed": {
            "$ref": "#/components/schemas/Bed"
          },
          "fromTransfer": {
            "type": "boolean",
            "writeOnly": true
          }
        },
        "additionalProperties": false
      },
      "BedReservation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "client": {
            "$ref": "#/components/schemas/Occupant"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "bed": {
            "$ref": "#/components/schemas/Bed"
          }
        },
        "additionalProperties": false
      },
      "BehavioralDefinition": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "isWiley": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "BillingCodesDataModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "billingCodeDataId": {
            "type": "integer",
            "format": "int32"
          },
          "tableType": {
            "type": "integer",
            "format": "int32"
          },
          "notesId": {
            "type": "integer",
            "format": "int32"
          },
          "codeId": {
            "type": "integer",
            "format": "int32"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "isDeleted": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "BillingIntake": {
        "type": "object",
        "additionalProperties": false
      },
      "BulkProspect": {
        "type": "object",
        "properties": {
          "prospect": {
            "$ref": "#/components/schemas/Prospect"
          },
          "insurance": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientInsurances"
            },
            "nullable": true
          },
          "documents": {
            "$ref": "#/components/schemas/Document"
          },
          "admissionScreening": {
            "$ref": "#/components/schemas/AdmissionScreening"
          },
          "faceToFace": {
            "$ref": "#/components/schemas/FaceToFace"
          },
          "billingIntake": {
            "$ref": "#/components/schemas/BillingIntake"
          }
        },
        "additionalProperties": false
      },
      "BulkProspectReturn": {
        "type": "object",
        "properties": {
          "prospectId": {
            "type": "integer",
            "format": "int32"
          },
          "bulkProspect": {
            "$ref": "#/components/schemas/BulkProspectReturnObject"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BulkProspectReturnObject": {
        "type": "object",
        "properties": {
          "insurance": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsuranceReturn"
            },
            "nullable": true
          },
          "documents": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "nullable": true
          },
          "admissionScreening": {
            "type": "boolean",
            "default": false
          },
          "faceToFace": {
            "type": "boolean",
            "default": false
          },
          "billingIntake": {
            "type": "boolean",
            "default": false
          }
        },
        "additionalProperties": false
      },
      "Ciwa": {
        "type": "object",
        "properties": {
          "anxiety": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "agitation": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "administratedSignature": {
            "type": "string",
            "nullable": true
          },
          "auditoryDisturbances": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ciwaDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "elevationOfBloodPressure": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "elevationOfHeartRate": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "headache": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "nausea": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "note": {
            "type": "string",
            "nullable": true
          },
          "orientation": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "paroxysmalSweats": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "tremors": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "tactileDisturbances": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCiwaScore": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "visualDisturbances": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "time": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Client": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "name": {
            "$ref": "#/components/schemas/ClientName"
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "pronoun": {
            "type": "string",
            "nullable": true
          },
          "identifiesAs": {
            "type": "string",
            "nullable": true
          },
          "primaryLanguage": {
            "type": "string",
            "nullable": true
          },
          "ssn": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "phone": {
            "$ref": "#/components/schemas/Phone"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "isClient": {
            "type": "boolean"
          },
          "clientId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "uniqueId": {
            "type": "string",
            "nullable": true
          },
          "contact": {
            "$ref": "#/components/schemas/ClientContact"
          },
          "referral": {
            "$ref": "#/components/schemas/ClientReferralContact"
          },
          "facilityName": {
            "type": "string",
            "nullable": true
          },
          "facilityId": {
            "type": "integer",
            "format": "int64"
          },
          "otherNumber": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "mrn": {
            "type": "string",
            "nullable": true
          },
          "admissionDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "firstContactDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dischargeDateTime": {
            "type": "string",
            "nullable": true
          },
          "ethnicity": {
            "type": "string",
            "nullable": true
          },
          "profileImage": {
            "$ref": "#/components/schemas/ClientImageUrl"
          },
          "occupation": {
            "$ref": "#/components/schemas/ClientOccupation"
          },
          "levelOfCare": {
            "type": "string",
            "nullable": true
          },
          "primaryClinician": {
            "$ref": "#/components/schemas/ResourceLink"
          },
          "hasReadmitted": {
            "type": "boolean"
          },
          "room": {
            "$ref": "#/components/schemas/Room"
          },
          "primaryClinicians": {
            "type": "string",
            "nullable": true
          },
          "medicalProviders": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientAssessmentsCiwa": {
        "type": "object",
        "properties": {
          "isReviewed": {
            "type": "boolean"
          },
          "ciwa": {
            "$ref": "#/components/schemas/Ciwa"
          },
          "reviewers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Reviewer"
            },
            "nullable": true
          },
          "vitals": {
            "$ref": "#/components/schemas/AssessmentVitals"
          }
        },
        "additionalProperties": false
      },
      "ClientAssessmentsCows": {
        "type": "object",
        "properties": {
          "isReviewed": {
            "type": "boolean"
          },
          "cows": {
            "$ref": "#/components/schemas/Cows"
          },
          "reviewers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Reviewer"
            },
            "nullable": true
          },
          "vitals": {
            "$ref": "#/components/schemas/AssessmentVitals"
          }
        },
        "additionalProperties": false
      },
      "ClientContact": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "relationship": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "isPrimary": {
            "type": "boolean",
            "writeOnly": true
          },
          "isEmergencyContact": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ClientDevice": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "clientId": {
            "type": "integer",
            "format": "int32"
          },
          "deviceId": {
            "type": "string",
            "nullable": true
          },
          "deviceTypeId": {
            "type": "integer",
            "format": "int32",
            "writeOnly": true
          }
        },
        "additionalProperties": false
      },
      "ClientDiagnosis": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "clientId": {
            "type": "integer",
            "format": "int32"
          },
          "leadId": {
            "type": "integer",
            "format": "int32"
          },
          "groupId": {
            "type": "integer",
            "format": "int32"
          },
          "group": {
            "type": "string",
            "nullable": true
          },
          "diagnosisNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "problemId": {
            "type": "integer",
            "format": "int32"
          },
          "problem": {
            "type": "string",
            "nullable": true
          },
          "problemNumber": {
            "type": "integer",
            "format": "int32"
          },
          "diagnosisId": {
            "type": "integer",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "icD10Code": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "createdBy": {
            "$ref": "#/components/schemas/User"
          },
          "priority": {
            "$ref": "#/components/schemas/DiagnosisPriority"
          },
          "resolvedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "isRuleOut": {
            "type": "boolean"
          },
          "isPrimary": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ClientDocument": {
        "type": "object",
        "properties": {
          "clientDocumentId": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "typeId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "uploadDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "tableId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "tableName": {
            "type": "string",
            "nullable": true
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "documentTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "uploadedDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentData"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientHistory": {
        "type": "object",
        "properties": {
          "client": {
            "$ref": "#/components/schemas/Client"
          },
          "admissionDate": {
            "type": "string",
            "nullable": true
          },
          "dischargeDate": {
            "type": "string",
            "nullable": true
          },
          "isDischarge": {
            "type": "boolean"
          },
          "luin": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientImageUrl": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "host": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "path": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ClientInsurances": {
        "type": "object",
        "properties": {
          "insuranceName": {
            "type": "string",
            "nullable": true
          },
          "relationship": {
            "type": "string",
            "nullable": true
          },
          "priority": {
            "type": "string",
            "nullable": true
          },
          "plan": {
            "type": "string",
            "nullable": true
          },
          "policyId": {
            "type": "string",
            "nullable": true
          },
          "groupNumber": {
            "type": "string",
            "nullable": true
          },
          "coPay": {
            "type": "string",
            "nullable": true
          },
          "subscriberName": {
            "type": "string",
            "nullable": true
          },
          "subscriberFirstName": {
            "type": "string",
            "nullable": true
          },
          "subscriberLastName": {
            "type": "string",
            "nullable": true
          },
          "subscriberBirthDate": {
            "type": "string",
            "nullable": true
          },
          "subscriberAddress": {
            "type": "string",
            "nullable": true
          },
          "subscriberCity": {
            "type": "string",
            "nullable": true
          },
          "subscriberState": {
            "type": "string",
            "nullable": true
          },
          "subscriberZip": {
            "type": "string",
            "nullable": true
          },
          "subscriberCountry": {
            "type": "string",
            "nullable": true
          },
          "subscriberPhone": {
            "type": "string",
            "nullable": true
          },
          "isVerified": {
            "type": "boolean"
          },
          "isPrimary": {
            "type": "boolean"
          },
          "verificationDate": {
            "type": "string",
            "nullable": true
          },
          "verifiedBy": {
            "type": "string",
            "nullable": true
          },
          "verificationNo": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "insurancePhone": {
            "type": "string",
            "nullable": true
          },
          "policyEffectiveDate": {
            "type": "string",
            "nullable": true
          },
          "documents": {
            "$ref": "#/components/schemas/Document"
          },
          "externalId": {
            "$ref": "#/components/schemas/ExternalData"
          },
          "documentBytes": {
            "type": "string",
            "format": "byte",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientList": {
        "type": "object",
        "properties": {
          "leadId": {
            "type": "integer",
            "format": "int64"
          },
          "clientId": {
            "type": "integer",
            "format": "int64"
          },
          "leadFullName": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDischarge": {
            "type": "boolean"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "gender": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "statusId": {
            "type": "integer",
            "format": "int32"
          },
          "documentFilePath": {
            "type": "string",
            "nullable": true
          },
          "isAdmissionFormComplete": {
            "type": "boolean",
            "nullable": true
          },
          "levelOfCare": {
            "type": "string",
            "nullable": true
          },
          "stepDownId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "admissionDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "actualSysDischargeDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "bedName": {
            "type": "string",
            "nullable": true
          },
          "genderName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientLogoData": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "base64String": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientName": {
        "type": "object",
        "properties": {
          "clientFullName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "first": {
            "type": "string",
            "nullable": true
          },
          "last": {
            "type": "string",
            "nullable": true
          },
          "middle": {
            "type": "string",
            "nullable": true
          },
          "isLegalName": {
            "type": "boolean",
            "nullable": true
          },
          "former": {
            "type": "string",
            "nullable": true
          },
          "prefix": {
            "type": "string",
            "nullable": true
          },
          "preferred": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientOccupation": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "currentEmployer": {
            "type": "string",
            "nullable": true
          },
          "years": {
            "type": "integer",
            "format": "int32"
          },
          "months": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ClientPronoun": {
        "type": "object",
        "properties": {
          "client": {
            "$ref": "#/components/schemas/Client"
          },
          "pronoun": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Pronoun"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientReferralContact": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientShiftRounds": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "client": {
            "$ref": "#/components/schemas/Client"
          },
          "location": {
            "$ref": "#/components/schemas/ShiftRoundLocation"
          },
          "notes": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientUrgentAlert": {
        "type": "object",
        "properties": {
          "clientUrgentAlertId": {
            "type": "integer",
            "format": "int64"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "createdBy": {
            "$ref": "#/components/schemas/User"
          },
          "createdDatetime": {
            "type": "string",
            "format": "date-time"
          },
          "signature": {
            "type": "string",
            "nullable": true
          },
          "readBy": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlertReadBy"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Contact": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "mobile": {
            "type": "string",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "relationship": {
            "type": "string",
            "nullable": true
          },
          "responsibility": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "facility": {
            "$ref": "#/components/schemas/Facility"
          },
          "client": {
            "$ref": "#/components/schemas/Client"
          },
          "roi": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Roi"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CopyParameters": {
        "type": "object",
        "properties": {
          "destinationFacilityIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Cows": {
        "type": "object",
        "properties": {
          "anxiety": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "administratedSignature": {
            "type": "string",
            "nullable": true
          },
          "bone": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "cowsDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "gooseflesh": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "giUpset": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "leadId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "note": {
            "type": "string",
            "nullable": true
          },
          "pupil": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "restlessness": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "runnynose": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "startDetoxDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "sweating": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "tremor": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "time": {
            "type": "string",
            "nullable": true
          },
          "totalCWSScore": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "yawning": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateOperationResult": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "CreateResult": {
        "type": "object",
        "properties": {
          "operationResult": {
            "$ref": "#/components/schemas/CreateOperationResult"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "messages": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomFormSourceType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9
        ],
        "type": "integer",
        "format": "int32"
      },
      "DataFacet": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "shortName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isSharable": {
            "type": "boolean"
          },
          "isCalculable": {
            "type": "boolean"
          },
          "isDraft": {
            "type": "boolean"
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "calculableExpression": {
            "type": "string",
            "nullable": true
          },
          "isEditableByOtherForms": {
            "type": "boolean"
          },
          "modifiedByUserId": {
            "type": "integer",
            "format": "int64"
          },
          "modifiedDateUtc": {
            "type": "string",
            "format": "date-time"
          },
          "assignedTags": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "dataKind": {
            "$ref": "#/components/schemas/DataKind"
          },
          "scopeKind": {
            "$ref": "#/components/schemas/DataScopeKind"
          },
          "originatingFormId": {
            "type": "integer",
            "format": "int32"
          },
          "uuid": {
            "type": "string",
            "format": "uuid"
          },
          "createdByUserId": {
            "type": "integer",
            "format": "int32"
          },
          "createdDateUtc": {
            "type": "string",
            "format": "date-time"
          },
          "isReadOnly": {
            "type": "boolean"
          },
          "isBuiltIn": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DataKind": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9
        ],
        "type": "integer",
        "format": "int32"
      },
      "DataScopeKind": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "DataValueRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "advancedFormInstanceId": {
            "type": "integer",
            "format": "int64"
          },
          "booleanValue": {
            "type": "boolean",
            "nullable": true
          },
          "dataFacetId": {
            "type": "integer",
            "format": "int32"
          },
          "dateTimeValue": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "decimalValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "fileValue": {
            "type": "string",
            "nullable": true
          },
          "integerValue": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "imageValue": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "jsonValue": {
            "type": "string",
            "nullable": true
          },
          "leadId": {
            "type": "integer",
            "format": "int32"
          },
          "signatureValue": {
            "type": "string",
            "nullable": true
          },
          "stringValue": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DataValuesSearch": {
        "type": "object",
        "properties": {
          "datafacetIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "leadId": {
            "type": "integer",
            "format": "int32"
          },
          "advancedFormInstanceId": {
            "type": "integer",
            "format": "int64"
          },
          "advancedFormId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DataValueWithKind": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "advancedFormInstanceId": {
            "type": "integer",
            "format": "int64"
          },
          "booleanValue": {
            "type": "boolean",
            "nullable": true
          },
          "createdBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "createdByUserType": {
            "$ref": "#/components/schemas/UserType"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dataFacetId": {
            "type": "integer",
            "format": "int32"
          },
          "dateTimeValue": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "decimalValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "integerValue": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "imageValue": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "jsonValue": {
            "type": "string",
            "nullable": true
          },
          "fileValue": {
            "type": "string",
            "nullable": true
          },
          "leadId": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "modifiedByUserType": {
            "$ref": "#/components/schemas/UserType"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "originalFormId": {
            "type": "integer",
            "format": "int32"
          },
          "signatureValue": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "stringValue": {
            "type": "string",
            "nullable": true
          },
          "dataKind": {
            "$ref": "#/components/schemas/DataKind"
          }
        },
        "additionalProperties": false
      },
      "DataValueWithKindResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "advancedFormInstanceId": {
            "type": "integer",
            "format": "int64"
          },
          "booleanValue": {
            "type": "boolean",
            "nullable": true
          },
          "dataFacetId": {
            "type": "integer",
            "format": "int32"
          },
          "dateTimeValue": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "decimalValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "fileValue": {
            "type": "string",
            "nullable": true
          },
          "integerValue": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "imageValue": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "jsonValue": {
            "type": "string",
            "nullable": true
          },
          "leadId": {
            "type": "integer",
            "format": "int32"
          },
          "signatureValue": {
            "type": "string",
            "nullable": true
          },
          "stringValue": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dataKind": {
            "$ref": "#/components/schemas/DataKind"
          }
        },
        "additionalProperties": false
      },
      "DiagnosisPriority": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DischargePlan": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "dischargePlanId": {
            "type": "integer",
            "format": "int64"
          },
          "leadId": {
            "type": "integer",
            "format": "int64"
          },
          "reasonForAdmission": {
            "type": "string",
            "nullable": true
          },
          "changesInDiagnosis": {
            "type": "string",
            "nullable": true
          },
          "strengths": {
            "type": "string",
            "nullable": true
          },
          "needs": {
            "type": "string",
            "nullable": true
          },
          "abilities": {
            "type": "string",
            "nullable": true
          },
          "preferences": {
            "type": "string",
            "nullable": true
          },
          "anticipatedDischargeDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "reasonForDischarge": {
            "type": "string",
            "nullable": true
          },
          "conditionOnDischarge": {
            "type": "string",
            "nullable": true
          },
          "dischargeTransitionObstacles": {
            "type": "string",
            "nullable": true
          },
          "guardianParticipationInTreatment": {
            "type": "string",
            "nullable": true
          },
          "criticalEventsNInteraction": {
            "type": "string",
            "nullable": true
          },
          "prognosis": {
            "type": "string",
            "nullable": true
          },
          "recommendations": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDeleted": {
            "type": "string",
            "nullable": true
          },
          "deletedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "validFrom": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "validTo": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "summaryOfTreatmentGoals": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "string",
            "nullable": true
          },
          "livigArrangements": {
            "type": "string",
            "nullable": true
          },
          "education": {
            "type": "string",
            "nullable": true
          },
          "serviceProvided": {
            "type": "string",
            "nullable": true
          },
          "isCompleted": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Document": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "clientDocumentId": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "client": {
            "$ref": "#/components/schemas/ResourceLink"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "typeId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "uploadDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "url": {
            "$ref": "#/components/schemas/DocumentUrl"
          },
          "tableId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "tableName": {
            "type": "string",
            "nullable": true
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "documentTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "uploadedDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentData"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DocumentData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "base64String": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "$ref": "#/components/schemas/ExternalData"
          }
        },
        "additionalProperties": false
      },
      "DocumentTypeModal": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DocumentUrl": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "host": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "path": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ExternalData": {
        "type": "object",
        "properties": {
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "externalIdType": {
            "type": "string",
            "nullable": true
          },
          "serviceIdentifier": {
            "type": "string",
            "nullable": true
          },
          "serviceId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExternalProviderLogoData": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "base64String": {
            "type": "string",
            "nullable": true
          },
          "rehabUserId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "FaceToFace": {
        "type": "object",
        "properties": {
          "levelOfCare": {
            "type": "string",
            "nullable": true
          },
          "treatments": {
            "type": "string",
            "nullable": true
          },
          "referralCompanyName": {
            "type": "string",
            "nullable": true
          },
          "referralContactName": {
            "type": "string",
            "nullable": true
          },
          "facility": {
            "type": "string",
            "nullable": true
          },
          "admissionDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dischargeOrTransfer": {
            "type": "string",
            "nullable": true
          },
          "leadIntakeBy": {
            "type": "string",
            "nullable": true
          },
          "firstContactDate": {
            "type": "string",
            "format": "date-time"
          },
          "leadSelfStatusName": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "primaryClinicianName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Facility": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "rehabName": {
            "type": "string",
            "nullable": true
          },
          "domainName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "officePhone": {
            "type": "string",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "nullable": true
          },
          "address1": {
            "type": "string",
            "nullable": true
          },
          "address2": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilityLogoData": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "base64String": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Gad7Model": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "gad7Id": {
            "type": "integer",
            "format": "int64"
          },
          "clientId": {
            "type": "integer",
            "format": "int64"
          },
          "sourceId": {
            "type": "integer",
            "format": "int64"
          },
          "sourceName": {
            "type": "string",
            "nullable": true
          },
          "gad7Date": {
            "type": "string",
            "format": "date-time"
          },
          "question1": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question2": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question3": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question4": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question5": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question6": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question7": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question8": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "leadId": {
            "type": "integer",
            "format": "int64"
          },
          "totalScore": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "updatedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "isDeleted": {
            "type": "boolean"
          },
          "deletedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "Goal": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "isWiley": {
            "type": "boolean"
          },
          "objectives": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Objective"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Homework": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "client": {
            "$ref": "#/components/schemas/ResourceLink"
          },
          "treatmentPlan": {
            "$ref": "#/components/schemas/ResourceLink"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "goals": {
            "type": "string",
            "nullable": true
          },
          "suggestions": {
            "type": "string",
            "nullable": true
          },
          "isWiley": {
            "type": "boolean"
          },
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "problem": {
            "type": "string",
            "nullable": true
          },
          "assignment": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HomeworkNote"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HomeworkNote": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "note": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "createdById": {
            "type": "integer",
            "format": "int32",
            "writeOnly": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "IncidentReport": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "dateOfIncident": {
            "type": "string",
            "nullable": true
          },
          "dayOfWeek": {
            "type": "string",
            "nullable": true
          },
          "timeOfIncident": {
            "type": "string",
            "nullable": true
          },
          "durationIncident": {
            "type": "string",
            "nullable": true
          },
          "hospitalizationRequired": {
            "type": "string",
            "nullable": true
          },
          "policeInvolved": {
            "type": "string",
            "nullable": true
          },
          "severeAWOL": {
            "type": "string",
            "nullable": true
          },
          "personCompleting": {
            "type": "string",
            "nullable": true
          },
          "dateReportCompleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "namesStaffInvolved": {
            "type": "string",
            "nullable": true
          },
          "generalDescription": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "furtherAction": {
            "type": "string",
            "nullable": true
          },
          "notifiedDatetime": {
            "type": "string",
            "nullable": true
          },
          "criticality": {
            "type": "string",
            "nullable": true
          },
          "locationOfIncident": {
            "type": "string",
            "nullable": true
          },
          "typeOfIncident": {
            "type": "string",
            "nullable": true
          },
          "incidentTypeName": {
            "type": "string",
            "nullable": true
          },
          "clients": {
            "type": "string",
            "nullable": true
          },
          "notifiedBy": {
            "type": "string",
            "nullable": true
          },
          "notifiedTo": {
            "type": "string",
            "nullable": true
          },
          "othersNotified": {
            "type": "string",
            "nullable": true
          },
          "staff": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Signature"
            },
            "nullable": true
          },
          "reviewer": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Signature"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsuranceReturn": {
        "type": "object",
        "properties": {
          "insuranceId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "documentIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IntakeSectionCustomForm": {
        "type": "object",
        "properties": {
          "advancedFormId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "formId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "formInfoId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "IntakeSectionCustomFormUpdate": {
        "type": "object",
        "properties": {
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "intakeId": {
            "type": "integer",
            "format": "int32"
          },
          "forms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntakeSectionCustomForm"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IntakeSectionDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "advancedFormId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "isCopyIntakeSection": {
            "type": "boolean"
          },
          "sortOrder": {
            "type": "integer",
            "format": "int32"
          },
          "formId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "formInfoId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IntakeSectionOrder": {
        "type": "object",
        "properties": {
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "intakeId": {
            "type": "integer",
            "format": "int32"
          },
          "sections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MasterIntakeSections"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IntakeTypes": {
        "type": "object",
        "properties": {
          "globalCodeId": {
            "type": "integer",
            "format": "int32"
          },
          "codeName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Intervention": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "isWiley": {
            "type": "boolean"
          },
          "isEvidenceBased": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "JToken": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/JToken"
        }
      },
      "LevelOfCare": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "hoursPerDay": {
            "type": "integer",
            "format": "int32"
          },
          "isWeekDaysApplied": {
            "type": "integer",
            "format": "int32"
          },
          "daysPerWeek": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "canModifyOrDelete": {
            "type": "boolean"
          },
          "inUse": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "MasterCodesResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MasterCodesSearch": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MasterIntakeSections": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "intakeType": {
            "type": "integer",
            "format": "int32"
          },
          "isActiveRequire": {
            "type": "boolean"
          },
          "isCopyAvailable": {
            "type": "boolean"
          },
          "isDefaultSection": {
            "type": "boolean"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "sectionCode": {
            "type": "string",
            "nullable": true
          },
          "sectionName": {
            "type": "string",
            "nullable": true
          },
          "details": {
            "$ref": "#/components/schemas/IntakeSectionDetails"
          }
        },
        "additionalProperties": false
      },
      "MedicationData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "medication": {
            "type": "string",
            "nullable": true
          },
          "medicationType": {
            "type": "string",
            "nullable": true
          },
          "dosage": {
            "type": "string",
            "nullable": true
          },
          "frequency": {
            "type": "string",
            "nullable": true
          },
          "isPrnMeds": {
            "type": "string",
            "nullable": true
          },
          "instructions": {
            "type": "string",
            "nullable": true
          },
          "prescriber": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "boolean"
          },
          "startDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MentalStatusExamModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "mentalStatusExamId": {
            "type": "integer",
            "format": "int64"
          },
          "tableId": {
            "type": "integer",
            "format": "int64"
          },
          "hy_Clean": {
            "type": "boolean"
          },
          "hy_Unshaven": {
            "type": "boolean"
          },
          "hy_Odorous": {
            "type": "boolean"
          },
          "hy_Disheveled": {
            "type": "boolean"
          },
          "hy_Other": {
            "type": "boolean"
          },
          "af_Appropriate": {
            "type": "boolean"
          },
          "af_Inappropriate": {
            "type": "boolean"
          },
          "af_Labile": {
            "type": "boolean"
          },
          "af_Blunted": {
            "type": "boolean"
          },
          "af_Flat": {
            "type": "boolean"
          },
          "mov_Normal": {
            "type": "boolean"
          },
          "mov_Tense": {
            "type": "boolean"
          },
          "mov_Fidgety": {
            "type": "boolean"
          },
          "mov_Hyperactive": {
            "type": "boolean"
          },
          "mov_PsychomotorRetardation": {
            "type": "boolean"
          },
          "mov_PsychomotorAgitation": {
            "type": "boolean"
          },
          "mov_Pacing": {
            "type": "boolean"
          },
          "mov_HandWringing": {
            "type": "boolean"
          },
          "mov_Tics": {
            "type": "boolean"
          },
          "mov_Other": {
            "type": "boolean"
          },
          "mood_Anxious": {
            "type": "boolean"
          },
          "mood_Confused": {
            "type": "boolean"
          },
          "mood_Depressed": {
            "type": "boolean"
          },
          "mood_Labile": {
            "type": "boolean"
          },
          "mood_Fearful": {
            "type": "boolean"
          },
          "mood_Euphoric": {
            "type": "boolean"
          },
          "mood_Angry": {
            "type": "boolean"
          },
          "mood_Dysthymic": {
            "type": "boolean"
          },
          "hall_Visual": {
            "type": "boolean"
          },
          "hall_Auditory": {
            "type": "boolean"
          },
          "hall_Tactile": {
            "type": "boolean"
          },
          "hall_Olfactory": {
            "type": "boolean"
          },
          "hall_Command": {
            "type": "boolean"
          },
          "hall_Denied": {
            "type": "boolean"
          },
          "imp_Good": {
            "type": "boolean"
          },
          "imp_Limited": {
            "type": "boolean"
          },
          "imp_Poor": {
            "type": "boolean"
          },
          "ori_Person": {
            "type": "boolean"
          },
          "ori_Place": {
            "type": "boolean"
          },
          "ori_Time": {
            "type": "boolean"
          },
          "ori_Situation": {
            "type": "boolean"
          },
          "ins_Good": {
            "type": "boolean"
          },
          "ins_Limited": {
            "type": "boolean"
          },
          "ins_Poor": {
            "type": "boolean"
          },
          "intell_AboveAverage": {
            "type": "boolean"
          },
          "intell_Average": {
            "type": "boolean"
          },
          "intell_BelowAverage": {
            "type": "boolean"
          },
          "other_Obsessions": {
            "type": "boolean"
          },
          "other_Compulsions": {
            "type": "boolean"
          },
          "other_Depersonalization": {
            "type": "boolean"
          },
          "other_DeRealism": {
            "type": "boolean"
          },
          "mem_Intact": {
            "type": "boolean"
          },
          "mem_ImmediateImpaired": {
            "type": "boolean"
          },
          "mem_ShortTermImpaired": {
            "type": "boolean"
          },
          "mem_LongTermImpaired": {
            "type": "boolean"
          },
          "speech_Normal": {
            "type": "boolean"
          },
          "speech_Soft": {
            "type": "boolean"
          },
          "speech_Loud": {
            "type": "boolean"
          },
          "speech_Pressured": {
            "type": "boolean"
          },
          "speech_Rapid": {
            "type": "boolean"
          },
          "speech_Slowed": {
            "type": "boolean"
          },
          "speech_Slurred": {
            "type": "boolean"
          },
          "speech_Incoherent": {
            "type": "boolean"
          },
          "fa_Amiable": {
            "type": "boolean"
          },
          "fa_Happy": {
            "type": "boolean"
          },
          "fa_Angry": {
            "type": "boolean"
          },
          "fa_Worried": {
            "type": "boolean"
          },
          "fa_Suspicious": {
            "type": "boolean"
          },
          "fa_Sad": {
            "type": "boolean"
          },
          "eye_Good": {
            "type": "boolean"
          },
          "eye_Avoident": {
            "type": "boolean"
          },
          "eye_Fleeting": {
            "type": "boolean"
          },
          "eye_Stare": {
            "type": "boolean"
          },
          "tho_Intact": {
            "type": "boolean"
          },
          "tho_Blocked": {
            "type": "boolean"
          },
          "tho_Loose": {
            "type": "boolean"
          },
          "tho_Incoherent": {
            "type": "boolean"
          },
          "tho_Tangential": {
            "type": "boolean"
          },
          "tho_Flight": {
            "type": "boolean"
          },
          "tho_Circumstantial": {
            "type": "boolean"
          },
          "dem_Cooperative": {
            "type": "boolean"
          },
          "dem_Uncooperative": {
            "type": "boolean"
          },
          "dem_Guareded": {
            "type": "boolean"
          },
          "dem_Resistive": {
            "type": "boolean"
          },
          "dem_Defensive": {
            "type": "boolean"
          },
          "dem_Friendly": {
            "type": "boolean"
          },
          "dem_Worried": {
            "type": "boolean"
          },
          "dem_Boastful": {
            "type": "boolean"
          },
          "dem_Demanding": {
            "type": "boolean"
          },
          "dem_Hostile": {
            "type": "boolean"
          },
          "dem_Irritable": {
            "type": "boolean"
          },
          "dem_Agitated": {
            "type": "boolean"
          },
          "dem_Evasive": {
            "type": "boolean"
          },
          "dem_Dramatic": {
            "type": "boolean"
          },
          "dem_Sductive": {
            "type": "boolean"
          },
          "dem_Arrogant": {
            "type": "boolean"
          },
          "dem_Apathetic": {
            "type": "boolean"
          },
          "sui_Yes": {
            "type": "boolean"
          },
          "sui_Plan": {
            "type": "boolean"
          },
          "sui_Intent": {
            "type": "boolean"
          },
          "sui_Means": {
            "type": "boolean"
          },
          "sui_Denied": {
            "type": "boolean"
          },
          "homi_Yes": {
            "type": "boolean"
          },
          "homi_Plan": {
            "type": "boolean"
          },
          "homi_Intent": {
            "type": "boolean"
          },
          "homi_Means": {
            "type": "boolean"
          },
          "homi_Denied": {
            "type": "boolean"
          },
          "att_Satisfactory": {
            "type": "boolean"
          },
          "att_Poor": {
            "type": "boolean"
          },
          "att_EasilyDistracted": {
            "type": "boolean"
          },
          "del_Grandiose": {
            "type": "boolean"
          },
          "del_Persecutory": {
            "type": "boolean"
          },
          "del_Somatic": {
            "type": "boolean"
          },
          "del_Paranoia": {
            "type": "boolean"
          },
          "del_Ideas": {
            "type": "boolean"
          },
          "del_Denied": {
            "type": "boolean"
          },
          "jud_Good": {
            "type": "boolean"
          },
          "jud_Limited": {
            "type": "boolean"
          },
          "jud_Poor": {
            "type": "boolean"
          },
          "mentalStatusNote": {
            "type": "string",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean"
          },
          "hy_Detail": {
            "type": "string",
            "nullable": true
          },
          "af_Detail": {
            "type": "string",
            "nullable": true
          },
          "mov_Detail": {
            "type": "string",
            "nullable": true
          },
          "mood_Detail": {
            "type": "string",
            "nullable": true
          },
          "imp_Detail": {
            "type": "string",
            "nullable": true
          },
          "ori_Detail": {
            "type": "string",
            "nullable": true
          },
          "ins_Detail": {
            "type": "string",
            "nullable": true
          },
          "intell_Detail": {
            "type": "string",
            "nullable": true
          },
          "other_Detail": {
            "type": "string",
            "nullable": true
          },
          "mem_Detail": {
            "type": "string",
            "nullable": true
          },
          "speech_Detail": {
            "type": "string",
            "nullable": true
          },
          "fa__Detail": {
            "type": "string",
            "nullable": true
          },
          "eye_Detail": {
            "type": "string",
            "nullable": true
          },
          "tho_Detail": {
            "type": "string",
            "nullable": true
          },
          "dem_Detail": {
            "type": "string",
            "nullable": true
          },
          "homi_Detail": {
            "type": "string",
            "nullable": true
          },
          "att_Detail": {
            "type": "string",
            "nullable": true
          },
          "del_Detail": {
            "type": "string",
            "nullable": true
          },
          "jud_Detail": {
            "type": "string",
            "nullable": true
          },
          "hall_Detail": {
            "type": "string",
            "nullable": true
          },
          "sui_Detail": {
            "type": "string",
            "nullable": true
          },
          "fa_Detail": {
            "type": "string",
            "nullable": true
          },
          "af_Restricted": {
            "type": "boolean"
          },
          "mood_Irritated": {
            "type": "boolean"
          },
          "tableType": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "validFrom": {
            "type": "string",
            "format": "date-time"
          },
          "validTo": {
            "type": "string",
            "format": "date-time"
          },
          "af_Expansive": {
            "type": "boolean"
          },
          "af_Euphoric": {
            "type": "boolean"
          },
          "af_Anxious": {
            "type": "boolean"
          },
          "af_Angry": {
            "type": "boolean"
          },
          "af_Other": {
            "type": "boolean"
          },
          "hall_Other": {
            "type": "boolean"
          },
          "mood_Euthymic": {
            "type": "boolean"
          },
          "mood_Normal": {
            "type": "boolean"
          },
          "mood_Other": {
            "type": "boolean"
          },
          "other_Denied": {
            "type": "boolean"
          },
          "tho_Other": {
            "type": "boolean"
          },
          "del_Other": {
            "type": "boolean"
          },
          "dem_Other": {
            "type": "boolean"
          },
          "att_Other": {
            "type": "boolean"
          },
          "hy_WNL": {
            "type": "boolean"
          },
          "af_WNL": {
            "type": "boolean"
          },
          "hall_WNL": {
            "type": "boolean"
          },
          "mov_WNL": {
            "type": "boolean"
          },
          "mood_WNL": {
            "type": "boolean"
          },
          "speech_WNL": {
            "type": "boolean"
          },
          "imp_WNL": {
            "type": "boolean"
          },
          "ins_WNL": {
            "type": "boolean"
          },
          "intell_WNL": {
            "type": "boolean"
          },
          "ori_WNL": {
            "type": "boolean"
          },
          "other_WNL": {
            "type": "boolean"
          },
          "mem_WNL": {
            "type": "boolean"
          },
          "sui_WNL": {
            "type": "boolean"
          },
          "homi_WNL": {
            "type": "boolean"
          },
          "eye_WNL": {
            "type": "boolean"
          },
          "fa_WNL": {
            "type": "boolean"
          },
          "tho_WNL": {
            "type": "boolean"
          },
          "del_WNL": {
            "type": "boolean"
          },
          "dem_WNL": {
            "type": "boolean"
          },
          "att_WNL": {
            "type": "boolean"
          },
          "jud_WNL": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Objective": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "isWiley": {
            "type": "boolean"
          },
          "isEvidenceBased": {
            "type": "boolean"
          },
          "interventions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Intervention"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OccupancyTransfer": {
        "type": "object",
        "properties": {
          "toBedId": {
            "type": "integer",
            "format": "int32"
          },
          "bedOccupancyId": {
            "type": "integer",
            "format": "int32"
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Occupant": {
        "type": "object",
        "properties": {
          "leadId": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "$ref": "#/components/schemas/ClientName"
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "admissionDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dischargeDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Organization": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "billingDomain": {
            "type": "string",
            "nullable": true
          },
          "organizationUuid": {
            "type": "string",
            "format": "uuid"
          },
          "organizationName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OutreachSessionNote": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "noteId": {
            "type": "integer",
            "format": "int64"
          },
          "appointmentId": {
            "type": "integer",
            "format": "int64"
          },
          "leadId": {
            "type": "integer",
            "format": "int64"
          },
          "assesmentNote": {
            "type": "string",
            "nullable": true
          },
          "sessionStatus": {
            "type": "integer",
            "format": "int32"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean"
          },
          "deletedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "startSession": {
            "$ref": "#/components/schemas/TimeSpan"
          },
          "endSession": {
            "$ref": "#/components/schemas/TimeSpan"
          },
          "duration": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Phone": {
        "type": "object",
        "properties": {
          "home": {
            "type": "string",
            "nullable": true
          },
          "office": {
            "type": "string",
            "nullable": true
          },
          "other": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Phq9Model": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "phq9Id": {
            "type": "integer",
            "format": "int64"
          },
          "clientId": {
            "type": "integer",
            "format": "int64"
          },
          "sourceId": {
            "type": "integer",
            "format": "int64"
          },
          "sourceName": {
            "type": "string",
            "nullable": true
          },
          "phq9Date": {
            "type": "string",
            "format": "date-time"
          },
          "question1": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question2": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question3": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question4": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question5": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question6": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question7": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question8": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question9": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "question10": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalScore": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "updatedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "isDeleted": {
            "type": "boolean"
          },
          "deletedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "leadId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "Problem": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "isWiley": {
            "type": "boolean"
          },
          "diagnoses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientDiagnosis"
            },
            "nullable": true
          },
          "behavioralDefinitions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BehavioralDefinition"
            },
            "nullable": true
          },
          "goals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Goal"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Pronoun": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "inUse": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Prospect": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "name": {
            "$ref": "#/components/schemas/ClientName"
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "primaryLanguage": {
            "type": "string",
            "nullable": true
          },
          "ssn": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "phone": {
            "$ref": "#/components/schemas/Phone"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "contact": {
            "$ref": "#/components/schemas/ClientContact"
          },
          "facilityName": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "selfStatus": {
            "type": "string",
            "nullable": true
          },
          "mrn": {
            "type": "string",
            "nullable": true
          },
          "admissionDate": {
            "type": "string",
            "nullable": true,
            "writeOnly": true
          },
          "firstContactDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "profileImage": {
            "$ref": "#/components/schemas/ClientImageUrl"
          },
          "referralCompanyId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "referralContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "referralCompanyName": {
            "type": "string",
            "nullable": true
          },
          "referralContactName": {
            "type": "string",
            "nullable": true
          },
          "luin": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "externalId": {
            "$ref": "#/components/schemas/ExternalData"
          }
        },
        "additionalProperties": false
      },
      "ReferralCompany": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "$ref": "#/components/schemas/Phone"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "createdById": {
            "type": "integer",
            "format": "int32",
            "writeOnly": true
          },
          "externalId": {
            "$ref": "#/components/schemas/ExternalData"
          }
        },
        "additionalProperties": false
      },
      "ReferralContact": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "referralCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "$ref": "#/components/schemas/Phone"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "createdById": {
            "type": "integer",
            "format": "int32",
            "writeOnly": true
          },
          "externalId": {
            "$ref": "#/components/schemas/ExternalData"
          }
        },
        "additionalProperties": false
      },
      "ReferralLogoData": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "base64String": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReferralNoteCreationApiStruct": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "level": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "string",
            "nullable": true
          },
          "noteDate": {
            "type": "string",
            "format": "date-time"
          },
          "authorId": {
            "type": "integer",
            "format": "int32"
          },
          "creatorId": {
            "type": "integer",
            "format": "int32",
            "writeOnly": true
          },
          "modifierId": {
            "type": "integer",
            "format": "int32",
            "writeOnly": true
          }
        },
        "additionalProperties": false
      },
      "Rehab": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "rehabName": {
            "type": "string",
            "nullable": true
          },
          "domainName": {
            "type": "string",
            "nullable": true
          },
          "organizationUuid": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RehabDocument": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "uploadedDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentData"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RehabLogoData": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "base64String": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ResourceLink": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "route": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Reviewer": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Roi": {
        "type": "object",
        "properties": {
          "roiId": {
            "type": "integer",
            "format": "int64"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "expirationDate": {
            "type": "string",
            "nullable": true
          },
          "serviceFromDate": {
            "type": "string",
            "nullable": true
          },
          "serviceToDate": {
            "type": "string",
            "nullable": true
          },
          "clientSignature": {
            "type": "string",
            "nullable": true
          },
          "staffSignature": {
            "type": "string",
            "nullable": true
          },
          "gaurdianSignature": {
            "type": "string",
            "nullable": true
          },
          "signedDatetime": {
            "type": "string",
            "format": "date-time"
          },
          "permissionScreen": {
            "type": "string",
            "nullable": true
          },
          "informationRelease": {
            "type": "string",
            "nullable": true
          },
          "informationInclude": {
            "type": "string",
            "nullable": true
          },
          "otherInformation": {
            "type": "string",
            "nullable": true
          },
          "roiOtherRelease": {
            "type": "string",
            "nullable": true
          },
          "isCopyAccepted": {
            "type": "boolean",
            "nullable": true
          },
          "permissionScreenList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoiInformationList"
            },
            "nullable": true
          },
          "informationReleaseList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoiInformationList"
            },
            "nullable": true
          },
          "informationIncludeList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoiInformationList"
            },
            "nullable": true
          },
          "staff": {
            "$ref": "#/components/schemas/User"
          },
          "revoke": {
            "$ref": "#/components/schemas/RoiRevoke"
          }
        },
        "additionalProperties": false
      },
      "RoiInformationList": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isSelected": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "RoiRevoke": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "nullable": true
          },
          "signature": {
            "type": "string",
            "nullable": true
          },
          "datetime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Room": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "roomName": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "totalBeds": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SectionSignatures": {
        "type": "object",
        "properties": {
          "client": {
            "type": "string",
            "nullable": true
          },
          "parentOrGuardian": {
            "type": "string",
            "nullable": true
          },
          "staff": {
            "type": "string",
            "nullable": true
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SectionSignaturesWithUser": {
        "type": "object",
        "properties": {
          "rowNumber": {
            "type": "integer",
            "format": "int32"
          },
          "signatureTypeId": {
            "$ref": "#/components/schemas/SignatureType"
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "signature": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Session": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "appointmentId": {
            "type": "integer",
            "format": "int64"
          },
          "appointmentWith": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "clientNLeadId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "startTime": {
            "$ref": "#/components/schemas/TimeSpan"
          },
          "endTime": {
            "$ref": "#/components/schemas/TimeSpan"
          },
          "userId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "facilityId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "appointmentType": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "appointmentStatus": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "reason": {
            "type": "string",
            "nullable": true
          },
          "isAllDayEvent": {
            "type": "boolean",
            "nullable": true
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean"
          },
          "deletedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "clientId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "recurringType": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "repeatEvery": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "repeatEveryType": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "repeatOn": {
            "type": "string",
            "nullable": true
          },
          "repeatOnIndex": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "endsAfterDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isReccuringEvent": {
            "type": "boolean"
          },
          "parentAppointmentId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "isGroupSession": {
            "type": "boolean"
          },
          "groupTopic": {
            "type": "string",
            "nullable": true
          },
          "rehabFacilityLocationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "groupNote": {
            "type": "string",
            "nullable": true
          },
          "groupHomework": {
            "type": "string",
            "nullable": true
          },
          "pickUpTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pickUpAddress": {
            "type": "string",
            "nullable": true
          },
          "dropOffAddress": {
            "type": "string",
            "nullable": true
          },
          "viewType": {
            "type": "integer",
            "format": "int32"
          },
          "familyTherapyNote": {
            "type": "string",
            "nullable": true
          },
          "referralContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "addressTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "address1": {
            "type": "string",
            "nullable": true
          },
          "meetingTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "groupHomeworkStatus": {
            "type": "integer",
            "format": "int32"
          },
          "validFrom": {
            "type": "string",
            "format": "date-time"
          },
          "validTo": {
            "type": "string",
            "format": "date-time"
          },
          "isVideoSession": {
            "type": "boolean"
          },
          "isRecTherapyType": {
            "type": "boolean"
          },
          "isMultilocation": {
            "type": "boolean"
          },
          "multiLocationId": {
            "type": "string",
            "nullable": true
          },
          "detailDescription": {
            "type": "string",
            "nullable": true
          },
          "details": {
            "$ref": "#/components/schemas/SessionDetail"
          }
        },
        "additionalProperties": false
      },
      "SessionDetail": {
        "type": "object",
        "properties": {
          "sessionNote": {
            "$ref": "#/components/schemas/OutreachSessionNote"
          },
          "groupLeader": {
            "$ref": "#/components/schemas/User"
          },
          "mentalStatusModel": {
            "$ref": "#/components/schemas/MentalStatusExamModel"
          },
          "asamModel": {
            "$ref": "#/components/schemas/ASAMModel"
          },
          "signatures": {
            "$ref": "#/components/schemas/SectionSignatures"
          },
          "phq9Model": {
            "$ref": "#/components/schemas/Phq9Model"
          },
          "gad7Model": {
            "$ref": "#/components/schemas/Gad7Model"
          },
          "billingCode": {
            "$ref": "#/components/schemas/BillingCodesDataModel"
          },
          "staffSignature": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SectionSignaturesWithUser"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShiftRoundLocation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShiftRounds": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isSigned": {
            "type": "boolean"
          },
          "signedBy": {
            "$ref": "#/components/schemas/User"
          },
          "signature": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "$ref": "#/components/schemas/User"
          },
          "roundName": {
            "type": "string",
            "nullable": true
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "clients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientShiftRounds"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Signature": {
        "type": "object",
        "properties": {
          "entityId": {
            "type": "integer",
            "format": "int32"
          },
          "signerName": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "signatureDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SignatureType": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "Snapshot": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "generatedFileName": {
            "type": "string",
            "nullable": true
          },
          "intakeType": {
            "type": "integer",
            "format": "int32"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "leadId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "SnapshotType": {
        "enum": [
          1346,
          1347,
          1348,
          1349,
          1389,
          1431,
          1521
        ],
        "type": "integer",
        "format": "int32"
      },
      "State": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "stateId": {
            "type": "integer",
            "format": "int32"
          },
          "countryId": {
            "type": "integer",
            "format": "int32"
          },
          "stateName": {
            "type": "string",
            "nullable": true
          },
          "stateCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Survey": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "surveyQuestions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SurveyQuestion"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SurveyAnswer": {
        "type": "object",
        "properties": {
          "clientId": {
            "type": "integer",
            "format": "int32"
          },
          "questionId": {
            "type": "integer",
            "format": "int32"
          },
          "score": {
            "type": "integer",
            "format": "int32"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "explanation": {
            "type": "string",
            "nullable": true
          },
          "submittedDateTime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "SurveyQuestion": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "integer",
            "format": "int32"
          },
          "question": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TimeSpan": {
        "type": "object",
        "properties": {
          "ticks": {
            "type": "integer",
            "format": "int64",
            "readOnly": true
          },
          "days": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "hours": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "milliseconds": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "minutes": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "seconds": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "totalDays": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "totalHours": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "totalMilliseconds": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "totalMinutes": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "totalSeconds": {
            "type": "number",
            "format": "double",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "Transport": {
        "type": "object",
        "properties": {
          "pickupAddress": {
            "type": "string",
            "nullable": true
          },
          "dropoffAddress": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TreatmentPlan": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "client": {
            "$ref": "#/components/schemas/ResourceLink"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "reasonForAdmission": {
            "type": "string",
            "nullable": true
          },
          "initialClientNeeds": {
            "type": "string",
            "nullable": true
          },
          "familyEducationNeeds": {
            "type": "string",
            "nullable": true
          },
          "isInitialTP": {
            "type": "boolean"
          },
          "isWiley": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "problems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Problem"
            },
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "isComplete": {
            "type": "boolean"
          },
          "lastModified": {
            "type": "string",
            "format": "date-time"
          },
          "clientSignature": {
            "$ref": "#/components/schemas/Signature"
          },
          "guardianSignature": {
            "$ref": "#/components/schemas/Signature"
          }
        },
        "additionalProperties": false
      },
      "TxReviewDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "treatmentPlanReviewId": {
            "type": "integer",
            "format": "int64"
          },
          "newProblemsLastReview": {
            "type": "string",
            "nullable": true
          },
          "strengths": {
            "type": "string",
            "nullable": true
          },
          "needs": {
            "type": "string",
            "nullable": true
          },
          "abilities": {
            "type": "string",
            "nullable": true
          },
          "preferences": {
            "type": "string",
            "nullable": true
          },
          "psychiatricTreatment": {
            "type": "string",
            "nullable": true
          },
          "individualTherapy": {
            "type": "string",
            "nullable": true
          },
          "familyTherapy": {
            "type": "string",
            "nullable": true
          },
          "milieu": {
            "type": "string",
            "nullable": true
          },
          "education": {
            "type": "string",
            "nullable": true
          },
          "recreation": {
            "type": "string",
            "nullable": true
          },
          "criticalEvents": {
            "type": "string",
            "nullable": true
          },
          "therapeuticAbsence": {
            "type": "string",
            "nullable": true
          },
          "anticipatedDischarge": {
            "type": "string",
            "nullable": true
          },
          "livingArrangements": {
            "type": "string",
            "nullable": true
          },
          "dischargeEducation": {
            "type": "string",
            "nullable": true
          },
          "dischargeTherapy": {
            "type": "string",
            "nullable": true
          },
          "dischargeObstacles": {
            "type": "string",
            "nullable": true
          },
          "dischargeFollow": {
            "type": "string",
            "nullable": true
          },
          "justificationTreatment": {
            "type": "string",
            "nullable": true
          },
          "generatedDate": {
            "type": "string",
            "nullable": true
          },
          "generatedTime": {
            "type": "string",
            "nullable": true
          },
          "ceratorSignature": {
            "type": "string",
            "nullable": true
          },
          "createdDated": {
            "type": "string",
            "format": "date-time"
          },
          "clientSignature": {
            "type": "string",
            "nullable": true
          },
          "clientSignatureDate": {
            "type": "string",
            "nullable": true
          },
          "guardianSignature": {
            "type": "string",
            "nullable": true
          },
          "guardianSignatureDate": {
            "type": "string",
            "nullable": true
          },
          "creatorSignatureDate": {
            "type": "string",
            "nullable": true
          },
          "clientName": {
            "type": "string",
            "nullable": true
          },
          "ceratorName": {
            "type": "string",
            "nullable": true
          },
          "tpReviewNote": {
            "type": "string",
            "nullable": true
          },
          "nextReviewDue": {
            "type": "string",
            "nullable": true
          },
          "sortOrderSetting": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateOperationResult": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "UpdateResult": {
        "type": "object",
        "properties": {
          "operationResult": {
            "$ref": "#/components/schemas/UpdateOperationResult"
          },
          "success": {
            "type": "boolean"
          },
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "messages": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "User": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "name": {
            "$ref": "#/components/schemas/UserName"
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "birthDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ssn": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "facility": {
            "$ref": "#/components/schemas/Facility"
          },
          "tenant": {
            "type": "string",
            "nullable": true
          },
          "role": {
            "type": "string",
            "nullable": true
          },
          "profileImage": {
            "$ref": "#/components/schemas/UserImageUrl"
          },
          "isMedicalProvider": {
            "type": "boolean",
            "nullable": true
          },
          "hireDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "licenses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserLicense"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserImageUrl": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "host": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "path": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "UserLicense": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "acronym": {
            "type": "string",
            "nullable": true
          },
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "effectiveDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expiryDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/UserLicenseType"
          },
          "user": {
            "$ref": "#/components/schemas/User"
          },
          "state": {
            "$ref": "#/components/schemas/State"
          }
        },
        "additionalProperties": false
      },
      "UserLicenseType": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "href": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "canModifyOrDelete": {
            "type": "boolean"
          },
          "inUse": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UserLogoData": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "base64String": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserName": {
        "type": "object",
        "properties": {
          "first": {
            "type": "string",
            "nullable": true
          },
          "last": {
            "type": "string",
            "nullable": true
          },
          "prefix": {
            "type": "string",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "UserUrgentAlertMarkAsRead": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "ids": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "signature": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ZoomMeetingDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter Bearer [space] and then your token in the text input below.\r\n\r\nExample: Bearer 12345abcdef",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ]
    }
  ]
}