{
  "swagger": "2.0",
  "info": {
    "title": "hugoHealth-Admin-Docs",
    "version": "1.0.0"
  },
  "basePath": "/admin/v1",
  "schemas": [
    "http"
  ],
  "paths": {
    "/user/register": {
      "post": {
        "tags": [
          "user"
        ],
        "description": "fetch data by /user/register",
        "produces": [
          "application/json"
        ],
        "consumes": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Body",
            "in": "body",
            "description": "please enter code",
            "required": false,
            "schema": {
              "$ref": "#/definitions/register"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "schema": {
              "$ref": "#/definitions/registerResponse"
            }
          },
          "400": {
            "description": "Bad request",
            "schema": {
              "$ref": "#/definitions/errorResponse"
            }
          }
        }
      }
    },
    "/user/login": {
      "post": {
        "tags": [
          "user"
        ],
        "description": "fetch data by /user/login",
        "produces": [
          "application/json"
        ],
        "consumes": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Body",
            "in": "body",
            "description": "please enter code",
            "required": false,
            "schema": {
              "$ref": "#/definitions/login"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "schema": {
              "$ref": "#/definitions/loginResponse"
            }
          },
          "400": {
            "description": "Bad request",
            "schema": {
              "$ref": "#/definitions/errorResponse"
            }
          }
        }
      }
    },
    "/specialization/createSpecialization": {
      "post": {
        "tags": [
          "specialization"
        ],
        "description": "fetch data by /specialization/createSpecialization",
        "produces": [
          "application/json"
        ],
        "consumes": [
          "multipart/form-data; boundary=--------------------------048820062158760650695735"
        ],
        "parameters": [
          {
            "name": "specialization",
            "in": "formData",
            "type": "string",
            "description": "please enter specialization",
            "required": false,
            "example": "Neurologist"
          },
          {
            "name": "image",
            "in": "formData",
            "type": "file",
            "description": "please enter image",
            "required": false,
            "example": ""
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "schema": {
              "$ref": "#/definitions/createSpecializationResponse"
            }
          },
          "400": {
            "description": "Bad request",
            "schema": {
              "$ref": "#/definitions/errorResponse"
            }
          }
        }
      }
    },
    "/specialization/updateSpecialization": {
      "post": {
        "tags": [
          "specialization"
        ],
        "description": "fetch data by /specialization/updateSpecialization",
        "produces": [
          "application/json"
        ],
        "consumes": [
          "multipart/form-data; boundary=--------------------------131435112939638661547822"
        ],
        "parameters": [
          {
            "name": "specialization",
            "in": "formData",
            "type": "string",
            "description": "please enter specialization",
            "required": false,
            "example": "Neurologist"
          },
          {
            "name": "id",
            "in": "formData",
            "type": "string",
            "description": "please enter id",
            "required": false,
            "example": "672ee8a93f18a7ffa0d944de"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "schema": {
              "$ref": "#/definitions/updateSpecializationResponse"
            }
          },
          "400": {
            "description": "Bad request",
            "schema": {
              "$ref": "#/definitions/errorResponse"
            }
          }
        }
      }
    },
    "/specialization/deleteSpecialization": {
      "post": {
        "tags": [
          "specialization"
        ],
        "description": "fetch data by /specialization/deleteSpecialization",
        "produces": [
          "application/json"
        ],
        "consumes": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Body",
            "in": "body",
            "description": "please enter code",
            "required": false,
            "schema": {
              "$ref": "#/definitions/deleteSpecialization"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "schema": {
              "$ref": "#/definitions/deleteSpecializationResponse"
            }
          },
          "400": {
            "description": "Bad request",
            "schema": {
              "$ref": "#/definitions/errorResponse"
            }
          }
        }
      }
    },
    "/specialization/readSpecialization": {
      "get": {
        "tags": [
          "specialization"
        ],
        "description": "fetch data by /specialization/readSpecialization",
        "produces": [
          "application/json"
        ],
        "consumes": [
          null
        ],
        "parameters": [
          {
            "name": "sortBy",
            "in": "query",
            "description": "please enter sortBy",
            "example": "specialization",
            "required": false
          },
          {
            "name": "sortOrder",
            "in": "query",
            "description": "please enter sortOrder",
            "example": "desc",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "schema": {
              "$ref": "#/definitions/readSpecializationResponse"
            }
          },
          "400": {
            "description": "Bad request",
            "schema": {
              "$ref": "#/definitions/errorResponse"
            }
          }
        }
      }
    },
    "/user/doctor-register": {
      "post": {
        "tags": [
          "user"
        ],
        "description": "fetch data by /user/doctor-register",
        "produces": [
          "application/json"
        ],
        "consumes": [
          "multipart/form-data; boundary=--------------------------974051526538983706290508"
        ],
        "parameters": [
          {
            "name": "registrationNumber",
            "in": "formData",
            "type": "string",
            "description": "please enter registrationNumber",
            "required": false,
            "example": "1"
          },
          {
            "name": "mobile",
            "in": "formData",
            "type": "string",
            "description": "please enter mobile",
            "required": false,
            "example": "1234567890"
          },
          {
            "name": "name",
            "in": "formData",
            "type": "string",
            "description": "please enter name",
            "required": false,
            "example": "sunil"
          },
          {
            "name": "specialization",
            "in": "formData",
            "type": "string",
            "description": "please enter specialization",
            "required": false,
            "example": "672de840f1085b1a071fd0f5"
          },
          {
            "name": "state",
            "in": "formData",
            "type": "string",
            "description": "please enter state",
            "required": false,
            "example": "Rajasthan"
          },
          {
            "name": "City",
            "in": "formData",
            "type": "string",
            "description": "please enter City",
            "required": false,
            "example": "Jaipur"
          },
          {
            "name": "Pincode",
            "in": "formData",
            "type": "string",
            "description": "please enter Pincode",
            "required": false,
            "example": "121122"
          },
          {
            "name": "Language",
            "in": "formData",
            "type": "string",
            "description": "please enter Language",
            "required": false,
            "example": "hindi"
          },
          {
            "name": "Gender",
            "in": "formData",
            "type": "string",
            "description": "please enter Gender",
            "required": false,
            "example": "male"
          },
          {
            "name": "Age",
            "in": "formData",
            "type": "string",
            "description": "please enter Age",
            "required": false,
            "example": "25"
          },
          {
            "name": "isClicnic",
            "in": "formData",
            "type": "string",
            "description": "please enter isClicnic",
            "required": false,
            "example": "false"
          },
          {
            "name": "images",
            "in": "formData",
            "type": "array",
            "description": "please enter images",
            "required": false,
            "example": [
              "doctor/images-1731147359449-444582321gym.jpeg",
              "doctor/images-1731147359450-339438618running.jpeg"
            ]
          },
          {
            "name": "uniqueNumber",
            "in": "formData",
            "type": "string",
            "description": "please enter uniqueNumber",
            "required": false,
            "example": "15581326235158"
          },
          {
            "name": "role",
            "in": "formData",
            "type": "string",
            "description": "please enter role",
            "required": false,
            "example": "doctor"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "schema": {
              "$ref": "#/definitions/doctor-registerResponse"
            }
          },
          "400": {
            "description": "Bad request",
            "schema": {
              "$ref": "#/definitions/errorResponse"
            }
          }
        }
      }
    },
    "/user/enable-disable-user": {
      "get": {
        "tags": [
          "user"
        ],
        "description": "fetch data by /user/enable-disable-user",
        "produces": [
          "application/json"
        ],
        "consumes": [
          null
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "please enter id",
            "example": "672f365face7ca0aeba58cd6",
            "required": false
          },
          {
            "name": "status",
            "in": "query",
            "description": "please enter status",
            "example": "false",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "schema": {
              "$ref": "#/definitions/enable-disable-userResponse"
            }
          },
          "400": {
            "description": "Bad request",
            "schema": {
              "$ref": "#/definitions/errorResponse"
            }
          }
        }
      }
    },
    "/user/user-list": {
      "get": {
        "tags": [
          "user"
        ],
        "description": "fetch data by /user/user-list",
        "produces": [
          "application/json"
        ],
        "consumes": [
          null
        ],
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "please enter search",
            "example": "sun",
            "required": false
          },
          {
            "name": "page",
            "in": "query",
            "description": "please enter page",
            "example": "1",
            "required": false
          },
          {
            "name": "perPage",
            "in": "query",
            "description": "please enter perPage",
            "example": "10",
            "required": false
          },
          {
            "name": "role",
            "in": "query",
            "description": "please enter role",
            "example": "doctor",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "schema": {
              "$ref": "#/definitions/user-listResponse"
            }
          },
          "400": {
            "description": "Bad request",
            "schema": {
              "$ref": "#/definitions/errorResponse"
            }
          }
        }
      }
    },
    "/search/getState": {
      "get": {
        "tags": [
          "search"
        ],
        "description": "fetch data by /search/getState",
        "produces": [
          "application/json"
        ],
        "consumes": [
          null
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response",
            "schema": {
              "$ref": "#/definitions/getStateResponse"
            }
          },
          "400": {
            "description": "Bad request",
            "schema": {
              "$ref": "#/definitions/errorResponse"
            }
          }
        }
      }
    },
    "/search/getCity": {
      "get": {
        "tags": [
          "search"
        ],
        "description": "fetch data by /search/getCity",
        "produces": [
          "application/json"
        ],
        "consumes": [
          null
        ],
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "please enter search",
            "example": "chu",
            "required": false
          },
          {
            "name": "id",
            "in": "query",
            "description": "please enter id",
            "example": "4014",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "schema": {
              "$ref": "#/definitions/getCityResponse"
            }
          },
          "400": {
            "description": "Bad request",
            "schema": {
              "$ref": "#/definitions/errorResponse"
            }
          }
        }
      }
    },
    "/appointment/offlineAppontment": {
      "get": {
        "tags": [
          "appointment"
        ],
        "description": "fetch data by /appointment/offlineAppontment",
        "produces": [
          "application/json"
        ],
        "consumes": [
          null
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response",
            "schema": {
              "$ref": "#/definitions/offlineAppontmentResponse"
            }
          },
          "400": {
            "description": "Bad request",
            "schema": {
              "$ref": "#/definitions/errorResponse"
            }
          }
        }
      }
    },
    "/appointment/onlineApponitment": {
      "get": {
        "tags": [
          "appointment"
        ],
        "description": "fetch data by /appointment/onlineApponitment",
        "produces": [
          "application/json"
        ],
        "consumes": [
          null
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response",
            "schema": {
              "$ref": "#/definitions/onlineApponitmentResponse"
            }
          },
          "400": {
            "description": "Bad request",
            "schema": {
              "$ref": "#/definitions/errorResponse"
            }
          }
        }
      }
    }
  },
  "definitions": {
    "errorResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "success status",
          "example": false
        },
        "message": {
          "type": "string",
          "description": "something is wrong",
          "example": "something is wrong"
        }
      }
    },
    "register": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "description": "Enter email",
          "example": "admin@gmail.com"
        },
        "password": {
          "type": "string",
          "description": "Enter password",
          "example": "$2a$10$2knkdyh0BMw/z5sD1ZMAPuOLrC5RD29HYWQLYGSCEI5TtFpOe0SH2"
        }
      }
    },
    "registerResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true",
          "example": true
        },
        "message": {
          "type": "string",
          "description": "Admin Registration successfull",
          "example": "Admin Registration successfull"
        },
        "data": {
          "type": "object",
          "description": "Successfully Data",
          "example": {
            "auth": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NzJkZWIyZGZiYzNjY2ZhODllNWU1MjMiLCJpYXQiOjE3MzEwNjI1NzN9.1d-jAeAf4_iQPphlJcr-WK0DPe_Ysfvm0HdfKshxSko"
          }
        }
      }
    },
    "login": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "description": "Enter email",
          "example": "admin@gmail.com"
        },
        "password": {
          "type": "string",
          "description": "Enter password",
          "example": "1"
        }
      }
    },
    "loginResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true",
          "example": true
        },
        "message": {
          "type": "string",
          "description": "Admin login Successfully.",
          "example": "Admin login Successfully."
        },
        "data": {
          "type": "object",
          "description": "Successfully Data",
          "example": {
            "userId": "672db56e521dfef6caaadf51",
            "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NzJkYjU2ZTUyMWRmZWY2Y2FhYWRmNTEiLCJpYXQiOjE3MzEwNTI3MjJ9._JlYqizap4EXsT5MO4XS7ziX5TC0yg4ka3lw9UFeaqY"
          }
        }
      }
    },
    "createSpecialization": {
      "type": "object",
      "properties": {
        "specialization": {
          "type": "string",
          "description": "Enter specialization",
          "example": "Neurologist"
        }
      }
    },
    "createSpecializationResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true",
          "example": true
        },
        "message": {
          "type": "undefined",
          "description": "undefined"
        },
        "data": {
          "type": "object",
          "description": "Successfully Data",
          "example": {
            "specialization": "Neurologist",
            "image": "specilization/image-1731127465486-938546165doctor-health-healthcare-hospital-medical-stethoscope-svgrepo-com.png",
            "isDeleted": false,
            "_id": "672ee8a93f18a7ffa0d944de",
            "createdAt": "2024-11-09T04:44:25.546Z",
            "updatedAt": "2024-11-09T04:44:25.546Z"
          }
        }
      }
    },
    "updateSpecialization": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Enter id",
          "example": "672de84b2f201e7ec54ad491"
        },
        "specialization": {
          "type": "string",
          "description": "Enter specialization",
          "example": "Radiology"
        }
      }
    },
    "updateSpecializationResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true",
          "example": true
        },
        "message": {
          "type": "undefined",
          "description": "undefined"
        },
        "data": {
          "type": "object",
          "description": "Successfully Data",
          "example": {
            "_id": "672ee8a93f18a7ffa0d944de",
            "specialization": "Neurologist",
            "image": "specilization/image-1731127465486-938546165doctor-health-healthcare-hospital-medical-stethoscope-svgrepo-com.png",
            "isDeleted": false,
            "createdAt": "2024-11-09T04:44:25.546Z",
            "updatedAt": "2024-11-09T04:47:31.301Z"
          }
        }
      }
    },
    "deleteSpecialization": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Enter id",
          "example": "672de84b2f201e7ec54ad491"
        }
      }
    },
    "deleteSpecializationResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true",
          "example": true
        },
        "message": {
          "type": "undefined",
          "description": "undefined"
        }
      }
    },
    "readSpecializationResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true",
          "example": true
        },
        "message": {
          "type": "string",
          "description": "Data fetch successfully",
          "example": "Data fetch successfully"
        },
        "data": {
          "type": "object",
          "description": "Successfully Data",
          "example": {
            "pagination": {
              "totalChildrenCount": 9,
              "totalPages": null,
              "page": null,
              "perPage": null
            },
            "documents": [
              {
                "_id": "672f28e3e84b44d5dc56cddc",
                "specialization": "psychiatrist",
                "image": "http://159.89.164.11:7677/uploads/specialization/image-1731300539062-846251714Screenshot (2) - Copy - Copy - Copy.png",
                "isDeleted": false,
                "createdAt": "2024-11-09T09:18:27.393Z",
                "updatedAt": "2024-11-11T05:00:13.965Z"
              },
              {
                "_id": "672ee2c260cb1fa7dddf0cfc",
                "specialization": "Veterinarian",
                "isDeleted": false,
                "createdAt": "2024-11-09T04:19:14.878Z",
                "updatedAt": "2024-11-09T04:19:14.878Z",
                "image": null
              },
              {
                "_id": "672de856a06bafe3d862c4cf",
                "specialization": "Psychiatry",
                "isDeleted": false,
                "createdAt": "2024-11-08T10:30:46.668Z",
                "updatedAt": "2024-11-08T10:30:46.668Z",
                "image": null
              },
              {
                "_id": "672dec57981dd43e81cb66d1",
                "specialization": "Pathology",
                "isDeleted": false,
                "createdAt": "2024-11-08T10:47:51.841Z",
                "updatedAt": "2024-11-08T10:47:51.841Z",
                "image": null
              },
              {
                "_id": "672ee2cf1aedfd9e10a582f9",
                "specialization": "Oncologist",
                "isDeleted": false,
                "createdAt": "2024-11-09T04:19:27.356Z",
                "updatedAt": "2024-11-09T04:19:27.356Z",
                "image": null
              },
              {
                "_id": "672de840f1085b1a071fd0f5",
                "specialization": "Hematology",
                "isDeleted": false,
                "createdAt": "2024-11-08T10:30:24.048Z",
                "updatedAt": "2024-11-08T10:30:24.048Z",
                "image": null
              },
              {
                "_id": "672ee2b7af32aa1cca8bf761",
                "specialization": "Gynecologist",
                "isDeleted": false,
                "createdAt": "2024-11-09T04:19:03.778Z",
                "updatedAt": "2024-11-09T04:19:03.778Z",
                "image": null
              },
              {
                "_id": "672deceefb33e2492ecdd661",
                "specialization": "Geriatrics",
                "isDeleted": false,
                "createdAt": "2024-11-08T10:50:22.133Z",
                "updatedAt": "2024-11-08T10:50:22.133Z",
                "image": null
              },
              {
                "_id": "672de82d2b2a1cdbbaaa8682",
                "specialization": "Gastroenterology",
                "isDeleted": false,
                "createdAt": "2024-11-08T10:30:05.178Z",
                "updatedAt": "2024-11-08T10:30:05.178Z",
                "image": null
              }
            ]
          }
        }
      }
    },
    "doctor-register": {
      "type": "object",
      "properties": {
        "registrationNumber": {
          "type": "number",
          "description": "Enter registrationNumber",
          "example": 1
        },
        "mobile": {
          "type": "string",
          "description": "Enter mobile",
          "example": "1234567890"
        },
        "name": {
          "type": "string",
          "description": "Enter name",
          "example": "sunil"
        },
        "specialization": {
          "type": "string",
          "description": "Enter specialization",
          "example": "672de840f1085b1a071fd0f5"
        },
        "state": {
          "type": "string",
          "description": "Enter state",
          "example": "Rajasthan"
        },
        "City": {
          "type": "string",
          "description": "Enter City",
          "example": "Jaipur"
        },
        "Pincode": {
          "type": "string",
          "description": "Enter Pincode",
          "example": "121122"
        },
        "Language": {
          "type": "string",
          "description": "Enter Language",
          "example": "hindi"
        },
        "Gender": {
          "type": "string",
          "description": "Enter Gender",
          "example": "male"
        },
        "Age": {
          "type": "number",
          "description": "Enter Age",
          "example": 25
        },
        "isClicnic": {
          "type": "boolean",
          "description": "Enter isClicnic",
          "example": false
        },
        "uniqueNumber": {
          "type": "string",
          "description": "Enter uniqueNumber",
          "example": "15581131208587"
        }
      }
    },
    "doctor-registerResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true",
          "example": true
        },
        "message": {
          "type": "string",
          "description": "User register Successfully.",
          "example": "User register Successfully."
        },
        "data": {
          "type": "object",
          "description": "Successfully Data",
          "example": {
            "uniqueNumber": "15581326235158",
            "registrationNumber": "1",
            "mobile": "1234567890",
            "role": "doctor",
            "name": "sunil",
            "specialization": "672de840f1085b1a071fd0f5",
            "state": "Rajasthan",
            "City": "Jaipur",
            "Pincode": "121122",
            "Language": "hindi",
            "Gender": "male",
            "Age": 25,
            "images": [
              "doctor/images-1731147359449-444582321gym.jpeg",
              "doctor/images-1731147359450-339438618running.jpeg"
            ],
            "isClicnic": false,
            "isDeleted": false,
            "isBlocked": false,
            "_id": "672f365face7ca0aeba58cd6",
            "createdAt": "2024-11-09T10:15:59.519Z",
            "updatedAt": "2024-11-09T10:15:59.519Z"
          }
        }
      }
    },
    "enable-disable-userResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true",
          "example": true
        },
        "message": {
          "type": "string",
          "description": "doctor Unblocked Successfully",
          "example": "doctor Unblocked Successfully"
        }
      }
    },
    "user-listResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true",
          "example": true
        },
        "message": {
          "type": "string",
          "description": "Data fetch successfully",
          "example": "Data fetch successfully"
        },
        "data": {
          "type": "object",
          "description": "Successfully Data",
          "example": {
            "pagination": {
              "totalChildrenCount": 1,
              "totalPages": 1,
              "page": 1,
              "perPage": 10
            },
            "documents": [
              {
                "_id": "672f365face7ca0aeba58cd6",
                "uniqueNumber": "15581326235158",
                "registrationNumber": "1",
                "mobile": "1234567890",
                "role": "doctor",
                "name": "sunil",
                "specialization": "672de840f1085b1a071fd0f5",
                "state": "Rajasthan",
                "City": "Jaipur",
                "Pincode": "121122",
                "Language": "hindi",
                "Gender": "male",
                "Age": 25,
                "images": [
                  "http://159.89.164.11:7677/uploads/doctor/images-1731147359449-444582321gym.jpeg",
                  "http://159.89.164.11:7677/uploads/doctor/images-1731147359450-339438618running.jpeg"
                ],
                "isClicnic": false,
                "isDeleted": false,
                "isBlocked": false,
                "createdAt": "2024-11-09T10:15:59.519Z",
                "updatedAt": "2024-11-09T11:17:49.073Z"
              }
            ]
          }
        }
      }
    },
    "getStateResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true",
          "example": true
        },
        "message": {
          "type": "string",
          "description": "Data fetch successfully",
          "example": "Data fetch successfully"
        },
        "data": {
          "type": "object",
          "description": "Successfully Data",
          "example": {
            "pagination": {
              "totalChildrenCount": 36,
              "totalPages": null,
              "page": null,
              "perPage": null
            },
            "documents": [
              {
                "_id": "6736d9a5b8486a79fb8de6b6",
                "id": 4023,
                "name": "Andaman and Nicobar Islands",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "AN",
                "type": "Union territory",
                "latitude": "11.74008670",
                "longitude": "92.65864010"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6b7",
                "id": 4017,
                "name": "Andhra Pradesh",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "AP",
                "type": "state",
                "latitude": "15.91289980",
                "longitude": "79.73998750"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6b8",
                "id": 4024,
                "name": "Arunachal Pradesh",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "AR",
                "type": "state",
                "latitude": "28.21799940",
                "longitude": "94.72775280"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6b9",
                "id": 4027,
                "name": "Assam",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "AS",
                "type": "state",
                "latitude": "26.20060430",
                "longitude": "92.93757390"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6ba",
                "id": 4037,
                "name": "Bihar",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "BR",
                "type": "state",
                "latitude": "25.09607420",
                "longitude": "85.31311940"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6bb",
                "id": 4031,
                "name": "Chandigarh",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "CH",
                "type": "Union territory",
                "latitude": "30.73331480",
                "longitude": "76.77941790"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6bc",
                "id": 4040,
                "name": "Chhattisgarh",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "CT",
                "type": "state",
                "latitude": "21.27865670",
                "longitude": "81.86614420"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6bd",
                "id": 4033,
                "name": "Dadra and Nagar Haveli and Daman and Diu",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "DH",
                "type": "Union territory",
                "latitude": "20.39737360",
                "longitude": "72.83279910"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6be",
                "id": 4021,
                "name": "Delhi",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "DL",
                "type": "Union territory",
                "latitude": "28.70405920",
                "longitude": "77.10249020"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6bf",
                "id": 4009,
                "name": "Goa",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "GA",
                "type": "state",
                "latitude": "15.29932650",
                "longitude": "74.12399600"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6c0",
                "id": 4030,
                "name": "Gujarat",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "GJ",
                "type": "state",
                "latitude": "22.25865200",
                "longitude": "71.19238050"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6c1",
                "id": 4007,
                "name": "Haryana",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "HR",
                "type": "state",
                "latitude": "29.05877570",
                "longitude": "76.08560100"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6c2",
                "id": 4020,
                "name": "Himachal Pradesh",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "HP",
                "type": "state",
                "latitude": "31.10482940",
                "longitude": "77.17339010"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6c3",
                "id": 4029,
                "name": "Jammu and Kashmir",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "JK",
                "type": "Union territory",
                "latitude": "33.27783900",
                "longitude": "75.34121790"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6c4",
                "id": 4025,
                "name": "Jharkhand",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "JH",
                "type": "state",
                "latitude": "23.61018080",
                "longitude": "85.27993540"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6c5",
                "id": 4026,
                "name": "Karnataka",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "KA",
                "type": "state",
                "latitude": "15.31727750",
                "longitude": "75.71388840"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6c6",
                "id": 4028,
                "name": "Kerala",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "KL",
                "type": "state",
                "latitude": "10.85051590",
                "longitude": "76.27108330"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6c7",
                "id": 4852,
                "name": "Ladakh",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "LA",
                "type": "Union territory",
                "latitude": "34.22684750",
                "longitude": "77.56194190"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6c8",
                "id": 4019,
                "name": "Lakshadweep",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "LD",
                "type": "Union territory",
                "latitude": "10.32802650",
                "longitude": "72.78463360"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6c9",
                "id": 4039,
                "name": "Madhya Pradesh",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "MP",
                "type": "state",
                "latitude": "22.97342290",
                "longitude": "78.65689420"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6ca",
                "id": 4008,
                "name": "Maharashtra",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "MH",
                "type": "state",
                "latitude": "19.75147980",
                "longitude": "75.71388840"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6cb",
                "id": 4010,
                "name": "Manipur",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "MN",
                "type": "state",
                "latitude": "24.66371730",
                "longitude": "93.90626880"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6cc",
                "id": 4006,
                "name": "Meghalaya",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "ML",
                "type": "state",
                "latitude": "25.46703080",
                "longitude": "91.36621600"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6cd",
                "id": 4036,
                "name": "Mizoram",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "MZ",
                "type": "state",
                "latitude": "23.16454300",
                "longitude": "92.93757390"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6ce",
                "id": 4018,
                "name": "Nagaland",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "NL",
                "type": "state",
                "latitude": "26.15843540",
                "longitude": "94.56244260"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6cf",
                "id": 4013,
                "name": "Odisha",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "OR",
                "type": "state",
                "latitude": "20.95166580",
                "longitude": "85.09852360"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6d0",
                "id": 4011,
                "name": "Puducherry",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "PY",
                "type": "Union territory",
                "latitude": "11.94159150",
                "longitude": "79.80831330"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6d1",
                "id": 4015,
                "name": "Punjab",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "PB",
                "type": "state",
                "latitude": "31.14713050",
                "longitude": "75.34121790"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6d2",
                "id": 4014,
                "name": "Rajasthan",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "RJ",
                "type": "state",
                "latitude": "27.02380360",
                "longitude": "74.21793260"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6d3",
                "id": 4034,
                "name": "Sikkim",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "SK",
                "type": "state",
                "latitude": "27.53297180",
                "longitude": "88.51221780"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6d4",
                "id": 4035,
                "name": "Tamil Nadu",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "TN",
                "type": "state",
                "latitude": "11.12712250",
                "longitude": "78.65689420"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6d5",
                "id": 4012,
                "name": "Telangana",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "TG",
                "type": "state",
                "latitude": "18.11243720",
                "longitude": "79.01929970"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6d6",
                "id": 4038,
                "name": "Tripura",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "TR",
                "type": "state",
                "latitude": "23.94084820",
                "longitude": "91.98815270"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6d7",
                "id": 4022,
                "name": "Uttar Pradesh",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "UP",
                "type": "state",
                "latitude": "26.84670880",
                "longitude": "80.94615920"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6d8",
                "id": 4016,
                "name": "Uttarakhand",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "UK",
                "type": "state",
                "latitude": "30.06675300",
                "longitude": "79.01929970"
              },
              {
                "_id": "6736d9a5b8486a79fb8de6d9",
                "id": 4853,
                "name": "West Bengal",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "state_code": "WB",
                "type": "state",
                "latitude": "22.98675690",
                "longitude": "87.85497550"
              }
            ]
          }
        }
      }
    },
    "getCityResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true",
          "example": true
        },
        "message": {
          "type": "string",
          "description": "Data fetch successfully",
          "example": "Data fetch successfully"
        },
        "data": {
          "type": "object",
          "description": "Successfully Data",
          "example": {
            "pagination": {
              "totalChildrenCount": 1,
              "totalPages": null,
              "page": null,
              "perPage": null
            },
            "documents": [
              {
                "_id": "6736db89b8486a79fb8df143",
                "id": 131614,
                "name": "Churu",
                "state_id": 4014,
                "state_code": "RJ",
                "state_name": "Rajasthan",
                "country_id": 101,
                "country_code": "IN",
                "country_name": "India",
                "latitude": "28.30415000",
                "longitude": "74.96718000",
                "wikiDataId": "Q1192416"
              }
            ]
          }
        }
      }
    },
    "offlineAppontmentResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true",
          "example": true
        },
        "message": {
          "type": "string",
          "description": "Data fetch successfully",
          "example": "Data fetch successfully"
        },
        "data": {
          "type": "object",
          "description": "Successfully Data",
          "example": {
            "pagination": {
              "totalChildrenCount": 1,
              "totalPages": null,
              "page": null,
              "perPage": null
            },
            "documents": [
              {
                "_id": "6735efe021b30335fe686b61",
                "doctorId": "672f365face7ca0aeba58cd6",
                "userId": "6735bc05a4a8be1302a92bea",
                "date": "2024-11-22T00:00:00.000Z",
                "slot": {
                  "start": "10:30",
                  "end": "10:40"
                },
                "type": "offline",
                "status": "booked",
                "createdAt": "2024-11-14T12:41:04.812Z",
                "updatedAt": "2024-11-14T12:52:01.742Z",
                "patientId": "6735cacdf3a370a2115d02f8",
                "doctor": {
                  "_id": "672f365face7ca0aeba58cd6",
                  "uniqueNumber": "15581326235158",
                  "registrationNumber": "1",
                  "mobile": "1234567890",
                  "role": "doctor",
                  "name": "sunil",
                  "specialization": "Hematology",
                  "state": "Rajasthan",
                  "City": "Jaipur",
                  "Pincode": "121122",
                  "Language": "hindi",
                  "Gender": "male",
                  "Age": 25,
                  "images": [
                    "doctor/images-1731147359449-444582321gym.jpeg",
                    "doctor/images-1731147359450-339438618running.jpeg"
                  ],
                  "isClicnic": false
                },
                "user": {
                  "_id": "6735bc05a4a8be1302a92bea",
                  "mobile": "8947027673",
                  "role": "user",
                  "images": []
                },
                "patient": {
                  "_id": "6735cacdf3a370a2115d02f8",
                  "name": "check",
                  "age": "21",
                  "gender": "male"
                }
              }
            ]
          }
        }
      }
    },
    "onlineAppontmentResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true",
          "example": true
        },
        "message": {
          "type": "string",
          "description": "Data fetch successfully",
          "example": "Data fetch successfully"
        },
        "data": {
          "type": "object",
          "description": "Successfully Data",
          "example": {
            "pagination": {
              "totalChildrenCount": 3,
              "totalPages": null,
              "page": null,
              "perPage": null
            },
            "documents": [
              {
                "_id": "67456c0da7e37499e9feab37",
                "patientId": "6735cacdf3a370a2115d02f8",
                "userId": "6735bc05a4a8be1302a92bea",
                "type": "online",
                "status": "accepted",
                "doctorAttempts": [
                  {
                    "doctorId": "673ed1b2bb53d40d5e3bea88",
                    "status": "accepted",
                    "_id": "67456c0da7e37499e9feab3b",
                    "notifiedAt": "2024-11-26T06:34:53.229Z",
                    "respondedAt": "2024-11-26T06:35:26.284Z",
                    "doctorName": "check"
                  }
                ],
                "doctor": {
                  "_id": "673ed1b2bb53d40d5e3bea88",
                  "uniqueNumber": "15590531464867",
                  "registrationNumber": "677",
                  "mobile": "9876543210",
                  "role": "doctor",
                  "name": "check",
                  "specialization": "Gynecologist",
                  "state": "6736d9a5b8486a79fb8de6c1",
                  "City": "6736db89b8486a79fb8dea6b",
                  "Pincode": "234567",
                  "Language": "hindi",
                  "Gender": "male",
                  "Age": 34,
                  "images": [],
                  "isClicnic": false
                },
                "user": {
                  "_id": "6735bc05a4a8be1302a92bea",
                  "mobile": "8947027673",
                  "role": "user",
                  "images": []
                },
                "patient": {
                  "_id": "6735cacdf3a370a2115d02f8",
                  "name": "check",
                  "age": "21",
                  "gender": "male"
                }
              },
              {
                "_id": "673c82bfa3b7742d05a64d3d",
                "patientId": "6735cacdf3a370a2115d02f8",
                "userId": "6735bc05a4a8be1302a92bea",
                "type": "online",
                "status": "not-accepted",
                "doctorAttempts": [
                  {
                    "doctorId": "672f365face7ca0aeba58cd6",
                    "status": "declined",
                    "_id": "673c82bfa3b7742d05a64d41",
                    "notifiedAt": "2024-11-19T12:21:19.361Z",
                    "respondedAt": "2024-11-19T12:21:42.238Z",
                    "doctorName": "sunil"
                  },
                  {
                    "doctorId": "67330533dfe21a6e6ebc3ded",
                    "status": "timed-out",
                    "_id": "673c82d6a3b7742d05a64d4a",
                    "notifiedAt": "2024-11-19T12:21:42.386Z",
                    "doctorName": "IMG COLOR1"
                  }
                ],
                "user": {
                  "_id": "6735bc05a4a8be1302a92bea",
                  "mobile": "8947027673",
                  "role": "user",
                  "images": []
                },
                "patient": {
                  "_id": "6735cacdf3a370a2115d02f8",
                  "name": "check",
                  "age": "21",
                  "gender": "male"
                }
              },
              {
                "_id": "673c825ca3b7742d05a64d22",
                "patientId": "6735cacdf3a370a2115d02f8",
                "userId": "6735bc05a4a8be1302a92bea",
                "type": "online",
                "status": "not-accepted",
                "doctorAttempts": [
                  {
                    "doctorId": "672f365face7ca0aeba58cd6",
                    "status": "declined",
                    "_id": "673c825ca3b7742d05a64d26",
                    "notifiedAt": "2024-11-19T12:19:40.645Z",
                    "respondedAt": "2024-11-19T12:20:03.793Z",
                    "doctorName": "sunil"
                  },
                  {
                    "doctorId": "673734f3e21b1a4ce5f299f3",
                    "status": "timed-out",
                    "_id": "673c8273a3b7742d05a64d2f",
                    "notifiedAt": "2024-11-19T12:20:03.938Z",
                    "doctorName": "test"
                  }
                ],
                "user": {
                  "_id": "6735bc05a4a8be1302a92bea",
                  "mobile": "8947027673",
                  "role": "user",
                  "images": []
                },
                "patient": {
                  "_id": "6735cacdf3a370a2115d02f8",
                  "name": "check",
                  "age": "21",
                  "gender": "male"
                }
              }
            ]
          }
        }
      }
    },
    "onlineApponitmentResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true",
          "example": true
        },
        "message": {
          "type": "string",
          "description": "Data fetch successfully",
          "example": "Data fetch successfully"
        },
        "data": {
          "type": "object",
          "description": "Successfully Data",
          "example": {
            "pagination": {
              "totalChildrenCount": 3,
              "totalPages": null,
              "page": null,
              "perPage": null
            },
            "documents": [
              {
                "_id": "67456c0da7e37499e9feab37",
                "patientId": "6735cacdf3a370a2115d02f8",
                "userId": "6735bc05a4a8be1302a92bea",
                "type": "online",
                "status": "accepted",
                "doctorAttempts": [
                  {
                    "doctorId": "673ed1b2bb53d40d5e3bea88",
                    "status": "accepted",
                    "_id": "67456c0da7e37499e9feab3b",
                    "notifiedAt": "2024-11-26T06:34:53.229Z",
                    "respondedAt": "2024-11-26T06:35:26.284Z",
                    "doctorName": "check"
                  }
                ],
                "doctor": {
                  "_id": "673ed1b2bb53d40d5e3bea88",
                  "uniqueNumber": "15590531464867",
                  "registrationNumber": "677",
                  "mobile": "9876543210",
                  "role": "doctor",
                  "name": "check",
                  "specialization": "Gynecologist",
                  "state": "6736d9a5b8486a79fb8de6c1",
                  "City": "6736db89b8486a79fb8dea6b",
                  "Pincode": "234567",
                  "Language": "hindi",
                  "Gender": "male",
                  "Age": 34,
                  "images": [],
                  "isClicnic": false
                },
                "user": {
                  "_id": "6735bc05a4a8be1302a92bea",
                  "mobile": "8947027673",
                  "role": "user",
                  "images": []
                },
                "patient": {
                  "_id": "6735cacdf3a370a2115d02f8",
                  "name": "check",
                  "age": "21",
                  "gender": "male"
                }
              },
              {
                "_id": "673c82bfa3b7742d05a64d3d",
                "patientId": "6735cacdf3a370a2115d02f8",
                "userId": "6735bc05a4a8be1302a92bea",
                "type": "online",
                "status": "not-accepted",
                "doctorAttempts": [
                  {
                    "doctorId": "672f365face7ca0aeba58cd6",
                    "status": "declined",
                    "_id": "673c82bfa3b7742d05a64d41",
                    "notifiedAt": "2024-11-19T12:21:19.361Z",
                    "respondedAt": "2024-11-19T12:21:42.238Z",
                    "doctorName": "sunil"
                  },
                  {
                    "doctorId": "67330533dfe21a6e6ebc3ded",
                    "status": "timed-out",
                    "_id": "673c82d6a3b7742d05a64d4a",
                    "notifiedAt": "2024-11-19T12:21:42.386Z",
                    "doctorName": "IMG COLOR1"
                  }
                ],
                "user": {
                  "_id": "6735bc05a4a8be1302a92bea",
                  "mobile": "8947027673",
                  "role": "user",
                  "images": []
                },
                "patient": {
                  "_id": "6735cacdf3a370a2115d02f8",
                  "name": "check",
                  "age": "21",
                  "gender": "male"
                }
              },
              {
                "_id": "673c825ca3b7742d05a64d22",
                "patientId": "6735cacdf3a370a2115d02f8",
                "userId": "6735bc05a4a8be1302a92bea",
                "type": "online",
                "status": "not-accepted",
                "doctorAttempts": [
                  {
                    "doctorId": "672f365face7ca0aeba58cd6",
                    "status": "declined",
                    "_id": "673c825ca3b7742d05a64d26",
                    "notifiedAt": "2024-11-19T12:19:40.645Z",
                    "respondedAt": "2024-11-19T12:20:03.793Z",
                    "doctorName": "sunil"
                  },
                  {
                    "doctorId": "673734f3e21b1a4ce5f299f3",
                    "status": "timed-out",
                    "_id": "673c8273a3b7742d05a64d2f",
                    "notifiedAt": "2024-11-19T12:20:03.938Z",
                    "doctorName": "test"
                  }
                ],
                "user": {
                  "_id": "6735bc05a4a8be1302a92bea",
                  "mobile": "8947027673",
                  "role": "user",
                  "images": []
                },
                "patient": {
                  "_id": "6735cacdf3a370a2115d02f8",
                  "name": "check",
                  "age": "21",
                  "gender": "male"
                }
              }
            ]
          }
        }
      }
    }
  }
}