{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/public/clan/progress":{"get":{"tags":["Clan"],"summary":"Get Clan Progress","operationId":"get_clan_progress_public_clan_progress_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SPlayerProgressInClansResponse"}}}}},"security":[{"APIKeyHeader":[]}]}},"/public/clan/switch":{"post":{"tags":["Clan"],"summary":"Clan Switch","operationId":"clan_switch_public_clan_switch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SSwitchBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SSwitchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/public/clan/full_info":{"get":{"tags":["Clan"],"summary":"Full Info","operationId":"full_info_public_clan_full_info_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SClanFullInfoResponse"}}}}},"security":[{"APIKeyHeader":[]}]}},"/health":{"get":{"summary":"Get Health Status","operationId":"get_health_status_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"SClan":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"difficulty":{"type":"number","title":"Difficulty"},"pp_entry_multipliers":{"additionalProperties":true,"type":"object","title":"Pp Entry Multipliers","default":{}},"levels":{"items":{"$ref":"#/components/schemas/SClanLevel"},"type":"array","title":"Levels","default":[]}},"type":"object","title":"SClan"},"SClanFullInfoResponse":{"properties":{"hands_plo_ratio":{"additionalProperties":{"type":"number"},"type":"object","title":"Hands Plo Ratio","default":{}},"clans":{"items":{"$ref":"#/components/schemas/SClan"},"type":"array","title":"Clans","default":[]},"progress":{"$ref":"#/components/schemas/SPlayerProgressInClansResponse"}},"type":"object","title":"SClanFullInfoResponse"},"SClanLevel":{"properties":{"id":{"type":"integer","title":"Id"},"clan_id":{"type":"integer","title":"Clan Id"},"hands":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Hands","default":[]},"required_hands_count":{"type":"integer","title":"Required Hands Count"},"bonus":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Bonus","default":{}},"avatars":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Avatars","default":[]}},"type":"object","title":"SClanLevel"},"SPlayerClanProgress":{"properties":{"clan_id":{"type":"integer","title":"Clan Id"},"level_id":{"type":"integer","title":"Level Id"},"catched_hands_count":{"type":"number","title":"Catched Hands Count"},"required_hands_count":{"type":"integer","title":"Required Hands Count"}},"type":"object","title":"SPlayerClanProgress"},"SPlayerProgressInClansResponse":{"properties":{"current_clan_id":{"type":"integer","title":"Current Clan Id"},"current_level_id":{"type":"integer","title":"Current Level Id"},"levels":{"items":{"$ref":"#/components/schemas/SPlayerClanProgress"},"type":"array","title":"Levels","default":[]}},"type":"object","title":"SPlayerProgressInClansResponse"},"SSwitchBody":{"properties":{"clan_id":{"type":"integer","title":"Clan Id"}},"type":"object","required":["clan_id"],"title":"SSwitchBody"},"SSwitchResponse":{"properties":{"current_clan_id":{"type":"integer","title":"Current Clan Id"},"current_level_id":{"type":"integer","title":"Current Level Id"},"levels":{"items":{"$ref":"#/components/schemas/SPlayerClanProgress"},"type":"array","title":"Levels","default":[]}},"type":"object","title":"SSwitchResponse"},"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"}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"Authorization"}}}}