{"openapi":"3.1.0","info":{"title":"Authentication API app","version":"0.1.0"},"paths":{"/login":{"post":{"tags":["authentication"],"summary":"Login","description":"Login user and return tokens.","operationId":"login_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GResponse_LoginResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/logout":{"post":{"tags":["authentication"],"summary":"Logout","description":"Logout user by invalidating refresh tokens and all FCM registrations.","operationId":"logout_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GResponse_NoneType_"}}}}},"security":[{"HTTPBearer":[]}]}},"/verify-otp":{"post":{"tags":["authentication"],"summary":"Verify Otp","description":"Verify OTP and return tokens.","operationId":"verify_otp_verify_otp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyOTPRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GResponse_VerifyOTPResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/refresh-token":{"post":{"tags":["authentication"],"summary":"Refresh Token","description":"Refresh access and refresh tokens.","operationId":"refresh_token_refresh_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshTokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GResponse_Token_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/register":{"post":{"tags":["authentication"],"summary":"Register","description":"Register a new user and return tokens.","operationId":"register_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistrerationRequestSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GResponse_LoginResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/view/token":{"get":{"tags":["authentication"],"summary":"Get Web View Token","description":"Generate a web view token for the current user.","operationId":"get_web_view_token_view_token_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"artist_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Artist Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GResponse_WebTokenResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/token":{"post":{"tags":["authentication"],"summary":"Verify Web View Token","description":"Verify a web view token and return access token for API operations.","operationId":"verify_web_view_token_verify_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebTokenVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GResponse_VerifyWebView_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/temp/generate-a-token":{"post":{"tags":["authentication"],"summary":"Generate Temp Token","description":"Generate a temporary access token for testing purposes.","operationId":"generate_temp_token_temp_generate_a_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TempTokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GResponse_AccessTokenOnly_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple-otp/send":{"post":{"tags":["simple-otp"],"summary":"Send Simple Otp","description":"Send an OTP for simple phone verification flows.","operationId":"send_simple_otp_simple_otp_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleOTPSendRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GResponse_SimpleOTPSendResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/simple-otp/verify":{"post":{"tags":["simple-otp"],"summary":"Verify Simple Otp","description":"Verify an OTP and return a signed verification proof.","operationId":"verify_simple_otp_simple_otp_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleOTPVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GResponse_SimpleOTPVerifyResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me":{"get":{"tags":["users"],"summary":"Get Me","description":"Return the authenticated user's profile.","operationId":"get_me_users_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GResponse_UserSchema_"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["users"],"summary":"Update Me","description":"Update the authenticated user's profile.","operationId":"update_me_users_me_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileUpdateRequestSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GResponse_UserSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/users/suggest-ghandles":{"get":{"tags":["users"],"summary":"Suggest Ghandles","description":"Suggest available ghandles for the authenticated user.","operationId":"suggest_ghandles_users_suggest_ghandles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GResponse_GHandleSuggestionRead_"}}}}},"security":[{"HTTPBearer":[]}]}},"/users/{user_id}":{"get":{"tags":["users"],"summary":"Get User By Id","description":"Fetch a user by ID.","operationId":"get_user_by_id_users__user_id__get","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GResponse_UserRead_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"tags":["Health"],"summary":"Health Check","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"tags":["auth"],"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"APP_TYPE":{"type":"integer","enum":[1,2,3,4,5,6,7,20,99],"title":"APP_TYPE"},"AccessTokenOnly":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["access_token","created_at","expires_at"],"title":"AccessTokenOnly"},"ArtistsChatTokenSchema":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"},"artistId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artistid"},"channel":{"anyOf":[{"$ref":"#/components/schemas/ChatChannelRef"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expiresat"},"artistToken":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artisttoken","description":"Computed property to return the artist token.","readOnly":true}},"type":"object","required":["artistToken"],"title":"ArtistsChatTokenSchema","description":"Validated chat details returned from the artist JSONB payload."},"ArtistsFeedTokenSchema":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"},"artistId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artistid"},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expiresat"},"artistToken":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artisttoken","description":"Computed property to return the artist token.","readOnly":true},"user":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User","description":"Computed property to return the artist identifier.","readOnly":true}},"type":"object","required":["artistToken","user"],"title":"ArtistsFeedTokenSchema","description":"Validated chat details returned from the artist JSONB payload."},"ChatChannelRef":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"id":{"type":"string","title":"Id","description":"The Stream channel id"},"cid":{"type":"string","title":"Cid","description":"The Stream channel cid (``type:id``)"}},"type":"object","required":["id","cid"],"title":"ChatChannelRef","description":"Minimal reference to a Stream chat channel (identifiers only)."},"ErrorDetailSchema":{"properties":{"error_code":{"type":"string","title":"Error Code","description":"Machine-readable error code (e.g., VALIDATION_ERROR, JWT_EXPIRED)"},"error_type":{"type":"string","title":"Error Type","description":"Exception class name or error category"},"details":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Details","description":"Additional error details (e.g., validation field errors)"}},"additionalProperties":false,"type":"object","required":["error_code","error_type"],"title":"ErrorDetailSchema","description":"Detailed error information for API responses."},"GHandleSuggestionRead":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"suggestions":{"items":{"type":"string"},"type":"array","title":"Suggestions"}},"type":"object","required":["suggestions"],"title":"GHandleSuggestionRead","description":"Schema for reading g_handle suggestions (response model)."},"GResponse_AccessTokenOnly_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"message":{"type":"string","title":"Message","default":"Request processed successfully"},"status":{"type":"integer","title":"Status","default":200},"data":{"anyOf":[{"$ref":"#/components/schemas/AccessTokenOnly"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/components/schemas/ErrorDetailSchema"},{"type":"null"}],"description":"Error details when success=False"}},"additionalProperties":false,"type":"object","title":"GResponse[AccessTokenOnly]"},"GResponse_GHandleSuggestionRead_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"message":{"type":"string","title":"Message","default":"Request processed successfully"},"status":{"type":"integer","title":"Status","default":200},"data":{"anyOf":[{"$ref":"#/components/schemas/GHandleSuggestionRead"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/components/schemas/ErrorDetailSchema"},{"type":"null"}],"description":"Error details when success=False"}},"additionalProperties":false,"type":"object","title":"GResponse[GHandleSuggestionRead]"},"GResponse_LoginResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"message":{"type":"string","title":"Message","default":"Request processed successfully"},"status":{"type":"integer","title":"Status","default":200},"data":{"anyOf":[{"$ref":"#/components/schemas/LoginResponse"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/components/schemas/ErrorDetailSchema"},{"type":"null"}],"description":"Error details when success=False"}},"additionalProperties":false,"type":"object","title":"GResponse[LoginResponse]"},"GResponse_NoneType_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"message":{"type":"string","title":"Message","default":"Request processed successfully"},"status":{"type":"integer","title":"Status","default":200},"data":{"type":"null","title":"Data"},"error":{"anyOf":[{"$ref":"#/components/schemas/ErrorDetailSchema"},{"type":"null"}],"description":"Error details when success=False"}},"additionalProperties":false,"type":"object","title":"GResponse[NoneType]"},"GResponse_SimpleOTPSendResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"message":{"type":"string","title":"Message","default":"Request processed successfully"},"status":{"type":"integer","title":"Status","default":200},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleOTPSendResponse"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/components/schemas/ErrorDetailSchema"},{"type":"null"}],"description":"Error details when success=False"}},"additionalProperties":false,"type":"object","title":"GResponse[SimpleOTPSendResponse]"},"GResponse_SimpleOTPVerifyResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"message":{"type":"string","title":"Message","default":"Request processed successfully"},"status":{"type":"integer","title":"Status","default":200},"data":{"anyOf":[{"$ref":"#/components/schemas/SimpleOTPVerifyResponse"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/components/schemas/ErrorDetailSchema"},{"type":"null"}],"description":"Error details when success=False"}},"additionalProperties":false,"type":"object","title":"GResponse[SimpleOTPVerifyResponse]"},"GResponse_Token_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"message":{"type":"string","title":"Message","default":"Request processed successfully"},"status":{"type":"integer","title":"Status","default":200},"data":{"anyOf":[{"$ref":"#/components/schemas/Token"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/components/schemas/ErrorDetailSchema"},{"type":"null"}],"description":"Error details when success=False"}},"additionalProperties":false,"type":"object","title":"GResponse[Token]"},"GResponse_UserRead_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"message":{"type":"string","title":"Message","default":"Request processed successfully"},"status":{"type":"integer","title":"Status","default":200},"data":{"anyOf":[{"$ref":"#/components/schemas/UserRead"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/components/schemas/ErrorDetailSchema"},{"type":"null"}],"description":"Error details when success=False"}},"additionalProperties":false,"type":"object","title":"GResponse[UserRead]"},"GResponse_UserSchema_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"message":{"type":"string","title":"Message","default":"Request processed successfully"},"status":{"type":"integer","title":"Status","default":200},"data":{"anyOf":[{"$ref":"#/components/schemas/UserSchema"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/components/schemas/ErrorDetailSchema"},{"type":"null"}],"description":"Error details when success=False"}},"additionalProperties":false,"type":"object","title":"GResponse[UserSchema]"},"GResponse_VerifyOTPResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"message":{"type":"string","title":"Message","default":"Request processed successfully"},"status":{"type":"integer","title":"Status","default":200},"data":{"anyOf":[{"$ref":"#/components/schemas/VerifyOTPResponse"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/components/schemas/ErrorDetailSchema"},{"type":"null"}],"description":"Error details when success=False"}},"additionalProperties":false,"type":"object","title":"GResponse[VerifyOTPResponse]"},"GResponse_VerifyWebView_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"message":{"type":"string","title":"Message","default":"Request processed successfully"},"status":{"type":"integer","title":"Status","default":200},"data":{"anyOf":[{"$ref":"#/components/schemas/VerifyWebView"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/components/schemas/ErrorDetailSchema"},{"type":"null"}],"description":"Error details when success=False"}},"additionalProperties":false,"type":"object","title":"GResponse[VerifyWebView]"},"GResponse_WebTokenResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"message":{"type":"string","title":"Message","default":"Request processed successfully"},"status":{"type":"integer","title":"Status","default":200},"data":{"anyOf":[{"$ref":"#/components/schemas/WebTokenResponse"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/components/schemas/ErrorDetailSchema"},{"type":"null"}],"description":"Error details when success=False"}},"additionalProperties":false,"type":"object","title":"GResponse[WebTokenResponse]"},"GdpZoneSchema":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat"},"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"currency":{"type":"string","title":"Currency"},"symbol":{"type":"string","title":"Symbol"},"ratio":{"type":"integer","title":"Ratio","default":1},"conversionRate":{"type":"number","title":"Conversionrate","default":1.0},"paymentGateway":{"type":"integer","title":"Paymentgateway","default":1},"paymentGatewayDivisor":{"type":"integer","title":"Paymentgatewaydivisor","default":100},"charges":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Charges"},"countries":{"items":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}]},"type":"array","title":"Countries"}},"type":"object","required":["id","name","currency","symbol"],"title":"GdpZoneSchema","description":"GDP zone response schema."},"GenderEnum":{"type":"integer","enum":[1,2,3,4],"title":"GenderEnum"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LoginRequest":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"phoneNumber":{"type":"string","title":"Phonenumber"},"platform":{"$ref":"#/components/schemas/PLATFORM_TYPE"},"appType":{"$ref":"#/components/schemas/APP_TYPE"},"referralId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Referralid"},"acquisitionData":{"anyOf":[{"$ref":"#/components/schemas/UserAcquisitionInputSchema"},{"type":"null"}]}},"type":"object","required":["phoneNumber","platform","appType"],"title":"LoginRequest"},"LoginResponse":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"message":{"type":"string","title":"Message"},"requestId":{"type":"string","format":"uuid","title":"Requestid"},"platform":{"$ref":"#/components/schemas/PLATFORM_TYPE"},"appType":{"$ref":"#/components/schemas/APP_TYPE"},"isNewUser":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isnewuser"}},"type":"object","required":["message","requestId","platform","appType"],"title":"LoginResponse"},"PLATFORM_TYPE":{"type":"integer","enum":[1,2,3,99],"title":"PLATFORM_TYPE"},"PaymentGatewayType":{"type":"integer","enum":[0,1,2,3,4],"title":"PaymentGatewayType"},"PaymentMethodType":{"type":"integer","enum":[1,2,3,4,5,6],"title":"PaymentMethodType"},"PlaybackConsumptionSummary":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"totalStreamedSeconds":{"type":"integer","title":"Totalstreamedseconds","default":0},"totalCompletedSessions":{"type":"integer","title":"Totalcompletedsessions","default":0},"lastStreamedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Laststreamedat"},"remainingStreamSeconds":{"type":"integer","title":"Remainingstreamseconds","readOnly":true},"hasExceededFreeLimit":{"type":"boolean","title":"Hasexceededfreelimit","readOnly":true},"totalAllowedFreeStreamSeconds":{"type":"integer","title":"Totalallowedfreestreamseconds","readOnly":true}},"type":"object","required":["remainingStreamSeconds","hasExceededFreeLimit","totalAllowedFreeStreamSeconds"],"title":"PlaybackConsumptionSummary"},"RefreshTokenRequest":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"RefreshTokenRequest"},"RegistrerationRequestSchema":{"properties":{"phone_number":{"type":"string","pattern":"^\\+[1-9]\\d{9,14}$","title":"Phone Number","description":"Phone number in E.164 format, e.g. +1234567890"},"email":{"type":"string","format":"email","title":"Email"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"dob":{"type":"string","format":"date","title":"Dob"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"referralCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Referralcode"},"platform":{"$ref":"#/components/schemas/PLATFORM_TYPE"},"appType":{"$ref":"#/components/schemas/APP_TYPE"},"acquisitionData":{"anyOf":[{"$ref":"#/components/schemas/UserAcquisitionInputSchema"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["phone_number","email","first_name","last_name","dob","gender","platform","appType"],"title":"RegistrerationRequestSchema","description":"Input schema for user registration."},"SimpleOTPSendRequest":{"properties":{"phoneNumber":{"type":"string","pattern":"^\\+[1-9]\\d{9,14}$","title":"Phonenumber","description":"Phone number in E.164 format, e.g. +1234567890"}},"additionalProperties":false,"type":"object","required":["phoneNumber"],"title":"SimpleOTPSendRequest"},"SimpleOTPSendResponse":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"requestId":{"type":"string","format":"uuid","title":"Requestid"},"phoneNumber":{"type":"string","title":"Phonenumber"}},"type":"object","required":["requestId","phoneNumber"],"title":"SimpleOTPSendResponse"},"SimpleOTPVerifyRequest":{"properties":{"phoneNumber":{"type":"string","pattern":"^\\+[1-9]\\d{9,14}$","title":"Phonenumber","description":"Phone number in E.164 format, e.g. +1234567890"},"requestId":{"type":"string","format":"uuid","title":"Requestid"},"otp":{"type":"integer","title":"Otp"}},"additionalProperties":false,"type":"object","required":["phoneNumber","requestId","otp"],"title":"SimpleOTPVerifyRequest"},"SimpleOTPVerifyResponse":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"requestId":{"type":"string","format":"uuid","title":"Requestid"},"phoneNumber":{"type":"string","title":"Phonenumber"},"verificationToken":{"type":"string","title":"Verificationtoken"},"verified":{"type":"boolean","title":"Verified","default":true}},"type":"object","required":["requestId","phoneNumber","verificationToken"],"title":"SimpleOTPVerifyResponse"},"StudioRoleFullSchema":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id"},"role":{"$ref":"#/components/schemas/StudioRoleTypeEnum"},"user":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"artist":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"type":"object","required":["id","role"],"title":"StudioRoleFullSchema","description":"Schema representing a studio role with associated user info."},"StudioRoleModel":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"role":{"$ref":"#/components/schemas/StudioRoleTypeEnum"},"createdAt":{"type":"string","format":"date-time","title":"Createdat"},"updatedAt":{"type":"string","format":"date-time","title":"Updatedat"}},"type":"object","required":["id","role","createdAt","updatedAt"],"title":"StudioRoleModel"},"StudioRoleTypeEnum":{"type":"integer","enum":[1,2,3,4],"title":"StudioRoleTypeEnum"},"SubscriptionPlanResponseSchema":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat"},"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"notes":{"items":{"type":"string"},"type":"array","title":"Notes"},"isVisible":{"type":"boolean","title":"Isvisible","default":true},"isEnabled":{"type":"boolean","title":"Isenabled","default":true},"isFree":{"type":"boolean","title":"Isfree","default":false},"position":{"type":"integer","title":"Position","default":0},"paymentGateway":{"type":"integer","title":"Paymentgateway","default":1},"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Config"},"couponOnly":{"type":"boolean","title":"Coupononly","default":false},"artistPlan":{"type":"boolean","title":"Artistplan","default":false},"gdpZones":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Gdpzones"}},"type":"object","required":["id","name"],"title":"SubscriptionPlanResponseSchema","description":"Subscription plan response."},"SubscriptionTypeEnum":{"type":"integer","enum":[1,2],"title":"SubscriptionTypeEnum"},"TempTokenRequest":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"platform":{"$ref":"#/components/schemas/PLATFORM_TYPE"},"appType":{"$ref":"#/components/schemas/APP_TYPE"}},"type":"object","required":["platform","appType"],"title":"TempTokenRequest"},"Token":{"properties":{"access_token":{"type":"string","title":"Access Token"},"refresh_token":{"type":"string","title":"Refresh Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"}},"type":"object","required":["access_token","refresh_token"],"title":"Token"},"USER_TAX_TYPE":{"type":"string","enum":["GST","VAT","EIN","OTHER"],"title":"USER_TAX_TYPE"},"UserAcquisitionInputSchema":{"properties":{"utm_source":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Utm Source"},"utm_medium":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Utm Medium"},"utm_campaign":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Utm Campaign"},"utm_content":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Utm Content"},"utm_term":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Utm Term"},"referral_code":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Referral Code"},"landing_page":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Landing Page"}},"additionalProperties":false,"type":"object","title":"UserAcquisitionInputSchema"},"UserProfileUpdateRequestSchema":{"properties":{"firstName":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Firstname"},"lastName":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Lastname"},"email":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Email"},"gender":{"anyOf":[{"$ref":"#/components/schemas/GenderEnum"},{"type":"null"}]},"dob":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Dob"},"profilePicture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profilepicture"},"contentLanguages":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Contentlanguages"},"likedGenres":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Likedgenres"},"gHandle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ghandle"},"likedArtists":{"anyOf":[{"items":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}]},"type":"array"},{"type":"null"}],"title":"Likedartists"},"acquisitionData":{"anyOf":[{"$ref":"#/components/schemas/UserAcquisitionInputSchema"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"UserProfileUpdateRequestSchema","description":"Input schema for updating user profile."},"UserRead":{"properties":{"createdAt":{"type":"string","format":"date-time","title":"Createdat"},"updatedAt":{"type":"string","format":"date-time","title":"Updatedat"},"deleted":{"type":"boolean","title":"Deleted","default":false},"id":{"type":"string","format":"uuid","title":"Id"},"email":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Email"},"phone_number":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Phone Number"},"username":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Username"},"g_handle":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"G Handle"},"gender":{},"dob":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Dob"},"first_name":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Last Name"},"profile_picture":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Profile Picture"},"content_languages":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Content Languages"},"liked_genres":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Liked Genres"},"rzp_customer_id":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Rzp Customer Id"},"verified":{"type":"boolean","title":"Verified","default":false},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"is_active":{"type":"boolean","title":"Is Active","default":true},"is_superuser":{"type":"boolean","title":"Is Superuser","default":false},"country_code":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Country Code","default":"IN"},"city":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"City"},"total_followers":{"type":"integer","title":"Total Followers","default":0},"total_following":{"type":"integer","title":"Total Following","default":0},"last_login_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Login At"},"first_login_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Login At"},"studioRoles":{"items":{"$ref":"#/components/schemas/StudioRoleModel"},"type":"array","title":"Studioroles"},"gdpZone":{"anyOf":[{"$ref":"#/components/schemas/GdpZoneSchema"},{"type":"null"}]},"default_profile_picture":{"type":"string","title":"Default Profile Picture","readOnly":true}},"type":"object","required":["default_profile_picture"],"title":"UserRead","description":"Schema for reading a user (response model)."},"UserSchema":{"properties":{"createdAt":{"type":"string","format":"date-time","title":"Createdat"},"updatedAt":{"type":"string","format":"date-time","title":"Updatedat"},"deleted":{"type":"boolean","title":"Deleted","default":false},"id":{"type":"string","format":"uuid","title":"Id"},"email":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Email"},"phoneNumber":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Phonenumber"},"username":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Username"},"gHandle":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Ghandle"},"gender":{},"dob":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Dob"},"firstName":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Firstname"},"lastName":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Lastname"},"profilePicture":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Profilepicture"},"contentLanguages":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Contentlanguages"},"likedGenres":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Likedgenres"},"rzpCustomerId":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Rzpcustomerid"},"verified":{"type":"boolean","title":"Verified","default":false},"verifiedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verifiedat"},"isActive":{"type":"boolean","title":"Isactive","default":true},"isSuperuser":{"type":"boolean","title":"Issuperuser","default":false},"countryCode":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Countrycode","default":"IN"},"city":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"City"},"totalFollowers":{"type":"integer","title":"Totalfollowers","default":0},"totalFollowing":{"type":"integer","title":"Totalfollowing","default":0},"studioRoles":{"items":{"$ref":"#/components/schemas/StudioRoleFullSchema"},"type":"array","title":"Studioroles","default":[]},"gdpZone":{"items":{"$ref":"#/components/schemas/GdpZoneSchema"},"type":"array","title":"Gdpzone","default":[]},"subscription":{"anyOf":[{"$ref":"#/components/schemas/UserSubscriptionResponseSchema"},{"type":"null"}]},"playbackConsumption":{"anyOf":[{"$ref":"#/components/schemas/PlaybackConsumptionSummary"},{"type":"null"}]},"defaultProfilePicture":{"type":"string","title":"Defaultprofilepicture","readOnly":true},"hasDefaultProfilePicture":{"type":"boolean","title":"Hasdefaultprofilepicture","description":"Determine if the user has the default profile picture.","readOnly":true}},"type":"object","required":["defaultProfilePicture","hasDefaultProfilePicture"],"title":"UserSchema","description":"Schema representing a user."},"UserShortSchema":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"id":{"anyOf":[{"type":"string"},{"type":"string","format":"uuid"}],"title":"Id"},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firstname"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastname"},"profilePicture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profilepicture"},"gHandle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ghandle"},"gender":{"anyOf":[{"$ref":"#/components/schemas/GenderEnum"},{"type":"null"}]},"dob":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Dob"},"name":{"type":"string","title":"Name","description":"Compute the full name of the user.","readOnly":true}},"type":"object","required":["id","name"],"title":"UserShortSchema","description":"Schema representing a short version of a user."},"UserSubscriptionResponseSchema":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id"},"user":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User"},"status":{"$ref":"#/components/schemas/UserSubscriptionStatusEnum"},"paymentGatewayType":{"$ref":"#/components/schemas/PaymentGatewayType","description":"Payment gateway type","default":1},"paymentMethod":{"anyOf":[{"$ref":"#/components/schemas/PaymentMethodType"},{"type":"null"}]},"subscribedOn":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Subscribedon"},"subscriptionDue":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Subscriptiondue"},"cancelledOn":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cancelledon"},"processed":{"type":"boolean","title":"Processed","default":false},"frequency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Frequency"},"currencySymbol":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currencysymbol"},"currentPaymentAmount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Currentpaymentamount"},"nextPaymentAmount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nextpaymentamount"},"subscriptionPlan":{"anyOf":[{"$ref":"#/components/schemas/SubscriptionPlanResponseSchema"},{"type":"null"}]},"gatewayDetails":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Gatewaydetails"},"methodDetails":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Methoddetails"},"taxId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taxid"},"taxType":{"anyOf":[{"$ref":"#/components/schemas/USER_TAX_TYPE"},{"type":"null"}]},"paymentGatewayTypeText":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paymentgatewaytypetext","description":"Get human-readable payment gateway type.","readOnly":true},"paymentMethodText":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paymentmethodtext","description":"Get human-readable payment method type.","readOnly":true},"statusText":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Statustext","description":"Get human-readable subscription status.","readOnly":true},"isActive":{"type":"boolean","title":"Isactive","description":"Check if subscription is currently active.","readOnly":true},"totalActiveDuration":{"type":"integer","title":"Totalactiveduration","description":"Calculate total active duration if subscribedOn and subscriptionDue are available.","readOnly":true},"timeUntilDue":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timeuntildue","description":"Calculate time until subscription is due if subscriptionDue is available.","readOnly":true},"nextPaymentDate":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Nextpaymentdate","description":"Return the next scheduled billing date for recurring subscriptions only.","readOnly":true},"isExpired":{"type":"boolean","title":"Isexpired","description":"Check if subscription is expired based on subscriptionDue.","readOnly":true},"subscriptionType":{"$ref":"#/components/schemas/SubscriptionTypeEnum","description":"Derive whether this is a one-time or recurring subscription.\n\nRules:\n- OneTime: Razorpay-powered purchase where the period is hourly or daily\n  (detected via gatewayDetails.paymentType==\"one_time\" OR\n  gatewayDetails.period.period in {hourly, daily} OR\n  frequency in {hourly, daily} with Razorpay as the gateway).\n- Recurring: everything else (Razorpay monthly/weekly/yearly plans,\n  Apple IAP, Google IAP, Free, etc.).","readOnly":true},"subscriptionTypeText":{"type":"string","title":"Subscriptiontypetext","description":"Get human-readable subscription type.","readOnly":true},"availableSubscriptionTypes":{"items":{"$ref":"#/components/schemas/SubscriptionTypeEnum"},"type":"array","title":"Availablesubscriptiontypes","description":"List of available subscription types.","readOnly":true}},"type":"object","required":["id","user","status","paymentGatewayTypeText","paymentMethodText","statusText","isActive","totalActiveDuration","timeUntilDue","nextPaymentDate","isExpired","subscriptionType","subscriptionTypeText","availableSubscriptionTypes"],"title":"UserSubscriptionResponseSchema","description":"Full user subscription response."},"UserSubscriptionStatusEnum":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11],"title":"UserSubscriptionStatusEnum"},"UsersChatTokenSchema":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"token":{"type":"string","title":"Token"},"userId":{"type":"string","title":"Userid"},"channel":{"anyOf":[{"$ref":"#/components/schemas/ChatChannelRef"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expiresat"},"user":{"type":"string","title":"User","description":"Computed property to return the user identifier.","readOnly":true}},"type":"object","required":["token","userId","user"],"title":"UsersChatTokenSchema","description":"Stream token payload with token and user identifier."},"UsersFeedTokenSchema":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"token":{"type":"string","title":"Token"},"userId":{"type":"string","title":"Userid"},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expiresat"},"user":{"type":"string","title":"User","description":"Computed property to return the user identifier.","readOnly":true}},"type":"object","required":["token","userId","user"],"title":"UsersFeedTokenSchema","description":"Stream token payload with token and user identifier."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerifyOTPRequest":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"phoneNumber":{"type":"string","title":"Phonenumber"},"requestId":{"type":"string","format":"uuid","title":"Requestid"},"platform":{"$ref":"#/components/schemas/PLATFORM_TYPE"},"appType":{"$ref":"#/components/schemas/APP_TYPE"},"otp":{"type":"integer","title":"Otp"},"referralId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Referralid"},"isNewUser":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isnewuser"},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firstname"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastname"},"acquisitionData":{"anyOf":[{"$ref":"#/components/schemas/UserAcquisitionInputSchema"},{"type":"null"}]}},"type":"object","required":["phoneNumber","requestId","platform","appType","otp"],"title":"VerifyOTPRequest"},"VerifyOTPResponse":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"message":{"type":"string","title":"Message"},"platform":{"$ref":"#/components/schemas/PLATFORM_TYPE"},"appType":{"$ref":"#/components/schemas/APP_TYPE"},"accessToken":{"type":"string","title":"Accesstoken"},"refreshToken":{"type":"string","title":"Refreshtoken"},"tokenType":{"type":"string","title":"Tokentype","default":"bearer"},"user":{"$ref":"#/components/schemas/UserSchema"},"getstream":{"anyOf":[{"$ref":"#/components/schemas/UsersFeedTokenSchema"},{"$ref":"#/components/schemas/ArtistsFeedTokenSchema"},{"type":"null"}],"title":"Getstream"},"getstreamChat":{"anyOf":[{"$ref":"#/components/schemas/UsersChatTokenSchema"},{"$ref":"#/components/schemas/ArtistsChatTokenSchema"},{"type":"null"}],"title":"Getstreamchat"}},"type":"object","required":["message","platform","appType","accessToken","refreshToken","user"],"title":"VerifyOTPResponse"},"VerifyWebView":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"accessToken":{"type":"string","title":"Accesstoken"},"refreshToken":{"type":"string","title":"Refreshtoken"},"user":{"$ref":"#/components/schemas/UserShortSchema"},"artistId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artistid"}},"type":"object","required":["accessToken","refreshToken","user"],"title":"VerifyWebView"},"WebTokenResponse":{"properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Timestamp when the record was created"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Timestamp when the record was last updated"},"accessToken":{"type":"string","title":"Accesstoken"},"expiresIn":{"type":"integer","title":"Expiresin"}},"type":"object","required":["accessToken","expiresIn"],"title":"WebTokenResponse","description":"Response schema for web token operations."},"WebTokenVerifyRequest":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"WebTokenVerifyRequest","description":"Request schema for verifying a web view token."}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}},"servers":[{"url":"/v1/auth"}]}