{
  "x-generator": "NSwag v13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v11.0.0.0))",
  "openapi": "3.0.0",
  "info": {
    "title": "Connect API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://connect.mindbodyonline.com"
    }
  ],
  "paths": {
    "/v4/user/{userId}/waitlist": {
      "post": {
        "tags": [
          "UserWaitlistV4"
        ],
        "operationId": "UserWaitlistV4_AddUserWaitlist",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "searchId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "requestBody": {
          "x-name": "request",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AddUserWaitlistRequest"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "201": {
            "description": ""
          },
          "400": {
            "description": ""
          }
        }
      }
    },
    "/v4/standardId/encode/mindbody/{mbStudioId}/{mbModelName}/{mbId}": {
      "get": {
        "tags": [
          "StandardId"
        ],
        "operationId": "StandardId_Encode",
        "parameters": [
          {
            "name": "mbStudioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "x-position": 1
          },
          {
            "name": "mbModelName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          },
          {
            "name": "mbId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StandardIdMindbodyMappingDto"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "500": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/standardId/decode/{standardId}": {
      "get": {
        "tags": [
          "StandardId"
        ],
        "operationId": "StandardId_Decode",
        "parameters": [
          {
            "name": "standardId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StandardIdMindbodyMappingDto"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "500": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/user/{userId}/visits": {
      "post": {
        "tags": [
          "UserVisitsV4"
        ],
        "operationId": "UserVisitsV4_AddUserVisit",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "searchId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "requestBody": {
          "x-name": "body",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AddUserVisitRequest"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "200": {
            "description": "\nor\n",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "x-expectedSchemas": [
              {
                "description": "",
                "schema": {
                  "nullable": true,
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/AddUserVisitResponse"
                    }
                  ]
                }
              },
              {
                "description": "",
                "schema": {
                  "$ref": "#/components/schemas/Void"
                }
              }
            ]
          },
          "400": {
            "description": ""
          }
        }
      }
    },
    "/v4/user/{userId}/classVisits/{visitId}/cancellability": {
      "get": {
        "tags": [
          "UserVisitsV4"
        ],
        "operationId": "UserVisitsV4_GetClassVisitCancellability",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "visitId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "\nor\n",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "x-expectedSchemas": [
              {
                "description": "",
                "schema": {
                  "nullable": true,
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/GetVisitCancellabilityResponse"
                    }
                  ]
                }
              },
              {
                "description": "",
                "schema": {
                  "$ref": "#/components/schemas/Void"
                }
              }
            ]
          },
          "400": {
            "description": ""
          },
          "404": {
            "description": ""
          }
        }
      }
    },
    "/v4/user/{userId}/appointmentVisits/{visitId}/cancellability": {
      "get": {
        "tags": [
          "UserVisitsV4"
        ],
        "operationId": "UserVisitsV4_GetAppointmentVisitCancellability",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "visitId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "\nor\n",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "x-expectedSchemas": [
              {
                "description": "",
                "schema": {
                  "nullable": true,
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/GetVisitCancellabilityResponse"
                    }
                  ]
                }
              },
              {
                "description": "",
                "schema": {
                  "$ref": "#/components/schemas/Void"
                }
              }
            ]
          },
          "400": {
            "description": ""
          },
          "404": {
            "description": ""
          }
        }
      }
    },
    "/v4/consumer/GuestVisits": {
      "post": {
        "tags": [
          "ConsumerVisitsV4"
        ],
        "operationId": "ConsumerVisitsV4_AddGuestVisit",
        "requestBody": {
          "x-name": "body",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AddGuestClassVisitRequest"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": ""
          }
        }
      }
    },
    "/v4/appointments/businesses/{businessId}/services": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "operationId": "Appointments_GetBusinessAppointmentServices",
        "parameters": [
          {
            "name": "businessId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppointmentServiceDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "500": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/appointments/businesses/{businessId}/services/{appointmentServiceId}/purchaseOptions": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "operationId": "Appointments_GetBusinessAppointmentServicePurchaseOptions",
        "parameters": [
          {
            "name": "businessId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "appointmentServiceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ServicePurchaseOptionDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "500": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/appointments/businesses/{businessId}/locations/{locationId}/services/{appointmentServiceId}/staff": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "operationId": "Appointments_GetStaffForAppointmentService",
        "parameters": [
          {
            "name": "businessId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "locationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          },
          {
            "name": "appointmentServiceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppointmentStaffListDto"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "500": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/appointments/businesses/{businessId}/locations": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "operationId": "Appointments_GetBusinessLocations",
        "parameters": [
          {
            "name": "businessId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BusinessLocationDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "500": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/appointments/businesses/{businessId}/locations/{locationId}/services/{appointmentServiceId}/availability": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "operationId": "Appointments_GetBusinessAppointmentServiceAvailability",
        "parameters": [
          {
            "name": "BusinessId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "LocationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "AppointmentServiceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "StaffSpecificationId",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "FromDate",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "ToDate",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "IgnoreMembershipRestrictions",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The list of available times and staff for the service. If no availability is found, the response is an empty list.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppointmentAvailabilitiesDto"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "500": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/appointments/businesses/{businessId}/locations/{locationId}/services/{appointmentServiceId}/addOns": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "operationId": "Appointments_GetBusinessAppointmentServiceAddons",
        "parameters": [
          {
            "name": "businessId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "locationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          },
          {
            "name": "appointmentServiceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "The list of available addons with available staff for the service. If no addons is found, the response is an empty list.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppointmentTypeAddonStaffDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          },
          "500": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProblemDetails"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/v3/Bwe/Studios/{studioId}/ClassDescriptions": {
      "get": {
        "tags": [
          "BweClassDescriptions"
        ],
        "operationId": "get-classdescriptions-bwe",
        "parameters": [
          {
            "name": "studioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/GetClassDescriptionsPageRequest"
                }
              ]
            }
          },
          {
            "name": "includeDemoStudios",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfClassDescriptionAndPageResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Bwe/Studios/{studioId}/PricingOptions": {
      "get": {
        "tags": [
          "BwePricingOptions"
        ],
        "operationId": "get-pricing-options-bwe",
        "parameters": [
          {
            "name": "studioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/GetPricingOptionsPageRequest"
                }
              ]
            }
          },
          {
            "name": "IncludeDynamicPricing",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "includeDemoStudios",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfPricingOptionAndPageResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Bwe/Studios/{studioId}/Classes": {
      "get": {
        "tags": [
          "BweClasses"
        ],
        "operationId": "get-studio-classes-bwe",
        "parameters": [
          {
            "name": "studioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/PageRequest"
                }
              ]
            }
          },
          {
            "name": "DateTimeRange",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/DateTimeRangeRequest"
                }
              ]
            }
          },
          {
            "name": "LocationId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            }
          },
          {
            "name": "includeDemoStudios",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfClassInstanceAndPageResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Bwe/Studios/{studioId}/Programs": {
      "get": {
        "tags": [
          "BwePrograms"
        ],
        "operationId": "BwePrograms_GetPrograms",
        "parameters": [
          {
            "name": "studioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfProgram"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Bwe/Studios/{studioId}/SessionTypes": {
      "get": {
        "tags": [
          "BweSessionTypes"
        ],
        "operationId": "get-session-types-bwe",
        "parameters": [
          {
            "name": "studioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "ProgramIDs",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "includeDemoStudios",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfSessionType"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Bwe/Studios/{studioId}/Staff": {
      "get": {
        "tags": [
          "BweStaff"
        ],
        "operationId": "get-staff-bwe",
        "parameters": [
          {
            "name": "studioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/GetStaffPageRequest"
                }
              ]
            }
          },
          {
            "name": "includeDemoStudios",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfStaffAndPageResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Bwe/Studios/{studioId}/Locations": {
      "get": {
        "tags": [
          "BweStudioLocations"
        ],
        "operationId": "BweStudioLocations_GetLocations",
        "parameters": [
          {
            "name": "studioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "includeInactiveWsShowLocations",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 2
          },
          {
            "name": "includeDemoStudios",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfIEnumerableOfStudioLocation"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotFoundResult"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Bwe/Studios": {
      "get": {
        "tags": [
          "BweStudios"
        ],
        "operationId": "get-studios-bwe",
        "parameters": [
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/GetStudiosPageRequest"
                }
              ]
            }
          },
          {
            "name": "StudioIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "includeDemoStudios",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfStudioAndPageResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/GenderOptions": {
      "get": {
        "tags": [
          "GenderOptions"
        ],
        "operationId": "GenderOptions_GetGenderOptions",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfGenderOption"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/MarketplaceMembershipProducts": {
      "get": {
        "tags": [
          "MarketplaceMembershipProducts"
        ],
        "operationId": "MarketplaceMembershipProducts_GetMarketplaceMembershipProducts",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfMarketplaceMembershipProduct"
                }
              }
            }
          },
          "401": {
            "description": "\nor\nReturns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/MarketplaceMembershipProducts/{membershipProductId}": {
      "get": {
        "tags": [
          "MarketplaceMembershipProducts"
        ],
        "operationId": "MarketplaceMembershipProducts_GetMarketplaceMembershipProductById",
        "parameters": [
          {
            "name": "membershipProductId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfMarketplaceMembershipProduct"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "\nor\nReturns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/MarketplaceUserSubscriptions": {
      "get": {
        "tags": [
          "MarketplaceUserSubscriptions"
        ],
        "operationId": "MarketplaceUserSubscriptions_GetMarketplaceUserSubscriptions",
        "parameters": [
          {
            "name": "UserIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/UserSubscriptionsPageRequest"
                }
              ]
            }
          },
          {
            "name": "ActivationDateRange",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ActivationDateRangeRequest"
                }
              ]
            }
          },
          {
            "name": "States",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "$ref": "#/components/schemas/EUserSubscriptionState"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfUserSubscriptionAndPageResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "\nor\nReturns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/DynamicServicePricingOptions": {
      "get": {
        "tags": [
          "DynamicServicePricingOptions"
        ],
        "operationId": "DynamicServicePricingOptions_GetDynamicServicePricingOption",
        "parameters": [
          {
            "name": "classScheduleId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "subscriberId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfCatalogItem"
                }
              }
            }
          },
          "403": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/ScheduleItemPaymentOptions": {
      "post": {
        "tags": [
          "ScheduleItemPaymentOptions"
        ],
        "operationId": "ScheduleItemPaymentOptions_FindScheduleItemPaymentOptions",
        "requestBody": {
          "x-name": "request",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ScheduleItemPaymentOptionsRequest"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleItemPaymentOptionsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/rest/v3/Users/{userId}/Awards": {
      "get": {
        "tags": [
          "Awards"
        ],
        "operationId": "Awards_GetAwards",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfIEnumerableOfAward"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Users/{userid}/MarketplaceMemberships": {
      "post": {
        "tags": [
          "Memberships"
        ],
        "operationId": "Memberships_Create",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "request",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreateUserMembershipRequest"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfUserMembership"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "Returns when a resource already exists for the request. Possible scenarios: \r\nMarketplaceMembershipCreditConflict - a self-serve credit already exists for the requested origin details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "Returns when the requested instructions are not processable. Possible error codes: \r\nMarketplaceMembershipCreditUsageNotFound - the requested credit details do not reference a compatible visit.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "\nor\nReturns when the user is not authorized."
          }
        },
        "deprecated": true
      },
      "get": {
        "tags": [
          "Memberships"
        ],
        "operationId": "Memberships_GetUserMemberships",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "UserSubscriptionId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "guid",
              "nullable": true
            }
          },
          {
            "name": "ActivationDateRange",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ActivationDateRangeRequest"
                }
              ]
            }
          },
          {
            "name": "ActiveOnDateTime",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time",
              "nullable": true
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/UserMembershipsPageRequest"
                }
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfUserMembershipAndPageResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotFoundResult"
                }
              }
            }
          },
          "401": {
            "description": "\nor\nReturns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Users/{userid}/MarketplaceMemberships/{userMembershipId}/UsageLimits": {
      "get": {
        "tags": [
          "Memberships"
        ],
        "operationId": "Memberships_GetUserMembershipUsageLimits",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "userMembershipId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfUserMembershipUsageLimitList"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "\nor\nReturns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Users/{userId}/Passes": {
      "get": {
        "tags": [
          "Passes"
        ],
        "operationId": "Passes_GetPasses",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "Active",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "MaximumSessionsRemaining",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            }
          },
          {
            "name": "StudioIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "SubscriberIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "DaysExpired",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfPassOf"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "\nor\nReturns when the user is not authorized."
          },
          "403": {
            "description": ""
          }
        }
      }
    },
    "/rest/v3/Users/{userId}/MarketplaceSubscriptions/{subscriptionId}/payments": {
      "get": {
        "tags": [
          "SubscriptionPayments"
        ],
        "operationId": "SubscriptionPayments_GetUserSubscriptionPaymentsHistory",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 2
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/UserSubscriptionPaymentsPageRequest"
                }
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfUserSubscriptionPaymentAndPageResponse"
                }
              }
            }
          },
          "400": {
            "description": ""
          },
          "401": {
            "description": "\nor\nReturns when the user is not authorized."
          },
          "404": {
            "description": ""
          }
        }
      }
    },
    "/rest/v3/Users/{userId}/MarketplaceSubscriptions": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "operationId": "Subscriptions_GetUserSubscriptions",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "States",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "$ref": "#/components/schemas/EUserSubscriptionState"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfUserSubscription"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "\nor\nReturns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Users/{userId}/MarketplaceSubscriptions/{subscriptionId}": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "operationId": "Subscriptions_GetUserSubscriptionById",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfUserSubscription"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "\nor\nReturns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Users/{userId}/MarketplaceSubscriptions/{subscriptionId}/refresh": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "operationId": "Subscriptions_RefreshUserSubscription",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfUserSubscription"
                }
              }
            }
          },
          "500": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "\nor\nReturns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Users": {
      "post": {
        "tags": [
          "Users"
        ],
        "operationId": "Users_CreateUser",
        "requestBody": {
          "x-name": "request",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreateUserRequest"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "201": {
            "description": "The created user resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfGetUserResponse"
                }
              }
            }
          },
          "409": {
            "description": "Returns when a user already exists for provided email.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Users/{userId}": {
      "get": {
        "tags": [
          "Users"
        ],
        "operationId": "Users_GetUser",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfGetUserResponse"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Users/Search": {
      "post": {
        "tags": [
          "Users"
        ],
        "operationId": "Users_Search",
        "requestBody": {
          "x-name": "request",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UserSearchRequest"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfSearchUsersResponse"
                }
              }
            }
          },
          "400": {
            "description": ""
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Users/{userId}/FavoriteStaff": {
      "get": {
        "tags": [
          "FavoriteStaff"
        ],
        "operationId": "FavoriteStaff_GetFavoriteStaff",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfFavoriteStaffOf"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      },
      "post": {
        "tags": [
          "FavoriteStaff"
        ],
        "operationId": "FavoriteStaff_AddFavoriteStaff",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "request",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreateFavoriteStaffRequest"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfFavoriteStaff"
                }
              }
            }
          },
          "409": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Users/{userId}/FavoriteStaff/{favoriteUserStaffId}": {
      "delete": {
        "tags": [
          "FavoriteStaff"
        ],
        "operationId": "FavoriteStaff_RemoveFavoriteStaff",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "favoriteUserStaffId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "204": {
            "description": ""
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Studios/{studioId}/ClassDescriptions": {
      "get": {
        "tags": [
          "ClassDescriptions"
        ],
        "operationId": "ClassDescriptions_GetClassDescriptions",
        "parameters": [
          {
            "name": "studioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/GetClassDescriptionsPageRequest"
                }
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfClassDescriptionAndPageResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Studios/{studioId}/Classes": {
      "get": {
        "tags": [
          "Classes"
        ],
        "operationId": "Classes_GetClasses",
        "parameters": [
          {
            "name": "studioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/PageRequest"
                }
              ]
            }
          },
          {
            "name": "DateTimeRange",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/DateTimeRangeRequest"
                }
              ]
            }
          },
          {
            "name": "LocationId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfClassInstanceAndPageResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Studios/{studioId}/Programs": {
      "get": {
        "tags": [
          "Programs"
        ],
        "operationId": "Programs_GetPrograms",
        "parameters": [
          {
            "name": "studioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfProgram"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Studios/{studioId}/SessionTypes": {
      "get": {
        "tags": [
          "SessionTypes"
        ],
        "operationId": "SessionTypes_GetSessionTypes",
        "parameters": [
          {
            "name": "studioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "ProgramIDs",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfSessionType"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Studios/{studioId}/Locations": {
      "get": {
        "tags": [
          "StudioLocations"
        ],
        "operationId": "StudioLocations_GetLocations",
        "parameters": [
          {
            "name": "studioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "includeInactiveWsShowLocations",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfIEnumerableOfStudioLocation"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotFoundResult"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Studios": {
      "get": {
        "tags": [
          "Studios"
        ],
        "operationId": "Studios_GetStudios",
        "parameters": [
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/GetStudiosPageRequest"
                }
              ]
            }
          },
          {
            "name": "StudioIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfStudioAndPageResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Studios/{studioId}/Staff": {
      "get": {
        "tags": [
          "Staff"
        ],
        "operationId": "Staff_GetStaff",
        "parameters": [
          {
            "name": "studioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/GetStaffPageRequest"
                }
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfStaffAndPageResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/v3/Studios/{studioId}/PricingOptions": {
      "get": {
        "tags": [
          "PricingOptions"
        ],
        "operationId": "PricingOptions_GetPricingOptions",
        "parameters": [
          {
            "name": "studioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/GetPricingOptionsPageRequest"
                }
              ]
            }
          },
          {
            "name": "IncludeDynamicPricing",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOfListOfPricingOptionAndPageResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": ""
          },
          "401": {
            "description": "Returns when the user is not authorized."
          }
        }
      }
    },
    "/rest/Appointment/{id}": {
      "get": {
        "tags": [
          "Appointment"
        ],
        "operationId": "Appointment_GetAppointment",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppointmentVisit"
                }
              }
            }
          },
          "401": {
            "description": ""
          },
          "403": {
            "description": ""
          }
        }
      }
    },
    "/rest/AppointmentType/{id}/BookabilityStatus": {
      "get": {
        "tags": [
          "AppointmentType"
        ],
        "operationId": "AppointmentType_BookabilityStatus",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppointmentBookabilityStatusResponse"
                }
              }
            }
          }
        }
      }
    },
    "/rest/AppointmentType/{id}/user/BookabilityStatus": {
      "get": {
        "tags": [
          "AppointmentType"
        ],
        "operationId": "AppointmentType_GetBookabilityStatusForUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppointmentBookabilityStatusResponse"
                }
              }
            }
          }
        }
      }
    },
    "/rest/AppointmentType/MostPopular": {
      "get": {
        "tags": [
          "AppointmentType"
        ],
        "operationId": "AppointmentType_PopularAppointmentTypes",
        "parameters": [
          {
            "name": "locationId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "count",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 3
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppointmentSessionTypeResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/AppointmentType/Products": {
      "get": {
        "tags": [
          "AppointmentType"
        ],
        "operationId": "AppointmentType_AppointmentTypesForProducts",
        "parameters": [
          {
            "name": "productIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "integer",
                      "format": "int32"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/Class": {
      "get": {
        "tags": [
          "Class"
        ],
        "operationId": "Class_FetchClasses",
        "parameters": [
          {
            "name": "UserId",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "ProgramIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "ProductIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "StartRange",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time",
              "nullable": true
            }
          },
          {
            "name": "EndRange",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time",
              "nullable": true
            }
          },
          {
            "name": "LocationId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            }
          },
          {
            "name": "Count",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            }
          },
          {
            "name": "IncludeRelatedPrograms",
            "in": "query",
            "schema": {
              "type": "boolean",
              "nullable": true
            }
          },
          {
            "name": "ClassDescriptionIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "ClassTypeIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "StaffId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassInstance2"
                  }
                }
              }
            }
          },
          "401": {
            "description": ""
          },
          "403": {
            "description": ""
          }
        }
      }
    },
    "/rest/Class/{id}": {
      "get": {
        "tags": [
          "Class"
        ],
        "operationId": "Class_FetchClassById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          },
          {
            "name": "reservedFor",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassInstance2"
                  }
                }
              }
            }
          },
          "401": {
            "description": ""
          },
          "403": {
            "description": ""
          }
        }
      }
    },
    "/rest/Class/{id}/PaymentStatus": {
      "get": {
        "tags": [
          "Class"
        ],
        "operationId": "Class_GetClassPaymentStatus",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          },
          {
            "name": "reservedFor",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassPaymentStatus"
                  }
                }
              }
            }
          },
          "401": {
            "description": ""
          },
          "403": {
            "description": ""
          }
        }
      }
    },
    "/rest/Class/{id}/PaymentOptions": {
      "get": {
        "tags": [
          "Class"
        ],
        "operationId": "Class_FetchClassPaymentOptions",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FetchClassPaymentOptionsResponse"
                }
              }
            }
          },
          "401": {
            "description": ""
          },
          "403": {
            "description": ""
          }
        }
      }
    },
    "/rest/Engage/Create": {
      "post": {
        "tags": [
          "Engage"
        ],
        "operationId": "Engage_CreateUserV2",
        "requestBody": {
          "x-name": "creds",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConsumerModeCredentials"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserModel"
                }
              }
            }
          }
        }
      }
    },
    "/rest/Enrollment": {
      "get": {
        "tags": [
          "Enrollment"
        ],
        "operationId": "Enrollment_GetAllInDateRange",
        "parameters": [
          {
            "name": "ProgramIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "ProductIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "Id",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            }
          },
          {
            "name": "StartRange",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time",
              "nullable": true
            }
          },
          {
            "name": "EndRange",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time",
              "nullable": true
            }
          },
          {
            "name": "LocationId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            }
          },
          {
            "name": "UserId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            }
          },
          {
            "name": "Count",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            }
          },
          {
            "name": "SingleDayOnly",
            "in": "query",
            "schema": {
              "type": "boolean",
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassInstance2"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/Enrollment/{classscheduleid}/Schedule": {
      "get": {
        "tags": [
          "Enrollment"
        ],
        "operationId": "Enrollment_GetEnrollmentSchedule",
        "parameters": [
          {
            "name": "classScheduleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnrollmentSchedule"
                }
              }
            }
          },
          "204": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "501": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/rest/Location": {
      "get": {
        "tags": [
          "Location"
        ],
        "operationId": "Location_GetLocation",
        "parameters": [
          {
            "name": "searchText",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "latitude",
            "in": "query",
            "schema": {
              "type": "number",
              "format": "decimal",
              "nullable": true
            },
            "x-position": 2
          },
          {
            "name": "longitude",
            "in": "query",
            "schema": {
              "type": "number",
              "format": "decimal",
              "nullable": true
            },
            "x-position": 3
          },
          {
            "name": "radius",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 15
            },
            "x-position": 4
          },
          {
            "name": "address",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 5
          },
          {
            "name": "studioId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 6
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Location"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/Location/{id}": {
      "get": {
        "tags": [
          "Location"
        ],
        "operationId": "Location_GetLocationById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Location"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/Reviews": {
      "get": {
        "tags": [
          "Reviews"
        ],
        "operationId": "Reviews_GetReviewsAll",
        "parameters": [
          {
            "name": "count",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10,
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "pageIndex",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0,
              "nullable": true
            },
            "x-position": 2
          },
          {
            "name": "masterLocationId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 3
          },
          {
            "name": "classDescriptionIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            },
            "x-position": 4
          },
          {
            "name": "staffIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            },
            "x-position": 5
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReviewDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Reviews"
        ],
        "operationId": "Reviews_Add",
        "requestBody": {
          "x-name": "reviewRequest",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PostReviewRequest"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "201": {
            "description": ""
          },
          "400": {
            "description": ""
          },
          "401": {
            "description": ""
          },
          "403": {
            "description": ""
          },
          "409": {
            "description": ""
          }
        }
      }
    },
    "/rest/Reviews/{id}": {
      "get": {
        "tags": [
          "Reviews"
        ],
        "operationId": "Reviews_GetReviews",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Reviews"
        ],
        "operationId": "Reviews_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "404": {
            "description": ""
          },
          "204": {
            "description": ""
          },
          "401": {
            "description": ""
          },
          "403": {
            "description": ""
          }
        }
      }
    },
    "/rest/User/{userid}/Reviews": {
      "get": {
        "tags": [
          "Reviews"
        ],
        "operationId": "Reviews_GetReviewsForUser",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "visitId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReviewDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": ""
          },
          "403": {
            "description": ""
          }
        }
      }
    },
    "/rest/User/Reviews": {
      "get": {
        "tags": [
          "Reviews"
        ],
        "operationId": "Reviews_GetReviewsForUser2",
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "visitId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReviewDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": ""
          },
          "403": {
            "description": ""
          }
        }
      }
    },
    "/rest/Reviews/{id}/UpVote": {
      "post": {
        "tags": [
          "Reviews"
        ],
        "operationId": "Reviews_UpVote",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "201": {
            "description": ""
          }
        }
      }
    },
    "/rest/Reviews/{id}/DownVote": {
      "post": {
        "tags": [
          "Reviews"
        ],
        "operationId": "Reviews_DownVote",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "201": {
            "description": ""
          }
        }
      }
    },
    "/rest/Reviews/{id}/Status": {
      "get": {
        "tags": [
          "Reviews"
        ],
        "operationId": "Reviews_Status",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewStatusDto"
                }
              }
            }
          }
        }
      }
    },
    "/rest/Series": {
      "get": {
        "tags": [
          "Series"
        ],
        "operationId": "Series_GetSeries",
        "parameters": [
          {
            "name": "classId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Series"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/ServiceCategory": {
      "get": {
        "tags": [
          "ServiceCategory"
        ],
        "operationId": "ServiceCategory_Get",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceCategorySmall"
                }
              }
            }
          }
        }
      }
    },
    "/rest/ServiceCategory/FetchActive": {
      "get": {
        "tags": [
          "ServiceCategory"
        ],
        "operationId": "ServiceCategory_FetchActive",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ServiceCategory"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/ServiceCategory/{serviceCategoryId}/CancellationDetail": {
      "get": {
        "tags": [
          "ServiceCategory"
        ],
        "operationId": "ServiceCategory_CancellationDetail",
        "parameters": [
          {
            "name": "serviceCategoryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CancellationDetailDto"
                }
              }
            }
          }
        }
      }
    },
    "/rest/ThirdPartyProviderLink": {
      "post": {
        "tags": [
          "ThirdPartyProviderLink"
        ],
        "operationId": "ThirdPartyProviderLink_LinkThirdPartyProvider",
        "requestBody": {
          "x-name": "identityProviderLinkRequest",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/IdentityProviderLinkRequest"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThirdPartyIdentityLinkResponse"
                }
              }
            }
          }
        }
      }
    },
    "/rest/ThirdPartyProviderLink/SignUp": {
      "post": {
        "tags": [
          "ThirdPartyProviderLink"
        ],
        "operationId": "ThirdPartyProviderLink_SignUpWithThirdPartyProvider",
        "requestBody": {
          "x-name": "identityProviderLinkRequest",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/IdentityProviderLinkRequest"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThirdPartyIdentityLinkResponse"
                }
              }
            }
          }
        }
      }
    },
    "/rest/UserActionLink/{userActionLinkGuid}/Fetch": {
      "get": {
        "tags": [
          "UserActionLink"
        ],
        "operationId": "UserActionLink_FetchUserActionLink",
        "parameters": [
          {
            "name": "userActionLinkGuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserActionLink"
                }
              }
            }
          }
        }
      }
    },
    "/rest/UserActionLink/{userActionLinkGuid}/CreateUserSiteLink": {
      "post": {
        "tags": [
          "UserActionLink"
        ],
        "operationId": "UserActionLink_CreateUserSiteFromUserActionLink",
        "parameters": [
          {
            "name": "userActionLinkGuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "304": {
            "description": ""
          }
        }
      }
    },
    "/rest/WorldRegions/Country": {
      "get": {
        "tags": [
          "WorldRegions"
        ],
        "operationId": "WorldRegions_GetAll",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CountryDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/WorldRegions/Country/{id}": {
      "get": {
        "tags": [
          "WorldRegions"
        ],
        "operationId": "WorldRegions_Get",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountryDto"
                }
              }
            }
          }
        }
      }
    },
    "/rest/WorldRegions/Country/{id}/Province": {
      "get": {
        "tags": [
          "WorldRegions"
        ],
        "operationId": "WorldRegions_GetStatesOrProvincesByCountryId",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StateOrProvinceDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/Attribution": {
      "post": {
        "tags": [
          "UserAttribution"
        ],
        "operationId": "UserAttribution_PostUserAttribution",
        "requestBody": {
          "x-name": "request",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreateUserAttributionRequest"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "format": "int32"
                  }
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "UserAttribution"
        ],
        "operationId": "UserAttribution_GetUserAttribution",
        "parameters": [
          {
            "name": "studioId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "attributionType",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserStudioAttribution"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/{userid}/Sync": {
      "post": {
        "tags": [
          "User"
        ],
        "operationId": "User_Sync",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/rest/User/SyncProfile": {
      "post": {
        "tags": [
          "User"
        ],
        "operationId": "User_SyncUserProfileToSite",
        "requestBody": {
          "x-name": "token",
          "content": {
            "application/json": {
              "schema": {
                "type": "string",
                "nullable": true
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/rest/User": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "User_GetUser",
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserModelWithAcceptanceState"
                }
              }
            }
          },
          "401": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "User"
        ],
        "operationId": "User_Add",
        "requestBody": {
          "x-name": "userModel",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UserModel"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/{userId}": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "User_GetUser2",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserModelWithAcceptanceState"
                }
              }
            }
          },
          "401": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/{userId}/Subscriber/{subscriberid}": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "User_GetClientSubscriberProfile",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "subscriberid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "401": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "200": {
            "description": ""
          },
          "404": {
            "description": ""
          },
          "501": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "User"
        ],
        "operationId": "User_UpdateClientSubscriberProfile",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "subscriberid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "requestBody": {
          "x-name": "clientProfileRequest",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UpdateClientSiteProfileRequest"
                  }
                ]
              }
            }
          },
          "x-position": 3
        },
        "responses": {
          "200": {
            "description": ""
          },
          "304": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "501": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "500": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/{userid}/Verify": {
      "post": {
        "tags": [
          "User"
        ],
        "operationId": "User_ResendVerficationEmail",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/rest/User/{userid}": {
      "put": {
        "tags": [
          "User"
        ],
        "operationId": "User_Update",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "userModel",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UserModel"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "204": {
            "description": ""
          },
          "304": {
            "description": ""
          }
        }
      }
    },
    "/rest/User/{userid}/ProfileImage": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "User_GetProfileImage",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProfileImageResponse"
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "post": {
        "tags": [
          "User"
        ],
        "operationId": "User_AddProfileImage",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "201": {
            "description": ""
          }
        }
      }
    },
    "/rest/User/{userid}/FavoriteLocations": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "User_GetFavoriteLocations",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "includeOptedOut",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Location"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "User"
        ],
        "operationId": "User_AddFavoriteLocation",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "location",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Location"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "201": {
            "description": ""
          },
          "204": {
            "description": ""
          }
        }
      }
    },
    "/rest/User/{userid}/FavoriteLocations/{masterLocationId}": {
      "post": {
        "tags": [
          "User"
        ],
        "operationId": "User_AddFavoriteLocation2",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "masterLocationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "201": {
            "description": ""
          },
          "204": {
            "description": ""
          }
        }
      }
    },
    "/rest/User/{userid}/FavoriteLocations/{secondid}": {
      "delete": {
        "tags": [
          "User"
        ],
        "operationId": "User_RemoveFavoriteLocation",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "secondId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "204": {
            "description": ""
          },
          "304": {
            "description": ""
          }
        }
      }
    },
    "/rest/User/{userid}/Visits/SignIn": {
      "post": {
        "tags": [
          "User"
        ],
        "operationId": "User_SignInUser",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Visit ids signed in.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "format": "int64"
                  }
                }
              }
            }
          },
          "204": {
            "description": "No visits found to sign in."
          }
        }
      }
    },
    "/rest/User/{userid}/Sites": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "User_GetUserSites",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserSiteDto2"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/Sites": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "User_GetUserSites2",
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserSiteDto2"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/{userId}/PurchaseHistory": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "User_GetUserPurchaseHistory",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "startDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "x-position": 2
          },
          {
            "name": "endDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "x-position": 3
          },
          {
            "name": "sortDescending",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "false",
              "nullable": true
            },
            "x-position": 4
          }
        ],
        "responses": {
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "200": {
            "description": ""
          },
          "204": {
            "description": ""
          },
          "501": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/{userId}/BillingInfo": {
      "get": {
        "tags": [
          "UserBillingInfo"
        ],
        "operationId": "UserBillingInfo_GetUserBillingInfo",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserBillingInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "UserBillingInfo"
        ],
        "operationId": "UserBillingInfo_AddUserBillingInfo",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "billingInfo",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UserBillingInfo"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "201": {
            "description": ""
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/{userId}/BillingInfo/{billingInfoId}": {
      "delete": {
        "tags": [
          "UserBillingInfo"
        ],
        "operationId": "UserBillingInfo_RemoveUserBillingInfo",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "billingInfoId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "204": {
            "description": ""
          },
          "304": {
            "description": ""
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/{userId}/Waitlist/{waitlistId}": {
      "delete": {
        "tags": [
          "UserWaitlist"
        ],
        "operationId": "UserWaitlist_RemoveUserFromWaitlist",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "waitlistId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "204": {
            "description": ""
          }
        }
      }
    },
    "/rest/User/{userId}/Waitlist": {
      "post": {
        "tags": [
          "UserWaitlist"
        ],
        "operationId": "UserWaitlist_AddUserWaitlist",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "searchId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "requestBody": {
          "x-name": "visit",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/VisitPost"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "201": {
            "description": ""
          }
        }
      }
    },
    "/rest/User/{userId}/Visits": {
      "get": {
        "tags": [
          "UserVisits"
        ],
        "operationId": "UserVisits_GetVisits",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "UserId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "IncludeWaitlist",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "IncludeEnrollments",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "IncludeAppointments",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "IncludeClasses",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "IncludeUnscheduledClasses",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "SubscriberIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "Before",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time",
              "nullable": true
            }
          },
          {
            "name": "After",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time",
              "nullable": true
            }
          },
          {
            "name": "ClassVisits",
            "in": "query",
            "schema": {
              "nullable": true,
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ClassVisitFilters"
                }
              ]
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "OrderBy",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Ascending",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedResultOfVisit"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "UserVisits"
        ],
        "operationId": "UserVisits_AddUserVisit",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "searchId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "x-position": 3
          }
        ],
        "requestBody": {
          "x-name": "body",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AddUserVisitRequest2"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "201": {
            "description": ""
          },
          "400": {
            "description": ""
          }
        }
      }
    },
    "/rest/User/{userid}/ClassVisits": {
      "get": {
        "tags": [
          "UserVisits"
        ],
        "operationId": "UserVisits_GetClassVisits",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "startDateTime",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "x-position": 2
          },
          {
            "name": "count",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            },
            "x-position": 3
          },
          {
            "name": "isAscending",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            },
            "x-position": 4
          },
          {
            "name": "includeWaitlisted",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 5
          },
          {
            "name": "includeEnrollments",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 6
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassVisit"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/{userid}/AppointmentVisits": {
      "get": {
        "tags": [
          "UserVisits"
        ],
        "operationId": "UserVisits_GetAppointmentVisits",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "startDateTime",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "x-position": 2
          },
          {
            "name": "count",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            },
            "x-position": 3
          },
          {
            "name": "isAscending",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppointmentVisit"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/{userid}/Visits/{secondid}": {
      "get": {
        "tags": [
          "UserVisits"
        ],
        "operationId": "UserVisits_GetVisit",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "secondId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClassVisit"
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/{userid}/VisitCount": {
      "get": {
        "tags": [
          "UserVisits"
        ],
        "operationId": "UserVisits_FetchVisitCount",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "startDateRange",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "x-position": 2
          },
          {
            "name": "endDateRange",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "x-position": 3
          },
          {
            "name": "subscriberIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            },
            "x-position": 4
          },
          {
            "name": "includeClassesOnly",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 5
          },
          {
            "name": "signedInOnly",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 6
          },
          {
            "name": "requiresMBFOptIn",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            },
            "x-position": 7
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/{userId}/IsVisitCancellable/{secondid}": {
      "get": {
        "tags": [
          "UserVisits"
        ],
        "operationId": "UserVisits_GetVisitCancellableStatus",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "secondId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VisitCancellableStatusResponse"
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/{userId}/Visits/{visitId}": {
      "delete": {
        "tags": [
          "UserVisits"
        ],
        "operationId": "UserVisits_CancelVisit",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "visitId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "204": {
            "description": ""
          }
        }
      }
    },
    "/rest/User/{userid}/CancelAppointmentVisit/{secondid}": {
      "delete": {
        "tags": [
          "UserVisits"
        ],
        "operationId": "UserVisits_CancelAppointmentVisit",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "secondId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "204": {
            "description": ""
          },
          "501": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/rest/User/{userId}/Enrollments": {
      "post": {
        "tags": [
          "UserVisits"
        ],
        "operationId": "UserVisits_AddEnrollments",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          }
        ],
        "requestBody": {
          "x-name": "requestBody",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AddUserEnrollmentRequest"
                  }
                ]
              }
            }
          },
          "x-position": 2
        },
        "responses": {
          "201": {
            "description": ""
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "501": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/rest/Documents/Agreements/{agreementId}/Latest": {
      "get": {
        "tags": [
          "ConsumerAgreement"
        ],
        "operationId": "ConsumerAgreement_FetchLatestConsumerAgreementVersion",
        "parameters": [
          {
            "name": "agreementId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FetchAgreementVersionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/rest/Documents/Agreements/SessionState": {
      "post": {
        "tags": [
          "ConsumerAgreement"
        ],
        "operationId": "ConsumerAgreement_CreateConsumerUserAgreementSessionState",
        "requestBody": {
          "x-name": "requestData",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConsumerUserAgreementSessionStatePostData"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAgreementSessionStateResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/rest/Documents/Agreements/Acceptances": {
      "post": {
        "tags": [
          "ConsumerAgreement"
        ],
        "operationId": "ConsumerAgreement_CreateAgreementAcceptance",
        "requestBody": {
          "x-name": "request",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAgreementAcceptanceByEmailRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAgreementAcceptanceByEmailResponse"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "401": {
            "description": ""
          }
        }
      }
    },
    "/rest/Documents/Agreements/{agreementId}/Latest/AcceptanceStates": {
      "get": {
        "tags": [
          "ConsumerAgreement"
        ],
        "operationId": "ConsumerAgreement_FindUserAgreementStatusByMembershipId",
        "parameters": [
          {
            "name": "agreementId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          },
          {
            "name": "userMembershipId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FindAgreementAcceptanceStatusResponse"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AddUserWaitlistRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ClassId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "StandardIdMindbodyMappingDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "StandardId": {
            "type": "string",
            "nullable": true
          },
          "SourcePlatform": {
            "type": "string",
            "nullable": true
          },
          "SourceModel": {
            "type": "string",
            "nullable": true
          },
          "SourceId": {
            "type": "string",
            "nullable": true
          },
          "StudioId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ProblemDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Type": {
            "type": "string",
            "nullable": true
          },
          "Title": {
            "type": "string",
            "nullable": true
          },
          "Status": {
            "type": "integer",
            "format": "int32"
          },
          "Detail": {
            "type": "string",
            "nullable": true
          },
          "Instance": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AddUserVisitResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "VisitId": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "Void": {
        "type": "object",
        "additionalProperties": false
      },
      "AddUserVisitRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ClassId": {
            "type": "integer",
            "format": "int32"
          },
          "PaymentOptionId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "PaymentOptionSubscriberId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "GetVisitCancellabilityResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "CancellabilityStatus": {
            "$ref": "#/components/schemas/EVisitCancellabilityStatus"
          },
          "Reason": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CancellabilityReasonDto"
              }
            ]
          }
        }
      },
      "EVisitCancellabilityStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "NotCancellable",
          "EarlyCancellable",
          "LateCancellable"
        ],
        "enum": [
          "NotCancellable",
          "EarlyCancellable",
          "LateCancellable"
        ]
      },
      "CancellabilityReasonDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Code": {
            "$ref": "#/components/schemas/ECancellabilityReasonCode"
          },
          "Description": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ECancellabilityReasonCode": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "AllowedWithinCutoff",
          "AllowedAfterCutoff",
          "DisabledForConsumers",
          "CancelWindowPassed",
          "UnpaidBooking",
          "AlreadyCancelled"
        ],
        "enum": [
          "AllowedWithinCutoff",
          "AllowedAfterCutoff",
          "DisabledForConsumers",
          "CancelWindowPassed",
          "UnpaidBooking",
          "AlreadyCancelled"
        ]
      },
      "AddGuestClassVisitRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ClassInstanceId": {
            "type": "integer",
            "format": "int32"
          },
          "ReservedFor": {
            "type": "string",
            "nullable": true
          },
          "PaymentOptionId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "PaymentOptionSubscriberId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "AppointmentServiceDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "BusinessId": {
            "type": "string",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "DefaultDuration": {
            "type": "integer",
            "format": "int32"
          },
          "BookableOnline": {
            "type": "boolean"
          },
          "ServiceGroup": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ServiceGroupDto"
              }
            ]
          },
          "Categories": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CategoryDto"
            }
          },
          "StaffIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "StaffSpecificationIDs": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "NumSessionsToBook": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "ServiceGroupDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "BusinessId": {
            "type": "string",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "nullable": true
          },
          "RestrictedToMembershipIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CategoryDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Subcategories": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/SubcategoryDto"
            }
          }
        }
      },
      "SubcategoryDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ServicePurchaseOptionDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "BusinessId": {
            "type": "string",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "Price": {
            "type": "number",
            "format": "decimal"
          },
          "IsSingleSession": {
            "type": "boolean"
          },
          "Currency": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CurrencyDto"
              }
            ]
          }
        }
      },
      "CurrencyDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "CurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "CurrencySymbol": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AppointmentStaffListDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "StaffGroupSpecifications": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/AppointmentStaffGroupSpecificationDto"
            }
          },
          "StaffSpecifications": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/AppointmentStaffSpecificationDto"
            }
          }
        }
      },
      "AppointmentStaffGroupSpecificationDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "DisplayLabel": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AppointmentStaffSpecificationDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "DisplayLabel": {
            "type": "string",
            "nullable": true
          },
          "Gender": {
            "type": "string",
            "nullable": true
          },
          "Avatar": {
            "type": "string",
            "nullable": true
          },
          "Bio": {
            "type": "string",
            "nullable": true
          },
          "MaskStaff": {
            "type": "boolean"
          }
        }
      },
      "BusinessLocationDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "BusinessId": {
            "type": "string",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "Phone": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LocationPhoneDto"
              }
            ]
          },
          "Address": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LocationAddressDto"
              }
            ]
          },
          "LatLong": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LocationCoordinatesDto"
              }
            ]
          },
          "LocaleDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LocaleDetailsDto"
              }
            ]
          },
          "Amenities": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "BusinessIdentityClaims": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "CrowdSafetyClaims": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "AppointmentBookingConfiguration": {
            "type": "string",
            "nullable": true
          },
          "BookingSettings": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/BookingSettingsDto"
              }
            ]
          }
        }
      },
      "LocationPhoneDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Phone": {
            "type": "string",
            "nullable": true
          },
          "Extension": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LocationAddressDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Street": {
            "type": "string",
            "nullable": true
          },
          "AddressLine2": {
            "type": "string",
            "nullable": true
          },
          "City": {
            "type": "string",
            "nullable": true
          },
          "State": {
            "type": "string",
            "nullable": true
          },
          "PostalCode": {
            "type": "string",
            "nullable": true
          },
          "Country": {
            "type": "string",
            "nullable": true
          },
          "FormattedString": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LocationCoordinatesDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Latitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Longitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        }
      },
      "LocaleDetailsDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "CountryCode": {
            "type": "string",
            "nullable": true
          },
          "TimeZone": {
            "type": "string",
            "nullable": true
          },
          "CultureName": {
            "type": "string",
            "nullable": true
          },
          "Currency": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CurrencyDto"
              }
            ]
          }
        }
      },
      "BookingSettingsDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ReserveForGuests": {
            "type": "boolean"
          }
        }
      },
      "AppointmentAvailabilitiesDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "AppointmentBlocks": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/AppointmentAvailabilityBlockDto"
            }
          }
        }
      },
      "AppointmentAvailabilityBlockDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "StartDateTime": {
            "type": "string",
            "nullable": true
          },
          "AvailableStaff": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "AppointmentTypeAddonStaffDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int64"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "ServiceCategoryId": {
            "type": "integer",
            "format": "int64"
          },
          "DurationInMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "IsBookableOnline": {
            "type": "boolean"
          },
          "StaffSpecificationIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "NumSessionsToBook": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "ResponseOfListOfClassDescriptionAndPageResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ResponseOfListOfClassDescription"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Meta": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PageResponse"
                  }
                ]
              }
            }
          }
        ]
      },
      "PageResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Page": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PageResponseMeta"
              }
            ]
          }
        }
      },
      "PageResponseMeta": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Limit": {
            "type": "integer",
            "format": "int32"
          },
          "Offset": {
            "type": "integer",
            "format": "int32"
          },
          "Total": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "ResponseOfListOfClassDescription": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ClassDescription"
            }
          }
        }
      },
      "ClassDescription": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "Prerequisite": {
            "type": "string",
            "nullable": true
          },
          "Notes": {
            "type": "string",
            "nullable": true
          },
          "ProgramId": {
            "type": "integer",
            "format": "int32"
          },
          "SessionTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "CategoryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Category": {
            "type": "string",
            "nullable": true
          },
          "SubCategoryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "SubCategory": {
            "type": "string",
            "nullable": true
          },
          "ReviewCount": {
            "type": "integer",
            "format": "int32"
          },
          "AverageRating": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Active": {
            "type": "boolean"
          },
          "ImageUrl": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ErrorResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Errors": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Error": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Code": {
            "type": "string",
            "nullable": true
          },
          "Message": {
            "type": "string",
            "nullable": true
          },
          "ExceptionClassName": {
            "type": "string",
            "nullable": true
          },
          "ExceptionStackTrace": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "GetClassDescriptionsPageRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PageRequest"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Limit": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "PageRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Offset": {
            "type": "integer",
            "format": "int32"
          },
          "Limit": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "ResponseOfListOfPricingOptionAndPageResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ResponseOfListOfPricingOption"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Meta": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PageResponse"
                  }
                ]
              }
            }
          }
        ]
      },
      "ResponseOfListOfPricingOption": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/PricingOption"
            }
          }
        }
      },
      "PricingOption": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Price": {
            "type": "number",
            "format": "decimal"
          },
          "OnlinePrice": {
            "type": "number",
            "format": "decimal"
          },
          "ProductId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "ProgramId": {
            "type": "integer",
            "format": "int32"
          },
          "SellOnline": {
            "type": "boolean"
          },
          "Type": {
            "$ref": "#/components/schemas/EPricingOptionType"
          },
          "Count": {
            "type": "integer",
            "format": "int32"
          },
          "TaxIncluded": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "IntroOfferType": {
            "$ref": "#/components/schemas/EIntroductoryOfferType"
          },
          "RelatedProgramIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "integer",
              "format": "int32"
            }
          }
        }
      },
      "EPricingOptionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "DropIn",
          "Series",
          "Unlimited"
        ],
        "enum": [
          "DropIn",
          "Series",
          "Unlimited"
        ]
      },
      "EIntroductoryOfferType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "None",
          "NewClients",
          "NewAndExistingClients"
        ],
        "enum": [
          "None",
          "NewClients",
          "NewAndExistingClients"
        ]
      },
      "GetPricingOptionsPageRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PageRequest"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Limit": {
                "type": "integer",
                "format": "int32",
                "maximum": 10000.0,
                "minimum": 1.0
              }
            }
          }
        ]
      },
      "ResponseOfListOfClassInstanceAndPageResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ResponseOfListOfClassInstance"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Meta": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PageResponse"
                  }
                ]
              }
            }
          }
        ]
      },
      "ResponseOfListOfClassInstance": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ClassInstance"
            }
          }
        }
      },
      "ClassInstance": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "MaxCapacity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "WebCapacity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "TotalBooked": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "WebBooked": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "IsCanceled": {
            "type": "boolean"
          },
          "HideCancel": {
            "type": "boolean"
          },
          "Active": {
            "type": "boolean"
          },
          "IsWaitlistAvailable": {
            "type": "boolean"
          },
          "IsAvailable": {
            "type": "boolean"
          },
          "StartDateTimeUtc": {
            "type": "string",
            "format": "date-time"
          },
          "EndDateTimeUtc": {
            "type": "string",
            "format": "date-time"
          },
          "BookingWindow": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ClassInstanceBookingWindow"
              }
            ]
          },
          "BookingStatus": {
            "$ref": "#/components/schemas/EBookingStatus"
          },
          "LocationId": {
            "type": "integer",
            "format": "int32"
          },
          "StaffId": {
            "type": "integer",
            "format": "int64"
          },
          "DescriptionId": {
            "type": "integer",
            "format": "int32"
          },
          "ClassId": {
            "type": "integer",
            "format": "int32"
          },
          "ThemeName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ClassInstanceBookingWindow": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "StartDateTimeUtc": {
            "type": "string",
            "format": "date-time"
          },
          "EndDateTimeUtc": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "EBookingStatus": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "PaymentRequired",
          "BookAndPayLater",
          "Free"
        ],
        "enum": [
          0,
          1,
          2
        ]
      },
      "DateTimeRangeRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DateTimeRange"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Start",
              "End"
            ],
            "properties": {
              "Start": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "End": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              }
            }
          }
        ]
      },
      "DateTimeRange": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Start": {
            "type": "string",
            "format": "date-time"
          },
          "End": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ResponseOfListOfProgram": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Program"
            }
          }
        }
      },
      "Program": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ID": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "ScheduleType": {
            "$ref": "#/components/schemas/ScheduleType"
          }
        }
      },
      "ScheduleType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "All",
          "DropIn",
          "Enrollment",
          "Appointment",
          "Resource",
          "Media",
          "Arrival"
        ],
        "enum": [
          "All",
          "DropIn",
          "Enrollment",
          "Appointment",
          "Resource",
          "Media",
          "Arrival"
        ]
      },
      "ResponseOfListOfSessionType": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/SessionType"
            }
          }
        }
      },
      "SessionType": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Type": {
            "$ref": "#/components/schemas/EProgramType"
          },
          "Id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "NumDeducted": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ProgramId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "IsBookableOnline": {
            "type": "boolean"
          },
          "Active": {
            "type": "boolean"
          }
        }
      },
      "EProgramType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Class",
          "Appointment",
          "Enrollment",
          "Media",
          "Resource",
          "Arrival",
          "All"
        ],
        "enum": [
          "Class",
          "Appointment",
          "Enrollment",
          "Media",
          "Resource",
          "Arrival",
          "All"
        ]
      },
      "ResponseOfListOfStaffAndPageResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ResponseOfListOfStaff"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Meta": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PageResponse"
                  }
                ]
              }
            }
          }
        ]
      },
      "ResponseOfListOfStaff": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Staff"
            }
          }
        }
      },
      "Staff": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Email": {
            "type": "string",
            "nullable": true
          },
          "Id": {
            "type": "integer",
            "format": "int64"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "FirstName": {
            "type": "string",
            "nullable": true
          },
          "LastName": {
            "type": "string",
            "nullable": true
          },
          "Gender": {
            "type": "string",
            "nullable": true
          },
          "Bio": {
            "type": "string",
            "nullable": true
          },
          "ImageUrl": {
            "type": "string",
            "nullable": true
          },
          "SortOrder": {
            "type": "integer",
            "format": "int32"
          },
          "OffersAppointments": {
            "type": "boolean"
          },
          "OffersClasses": {
            "type": "boolean"
          }
        }
      },
      "GetStaffPageRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PageRequest"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Limit": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "ResponseOfIEnumerableOfStudioLocation": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/StudioLocation"
            }
          }
        }
      },
      "StudioLocation": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "MasterLocationId": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Phone": {
            "type": "string",
            "nullable": true
          },
          "PhoneExt": {
            "type": "string",
            "nullable": true
          },
          "Address": {
            "type": "string",
            "nullable": true
          },
          "AddressLine2": {
            "type": "string",
            "nullable": true
          },
          "City": {
            "type": "string",
            "nullable": true
          },
          "StateProvCode": {
            "type": "string",
            "nullable": true
          },
          "PostalCode": {
            "type": "string",
            "nullable": true
          },
          "Longitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Latitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "LocationDescription": {
            "type": "string",
            "nullable": true
          },
          "Country": {
            "type": "string",
            "nullable": true
          },
          "CountryCode": {
            "type": "string",
            "nullable": true
          },
          "TimezoneId": {
            "type": "string",
            "nullable": true
          },
          "StudioId": {
            "type": "integer",
            "format": "int32"
          },
          "OptedInToConsumerMarketplace": {
            "type": "boolean"
          },
          "TotalConnectRatings": {
            "type": "integer",
            "format": "int32"
          },
          "AverageConnectRating": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "TotalDeals": {
            "type": "integer",
            "format": "int32"
          },
          "CurrencyIsoCode": {
            "type": "string",
            "nullable": true
          },
          "CultureName": {
            "type": "string",
            "nullable": true
          },
          "Amenities": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Amenity"
            }
          },
          "BusinessIdentifiesAs": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/BusinessIdentifiesAs"
            }
          },
          "CrowdSafeAs": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CrowdSafeAs"
            }
          },
          "AvailableProgramTypes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EProgramType"
            }
          },
          "IsOnlineStoreActive": {
            "type": "boolean"
          },
          "MarketplaceMembershipOptIn": {
            "type": "boolean"
          },
          "WsShow": {
            "type": "boolean"
          },
          "ReserveForOtherClients": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "Amenity": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "CategoryName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "BusinessIdentifiesAs": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CrowdSafeAs": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "NotFoundResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Request": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/HttpRequestMessage"
              }
            ]
          }
        }
      },
      "HttpRequestMessage": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Version": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Version"
              }
            ]
          },
          "Content": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/HttpContent"
              }
            ]
          },
          "Method": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/HttpMethod"
              }
            ]
          },
          "RequestUri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "Headers": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/HttpRequestHeaders"
              }
            ]
          },
          "Properties": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          }
        }
      },
      "Version": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Major": {
            "type": "integer",
            "format": "int32"
          },
          "Minor": {
            "type": "integer",
            "format": "int32"
          },
          "Build": {
            "type": "integer",
            "format": "int32"
          },
          "Revision": {
            "type": "integer",
            "format": "int32"
          },
          "MajorRevision": {
            "type": "integer"
          },
          "MinorRevision": {
            "type": "integer"
          }
        }
      },
      "HttpContent": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "Headers": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/HttpContentHeaders"
              }
            ]
          }
        }
      },
      "HttpContentHeaders": {
        "allOf": [
          {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KeyValuePairOfStringAndIEnumerableOfString"
            }
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Allow": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "ContentDisposition": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ContentDispositionHeaderValue"
                  }
                ]
              },
              "ContentEncoding": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "ContentLanguage": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "ContentLength": {
                "type": "integer",
                "format": "int64",
                "nullable": true
              },
              "ContentLocation": {
                "type": "string",
                "format": "uri",
                "nullable": true
              },
              "ContentMD5": {
                "type": "string",
                "format": "byte",
                "nullable": true
              },
              "ContentRange": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ContentRangeHeaderValue"
                  }
                ]
              },
              "ContentType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MediaTypeHeaderValue"
                  }
                ]
              },
              "Expires": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "LastModified": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ]
      },
      "ContentDispositionHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "DispositionType": {
            "type": "string",
            "nullable": true
          },
          "Parameters": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/NameValueHeaderValue"
            }
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "FileName": {
            "type": "string",
            "nullable": true
          },
          "FileNameStar": {
            "type": "string",
            "nullable": true
          },
          "CreationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ModificationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ReadDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Size": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        }
      },
      "NameValueHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Value": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ContentRangeHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Unit": {
            "type": "string",
            "nullable": true
          },
          "From": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "To": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "Length": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "HasLength": {
            "type": "boolean"
          },
          "HasRange": {
            "type": "boolean"
          }
        }
      },
      "MediaTypeHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "CharSet": {
            "type": "string",
            "nullable": true
          },
          "Parameters": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/NameValueHeaderValue"
            }
          },
          "MediaType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "KeyValuePairOfStringAndIEnumerableOfString": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Key": {
            "type": "string",
            "nullable": true
          },
          "Value": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "HttpMethod": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Method": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "HttpRequestHeaders": {
        "allOf": [
          {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KeyValuePairOfStringAndIEnumerableOfString"
            }
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Accept": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/MediaTypeWithQualityHeaderValue"
                }
              },
              "AcceptCharset": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StringWithQualityHeaderValue"
                }
              },
              "AcceptEncoding": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StringWithQualityHeaderValue"
                }
              },
              "AcceptLanguage": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StringWithQualityHeaderValue"
                }
              },
              "Authorization": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AuthenticationHeaderValue"
                  }
                ]
              },
              "Expect": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/NameValueWithParametersHeaderValue"
                }
              },
              "ExpectContinue": {
                "type": "boolean",
                "nullable": true
              },
              "From": {
                "type": "string",
                "nullable": true
              },
              "Host": {
                "type": "string",
                "nullable": true
              },
              "IfMatch": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/EntityTagHeaderValue"
                }
              },
              "IfModifiedSince": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "IfNoneMatch": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/EntityTagHeaderValue"
                }
              },
              "IfRange": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RangeConditionHeaderValue"
                  }
                ]
              },
              "IfUnmodifiedSince": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "MaxForwards": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "ProxyAuthorization": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AuthenticationHeaderValue"
                  }
                ]
              },
              "Range": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RangeHeaderValue"
                  }
                ]
              },
              "Referrer": {
                "type": "string",
                "format": "uri",
                "nullable": true
              },
              "TE": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/TransferCodingWithQualityHeaderValue"
                }
              },
              "UserAgent": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ProductInfoHeaderValue"
                }
              },
              "CacheControl": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CacheControlHeaderValue"
                  }
                ]
              },
              "Connection": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "ConnectionClose": {
                "type": "boolean",
                "nullable": true
              },
              "Date": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "Pragma": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/NameValueHeaderValue"
                }
              },
              "Trailer": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "TransferEncoding": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/TransferCodingHeaderValue"
                }
              },
              "TransferEncodingChunked": {
                "type": "boolean",
                "nullable": true
              },
              "Upgrade": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ProductHeaderValue"
                }
              },
              "Via": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ViaHeaderValue"
                }
              },
              "Warning": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/WarningHeaderValue"
                }
              }
            }
          }
        ]
      },
      "MediaTypeWithQualityHeaderValue": {
        "allOf": [
          {
            "$ref": "#/components/schemas/MediaTypeHeaderValue"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Quality": {
                "type": "number",
                "format": "double",
                "nullable": true
              }
            }
          }
        ]
      },
      "StringWithQualityHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Value": {
            "type": "string",
            "nullable": true
          },
          "Quality": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        }
      },
      "AuthenticationHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Scheme": {
            "type": "string",
            "nullable": true
          },
          "Parameter": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "NameValueWithParametersHeaderValue": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NameValueHeaderValue"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Parameters": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/NameValueHeaderValue"
                }
              }
            }
          }
        ]
      },
      "EntityTagHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Tag": {
            "type": "string",
            "nullable": true
          },
          "IsWeak": {
            "type": "boolean"
          }
        }
      },
      "RangeConditionHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "EntityTag": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EntityTagHeaderValue"
              }
            ]
          }
        }
      },
      "RangeHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Unit": {
            "type": "string",
            "nullable": true
          },
          "Ranges": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/RangeItemHeaderValue"
            }
          }
        }
      },
      "RangeItemHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "From": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "To": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        }
      },
      "TransferCodingWithQualityHeaderValue": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TransferCodingHeaderValue"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Quality": {
                "type": "number",
                "format": "double",
                "nullable": true
              }
            }
          }
        ]
      },
      "TransferCodingHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Value": {
            "type": "string",
            "nullable": true
          },
          "Parameters": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/NameValueHeaderValue"
            }
          }
        }
      },
      "ProductInfoHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Product": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ProductHeaderValue"
              }
            ]
          },
          "Comment": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ProductHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Version": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CacheControlHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "NoCache": {
            "type": "boolean"
          },
          "NoCacheHeaders": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "NoStore": {
            "type": "boolean"
          },
          "MaxAge": {
            "type": "string",
            "format": "duration",
            "nullable": true
          },
          "SharedMaxAge": {
            "type": "string",
            "format": "duration",
            "nullable": true
          },
          "MaxStale": {
            "type": "boolean"
          },
          "MaxStaleLimit": {
            "type": "string",
            "format": "duration",
            "nullable": true
          },
          "MinFresh": {
            "type": "string",
            "format": "duration",
            "nullable": true
          },
          "NoTransform": {
            "type": "boolean"
          },
          "OnlyIfCached": {
            "type": "boolean"
          },
          "Public": {
            "type": "boolean"
          },
          "Private": {
            "type": "boolean"
          },
          "PrivateHeaders": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "MustRevalidate": {
            "type": "boolean"
          },
          "ProxyRevalidate": {
            "type": "boolean"
          },
          "Extensions": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/NameValueHeaderValue"
            }
          }
        }
      },
      "ViaHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ProtocolName": {
            "type": "string",
            "nullable": true
          },
          "ProtocolVersion": {
            "type": "string",
            "nullable": true
          },
          "ReceivedBy": {
            "type": "string",
            "nullable": true
          },
          "Comment": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "WarningHeaderValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Code": {
            "type": "integer",
            "format": "int32"
          },
          "Agent": {
            "type": "string",
            "nullable": true
          },
          "Text": {
            "type": "string",
            "nullable": true
          },
          "Date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "ResponseOfListOfStudioAndPageResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ResponseOfListOfStudio"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Meta": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PageResponse"
                  }
                ]
              }
            }
          }
        ]
      },
      "ResponseOfListOfStudio": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Studio"
            }
          }
        }
      },
      "Studio": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "ContactEmail": {
            "type": "string",
            "nullable": true
          },
          "LogoUrl": {
            "type": "string",
            "nullable": true
          },
          "MobileLogoUrl": {
            "type": "string",
            "nullable": true
          },
          "WebsiteUrl": {
            "type": "string",
            "nullable": true
          },
          "MarketplaceMembershipOptIn": {
            "type": "boolean"
          },
          "RegionId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ReserveForOtherClients": {
            "type": "boolean",
            "nullable": true
          },
          "IsDemoStudio": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "GetStudiosPageRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PageRequest"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Limit": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "ResponseOfListOfGenderOption": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/GenderOption"
            }
          }
        }
      },
      "GenderOption": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ResponseOfListOfMarketplaceMembershipProduct": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/MarketplaceMembershipProduct"
            }
          }
        }
      },
      "MarketplaceMembershipProduct": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "format": "guid"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "State": {
            "$ref": "#/components/schemas/EMembershipProductState"
          },
          "Type": {
            "$ref": "#/components/schemas/EMembershipProductType"
          },
          "Price": {
            "type": "integer",
            "format": "int32"
          },
          "TotalSessionsCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ExpirationType": {
            "$ref": "#/components/schemas/EExpirationType"
          },
          "ExpirationUnit": {
            "$ref": "#/components/schemas/EExpirationUnit"
          },
          "ExpirationLength": {
            "type": "integer",
            "format": "int32"
          },
          "CurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "IsTrial": {
            "type": "boolean"
          },
          "TrialProducts": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string",
              "format": "guid"
            }
          }
        }
      },
      "EMembershipProductState": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Available",
          "Unavailable"
        ],
        "enum": [
          "Available",
          "Unavailable"
        ]
      },
      "EMembershipProductType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Limited",
          "Unlimited"
        ],
        "enum": [
          "Limited",
          "Unlimited"
        ]
      },
      "EExpirationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "ActivationDate",
          "SaleDate"
        ],
        "enum": [
          "ActivationDate",
          "SaleDate"
        ]
      },
      "EExpirationUnit": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Days",
          "Months"
        ],
        "enum": [
          "Days",
          "Months"
        ]
      },
      "ResponseOfMarketplaceMembershipProduct": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/MarketplaceMembershipProduct"
              }
            ]
          }
        }
      },
      "ResponseOfListOfUserSubscriptionAndPageResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ResponseOfListOfUserSubscription"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Meta": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PageResponse"
                  }
                ]
              }
            }
          }
        ]
      },
      "ResponseOfListOfUserSubscription": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/UserSubscription"
            }
          }
        }
      },
      "UserSubscription": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "format": "guid"
          },
          "UserId": {
            "type": "integer",
            "format": "int32"
          },
          "UserBillingInfoId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "NgpSubscriptionId": {
            "type": "string",
            "nullable": true
          },
          "NgpSubscriptionEnabled": {
            "type": "boolean"
          },
          "NextPaymentDateUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "TrialMembershipProductId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "MembershipProductId": {
            "type": "string",
            "format": "guid"
          },
          "ActivationDateUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "CancellationDateUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "CancellationReason": {
            "type": "string",
            "nullable": true
          },
          "State": {
            "$ref": "#/components/schemas/EUserSubscriptionState"
          },
          "Price": {
            "type": "integer",
            "format": "int32"
          },
          "CurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "CreatedDateTimeUtc": {
            "type": "string",
            "format": "date-time"
          },
          "ConsumerUserAgreementAcceptanceId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "StatementDescriptor": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EUserSubscriptionState": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Active",
          "Pending",
          "ConsumerCancelled",
          "SystemCancelled",
          "SystemSuspended"
        ],
        "enum": [
          "Active",
          "Pending",
          "ConsumerCancelled",
          "SystemCancelled",
          "SystemSuspended"
        ]
      },
      "UserSubscriptionsPageRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PageRequest"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Limit": {
                "type": "integer",
                "format": "int32",
                "maximum": 2147483647.0,
                "minimum": 1.0
              },
              "Offset": {
                "type": "integer",
                "format": "int32",
                "maximum": 2147483647.0,
                "minimum": 0.0
              }
            }
          }
        ]
      },
      "ActivationDateRangeRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DateTimeRange"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Start",
              "End"
            ],
            "properties": {
              "Start": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "End": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              }
            }
          }
        ]
      },
      "ResponseOfCatalogItem": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CatalogItem"
              }
            ]
          }
        }
      },
      "CatalogItem": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "Image": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "nullable": true
          },
          "Templates": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ItemMetadataTemplate"
            }
          },
          "Options": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ItemOption"
            }
          },
          "Rules": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ItemRule"
            }
          }
        }
      },
      "ItemMetadataTemplate": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "TemplateType": {
            "type": "string",
            "nullable": true
          },
          "Metadata": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ItemMetadata"
            }
          }
        }
      },
      "ItemMetadata": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Key": {
            "type": "string",
            "nullable": true
          },
          "Value": {
            "type": "string",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "nullable": true
          },
          "Rules": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ItemMetadataRule"
            }
          }
        }
      },
      "ItemMetadataRule": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Rule": {
            "type": "string",
            "nullable": true
          },
          "Value": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ItemOption": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "MetadataType": {
            "type": "string",
            "nullable": true
          },
          "Items": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ItemOptionItem"
            }
          }
        }
      },
      "ItemOptionItem": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Value": {
            "type": "string",
            "nullable": true
          },
          "Properties": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "ItemRule": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Rule": {
            "type": "string",
            "nullable": true
          },
          "Values": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "Key": {
            "type": "string",
            "deprecated": true,
            "nullable": true
          },
          "Operation": {
            "type": "string",
            "deprecated": true,
            "nullable": true
          }
        }
      },
      "ScheduleItemPaymentOptionsResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ScheduleItemPaymentOptions": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ScheduleItemPaymentOption"
            }
          },
          "ScheduleItemPaymentOptionsAssociations": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ScheduleItemPaymentOptionAssociation"
            }
          }
        }
      },
      "ScheduleItemPaymentOption": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ScheduleItemPaymentOptionType": {
            "$ref": "#/components/schemas/EScheduleItemPaymentOptionType"
          },
          "CatalogItem": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CatalogItem"
              }
            ]
          },
          "CatalogItemQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "CatalogPackage": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CatalogPackage"
              }
            ]
          }
        }
      },
      "EScheduleItemPaymentOptionType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "CatalogItem",
          "CatalogPackage",
          "AccountScheduleItemPayment"
        ],
        "enum": [
          0,
          1,
          2
        ]
      },
      "CatalogPackage": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Pricing": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CatalogPackagePricing"
              }
            ]
          },
          "Items": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CatalogItem"
            }
          },
          "Discounts": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CatalogDiscountItem"
            }
          },
          "Options": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ItemOption"
            }
          },
          "Rules": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ItemRule"
            }
          },
          "Templates": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ItemMetadataTemplate"
            }
          }
        }
      },
      "CatalogPackagePricing": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "BasePrice": {
            "type": "number",
            "format": "decimal"
          },
          "DiscountPrice": {
            "type": "number",
            "format": "decimal"
          },
          "BaseAutopayPrice": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "AutopayDiscount": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "AutopayPrice": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "CatalogDiscountItem": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "DiscountType": {
            "type": "string",
            "nullable": true
          },
          "Properties": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "ScheduleItemPaymentOptionAssociation": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ScheduleItemId": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ScheduleItemId"
              }
            ]
          },
          "ScheduleItemPaymentOptionIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ScheduleItemPaymentOptionId"
            }
          }
        }
      },
      "ScheduleItemId": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int64"
          },
          "Type": {
            "$ref": "#/components/schemas/EScheduleItemType"
          }
        }
      },
      "EScheduleItemType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Appointment",
          "Class",
          "Enrollment",
          "Resource"
        ],
        "enum": [
          "Appointment",
          "Class",
          "Enrollment",
          "Resource"
        ]
      },
      "ScheduleItemPaymentOptionId": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ScheduleItemPaymentOptionType": {
            "$ref": "#/components/schemas/EScheduleItemPaymentOptionType"
          },
          "Id": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ScheduleItemPaymentOptionsRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "SubscriberId": {
            "type": "integer",
            "format": "int32"
          },
          "ScheduleItemIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ScheduleItemId"
            }
          }
        }
      },
      "ResponseOfIEnumerableOfAward": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Award"
            }
          }
        }
      },
      "Award": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Points": {
            "type": "integer",
            "format": "int32"
          },
          "Badge": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Badge"
              }
            ]
          },
          "ProgressPercentage": {
            "type": "number",
            "format": "decimal"
          },
          "Metadata": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "string"
            }
          },
          "Rules": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Rule"
            }
          },
          "LastModifiedDateTimeUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "CreatedDateTimeUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "Badge": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Rule": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "Active": {
            "type": "boolean"
          },
          "Repeat": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ValidFromDateTimeUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ValidToDateTimeUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Disjunctions": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Disjunction"
            }
          }
        }
      },
      "Disjunction": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Predicates": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Predicate"
            }
          }
        }
      },
      "Predicate": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "CategoryType": {
            "type": "string",
            "nullable": true
          },
          "QuantifierType": {
            "type": "string",
            "nullable": true
          },
          "Quantity": {
            "type": "integer",
            "format": "int32"
          },
          "Metadata": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "ResponseOfUserMembership": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/UserMembership"
              }
            ]
          }
        }
      },
      "UserMembership": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "format": "guid"
          },
          "UserId": {
            "type": "integer",
            "format": "int32"
          },
          "UserSubscriptionId": {
            "type": "string",
            "format": "guid"
          },
          "MembershipProductId": {
            "type": "string",
            "format": "guid"
          },
          "ExpirationDateTimeUtc": {
            "type": "string",
            "format": "date-time"
          },
          "ActivationDateTimeUtc": {
            "type": "string",
            "format": "date-time"
          },
          "PaymentDateTimeUtc": {
            "type": "string",
            "format": "date-time"
          },
          "TotalSessionsCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "RemainingSessionsCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "OriginEvent": {
            "$ref": "#/components/schemas/EMembershipOriginEvent"
          },
          "OriginCreditDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/UserMembershipCreditDetails"
              }
            ]
          },
          "CreatedDateTimeUtc": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "EMembershipOriginEvent": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "SubscriptionPayment",
          "SelfServeCredit"
        ],
        "enum": [
          "SubscriptionPayment",
          "SelfServeCredit"
        ]
      },
      "UserMembershipCreditDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "StudioId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "VisitId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        }
      },
      "CreateUserMembershipRequest": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "UserSubscriptionId",
          "MembershipProductId",
          "ActivationDateTimeUtc",
          "PaymentDateTimeUtc",
          "ExpirationDateTimeUtc"
        ],
        "properties": {
          "UserSubscriptionId": {
            "type": "string",
            "format": "guid",
            "minLength": 1
          },
          "MembershipProductId": {
            "type": "string",
            "format": "guid",
            "minLength": 1
          },
          "ActivationDateTimeUtc": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "PaymentDateTimeUtc": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "ExpirationDateTimeUtc": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "OriginEvent": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EMembershipOriginEvent"
              }
            ]
          },
          "OriginCreditDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/UserMembershipCreditDetailsRequest"
              }
            ]
          }
        }
      },
      "UserMembershipCreditDetailsRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "StudioId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "VisitId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        }
      },
      "ResponseOfListOfUserMembershipAndPageResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ResponseOfListOfUserMembership"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Meta": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PageResponse"
                  }
                ]
              }
            }
          }
        ]
      },
      "ResponseOfListOfUserMembership": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/UserMembership"
            }
          }
        }
      },
      "UserMembershipsPageRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PageRequest"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Limit": {
                "type": "integer",
                "format": "int32",
                "maximum": 2147483647.0,
                "minimum": 1.0
              },
              "Offset": {
                "type": "integer",
                "format": "int32",
                "maximum": 2147483647.0,
                "minimum": 0.0
              }
            }
          }
        ]
      },
      "ResponseOfUserMembershipUsageLimitList": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/UserMembershipUsageLimitList"
              }
            ]
          }
        }
      },
      "UserMembershipUsageLimitList": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "UserMarketplaceMembershipId": {
            "type": "string",
            "format": "guid"
          },
          "UsageLimits": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/UserMembershipUsageLimit"
            }
          }
        }
      },
      "UserMembershipUsageLimit": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ReferenceId": {
            "type": "string",
            "nullable": true
          },
          "ReferenceType": {
            "$ref": "#/components/schemas/EUserMembershipUsageReferenceType"
          },
          "Current": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Max": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "EUserMembershipUsageReferenceType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Location",
          "Region"
        ],
        "enum": [
          "Location",
          "Region"
        ]
      },
      "ResponseOfPassOf": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Pass"
            }
          }
        }
      },
      "Pass": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int64"
          },
          "ProductId": {
            "type": "integer",
            "format": "int64"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "TotalSessions": {
            "type": "integer",
            "format": "int32"
          },
          "SessionsRemaining": {
            "type": "integer",
            "format": "int32"
          },
          "ExpirationDate": {
            "type": "string",
            "format": "date-time"
          },
          "ActivatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "PaymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "IsUnlimited": {
            "type": "boolean"
          },
          "ProgramId": {
            "type": "integer",
            "format": "int32"
          },
          "ProgramType": {
            "$ref": "#/components/schemas/EProgramType"
          },
          "SiteName": {
            "type": "string",
            "nullable": true
          },
          "SiteId": {
            "type": "integer",
            "format": "int32"
          },
          "ClientId": {
            "type": "integer",
            "format": "int64"
          },
          "MasterLocationIdLastBookedAt": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "ResponseOfListOfUserSubscriptionPaymentAndPageResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ResponseOfListOfUserSubscriptionPayment"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Meta": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PageResponse"
                  }
                ]
              }
            }
          }
        ]
      },
      "ResponseOfListOfUserSubscriptionPayment": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/UserSubscriptionPayment"
            }
          }
        }
      },
      "UserSubscriptionPayment": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "nullable": true
          },
          "ScheduledPaymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "CardLastFour": {
            "type": "string",
            "nullable": true
          },
          "CardType": {
            "type": "string",
            "nullable": true
          },
          "Amount": {
            "type": "integer",
            "format": "int64"
          },
          "Tax": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "Total": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "TaxCategory": {
            "type": "string",
            "nullable": true
          },
          "StatementDescriptor": {
            "type": "string",
            "nullable": true
          },
          "ExecutionDateTimeUtc": {
            "type": "string",
            "format": "date-time"
          },
          "ExecutionStatus": {
            "$ref": "#/components/schemas/EScheduledPaymentsTransactionStatus"
          },
          "ExecutionError": {
            "type": "string",
            "nullable": true
          },
          "CurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "UserMarketplaceSubscriptionId": {
            "type": "string",
            "format": "guid"
          },
          "RefundedPaymentId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EScheduledPaymentsTransactionStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Started",
          "Completed",
          "Failed",
          "Aborted"
        ],
        "enum": [
          "Started",
          "Completed",
          "Failed",
          "Aborted"
        ]
      },
      "UserSubscriptionPaymentsPageRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PageRequest"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Limit": {
                "type": "integer",
                "format": "int32",
                "maximum": 2147483647.0,
                "minimum": 1.0
              },
              "Offset": {
                "type": "integer",
                "format": "int32",
                "maximum": 2147483647.0,
                "minimum": 0.0
              }
            }
          }
        ]
      },
      "ResponseOfUserSubscription": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/UserSubscription"
              }
            ]
          }
        }
      },
      "ResponseOfGetUserResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/GetUserResponse"
              }
            ]
          }
        }
      },
      "GetUserResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/UserBase"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "AgreementState": {
                "$ref": "#/components/schemas/EUserAgreementAcceptanceState"
              },
              "ProfileImageUrl": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "EUserAgreementAcceptanceState": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Ok",
          "NotificationNeeded",
          "AgreementNeeded"
        ],
        "enum": [
          "Ok",
          "NotificationNeeded",
          "AgreementNeeded"
        ]
      },
      "UserBase": {
        "type": "object",
        "x-abstract": true,
        "additionalProperties": false,
        "properties": {
          "Email": {
            "type": "string",
            "nullable": true
          },
          "FirstName": {
            "type": "string",
            "nullable": true
          },
          "LastName": {
            "type": "string",
            "nullable": true
          },
          "Address": {
            "type": "string",
            "nullable": true
          },
          "City": {
            "type": "string",
            "nullable": true
          },
          "State": {
            "type": "string",
            "nullable": true
          },
          "Zip": {
            "type": "string",
            "nullable": true
          },
          "Country": {
            "type": "string",
            "nullable": true
          },
          "Gender": {
            "type": "string",
            "nullable": true
          },
          "Birthday": {
            "type": "string",
            "nullable": true
          },
          "MarketingOptIn": {
            "type": "boolean",
            "nullable": true
          },
          "MobilePhone": {
            "type": "string",
            "nullable": true
          },
          "Verified": {
            "type": "boolean"
          },
          "GenderOptionId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "CreateUserRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/UserBase"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Password": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "ResponseOfSearchUsersResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SearchUsersResponse"
              }
            ]
          }
        }
      },
      "SearchUsersResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Email": {
            "type": "string",
            "nullable": true
          },
          "FirstName": {
            "type": "string",
            "nullable": true
          },
          "LastName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "UserSearchRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Email": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ResponseOfFavoriteStaffOf": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FavoriteStaff"
            }
          }
        }
      },
      "FavoriteStaff": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "FavoriteUserStaffId": {
            "type": "integer",
            "format": "int64"
          },
          "StaffId": {
            "type": "integer",
            "format": "int64"
          },
          "FirstName": {
            "type": "string",
            "nullable": true
          },
          "LastName": {
            "type": "string",
            "nullable": true
          },
          "ImageUrl": {
            "type": "string",
            "nullable": true
          },
          "Bio": {
            "type": "string",
            "nullable": true
          },
          "SubscriberId": {
            "type": "integer",
            "format": "int32"
          },
          "SubscriberName": {
            "type": "string",
            "nullable": true
          },
          "MasterLocationId": {
            "type": "integer",
            "format": "int32"
          },
          "LocationName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ResponseOfFavoriteStaff": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Data": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/FavoriteStaff"
              }
            ]
          }
        }
      },
      "CreateFavoriteStaffRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "StaffId": {
            "type": "integer",
            "format": "int64"
          },
          "LocationId": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "AppointmentVisit": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "UserID": {
            "type": "integer",
            "format": "int32"
          },
          "SiteID": {
            "type": "integer",
            "format": "int32"
          },
          "SiteLocationID": {
            "type": "integer",
            "format": "int32"
          },
          "MasterLocationID": {
            "type": "integer",
            "format": "int32"
          },
          "AppointmentTypeID": {
            "type": "integer",
            "format": "int32"
          },
          "SiteImageUrl": {
            "type": "string",
            "nullable": true
          },
          "SiteName": {
            "type": "string",
            "nullable": true
          },
          "LocationName": {
            "type": "string",
            "nullable": true
          },
          "LocationPhoneNumber": {
            "type": "string",
            "nullable": true
          },
          "SiteVisitID": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "AppointmentTypeDescription": {
            "type": "string",
            "nullable": true
          },
          "Date": {
            "type": "string",
            "nullable": true
          },
          "StartTime": {
            "type": "string",
            "format": "duration",
            "nullable": true
          },
          "EndTime": {
            "type": "string",
            "format": "duration",
            "nullable": true
          },
          "Staff": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StaffSmall"
              }
            ]
          },
          "Statuses": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ConnectAppointmentStatus"
            }
          },
          "VisitDataId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "Notes": {
            "type": "string",
            "nullable": true
          },
          "ProgramType": {
            "$ref": "#/components/schemas/EProgramType"
          }
        }
      },
      "StaffSmall": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int64"
          },
          "FirstName": {
            "type": "string",
            "nullable": true
          },
          "LastName": {
            "type": "string",
            "nullable": true
          },
          "ImageUrl": {
            "type": "string",
            "nullable": true
          },
          "Bio": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ConnectAppointmentStatus": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "AppointmentStatusCode": {
            "$ref": "#/components/schemas/EConnectAppointmentStatus"
          },
          "AppointmentStatus": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EConnectAppointmentStatus": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Cancelled",
          "Missed",
          "Arrived",
          "Completed",
          "Confirmed",
          "Booked",
          "EarlyCancellable",
          "LateCancellable",
          "NotCancellable",
          "Requested",
          "UnpaidLateCancellable"
        ],
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ]
      },
      "AppointmentBookabilityStatusResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "AppointmentBookabilityCode": {
            "type": "integer",
            "format": "int32"
          },
          "AppointmentBookabilityStatus": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AppointmentSessionTypeResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Description": {
            "type": "string",
            "nullable": true
          },
          "DefaultTimeLength": {
            "type": "integer",
            "format": "int32"
          },
          "ShowInConsumerMode": {
            "type": "boolean"
          },
          "AddOn": {
            "type": "boolean"
          },
          "BackbarAmount": {
            "type": "number",
            "format": "decimal"
          },
          "Capacity": {
            "type": "integer",
            "format": "int32"
          },
          "MBFSessionTypeID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "MBFAutoMapped": {
            "type": "boolean"
          },
          "MBFFeatured": {
            "type": "integer"
          },
          "CPTID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ResourceRequired": {
            "type": "boolean"
          },
          "Color": {
            "type": "string",
            "nullable": true
          },
          "FinishTimeAfterAppt": {
            "type": "boolean"
          },
          "CPTCode": {
            "type": "string",
            "nullable": true
          },
          "ProductId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ID": {
            "type": "integer",
            "format": "int32"
          },
          "ProgramID": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Active": {
            "type": "boolean"
          },
          "Deleted": {
            "type": "boolean"
          },
          "Locked": {
            "type": "boolean"
          },
          "SortOrder": {
            "type": "integer",
            "format": "int32"
          },
          "PayrollIdentifier": {
            "type": "string",
            "nullable": true
          },
          "NumberDeducted": {
            "type": "integer"
          },
          "CreatedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "LastModifiedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "LastModifiedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "ClassInstance2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "Capacity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "NumberRegistered": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "PrerequisiteNotes": {
            "type": "string",
            "nullable": true
          },
          "ClassImageUrl": {
            "type": "string",
            "nullable": true
          },
          "ClassTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "ClassDescriptionId": {
            "type": "integer",
            "format": "int32"
          },
          "ProgramId": {
            "type": "integer",
            "format": "int32"
          },
          "Date": {
            "type": "string",
            "nullable": true
          },
          "StartTime": {
            "type": "string",
            "format": "duration",
            "nullable": true
          },
          "EndTime": {
            "type": "string",
            "format": "duration",
            "nullable": true
          },
          "Substitute": {
            "type": "boolean"
          },
          "MaskTrainer": {
            "type": "boolean",
            "nullable": true
          },
          "Staff": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Staff2"
              }
            ]
          },
          "Assistants": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Staff2"
            }
          },
          "Location": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Location"
              }
            ]
          },
          "Room": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Room"
              }
            ]
          },
          "Status": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/BookableStatus"
              }
            ]
          },
          "Visits": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ClassInstanceUserVisit"
            }
          },
          "WaitlistID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "WaitlistPosition": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "CancellationPolicy": {
            "type": "string",
            "nullable": true
          },
          "RefundPolicy": {
            "type": "string",
            "nullable": true
          },
          "Category": {
            "type": "string",
            "nullable": true
          },
          "Subcategory": {
            "type": "string",
            "nullable": true
          },
          "CategoryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "SubcategoryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "IsFreeToEnroll": {
            "type": "boolean"
          },
          "TotalReviews": {
            "type": "integer",
            "format": "int32"
          },
          "AverageReviewRating": {
            "type": "number",
            "format": "double"
          },
          "ClassLivestreamEnabled": {
            "type": "boolean",
            "deprecated": true,
            "x-deprecatedMessage": "Usage of this field is no longer recommended as it does not sufficiently reflect the possible configurations. See ContentFormats"
          },
          "ContentFormats": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EContentFormat"
            }
          },
          "NumSessionsToBook": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "Staff2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int64"
          },
          "FirstName": {
            "type": "string",
            "nullable": true
          },
          "LastName": {
            "type": "string",
            "nullable": true
          },
          "DisplayName": {
            "type": "string",
            "nullable": true
          },
          "ImageUrl": {
            "type": "string",
            "nullable": true
          },
          "LargeImageUrl": {
            "type": "string",
            "nullable": true
          },
          "Bio": {
            "type": "string",
            "nullable": true
          },
          "Email": {
            "type": "string",
            "nullable": true
          },
          "Phone": {
            "type": "string",
            "nullable": true
          },
          "Gender": {
            "type": "string",
            "nullable": true
          },
          "IsUserFavorite": {
            "type": "boolean"
          }
        }
      },
      "Location": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ID": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Phone": {
            "type": "string",
            "nullable": true
          },
          "Address": {
            "type": "string",
            "nullable": true
          },
          "SiteLocationID": {
            "type": "integer",
            "format": "int32"
          },
          "City": {
            "type": "string",
            "nullable": true
          },
          "StateProvCode": {
            "type": "string",
            "nullable": true
          },
          "PostalCode": {
            "type": "string",
            "nullable": true
          },
          "Longitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Latitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "LocationDescription": {
            "type": "string",
            "nullable": true
          },
          "Country": {
            "type": "string",
            "nullable": true
          },
          "SiteID": {
            "type": "integer",
            "format": "int32"
          },
          "StudioName": {
            "type": "string",
            "nullable": true
          },
          "StudioShort": {
            "type": "string",
            "nullable": true
          },
          "ImageVersion": {
            "type": "integer",
            "format": "int32"
          },
          "DistanceInMiles": {
            "type": "number",
            "format": "float"
          },
          "CountryCode": {
            "type": "string",
            "nullable": true
          },
          "BusinessDescription": {
            "type": "string",
            "nullable": true
          },
          "StudioImageURL": {
            "type": "string",
            "nullable": true
          },
          "StudioAllowsGeofencedCheckins": {
            "type": "boolean"
          },
          "OptedInToConnect": {
            "type": "boolean"
          },
          "UserFavoriteLocation": {
            "type": "boolean"
          },
          "TotalConnectRatings": {
            "type": "integer",
            "format": "int32"
          },
          "AverageConnectRating": {
            "type": "number",
            "format": "double"
          },
          "Locale": {
            "type": "string",
            "nullable": true
          },
          "SpecialCurrencyID": {
            "type": "integer",
            "format": "int32"
          },
          "ExchangeApproved": {
            "type": "boolean"
          },
          "OnlineBooking": {
            "type": "boolean"
          },
          "SubscriptionLevel": {
            "type": "string",
            "nullable": true
          },
          "Website": {
            "type": "string",
            "nullable": true
          },
          "TimezoneId": {
            "type": "string",
            "nullable": true
          },
          "TotalDeals": {
            "type": "integer",
            "format": "int32"
          },
          "Amenities": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Amenity2"
            }
          },
          "AvailableProgramTypes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EProgramType"
            }
          },
          "IsOnlineStoreActive": {
            "type": "boolean"
          }
        }
      },
      "Amenity2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Room": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ID": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "BookableStatus": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Status": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ClassInstanceUserVisit": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "SiteVisitID": {
            "type": "integer",
            "format": "int64"
          },
          "ProgramType": {
            "$ref": "#/components/schemas/EProgramType"
          },
          "ClassLivestreamEnabled": {
            "type": "boolean",
            "deprecated": true,
            "x-deprecatedMessage": "Usage of this field is no longer recommended as it does not sufficiently reflect the possible configurations. See ContentFormats"
          },
          "ContentFormats": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EContentFormat"
            }
          },
          "LivestreamMeetingLink": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EContentFormat": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "MindbodyLivestream",
          "OtherLivestream",
          "InPerson"
        ],
        "enum": [
          "Livestream:Mindbody",
          "Livestream:Other",
          "InPerson"
        ]
      },
      "ClassPaymentStatus": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Code": {
            "type": "integer",
            "format": "int32"
          },
          "Message": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "FetchClassPaymentOptionsResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "PaymentOptions": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/PaymentOption"
            }
          }
        }
      },
      "PaymentOption": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "SubscriberId": {
            "type": "integer",
            "format": "int32"
          },
          "Id": {
            "type": "integer",
            "format": "int64"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "OrderId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "PricingOptionId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "ExpirationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "PassesRemaining": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "UserModel": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Username": {
            "type": "string",
            "nullable": true
          },
          "Password": {
            "type": "string",
            "nullable": true
          },
          "FirstName": {
            "type": "string",
            "nullable": true
          },
          "LastName": {
            "type": "string",
            "nullable": true
          },
          "Address": {
            "type": "string",
            "nullable": true
          },
          "City": {
            "type": "string",
            "nullable": true
          },
          "State": {
            "type": "string",
            "nullable": true
          },
          "Zip": {
            "type": "string",
            "nullable": true
          },
          "Country": {
            "type": "string",
            "nullable": true
          },
          "Gender": {
            "type": "string",
            "nullable": true
          },
          "Birthday": {
            "type": "string",
            "nullable": true
          },
          "LastSignedIn": {
            "type": "string",
            "format": "date-time",
            "deprecated": true,
            "x-deprecatedMessage": "The LastSignedIn field was never implemented."
          },
          "MarketingOptIn": {
            "type": "boolean",
            "nullable": true
          },
          "Verified": {
            "type": "boolean"
          },
          "CorporationNames": {
            "type": "array",
            "deprecated": true,
            "x-deprecatedMessage": "The CorporationNames field was never implemented.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "MobilePhone": {
            "type": "string",
            "nullable": true
          },
          "ProfileImageUrl": {
            "type": "string",
            "nullable": true
          },
          "GenderOptionId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "ConsumerModeCredentials": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Token": {
            "type": "string",
            "nullable": true
          },
          "Password": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ErrorModel": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Code": {
            "type": "integer",
            "format": "int32"
          },
          "Message": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EnrollmentSchedule": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Schedule": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EnrollmentInstance"
            }
          },
          "TotalClassInstances": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "EnrollmentInstance": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ClassInstanceId": {
            "type": "integer",
            "format": "int32"
          },
          "ClassStartDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "ClassEndDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "Active": {
            "type": "boolean"
          }
        }
      },
      "ReviewDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int64"
          },
          "UserFirstName": {
            "type": "string",
            "nullable": true
          },
          "UserLastName": {
            "type": "string",
            "nullable": true
          },
          "UserImageUrl": {
            "type": "string",
            "nullable": true
          },
          "UserId": {
            "type": "integer",
            "format": "int32"
          },
          "Rating": {
            "type": "integer",
            "format": "int32"
          },
          "Created": {
            "type": "string",
            "format": "date-time"
          },
          "StaffId": {
            "type": "integer",
            "format": "int32"
          },
          "StaffName": {
            "type": "string",
            "nullable": true
          },
          "VisitId": {
            "type": "integer",
            "format": "int64"
          },
          "VisitName": {
            "type": "string",
            "nullable": true
          },
          "ClassId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ClassScheduleId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "SiteId": {
            "type": "integer",
            "format": "int32"
          },
          "LocationId": {
            "type": "integer",
            "format": "int32"
          },
          "MasterLocationId": {
            "type": "integer",
            "format": "int32"
          },
          "ReviewText": {
            "type": "string",
            "nullable": true
          },
          "UpVotes": {
            "type": "integer",
            "format": "int32"
          },
          "DownVotes": {
            "type": "integer",
            "format": "int32"
          },
          "Deleted": {
            "type": "boolean"
          },
          "ReviewTypeId": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EReviewType"
              }
            ]
          },
          "DetailID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ReviewResponse": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ReviewResponseDto"
              }
            ]
          }
        }
      },
      "EReviewType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Class",
          "Appointment",
          "Location",
          "Staff",
          "Workshop",
          "Enrollment"
        ],
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6
        ]
      },
      "ReviewResponseDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ID": {
            "type": "integer",
            "format": "int64"
          },
          "ReviewID": {
            "type": "integer",
            "format": "int64"
          },
          "ResponseText": {
            "type": "string",
            "nullable": true
          },
          "DateResponded": {
            "type": "string",
            "format": "date-time"
          },
          "SmodeID": {
            "type": "integer",
            "format": "int64"
          },
          "Deleted": {
            "type": "boolean"
          },
          "DeletedBy": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        }
      },
      "PostReviewRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int64"
          },
          "UserFirstName": {
            "type": "string",
            "nullable": true
          },
          "UserLastName": {
            "type": "string",
            "nullable": true
          },
          "UserImageUrl": {
            "type": "string",
            "nullable": true
          },
          "UserId": {
            "type": "string",
            "nullable": true
          },
          "Rating": {
            "type": "integer",
            "format": "int32"
          },
          "Created": {
            "type": "string",
            "format": "date-time"
          },
          "StaffId": {
            "type": "integer",
            "format": "int32"
          },
          "StaffName": {
            "type": "string",
            "nullable": true
          },
          "VisitId": {
            "type": "integer",
            "format": "int64"
          },
          "VisitName": {
            "type": "string",
            "nullable": true
          },
          "ClassId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ClassScheduleId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "SiteId": {
            "type": "integer",
            "format": "int32"
          },
          "LocationId": {
            "type": "integer",
            "format": "int32"
          },
          "MasterLocationId": {
            "type": "integer",
            "format": "int32"
          },
          "ReviewText": {
            "type": "string",
            "nullable": true
          },
          "UpVotes": {
            "type": "integer",
            "format": "int32"
          },
          "DownVotes": {
            "type": "integer",
            "format": "int32"
          },
          "Deleted": {
            "type": "boolean"
          },
          "ReviewTypeId": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EReviewType"
              }
            ]
          },
          "DetailID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ReviewResponse": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ReviewResponseDto"
              }
            ]
          }
        }
      },
      "ReviewStatusDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Status": {
            "type": "string",
            "nullable": true
          },
          "Code": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "Series": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ProgramID": {
            "type": "integer",
            "format": "int32"
          },
          "SeriesTypeID": {
            "type": "integer",
            "format": "int32"
          },
          "CategoryID": {
            "type": "integer",
            "format": "int32"
          },
          "Count": {
            "type": "integer",
            "format": "int32"
          },
          "Duration": {
            "type": "integer"
          },
          "EnableTax1": {
            "type": "boolean",
            "nullable": true
          },
          "EnableTax2": {
            "type": "boolean",
            "nullable": true
          },
          "EnableTax3": {
            "type": "boolean",
            "nullable": true
          },
          "EnableTax4": {
            "type": "boolean",
            "nullable": true
          },
          "EnableTax5": {
            "type": "boolean",
            "nullable": true
          },
          "ProductNotes": {
            "type": "string",
            "nullable": true
          },
          "SessionTypeIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "ProgramType": {
            "$ref": "#/components/schemas/EProgramType"
          },
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "BarCode": {
            "type": "string",
            "nullable": true
          },
          "Tax": {
            "type": "number",
            "format": "decimal"
          },
          "DiscountAmount": {
            "type": "number",
            "format": "decimal"
          },
          "TaxIncluded": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Total": {
            "type": "number",
            "format": "decimal"
          },
          "Price": {
            "type": "number",
            "format": "decimal"
          },
          "OnlinePrice": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "ServiceCategorySmall": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ID": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "ProgramMemberships": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ProgramMembership"
            }
          }
        }
      },
      "ProgramMembership": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "SeriesTypeID": {
            "type": "integer"
          },
          "ProgramID": {
            "type": "integer",
            "format": "int32"
          },
          "SeriesTypeName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ServiceCategory": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ID": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "nullable": true
          },
          "BookableOnline": {
            "type": "boolean"
          },
          "LivestreamEnabled": {
            "type": "boolean"
          },
          "MindbodyLivestreamEnabled": {
            "type": "boolean"
          }
        }
      },
      "CancellationDetailDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ID": {
            "type": "integer",
            "format": "int32"
          },
          "CancelOffset": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "CancelConsumerMode": {
            "type": "boolean"
          },
          "LateCancelCharges": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "NoShowCharges": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "LateCancelFeeType": {
            "type": "string",
            "nullable": true
          },
          "NoShowFeeType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ThirdPartyIdentityLinkResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Message": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "Success": {
            "type": "boolean"
          },
          "Identity": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ThirdPartyIdentityLinkUserResponse"
              }
            ]
          }
        }
      },
      "ThirdPartyIdentityLinkUserResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "UserId": {
            "type": "string",
            "format": "guid"
          },
          "Username": {
            "type": "string",
            "nullable": true
          },
          "FirstName": {
            "type": "string",
            "nullable": true
          },
          "LastName": {
            "type": "string",
            "nullable": true
          },
          "IdentityKeyToLink": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "IdentityProviderLinkRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Type": {
            "$ref": "#/components/schemas/EIdentityProviderType"
          },
          "IdentityToken": {
            "type": "string",
            "nullable": true
          },
          "IdentityUserId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EIdentityProviderType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Facebook",
          "MindbodyUniversal",
          "MindbodySubscriberConsumer",
          "MindbodySubscriberStaff",
          "Google"
        ],
        "enum": [
          0,
          1,
          2,
          3,
          4
        ]
      },
      "UserActionLink": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "format": "guid"
          },
          "Status": {
            "type": "string",
            "nullable": true
          },
          "StudioId": {
            "type": "integer",
            "format": "int32"
          },
          "MasterLocId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "User": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/UserData"
              }
            ]
          }
        }
      },
      "UserData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "FirstName": {
            "type": "string",
            "nullable": true
          },
          "LastName": {
            "type": "string",
            "nullable": true
          },
          "Email": {
            "type": "string",
            "nullable": true
          },
          "PhoneNumber": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CountryDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ID": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Code": {
            "type": "string",
            "nullable": true
          },
          "PhoneCode": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "StateOrProvinceDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ID": {
            "type": "integer",
            "format": "int32"
          },
          "CountryCode": {
            "type": "string",
            "nullable": true
          },
          "Code": {
            "type": "string",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CreateUserAttributionRequest": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "StudioIds",
          "AttributionType"
        ],
        "properties": {
          "StudioIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "AttributionType": {
            "type": "string",
            "minLength": 1
          },
          "SaleId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        }
      },
      "UserStudioAttribution": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "UserId": {
            "type": "integer",
            "format": "int32"
          },
          "StudioId": {
            "type": "integer",
            "format": "int32"
          },
          "AttributionType": {
            "type": "string",
            "nullable": true
          },
          "CreatedDateTimeUtc": {
            "type": "string",
            "format": "date-time"
          },
          "MBPlatform": {
            "type": "string",
            "nullable": true
          },
          "SaleId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        }
      },
      "UserModelWithAcceptanceState": {
        "allOf": [
          {
            "$ref": "#/components/schemas/UserModel"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "UserAgreementState": {
                "$ref": "#/components/schemas/EUserAgreementAcceptanceState"
              }
            }
          }
        ]
      },
      "UpdateClientSiteProfileRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Gender": {
            "type": "string",
            "nullable": true
          },
          "IsMale": {
            "type": "boolean"
          },
          "IsCompany": {
            "type": "boolean"
          },
          "FirstName": {
            "type": "string",
            "nullable": true
          },
          "MiddleName": {
            "type": "string",
            "nullable": true
          },
          "LastName": {
            "type": "string",
            "nullable": true
          },
          "Email": {
            "type": "string",
            "nullable": true
          },
          "AddressLine": {
            "type": "string",
            "nullable": true
          },
          "City": {
            "type": "string",
            "nullable": true
          },
          "State": {
            "type": "string",
            "nullable": true
          },
          "PostalCode": {
            "type": "string",
            "nullable": true
          },
          "Country": {
            "type": "string",
            "nullable": true
          },
          "MobilePhone": {
            "type": "string",
            "nullable": true
          },
          "HomePhone": {
            "type": "string",
            "nullable": true
          },
          "WorkPhone": {
            "type": "string",
            "nullable": true
          },
          "BirthDate": {
            "type": "string",
            "nullable": true
          },
          "ReferredBy": {
            "type": "string",
            "nullable": true
          },
          "EmailOptIn": {
            "type": "boolean"
          },
          "LiabilityRelease": {
            "type": "boolean"
          },
          "EmergencyContactInfoName": {
            "type": "string",
            "nullable": true
          },
          "EmergencyContactInfoRelationship": {
            "type": "string",
            "nullable": true
          },
          "EmergencyContactInfoPhone": {
            "type": "string",
            "nullable": true
          },
          "EmergencyContactInfoEmail": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ProfileImageResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "url": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "UserSiteDto2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "UserId": {
            "type": "integer",
            "format": "int32"
          },
          "SiteId": {
            "type": "integer",
            "format": "int32"
          },
          "SiteClientId": {
            "type": "integer",
            "format": "int64"
          },
          "SiteName": {
            "type": "string",
            "nullable": true
          },
          "OptedInToConnect": {
            "type": "boolean"
          }
        }
      },
      "UserBillingInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ID": {
            "type": "integer",
            "format": "int32"
          },
          "UserID": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "StreetAddress": {
            "type": "string",
            "nullable": true
          },
          "City": {
            "type": "string",
            "nullable": true
          },
          "State": {
            "type": "string",
            "nullable": true
          },
          "Country": {
            "type": "string",
            "nullable": true
          },
          "PostalCode": {
            "type": "string",
            "nullable": true
          },
          "CardType": {
            "type": "string",
            "nullable": true
          },
          "CardNumber": {
            "type": "string",
            "nullable": true
          },
          "CardLastFour": {
            "type": "string",
            "nullable": true
          },
          "ExpirationMonth": {
            "type": "string",
            "nullable": true
          },
          "ExpirationYear": {
            "type": "string",
            "nullable": true
          },
          "CVV": {
            "type": "string",
            "nullable": true
          },
          "PrimaryCard": {
            "type": "boolean"
          },
          "UserModel": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/UserModel"
              }
            ]
          },
          "IsAcceptedAtStudio": {
            "type": "boolean"
          }
        }
      },
      "VisitPost": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ClassId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "PaginatedResultOfVisit": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ResultCount": {
            "type": "integer",
            "format": "int64"
          },
          "PageCount": {
            "type": "integer",
            "format": "int32"
          },
          "PageSize": {
            "type": "integer",
            "format": "int32"
          },
          "CurrentPage": {
            "type": "integer",
            "format": "int32"
          },
          "Results": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Visit"
            }
          }
        }
      },
      "Visit": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ProgramType": {
            "type": "string",
            "nullable": true
          },
          "UserId": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "SiteVisitId": {
            "type": "integer",
            "format": "int64"
          },
          "Date": {
            "type": "string",
            "nullable": true
          },
          "StartTime": {
            "type": "string",
            "format": "duration",
            "nullable": true
          },
          "EndTime": {
            "type": "string",
            "format": "duration",
            "nullable": true
          },
          "Location": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LocationSmall"
              }
            ]
          },
          "Staff": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StaffSmall"
              }
            ]
          },
          "Assistants": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/StaffSmallest"
            }
          },
          "MaskStaff": {
            "type": "boolean"
          },
          "SeriesUsed": {
            "type": "string",
            "nullable": true
          },
          "ClassVisitDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ClassVisitDetails"
              }
            ]
          },
          "AppointmentDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AppointmentVisitDetails"
              }
            ]
          }
        }
      },
      "LocationSmall": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "SiteId": {
            "type": "integer",
            "format": "int32"
          },
          "SiteLocationId": {
            "type": "integer",
            "format": "int32"
          },
          "MasterLocationId": {
            "type": "integer",
            "format": "int32"
          },
          "SiteName": {
            "type": "string",
            "nullable": true
          },
          "LocationName": {
            "type": "string",
            "nullable": true
          },
          "Phone": {
            "type": "string",
            "nullable": true
          },
          "DatabaseName": {
            "type": "string",
            "nullable": true
          },
          "TimeZoneId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "StaffSmallest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int64"
          },
          "FirstName": {
            "type": "string",
            "nullable": true
          },
          "LastName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ClassVisitDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ClassId": {
            "type": "integer",
            "format": "int32"
          },
          "ClassInstanceId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ClassDescriptionId": {
            "type": "integer",
            "format": "int32"
          },
          "HasSubstituteStaff": {
            "type": "boolean"
          },
          "ClassImageUrl": {
            "type": "string",
            "nullable": true
          },
          "SignedIn": {
            "type": "boolean"
          },
          "Capacity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "NumberRegistered": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Waitlisting": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Waitlisting"
              }
            ]
          },
          "Room": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Room"
              }
            ]
          },
          "PrerequisiteNotes": {
            "type": "string",
            "nullable": true
          },
          "Category": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ClassCategory"
              }
            ]
          },
          "Subcategory": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ClassCategory"
              }
            ]
          },
          "TotalReviews": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "AverageReviewRating": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ClassLivestreamEnabled": {
            "type": "boolean",
            "deprecated": true,
            "x-deprecatedMessage": "Usage of this field is no longer recommended as it does not sufficiently reflect the possible configurations. See ContentFormats"
          },
          "ContentFormats": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EContentFormat"
            }
          },
          "LivestreamMeetingLink": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Waitlisting": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "WaitlistId": {
            "type": "integer",
            "format": "int32"
          },
          "WaitlistPosition": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "ClassCategory": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "AppointmentVisitDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "AppointmentTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "VisitDataId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "TypeGroup": {
            "type": "integer",
            "format": "int32"
          },
          "Statuses": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ConnectAppointmentStatus"
            }
          },
          "Notes": {
            "type": "string",
            "nullable": true
          },
          "Addons": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Addon"
            }
          }
        }
      },
      "Addon": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int64"
          },
          "ParentAppointmentId": {
            "type": "integer",
            "format": "int64"
          },
          "TypeGroupName": {
            "type": "string",
            "nullable": true
          },
          "AppointmentTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ClassVisitFilters": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Status": {
            "$ref": "#/components/schemas/EClassVisitStatusFilter"
          }
        }
      },
      "EClassVisitStatusFilter": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "None",
          "IsSignedIn"
        ],
        "enum": [
          0,
          1
        ]
      },
      "AddUserVisitRequest2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ClassId": {
            "type": "integer",
            "format": "int32"
          },
          "PaymentOptionId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "PaymentOptionSubscriberId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "MarketplaceUserMembershipId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          }
        }
      },
      "ClassVisit": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "UserID": {
            "type": "integer",
            "format": "int32"
          },
          "SiteID": {
            "type": "integer",
            "format": "int32"
          },
          "SiteLocationID": {
            "type": "integer",
            "format": "int32"
          },
          "MasterLocationID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "SiteName": {
            "type": "string",
            "nullable": true
          },
          "LocationName": {
            "type": "string",
            "nullable": true
          },
          "SiteVisitID": {
            "type": "integer",
            "format": "int64"
          },
          "ClassTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "ClassInstanceId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ClassName": {
            "type": "string",
            "nullable": true
          },
          "ClassDescription": {
            "type": "string",
            "nullable": true
          },
          "ClassImageUrl": {
            "type": "string",
            "nullable": true
          },
          "ClassDescriptionId": {
            "type": "integer",
            "format": "int32"
          },
          "Date": {
            "type": "string",
            "nullable": true
          },
          "StartTime": {
            "type": "string",
            "format": "duration",
            "nullable": true
          },
          "EndTime": {
            "type": "string",
            "format": "duration",
            "nullable": true
          },
          "StaffID": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "StaffFirstName": {
            "type": "string",
            "nullable": true
          },
          "StaffLastName": {
            "type": "string",
            "nullable": true
          },
          "StaffImageUrl": {
            "type": "string",
            "nullable": true
          },
          "AssistantID": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "AssistantFirstName": {
            "type": "string",
            "nullable": true
          },
          "AssistantLastName": {
            "type": "string",
            "nullable": true
          },
          "Assistant2ID": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "Assistant2FirstName": {
            "type": "string",
            "nullable": true
          },
          "Assistant2LastName": {
            "type": "string",
            "nullable": true
          },
          "RoomName": {
            "type": "string",
            "nullable": true
          },
          "StaffBio": {
            "type": "string",
            "nullable": true
          },
          "ClassPreReqNotes": {
            "type": "string",
            "nullable": true
          },
          "SignedIn": {
            "type": "boolean"
          },
          "WaitlistPosition": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "WaitlistID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Capacity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "NumberRegistered": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ProgramType": {
            "$ref": "#/components/schemas/EProgramType"
          },
          "TotalReviews": {
            "type": "integer",
            "format": "int32"
          },
          "AverageReviewRating": {
            "type": "number",
            "format": "double"
          },
          "ClassLivestreamEnabled": {
            "type": "boolean",
            "deprecated": true,
            "x-deprecatedMessage": "Usage of this field is no longer recommended as it does not sufficiently reflect the possible configurations. See ContentFormats"
          },
          "ContentFormats": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EContentFormat"
            }
          },
          "LivestreamMeetingLink": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "VisitCancellableStatusResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "isCancellable": {
            "type": "integer",
            "format": "int32"
          },
          "purchasedWithDynamicPricing": {
            "type": "boolean"
          }
        }
      },
      "AddUserEnrollmentRequest": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "ClassScheduleId"
        ],
        "properties": {
          "ClassScheduleId": {
            "type": "integer",
            "format": "int32"
          },
          "PaymentOptionId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "PaymentOptionSubscriberId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "MarketplaceUserMembershipId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          }
        }
      },
      "FetchAgreementVersionResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ConsumerAgreementId": {
            "type": "integer",
            "format": "int32"
          },
          "Title": {
            "type": "string",
            "nullable": true
          },
          "ConsumerAgreementVersionId": {
            "type": "integer",
            "format": "int32"
          },
          "MajorVersionNum": {
            "type": "integer",
            "format": "int32"
          },
          "MinorVersionNum": {
            "type": "integer",
            "format": "int32"
          },
          "AgreementText": {
            "type": "string",
            "nullable": true
          },
          "AgreementHash": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CreateAgreementSessionStateResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ConsumerUserAgreementSessionStateId": {
            "type": "integer",
            "format": "int64"
          },
          "ConsumerUserAgreementAcceptanceId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        }
      },
      "ConsumerUserAgreementSessionStatePostData": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ConsumerAgreementVersionId": {
            "type": "integer",
            "format": "int32"
          },
          "AgreementHash": {
            "type": "string",
            "nullable": true
          },
          "ConsumerUserAgreementState": {
            "$ref": "#/components/schemas/EUserAgreementState"
          },
          "IPAddress": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EUserAgreementState": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Unknown",
          "Shown",
          "Skipped",
          "Accepted",
          "Declined"
        ],
        "enum": [
          0,
          1,
          2,
          3,
          4
        ]
      },
      "CreateAgreementAcceptanceByEmailResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "UserId": {
            "type": "integer",
            "format": "int64"
          },
          "FirstName": {
            "type": "string",
            "nullable": true
          },
          "LastName": {
            "type": "string",
            "nullable": true
          },
          "Email": {
            "type": "string",
            "nullable": true
          },
          "AgreementAcceptanceId": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "CreateAgreementAcceptanceByEmailRequest": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Email"
        ],
        "properties": {
          "Email": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "FindAgreementAcceptanceStatusResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "AgreementId": {
            "type": "integer",
            "format": "int32"
          },
          "UserMembershipId": {
            "type": "string",
            "format": "guid"
          },
          "UserId": {
            "type": "integer",
            "format": "int32"
          },
          "State": {
            "$ref": "#/components/schemas/EUserAgreementAcceptanceState"
          }
        }
      }
    }
  }
}