artifacts-rs 1.8.0

Rust client for Artifacts
Documentation
1
{"openapi":"3.1.0","info":{"title":"Artifacts API","description":"Artifacts is an API-based MMO game where you can manage 5 characters to explore, fight, gather resources, craft items and much more.\n\nWebsite: https://artifactsmmo.com/\n\nDocumentation: https://docs.artifactsmmo.com/\n\nOpenAPI Spec: https://api.artifactsmmo.com/openapi.json","version":"8.0.0"},"paths":{"/":{"get":{"tags":["Server details"],"summary":"Get Server Details","description":"Return the status of the game server.","operationId":"get_server_details__get","responses":{"200":{"description":"Successfully fetched status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponseSchema"}}}}}}},"/my/bank":{"get":{"tags":["My account"],"summary":"Get Bank Details","description":"Fetch bank details.","operationId":"get_bank_details_my_bank_get","responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankResponseSchema"}}}}},"security":[{"JWTBearer":[]}]}},"/my/bank/items":{"get":{"tags":["My account"],"summary":"Get Bank Items","description":"Fetch all items in your bank.","operationId":"get_bank_items_my_bank_items_get","security":[{"JWTBearer":[]}],"parameters":[{"name":"item_code","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Item code","description":"Item to search in your bank."},"description":"Item to search in your bank."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPage_SimpleItemSchema_"}}}}}}},"/my/grandexchange/orders":{"get":{"tags":["My account"],"summary":"Get Ge Orders","description":"Fetch your orders details (sell and buy orders).","operationId":"get_ge_orders_my_grandexchange_orders_get","security":[{"JWTBearer":[]}],"parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Item code","description":"The code of the item."},"description":"The code of the item."},{"name":"type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/GEOrderType","title":"Order type","description":"Filter by order type (sell or buy)."},"description":"Filter by order type (sell or buy)."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPage_GEOrderSchema_"}}}}}}},"/my/grandexchange/history":{"get":{"tags":["My account"],"summary":"Get Ge History","description":"Fetch your transaction history of the last 7 days (buy and sell orders).","operationId":"get_ge_history_my_grandexchange_history_get","security":[{"JWTBearer":[]}],"parameters":[{"name":"id","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Order ID","description":"Order ID to search in your history."},"description":"Order ID to search in your history."},{"name":"code","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Item code","description":"Item to search in your history."},"description":"Item to search in your history."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPage_GEOrderHistorySchema_"}}}}}}},"/my/details":{"get":{"tags":["My account"],"summary":"Get Account Details","description":"Fetch account details.","operationId":"get_account_details_my_details_get","responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MyAccountDetailsSchema"}}}}},"security":[{"JWTBearer":[]}]}},"/my/pending_items":{"get":{"tags":["My account"],"summary":"Get Pending Items","description":"Retrieve all unclaimed pending items for your account.\n\nThese are items from various sources (achievements, grand exchange, events, etc.)\nthat can be claimed by any character on your account using /my/{name}/action/claim/{id}.","operationId":"get_pending_items_my_pending_items_get","security":[{"JWTBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched pending items.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPage_PendingItemSchema_"}}}}}}},"/my/rates":{"get":{"tags":["My account"],"summary":"Get Rate Limits","description":"Get all rate limits.","operationId":"get_rate_limits_my_rates_get","responses":{"200":{"description":"Successfully fetched rate limits.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitsSchema"}}}}},"security":[{"JWTBearer":[]}]}},"/my/change_password":{"post":{"tags":["My account"],"summary":"Change Password","description":"Change your account password. Changing the password reset the account token.","operationId":"change_password_my_change_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordSchema"}}},"required":true},"responses":{"200":{"description":"Password changed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseSchema"}}}},"458":{"description":"Please use a different password.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":458,"message":"Please use a different password."}}}}},"459":{"description":"The current password you entered is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":459,"message":"The current password you entered is invalid."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"JWTBearer":[]}]}},"/my/change_email":{"post":{"tags":["My account"],"summary":"Change Email","description":"Change your account email.","operationId":"change_email_my_change_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeEmailSchema"}}},"required":true},"responses":{"200":{"description":"Email changed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseSchema"}}}},"463":{"description":"Please use a different email.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":463,"message":"Please use a different email."}}}}},"457":{"description":"This email is already in use.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":457,"message":"This email is already in use."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"JWTBearer":[]}]}},"/my/subscription":{"get":{"tags":["My account"],"summary":"Get My Subscription","description":"Get current subscription details.","operationId":"get_my_subscription_my_subscription_get","responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionResponseSchema"}}}},"404":{"description":"Subscription not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Subscription not found."}}}}}},"security":[{"JWTBearer":[]}]}},"/my/subscribe/stripe":{"post":{"tags":["My account"],"summary":"Subscribe with Stripe","description":"Subscribe to become a member and unlock the benefits tied to your selected plan.\nYou will receive a secure Stripe checkout URL to complete the payment.","operationId":"buy_subscription_my_subscribe_stripe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscribeRequestSchema"}}},"required":true},"responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponseWrapperSchema"}}}},"565":{"description":"You already have an active subscription.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":565,"message":"You already have an active subscription."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"JWTBearer":[]}]}},"/my/subscribe/member_token":{"post":{"tags":["My account"],"summary":"Subscribe With Member Token","description":"Redeem a member token to start or extend membership by 30 days.\nMember tokens are manually granted as rewards for events.\nMember tokens cannot be redeemed while a Stripe subscription is active.","operationId":"subscribe_with_member_token_my_subscribe_member_token_post","responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberTokenSubscriptionResponseSchema"}}}},"572":{"description":"Insufficient member tokens.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":572,"message":"Insufficient member tokens."}}}}},"573":{"description":"An active Stripe subscription cannot be extended with gems or member tokens.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":573,"message":"An active Stripe subscription cannot be extended with gems or member tokens."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"JWTBearer":[]}]}},"/my/subscribe/cancel":{"post":{"tags":["My account"],"summary":"Cancel Subscription","description":"Cancel subscription at the end of the current billing period.","operationId":"cancel_subscription_my_subscribe_cancel_post","responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseSchema"}}}},"404":{"description":"Subscription not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Subscription not found."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"JWTBearer":[]}]}},"/my/purchase_history":{"get":{"tags":["My account"],"summary":"Get My Purchase History","description":"List all purchases (subscriptions and gem packs).","operationId":"get_my_purchase_history_my_purchase_history_get","responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseHistoryListResponseSchema"}}}}},"security":[{"JWTBearer":[]}]}},"/my/gems_history":{"get":{"tags":["My account"],"summary":"Get My Gems History","description":"List all gem credits and debits.","operationId":"get_my_gems_history_my_gems_history_get","responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GemTransactionListResponseSchema"}}}}},"security":[{"JWTBearer":[]}]}},"/my/buy_gems":{"post":{"tags":["My account"],"summary":"Buy Gems","description":"Purchase gems. Returns a Stripe checkout URL for payment.","operationId":"buy_gems_my_buy_gems_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseGemsRequestSchema"}}},"required":true},"responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponseWrapperSchema"}}}},"404":{"description":"Gem pack not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Gem pack not found."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"JWTBearer":[]}]}},"/my/{name}/action/move":{"post":{"tags":["My characters"],"summary":"Action Move","description":"Moves a character on the map using either the map's ID or X and Y position.\nProvide either 'map_id' or both 'x' and 'y' coordinates in the request body.","operationId":"action_move_my__name__action_move_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationSchema"}}}},"responses":{"200":{"description":"The character has moved successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharacterMovementResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"490":{"description":"The character is already at the destination.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":490,"message":"The character is already at the destination."}}}}},"404":{"description":"Map not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Map not found."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"595":{"description":"No path available to the destination map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":595,"message":"No path available to the destination map."}}}}},"596":{"description":"The map is blocked and cannot be accessed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":596,"message":"The map is blocked and cannot be accessed."}}}}},"496":{"description":"Conditions not met.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":496,"message":"Conditions not met."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/transition":{"post":{"tags":["My characters"],"summary":"Action Transition","description":"Execute a transition from the current map to another layer.\nThe character must be on a map that has a transition available.","operationId":"action_transition_my__name__action_transition_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"responses":{"200":{"description":"The character has transitioned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharacterTransitionResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"404":{"description":"Transition not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Transition not found."}}}}},"492":{"description":"Insufficient gold for this transition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":492,"message":"Insufficient gold for this transition."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"496":{"description":"Conditions not met.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":496,"message":"Conditions not met."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/rest":{"post":{"tags":["My characters"],"summary":"Action Rest","description":"Recovers hit points by resting. (1 second per 5 HP, minimum 3 seconds)","operationId":"action_rest_my__name__action_rest_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"responses":{"200":{"description":"The character has rested successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharacterRestResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/equip":{"post":{"tags":["My characters"],"summary":"Action Equip Item","description":"Equip multiple items on your character.\nThe cooldown will be 3 seconds multiplied by the number of different items equipped.","operationId":"action_equip_item_my__name__action_equip_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EquipSchema"},"description":"List of items to equip.","min_items":1,"max_items":20,"title":"Item"}}}},"responses":{"200":{"description":"The item has been successfully equipped on your character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentResponseSchema"}}}},"404":{"description":"Item not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Item not found."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"483":{"description":"The character does not have enough HP to unequip this item.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":483,"message":"The character does not have enough HP to unequip this item."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"496":{"description":"Conditions not met.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":496,"message":"Conditions not met."}}}}},"491":{"description":"The equipment slot is not empty.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":491,"message":"The equipment slot is not empty."}}}}},"485":{"description":"This item is already equipped.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":485,"message":"This item is already equipped."}}}}},"484":{"description":"The character cannot equip more than 100 utilities in the same slot.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":484,"message":"The character cannot equip more than 100 utilities in the same slot."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/unequip":{"post":{"tags":["My characters"],"summary":"Action Unequip Item","description":"Unequip multiple items on your character.\nThe cooldown will be 3 seconds multiplied by the number of different items unequipped.","operationId":"action_unequip_item_my__name__action_unequip_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnequipSchema"},"description":"List of items to unequip.","min_items":1,"max_items":20,"title":"Data"}}}},"responses":{"200":{"description":"The item has been successfully unequipped and added in their inventory.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentResponseSchema"}}}},"404":{"description":"Item not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Item not found."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"491":{"description":"The equipment slot is empty.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":491,"message":"The equipment slot is empty."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"483":{"description":"The character does not have enough HP to unequip this item.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":483,"message":"The character does not have enough HP to unequip this item."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/use":{"post":{"tags":["My characters"],"summary":"Action Use Item","description":"Use an item as a consumable.","operationId":"action_use_item_my__name__action_use_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleItemSchema"}}}},"responses":{"200":{"description":"The item has been successfully used.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UseItemResponseSchema"}}}},"404":{"description":"Item not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Item not found."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"476":{"description":"This item is not a consumable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":476,"message":"This item is not a consumable."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"496":{"description":"Conditions not met.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":496,"message":"Conditions not met."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/fight":{"post":{"tags":["My characters"],"summary":"Action Fight","description":"Start a fight against a monster on the character's map.\nAdd participants for multi-character fights (up to 3 characters, only for boss).","operationId":"action_fight_my__name__action_fight_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FightRequestSchema","default":{"participants":[]}}}}},"responses":{"200":{"description":"The fight ended successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharacterFightResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"598":{"description":"Monster not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Monster not found on this map."}}}}},"486":{"description":"Only boss monsters can be fought by multiple characters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"Only boss monsters can be fought by multiple characters."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"567":{"description":"This raid phase is not currently active.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":567,"message":"This raid phase is not currently active."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/gathering":{"post":{"tags":["My characters"],"summary":"Action Gathering","description":"Harvest a resource on the character's map.","operationId":"action_gathering_my__name__action_gathering_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"responses":{"200":{"description":"The resource has been successfully gathered.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"598":{"description":"Resource not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Resource not found on this map."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"493":{"description":"The character's skill level is too low.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":493,"message":"The character's skill level is too low."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/crafting":{"post":{"tags":["My characters"],"summary":"Action Crafting","description":"Craft an item. The character must be on a map with a workshop.","operationId":"action_crafting_my__name__action_crafting_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CraftingSchema"}}}},"responses":{"200":{"description":"The item was successfully crafted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillResponseSchema"}}}},"404":{"description":"Craft not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Craft not found."}}}}},"598":{"description":"Workshop not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Workshop not found on this map."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"493":{"description":"The character's skill level is too low.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":493,"message":"The character's skill level is too low."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/bank/deposit/gold":{"post":{"tags":["My characters"],"summary":"Action Deposit Bank Gold","description":"Deposit gold in a bank on the character's map.","operationId":"action_deposit_bank_gold_my__name__action_bank_deposit_gold_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositWithdrawGoldSchema"}}}},"responses":{"200":{"description":"Golds successfully deposited in your bank.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankGoldTransactionResponseSchema"}}}},"598":{"description":"Bank not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Bank not found on this map."}}}}},"492":{"description":"The character does not have enough gold.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":492,"message":"The character does not have enough gold."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"461":{"description":"Some of your items or your gold in the bank are already part of an ongoing transaction.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":461,"message":"Some of your items or your gold in the bank are already part of an ongoing transaction."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/bank/deposit/item":{"post":{"tags":["My characters"],"summary":"Action Deposit Bank Item","description":"Deposit multiple items in a bank on the character's map.\nThe cooldown will be 3 seconds multiplied by the number of different items deposited.","operationId":"action_deposit_bank_item_my__name__action_bank_deposit_item_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SimpleItemSchema"},"description":"List of items to deposit in the bank.","min_items":1,"max_items":20,"title":"Items"}}}},"responses":{"200":{"description":"Items successfully deposited in your bank.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankItemTransactionResponseSchema"}}}},"598":{"description":"Bank not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Bank not found on this map."}}}}},"404":{"description":"Item not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Item not found."}}}}},"461":{"description":"Some of your items or your gold in the bank are already part of an ongoing transaction.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":461,"message":"Some of your items or your gold in the bank are already part of an ongoing transaction."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"462":{"description":"Your bank is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":462,"message":"Your bank is full."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/bank/withdraw/item":{"post":{"tags":["My characters"],"summary":"Action Withdraw Bank Item","description":"Take items from your bank and put them in the character's inventory.\nThe cooldown will be 3 seconds multiplied by the number of different items withdrawn.","operationId":"action_withdraw_bank_item_my__name__action_bank_withdraw_item_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SimpleItemSchema"},"min_items":1,"max_items":20,"title":"Items"}}}},"responses":{"200":{"description":"Items successfully withdrawn from your bank.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankItemTransactionResponseSchema"}}}},"404":{"description":"Item not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Item not found."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"461":{"description":"Some of your items or your gold in the bank are already part of an ongoing transaction.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":461,"message":"Some of your items or your gold in the bank are already part of an ongoing transaction."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"598":{"description":"Bank not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Bank not found on this map."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/bank/withdraw/gold":{"post":{"tags":["My characters"],"summary":"Action Withdraw Bank Gold","description":"Withdraw gold from your bank.","operationId":"action_withdraw_bank_gold_my__name__action_bank_withdraw_gold_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositWithdrawGoldSchema"}}}},"responses":{"200":{"description":"Golds successfully withdraw from your bank.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankGoldTransactionResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"461":{"description":"Some of your items or your gold in the bank are already part of an ongoing transaction.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":461,"message":"Some of your items or your gold in the bank are already part of an ongoing transaction."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"598":{"description":"Bank not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Bank not found on this map."}}}}},"460":{"description":"Insufficient gold in your bank.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":460,"message":"Insufficient gold in your bank."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/bank/buy_expansion":{"post":{"tags":["My characters"],"summary":"Action Buy Bank Expansion","description":"Buy a 20 slots bank expansion.","operationId":"action_buy_bank_expansion_my__name__action_bank_buy_expansion_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"responses":{"200":{"description":"Bank expansion successfully bought.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankExtensionTransactionResponseSchema"}}}},"598":{"description":"Bank not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Bank not found on this map."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"492":{"description":"The character does not have enough gold.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":492,"message":"The character does not have enough gold."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/npc/buy":{"post":{"tags":["My characters"],"summary":"Action Npc Buy Item","description":"Buy an item from an NPC on the character's map.","operationId":"action_npc_buy_item_my__name__action_npc_buy_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NpcMerchantBuySchema"}}}},"responses":{"200":{"description":"Item successfully bought from the NPC.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NpcMerchantTransactionResponseSchema"}}}},"598":{"description":"NPC not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"NPC not found on this map."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"492":{"description":"The character does not have enough gold.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":492,"message":"The character does not have enough gold."}}}}},"441":{"description":"This item is not available for purchase.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":441,"message":"This item is not available for purchase."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"404":{"description":"Item not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Item not found."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/npc/sell":{"post":{"tags":["My characters"],"summary":"Action Npc Sell Item","description":"Sell an item to an NPC on the character's map.","operationId":"action_npc_sell_item_my__name__action_npc_sell_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NpcMerchantBuySchema"}}}},"responses":{"200":{"description":"Item successfully sold to the NPC.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NpcMerchantTransactionResponseSchema"}}}},"598":{"description":"NPC not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"NPC not found on this map."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"442":{"description":"This item cannot be sold.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":442,"message":"This item cannot be sold."}}}}},"404":{"description":"Item not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Item not found."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/recycling":{"post":{"tags":["My characters"],"summary":"Action Recycling","description":"Recycling an item. The character must be on a map with a workshop (only for equipments and weapons).","operationId":"action_recycling_my__name__action_recycling_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecyclingSchema"}}}},"responses":{"200":{"description":"The items were successfully recycled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecyclingResponseSchema"}}}},"404":{"description":"Item not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Item not found."}}}}},"598":{"description":"Workshop not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Workshop not found on this map."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"493":{"description":"The character's skill level is too low.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":493,"message":"The character's skill level is too low."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"492":{"description":"The character does not have enough gold.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":492,"message":"The character does not have enough gold."}}}}},"473":{"description":"This item cannot be recycled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":473,"message":"This item cannot be recycled."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/grandexchange/buy":{"post":{"tags":["My characters"],"summary":"Action Ge Buy Item","description":"Buy an item at the Grand Exchange on the character's map.","operationId":"action_ge_buy_item_my__name__action_grandexchange_buy_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GEBuyOrderSchema"}}}},"responses":{"200":{"description":"Item successfully bought from the Grand Exchange.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETransactionResponseSchema"}}}},"598":{"description":"Grand Exchange not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Grand Exchange not found on this map."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"436":{"description":"A transaction is already in progress for this order by another character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":436,"message":"A transaction is already in progress for this order by another character."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"492":{"description":"The character does not have enough gold.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":492,"message":"The character does not have enough gold."}}}}},"434":{"description":"This offer does not contain that many items.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":434,"message":"This offer does not contain that many items."}}}}},"435":{"description":"You cannot trade with yourself.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":435,"message":"You cannot trade with yourself."}}}}},"404":{"description":"Order not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Order not found."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/grandexchange/create_sell_order":{"post":{"tags":["My characters"],"summary":"Action Ge Create Sell Order","description":"Create a sell order at the Grand Exchange on the character's map.","operationId":"action_ge_create_sell_order_my__name__action_grandexchange_create_sell_order_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GEOrderCreationSchema"}}}},"responses":{"200":{"description":"The sell order has been successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GECreateOrderTransactionResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"404":{"description":"Item not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Item not found."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"433":{"description":"You cannot create more than 100 orders at the same time.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":433,"message":"You cannot create more than 100 orders at the same time."}}}}},"437":{"description":"This item cannot be sold.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":437,"message":"This item cannot be sold."}}}}},"598":{"description":"Grand Exchange not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Grand Exchange not found on this map."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/grandexchange/cancel":{"post":{"tags":["My characters"],"summary":"Action Ge Cancel Order","description":"Cancel an order (sell or buy) at the Grand Exchange on the character's map.\n\nFor sell orders: Items are returned to your inventory.\nFor buy orders: Gold is refunded to your character.","operationId":"action_ge_cancel_order_my__name__action_grandexchange_cancel_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GECancelOrderSchema"}}}},"responses":{"200":{"description":"Your order has been successfully cancelled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETransactionResponseSchema"}}}},"598":{"description":"Grand Exchange not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Grand Exchange not found on this map."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"436":{"description":"A transaction is already in progress for this order by another character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":436,"message":"A transaction is already in progress for this order by another character."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"438":{"description":"You cannot cancel an order that is not yours.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":438,"message":"You cannot cancel an order that is not yours."}}}}},"404":{"description":"Order not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Order not found."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/grandexchange/create_buy_order":{"post":{"tags":["My characters"],"summary":"Action Ge Create Buy Order","description":"Create a buy order at the Grand Exchange on the character's map.\n\nThe total gold (price * quantity) is locked when creating the order.\nOther players can then sell items to fulfill your order.\nItems will be delivered to your pending items when the order is filled.","operationId":"action_ge_create_buy_order_my__name__action_grandexchange_create_buy_order_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GEBuyOrderCreationSchema"}}}},"responses":{"200":{"description":"The buy order has been successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GECreateOrderTransactionResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"404":{"description":"Item not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Item not found."}}}}},"492":{"description":"The character does not have enough gold.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":492,"message":"The character does not have enough gold."}}}}},"433":{"description":"You cannot create more than 100 orders at the same time.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":433,"message":"You cannot create more than 100 orders at the same time."}}}}},"437":{"description":"This item cannot be sold.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":437,"message":"This item cannot be sold."}}}}},"598":{"description":"Grand Exchange not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Grand Exchange not found on this map."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/grandexchange/fill":{"post":{"tags":["My characters"],"summary":"Action Ge Fill","description":"Sell items to an existing buy order at the Grand Exchange on the character's map.\n\nYou will receive the gold immediately.\nThe buyer will receive the items in their pending items.","operationId":"action_ge_fill_my__name__action_grandexchange_fill_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GEFillBuyOrderSchema"}}}},"responses":{"200":{"description":"Successfully sold items to the buy order.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETransactionResponseSchema"}}}},"598":{"description":"Grand Exchange not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Grand Exchange not found on this map."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"436":{"description":"A transaction is already in progress for this order by another character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":436,"message":"A transaction is already in progress for this order by another character."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"434":{"description":"This offer does not contain that many items.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":434,"message":"This offer does not contain that many items."}}}}},"435":{"description":"You cannot trade with yourself.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":435,"message":"You cannot trade with yourself."}}}}},"404":{"description":"Buy order not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Buy order not found."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/task/complete":{"post":{"tags":["My characters"],"summary":"Action Complete Task","description":"Complete a task.","operationId":"action_complete_task_my__name__action_task_complete_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"responses":{"200":{"description":"The task has been successfully completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RewardDataResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"598":{"description":"Tasks Master not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Tasks Master not found on this map."}}}}},"488":{"description":"The character has not completed the task.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":488,"message":"The character has not completed the task."}}}}},"487":{"description":"The character has no task assigned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":487,"message":"The character has no task assigned."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/task/exchange":{"post":{"tags":["My characters"],"summary":"Action Task Exchange","description":"Exchange 6 tasks coins for a random reward. Rewards are exclusive items or resources.","operationId":"action_task_exchange_my__name__action_task_exchange_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"responses":{"200":{"description":"The tasks coins have been successfully exchanged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RewardDataResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"598":{"description":"Tasks Master not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Tasks Master not found on this map."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/task/new":{"post":{"tags":["My characters"],"summary":"Action Accept New Task","description":"Accepting a new task.","operationId":"action_accept_new_task_my__name__action_task_new_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"responses":{"200":{"description":"New task successfully accepted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"598":{"description":"Tasks Master not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Tasks Master not found on this map."}}}}},"489":{"description":"The character already has an assigned task.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":489,"message":"The character already has an assigned task."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/task/trade":{"post":{"tags":["My characters"],"summary":"Action Task Trade","description":"Trading items with a Tasks Master.","operationId":"action_task_trade_my__name__action_task_trade_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleItemSchema"}}}},"responses":{"200":{"description":"You have successfully trade items to a Tasks Master.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskTradeResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"598":{"description":"Tasks Master not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Tasks Master not found on this map."}}}}},"475":{"description":"Task already completed or too many items submitted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":475,"message":"Task already completed or too many items submitted."}}}}},"474":{"description":"The character does not have this task.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":474,"message":"The character does not have this task."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/task/cancel":{"post":{"tags":["My characters"],"summary":"Action Task Cancel","description":"Cancel a task for 1 tasks coin.","operationId":"action_task_cancel_my__name__action_task_cancel_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"responses":{"200":{"description":"The task has been successfully cancelled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskCancelledResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"487":{"description":"The character has no task assigned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":487,"message":"The character has no task assigned."}}}}},"598":{"description":"Tasks Master not found on this map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":598,"message":"Tasks Master not found on this map."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/give/gold":{"post":{"tags":["My characters"],"summary":"Action Give Gold","description":"Give gold to another character in your account on the same map.","operationId":"action_give_gold_my__name__action_give_gold_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiveGoldSchema"}}}},"responses":{"200":{"description":"Gold given successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiveGoldResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"492":{"description":"The character does not have enough gold.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":492,"message":"The character does not have enough gold."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/give/item":{"post":{"tags":["My characters"],"summary":"Action Give Items","description":"Give items to another character in your account on the same map.\nThe cooldown will be 3 seconds multiplied by the number of different items given.","operationId":"action_give_items_my__name__action_give_item_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiveItemsSchema"}}}},"responses":{"200":{"description":"Items given successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiveItemResponseSchema"}}}},"404":{"description":"Item not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Item not found."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/claim_item/{id}":{"post":{"tags":["My characters"],"summary":"Action Claim Pending Item","description":"Claim a pending item with a specific character.","operationId":"action_claim_pending_item_my__name__action_claim_item__id__post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."},{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]+$","title":"Pending item ID","description":"The ID of the pending item to claim."},"description":"The ID of the pending item to claim."}],"responses":{"200":{"description":"Successfully claimed the pending item.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimPendingItemResponseSchema"}}}},"404":{"description":"Pending item not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Pending item not found."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"497":{"description":"The character's inventory is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":497,"message":"The character's inventory is full."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/delete":{"post":{"tags":["My characters"],"summary":"Action Delete Item","description":"Delete an item from your character's inventory.","operationId":"action_delete_item_my__name__action_delete_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleItemSchema"}}}},"responses":{"200":{"description":"Item successfully deleted from your character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteItemResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"478":{"description":"Missing required item(s).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":478,"message":"Missing required item(s)."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/{name}/action/change_skin":{"post":{"tags":["My characters"],"summary":"Action Change Skin","description":"Change the skin of your character.","operationId":"action_change_skin_my__name__action_change_skin_post","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeSkinCharacterSchema"}}}},"responses":{"200":{"description":"Skin successfully changed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeSkinResponseSchema"}}}},"499":{"description":"The character is in cooldown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":499,"message":"The character is in cooldown."}}}}},"486":{"description":"An action is already in progress for this character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"An action is already in progress for this character."}}}}},"550":{"description":"You cannot choose this skin because you do not own it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":550,"message":"You cannot choose this skin because you do not own it."}}}}},"404":{"description":"Skin not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Skin not found."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/my/logs":{"get":{"tags":["My characters"],"summary":"Get All Characters Logs","description":"History of the last 5000 actions of all your characters.","operationId":"get_all_characters_logs_my_logs_get","security":[{"JWTBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched logs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPage_LogSchema_"}}}},"404":{"description":"Logs not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Logs not found."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}}}}},"/my/logs/{name}":{"get":{"tags":["My characters"],"summary":"Get Character Logs","description":"History of the last actions of your character.","operationId":"get_character_logs_my_logs__name__get","security":[{"JWTBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"Name of your character."},"description":"Name of your character."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched logs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPage_LogSchema_"}}}},"404":{"description":"Logs not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Logs not found."}}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}}}}},"/my/characters":{"get":{"tags":["My characters"],"summary":"Get My Characters","description":"List of your characters.","operationId":"get_my_characters_my_characters_get","responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MyCharactersListSchema"}}}}},"security":[{"JWTBearer":[]}]}},"/accounts/{account}/achievements":{"get":{"tags":["Accounts"],"summary":"Get Account Achievements","description":"Retrieve the achievements of a account.","operationId":"get_account_achievements_accounts__account__achievements_get","parameters":[{"name":"account","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Account name","description":"The name of the account."},"description":"The name of the account."},{"name":"type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/AchievementType","title":"Type","description":"Type of achievements."},"description":"Type of achievements."},{"name":"completed","in":"query","required":false,"schema":{"type":"boolean","title":"Completed","description":"Filter by completed achievements."},"description":"Filter by completed achievements."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched achievements.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPage_AccountAchievementSchema_"}}}},"404":{"description":"Account not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Account not found."}}}}}}}},"/accounts/{account}/characters":{"get":{"tags":["Accounts"],"summary":"Get Account Characters","description":"Account character lists.","operationId":"get_account_characters_accounts__account__characters_get","parameters":[{"name":"account","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Account name","description":"The name of the account."},"description":"The name of the account."}],"responses":{"200":{"description":"Successfully fetched account characters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharactersListSchema"}}}}}}},"/accounts/create":{"post":{"tags":["Accounts"],"summary":"Create Account","operationId":"create_account_accounts_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddAccountSchema"}}},"required":true},"responses":{"200":{"description":"Account created successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseSchema"}}}},"456":{"description":"This username is already taken.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":456,"message":"This username is already taken."}}}}},"457":{"description":"This email is already in use.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":457,"message":"This email is already in use."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/accounts/forgot_password":{"post":{"tags":["Accounts"],"summary":"Forgot Password","description":"Request a password reset.","operationId":"forgot_password_accounts_forgot_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetRequestSchema"}}},"required":true},"responses":{"200":{"description":"If this email address is associated with an account, a reset link has been sent.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetResponseSchema"}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/accounts/reset_password":{"post":{"tags":["Accounts"],"summary":"Reset Password","description":"Reset password with a token. Use /forgot_password to get a token by email.","operationId":"reset_password_accounts_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetConfirmSchema"}}},"required":true},"responses":{"200":{"description":"Password has been successfully reset.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetResponseSchema"}}}},"561":{"description":"The password reset token has expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":561,"message":"The password reset token has expired."}}}}},"562":{"description":"This password reset token has already been used.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":562,"message":"This password reset token has already been used."}}}}},"560":{"description":"The password reset token is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":560,"message":"The password reset token is invalid."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}}}},"/accounts/{account}":{"get":{"tags":["Accounts"],"summary":"Get Account","description":"Retrieve the details of an account.","operationId":"get_account_accounts__account__get","parameters":[{"name":"account","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Account name","description":"The name of the account."},"description":"The name of the account."}],"responses":{"200":{"description":"Successfully fetched account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountDetailsSchema"}}}},"404":{"description":"account not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"account not found."}}}}}}}},"/achievements":{"get":{"tags":["Achievements"],"summary":"Get All Achievements","description":"List of all achievements.","operationId":"get_all_achievements_achievements_get","parameters":[{"name":"type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/AchievementType","title":"Type","description":"Type of achievements."},"description":"Type of achievements."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched achievements.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_AchievementSchema_"}}}}}}},"/achievements/{code}":{"get":{"tags":["Achievements"],"summary":"Get Achievement","description":"Retrieve the details of an achievement.","operationId":"get_achievement_achievements__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Achievement code","description":"The code of the achievement."},"description":"The code of the achievement."}],"responses":{"200":{"description":"Successfully fetched achievement.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AchievementResponseSchema"}}}},"404":{"description":"achievement not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"achievement not found."}}}}}}}},"/badges":{"get":{"tags":["Badges"],"summary":"Get All Badges","description":"List of all badges.","operationId":"get_all_badges_badges_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched badges.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_BadgeSchema_"}}}}}}},"/badges/{code}":{"get":{"tags":["Badges"],"summary":"Get Badge","description":"Retrieve the details of a badge.","operationId":"get_badge_badges__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Badge code","description":"The code of the badge."},"description":"The code of the badge."}],"responses":{"200":{"description":"Successfully fetched badge.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeResponseSchema"}}}},"404":{"description":"badge not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"badge not found."}}}}}}}},"/skins":{"get":{"tags":["Skins"],"summary":"Get All Skins","description":"List of all skins available in the game.","operationId":"get_all_skins_skins_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched skins.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_SkinSchema_"}}}}}}},"/skins/{code}":{"get":{"tags":["Skins"],"summary":"Get Skin","description":"Retrieve the details of a skin.","operationId":"get_skin_skins__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Skin code","description":"The code of the skin."},"description":"The code of the skin."}],"responses":{"200":{"description":"Successfully fetched skin.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinResponseSchema"}}}},"404":{"description":"skin not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"skin not found."}}}}}}}},"/season_rewards":{"get":{"tags":["Season Rewards"],"summary":"Get All Season Rewards","description":"List of all rewards for the current season.","operationId":"get_all_season_rewards_season_rewards_get","parameters":[{"name":"type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/RewardType","title":"Reward type","description":"Filter by reward type."},"description":"Filter by reward type."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched season rewards.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_SeasonRewardSchema_"}}}}}}},"/season_rewards/{code}":{"get":{"tags":["Season Rewards"],"summary":"Get Season Rewards By Code","description":"List all season rewards matching a specific code.","operationId":"get_season_rewards_by_code_season_rewards__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Season Reward code","description":"The code of the season reward."},"description":"The code of the season reward."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched season rewards.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_SeasonRewardSchema_"}}}}}}},"/characters/create":{"post":{"tags":["Characters"],"summary":"Create Character","description":"Create new character on your account. You can create up to 5 characters.","operationId":"create_character_characters_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddCharacterSchema"}}},"required":true},"responses":{"200":{"description":"Successfully created character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharacterResponseSchema"}}}},"494":{"description":"This name is already in use.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":494,"message":"This name is already in use."}}}}},"495":{"description":"You have reached the maximum number of characters on your account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":495,"message":"You have reached the maximum number of characters on your account."}}}}},"550":{"description":"You cannot choose this skin because you do not own it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":550,"message":"You cannot choose this skin because you do not own it."}}}}},"404":{"description":"Skin not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Skin not found."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"JWTBearer":[]}]}},"/characters/delete":{"post":{"tags":["Characters"],"summary":"Delete Character","description":"Delete character on your account.","operationId":"delete_character_characters_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteCharacterSchema"}}},"required":true},"responses":{"200":{"description":"Successfully deleted character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharacterResponseSchema"}}}},"498":{"description":"Character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":498,"message":"Character not found."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"JWTBearer":[]}]}},"/characters/{name}/stats":{"get":{"tags":["Characters"],"summary":"Get Character Stats","description":"Retrieve gameplay statistics for a character.\n\nStats are only visible if the character's account has an active subscription.\nStatistics are still collected for all accounts regardless of subscription status.","operationId":"get_character_stats_characters__name__stats_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"The name of the character."},"description":"The name of the character."}],"responses":{"200":{"description":"Successfully fetched character stats.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharacterStatsResponseSchema"}}}},"404":{"description":"character stats not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"character stats not found."}}}}}}}},"/characters/active":{"get":{"tags":["Characters"],"summary":"Get Active Characters","description":"Fetch active characters details.","operationId":"get_active_characters_characters_active_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched active characters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPage_ActiveCharacterSchema_"}}}}}}},"/characters/{name}":{"get":{"tags":["Characters"],"summary":"Get Character","description":"Retrieve the details of a character.","operationId":"get_character_characters__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character name","description":"The name of the character."},"description":"The name of the character."}],"responses":{"200":{"description":"Successfully fetched character.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharacterResponseSchema"}}}},"404":{"description":"character not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"character not found."}}}}}}}},"/effects":{"get":{"tags":["Effects"],"summary":"Get All Effects","description":"List of all effects. Effects are used by equipment, tools, runes, consumables and monsters. An effect is an action that produces an effect on the game.","operationId":"get_all_effects_effects_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched effects.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_EffectSchema_"}}}}}}},"/effects/{code}":{"get":{"tags":["Effects"],"summary":"Get Effect","description":"Retrieve the details of an effect.","operationId":"get_effect_effects__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Effect code","description":"The code of the effect."},"description":"The code of the effect."}],"responses":{"200":{"description":"Successfully fetched effect.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EffectResponseSchema"}}}},"404":{"description":"effect not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"effect not found."}}}}}}}},"/events/active":{"get":{"tags":["Events"],"summary":"Get All Active Events","description":"Fetch active events details.","operationId":"get_all_active_events_events_active_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched active events.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_ActiveEventSchema_"}}}}}}},"/events":{"get":{"tags":["Events"],"summary":"Get All Events","description":"Fetch events details.","operationId":"get_all_events_events_get","parameters":[{"name":"type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/MapContentType","title":"Type","description":"Type of events."},"description":"Type of events."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched events.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_EventSchema_"}}}}}}},"/grandexchange/history/{code}":{"get":{"tags":["Grand Exchange"],"summary":"Get Ge History","description":"Fetch the transaction history of the item for the last 7 days (buy and sell orders).","operationId":"get_ge_history_grandexchange_history__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Item code","description":"The code of the item."},"description":"The code of the item."},{"name":"account","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Account","description":"Account involved in the transaction (matches either seller or buyer)."},"description":"Account involved in the transaction (matches either seller or buyer)."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched item history.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPage_GEOrderHistorySchema_"}}}},"404":{"description":"item history not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"item history not found."}}}}}}}},"/grandexchange/orders":{"get":{"tags":["Grand Exchange"],"summary":"Get Ge Orders","description":"Fetch all orders (sell and buy orders).\n\nUse the `type` parameter to filter by order type; when using `account`, `type`\nis required to keep account searches explicit.","operationId":"get_ge_orders_grandexchange_orders_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Item code","description":"The code of the item."},"description":"The code of the item."},{"name":"account","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Account","description":"The account that sells or buys items."},"description":"The account that sells or buys items."},{"name":"type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/GEOrderType","title":"Order type","description":"Filter by order type (sell or buy)."},"description":"Filter by order type (sell or buy)."},{"name":"item_type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/ItemType","title":"Item type","description":"Filter by item type."},"description":"Filter by item type."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched GE orders.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPage_GEOrderSchema_"}}}}}}},"/grandexchange/orders/{id}":{"get":{"tags":["Grand Exchange"],"summary":"Get Ge Order","description":"Retrieve a specific order by ID.","operationId":"get_ge_order_grandexchange_orders__id__get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Order id","description":"The id of the order."},"description":"The id of the order."}],"responses":{"200":{"description":"Successfully fetched GE order.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GEOrderResponseSchema"}}}},"404":{"description":"GE order not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"GE order not found."}}}}}}}},"/items":{"get":{"tags":["Items"],"summary":"Get All Items","description":"Fetch items details.","operationId":"get_all_items_items_get","parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+(\\s[a-zA-Z0-9_-]+)*\\s?$","title":"Item name","description":"Name of the item."},"description":"Name of the item."},{"name":"min_level","in":"query","required":false,"schema":{"type":"integer","minimum":0,"title":"Minimum level","description":"Minimum level."},"description":"Minimum level."},{"name":"max_level","in":"query","required":false,"schema":{"type":"integer","minimum":0,"title":"Maximum level","description":"Maximum level."},"description":"Maximum level."},{"name":"type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/ItemType","title":"Type","description":"Type of items."},"description":"Type of items."},{"name":"craft_skill","in":"query","required":false,"schema":{"$ref":"#/components/schemas/CraftSkill","title":"Crafting skill","description":"Skill to craft items."},"description":"Skill to craft items."},{"name":"craft_material","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Crafting material","description":"Item code of items used as material for crafting."},"description":"Item code of items used as material for crafting."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched items.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_ItemSchema_"}}}}}}},"/items/{code}":{"get":{"tags":["Items"],"summary":"Get Item","description":"Retrieve the details of a item.","operationId":"get_item_items__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Item code","description":"The code of the item."},"description":"The code of the item."}],"responses":{"200":{"description":"Successfully fetched item.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemResponseSchema"}}}},"404":{"description":"item not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"item not found."}}}}}}}},"/leaderboard/characters":{"get":{"tags":["Leaderboard"],"summary":"Get Characters Leaderboard","description":"Fetch leaderboard details.","operationId":"get_characters_leaderboard_leaderboard_characters_get","parameters":[{"name":"sort","in":"query","required":false,"schema":{"$ref":"#/components/schemas/CharacterLeaderboardType","title":"Sort","description":"Sort of character leaderboards."},"description":"Sort of character leaderboards."},{"name":"name","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+(\\s[a-zA-Z0-9_-]+)*\\s?$","title":"Name","description":"Character name."},"description":"Character name."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched leaderboard.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPage_CharacterLeaderboardSchema_"}}}}}}},"/leaderboard/accounts":{"get":{"tags":["Leaderboard"],"summary":"Get Accounts Leaderboard","description":"Fetch leaderboard details.","operationId":"get_accounts_leaderboard_leaderboard_accounts_get","parameters":[{"name":"sort","in":"query","required":false,"schema":{"$ref":"#/components/schemas/AccountLeaderboardType","title":"Sort","description":"Sort of account leaderboards."},"description":"Sort of account leaderboards."},{"name":"name","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+(\\s[a-zA-Z0-9_-]+)*\\s?$","title":"Name","description":"Account name."},"description":"Account name."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched leaderboard.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPage_AccountLeaderboardSchema_"}}}}}}},"/maps":{"get":{"tags":["Maps"],"summary":"Get All Maps","description":"Fetch maps details.","operationId":"get_all_maps_maps_get","parameters":[{"name":"layer","in":"query","required":false,"schema":{"$ref":"#/components/schemas/MapLayer","title":"Map Layer","description":"Filter maps by layer."},"description":"Filter maps by layer."},{"name":"content_type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/MapContentType","title":"Map","description":"Type of maps."},"description":"Type of maps."},{"name":"content_code","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Content code","description":"Content code on the map."},"description":"Content code on the map."},{"name":"hide_blocked_maps","in":"query","required":false,"schema":{"type":"boolean","title":"Hide blocked maps","description":"When true, excludes maps with access_type 'blocked' from the results.","default":false},"description":"When true, excludes maps with access_type 'blocked' from the results."},{"name":"hide_event","in":"query","required":false,"schema":{"type":"boolean","title":"Hide events","description":"When true, does not overlay active events on maps.","default":false},"description":"When true, does not overlay active events on maps."},{"name":"transition","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Transition filter","description":"Filter maps by transition. True returns only maps with transitions, False returns only maps without."},"description":"Filter maps by transition. True returns only maps with transitions, False returns only maps without."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched maps.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_MapSchema_"}}}}}}},"/maps/{layer}":{"get":{"tags":["Maps"],"summary":"Get Layer Maps","description":"Fetch maps details.","operationId":"get_layer_maps_maps__layer__get","parameters":[{"name":"layer","in":"path","required":true,"schema":{"$ref":"#/components/schemas/MapLayer","title":"Map Layer","description":"The layer of the map (interior, overworld, underground)."},"description":"The layer of the map (interior, overworld, underground)."},{"name":"content_type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/MapContentType","title":"Map","description":"Type of maps."},"description":"Type of maps."},{"name":"content_code","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Content code","description":"Content code on the map."},"description":"Content code on the map."},{"name":"hide_blocked_maps","in":"query","required":false,"schema":{"type":"boolean","title":"Hide blocked maps","description":"When true, excludes maps with access_type 'blocked' from the results.","default":false},"description":"When true, excludes maps with access_type 'blocked' from the results."},{"name":"hide_event","in":"query","required":false,"schema":{"type":"boolean","title":"Hide events","description":"When true, does not overlay active events on maps.","default":false},"description":"When true, does not overlay active events on maps."},{"name":"transition","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Transition filter","description":"Filter maps by transition. True returns only maps with transitions, False returns only maps without."},"description":"Filter maps by transition. True returns only maps with transitions, False returns only maps without."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched maps.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_MapSchema_"}}}}}}},"/maps/{layer}/{x}/{y}":{"get":{"tags":["Maps"],"summary":"Get Map By Position","description":"Retrieve the details of a map by layer and coordinates.","operationId":"get_map_by_position_maps__layer___x___y__get","parameters":[{"name":"layer","in":"path","required":true,"schema":{"$ref":"#/components/schemas/MapLayer","title":"Map Layer","description":"The layer of the map (interior, overworld, underground)."},"description":"The layer of the map (interior, overworld, underground)."},{"name":"x","in":"path","required":true,"schema":{"type":"integer","title":"Position X","description":"The position x of the map."},"description":"The position x of the map."},{"name":"y","in":"path","required":true,"schema":{"type":"integer","title":"Position Y","description":"The position y of the map."},"description":"The position y of the map."}],"responses":{"200":{"description":"Successfully fetched map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MapResponseSchema"}}}},"404":{"description":"map not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"map not found."}}}}}}}},"/maps/id/{map_id}":{"get":{"tags":["Maps"],"summary":"Get Map By Id","description":"Retrieve the details of a map by its unique ID.","operationId":"get_map_by_id_maps_id__map_id__get","parameters":[{"name":"map_id","in":"path","required":true,"schema":{"type":"integer","title":"Map ID","description":"The unique ID of the map."},"description":"The unique ID of the map."}],"responses":{"200":{"description":"Successfully fetched map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MapResponseSchema"}}}},"404":{"description":"map not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"map not found."}}}}}}}},"/monsters":{"get":{"tags":["Monsters"],"summary":"Get All Monsters","description":"Fetch monsters details.","operationId":"get_all_monsters_monsters_get","parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+(\\s[a-zA-Z0-9_-]+)*\\s?$","title":"Monster name","description":"Name of the monster."},"description":"Name of the monster."},{"name":"min_level","in":"query","required":false,"schema":{"type":"integer","minimum":0,"title":"Minimum level","description":"Minimum level."},"description":"Minimum level."},{"name":"max_level","in":"query","required":false,"schema":{"type":"integer","minimum":0,"title":"Maximum level","description":"Maximum level."},"description":"Maximum level."},{"name":"drop","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Drop","description":"Item code of the drop."},"description":"Item code of the drop."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched monsters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_MonsterSchema_"}}}}}}},"/monsters/{code}":{"get":{"tags":["Monsters"],"summary":"Get Monster","description":"Retrieve the details of a monster.","operationId":"get_monster_monsters__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Monster code","description":"The code of the monster."},"description":"The code of the monster."}],"responses":{"200":{"description":"Successfully fetched monster.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonsterResponseSchema"}}}},"404":{"description":"monster not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"monster not found."}}}}}}}},"/npcs/details":{"get":{"tags":["NPCs"],"summary":"Get All Npcs","description":"Fetch NPCs details.","operationId":"get_all_npcs_npcs_details_get","parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+(\\s[a-zA-Z0-9_-]+)*\\s?$","title":"Name","description":"NPC name."},"description":"NPC name."},{"name":"type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/NPCType","title":"Type","description":"Type of NPCs."},"description":"Type of NPCs."},{"name":"currency","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Currency code","description":"Currency code to filter NPCs that trade with this currency."},"description":"Currency code to filter NPCs that trade with this currency."},{"name":"item","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Item code","description":"Item code to filter NPCs that trade this item."},"description":"Item code to filter NPCs that trade this item."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched NPCs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_NPCSchema_"}}}}}}},"/npcs/details/{code}":{"get":{"tags":["NPCs"],"summary":"Get Npc","description":"Retrieve the details of a NPC.","operationId":"get_npc_npcs_details__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Npc code","description":"The code of the NPC."},"description":"The code of the NPC."}],"responses":{"200":{"description":"Successfully fetched NPC.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NPCResponseSchema"}}}},"404":{"description":"NPC not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"NPC not found."}}}}}}}},"/npcs/items/{code}":{"get":{"tags":["NPCs"],"summary":"Get Npc Items","description":"Retrieve the items list of a NPC. If the NPC has items to buy, sell or trade, they will be displayed.","operationId":"get_npc_items_npcs_items__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Npc code","description":"The code of the NPC."},"description":"The code of the NPC."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched NPC items.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_NPCItemSchema_"}}}},"404":{"description":"NPC items not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"NPC items not found."}}}}}}}},"/npcs/items":{"get":{"tags":["NPCs"],"summary":"Get All Npcs Items","description":"Retrieve the list of all NPC items.","operationId":"get_all_npcs_items_npcs_items_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Item code","description":"Item code."},"description":"Item code."},{"name":"npc","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"NPC code","description":"NPC code."},"description":"NPC code."},{"name":"currency","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Currency code","description":"Currency code."},"description":"Currency code."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched NPC items.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_NPCItemSchema_"}}}}}}},"/raids":{"get":{"tags":["Raids"],"summary":"Get All Raids","description":"Fetch the list of all raids.","operationId":"get_all_raids_raids_get","parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+(\\s[a-zA-Z0-9_-]+)*\\s?$","title":"Raid name","description":"Name of the raid."},"description":"Name of the raid."},{"name":"active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active","description":"Filter raids by active status."},"description":"Filter raids by active status."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched raids.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_RaidSchema_"}}}}}}},"/raids/{code}":{"get":{"tags":["Raids"],"summary":"Get Raid","description":"Retrieve the details of a specific raid.","operationId":"get_raid_raids__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Raid code","description":"The code of the raid."},"description":"The code of the raid."}],"responses":{"200":{"description":"Successfully fetched raid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RaidResponseSchema"}}}},"404":{"description":"raid not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"raid not found."}}}}}}}},"/raids/{code}/leaderboard":{"get":{"tags":["Raids"],"summary":"Get Raid Leaderboard","description":"Retrieve the leaderboard for the active or latest raid instance.","operationId":"get_raid_leaderboard_raids__code__leaderboard_get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Raid code","description":"The code of the raid."},"description":"The code of the raid."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched raid leaderboard.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPage_RaidLeaderboardEntrySchema_"}}}}}}},"/resources":{"get":{"tags":["Resources"],"summary":"Get All Resources","description":"Fetch resources details.","operationId":"get_all_resources_resources_get","parameters":[{"name":"min_level","in":"query","required":false,"schema":{"type":"integer","minimum":0,"title":"Minimum level","description":"Minimum level."},"description":"Minimum level."},{"name":"max_level","in":"query","required":false,"schema":{"type":"integer","minimum":0,"title":"Maximum level","description":"Maximum level."},"description":"Maximum level."},{"name":"skill","in":"query","required":false,"schema":{"$ref":"#/components/schemas/GatheringSkill","title":"Skill","description":"Skill of resources."},"description":"Skill of resources."},{"name":"drop","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Drop","description":"Item code of the drop."},"description":"Item code of the drop."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched resources.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_ResourceSchema_"}}}}}}},"/resources/{code}":{"get":{"tags":["Resources"],"summary":"Get Resource","description":"Retrieve the details of a resource.","operationId":"get_resource_resources__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Resource code","description":"The code of the resource."},"description":"The code of the resource."}],"responses":{"200":{"description":"Successfully fetched resource.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceResponseSchema"}}}},"404":{"description":"resource not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"resource not found."}}}}}}}},"/tasks/list":{"get":{"tags":["Tasks"],"summary":"Get All Tasks","description":"Fetch the list of all tasks.","operationId":"get_all_tasks_tasks_list_get","parameters":[{"name":"min_level","in":"query","required":false,"schema":{"type":"integer","minimum":0,"title":"Minimum level","description":"Minimum level."},"description":"Minimum level."},{"name":"max_level","in":"query","required":false,"schema":{"type":"integer","minimum":0,"title":"Maximum level","description":"Maximum level."},"description":"Maximum level."},{"name":"skill","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Skill","title":"Skill","description":"Skill of tasks."},"description":"Skill of tasks."},{"name":"type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/TaskType","title":"Type","description":"Type of tasks."},"description":"Type of tasks."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched tasks.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_TaskFullSchema_"}}}}}}},"/tasks/list/{code}":{"get":{"tags":["Tasks"],"summary":"Get Task","description":"Retrieve the details of a task.","operationId":"get_task_tasks_list__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Task code","description":"The code of the task."},"description":"The code of the task."}],"responses":{"200":{"description":"Successfully fetched task.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskFullResponseSchema"}}}},"404":{"description":"task not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"task not found."}}}}}}}},"/tasks/rewards":{"get":{"tags":["Tasks"],"summary":"Get All Tasks Rewards","description":"Fetch the list of all tasks rewards. To obtain these rewards, you must exchange 6 task coins with a tasks master.","operationId":"get_all_tasks_rewards_tasks_rewards_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successfully fetched tasks rewards.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticDataPage_DropRateSchema_"}}}}}}},"/tasks/rewards/{code}":{"get":{"tags":["Tasks"],"summary":"Get Tasks Reward","description":"Retrieve the details of a tasks reward.","operationId":"get_tasks_reward_tasks_rewards__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Tasks Reward code","description":"The code of the tasks reward."},"description":"The code of the tasks reward."}],"responses":{"200":{"description":"Successfully fetched tasks reward.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RewardResponseSchema"}}}},"404":{"description":"tasks reward not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"tasks reward not found."}}}}}}}},"/simulation/fight":{"post":{"tags":["Simulation"],"summary":"Fight Simulation","description":"Simulate combat with fake characters against a monster multiple times.\nMember or founder account required.","operationId":"fight_simulation_simulation_fight_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CombatSimulationRequestSchema"}}},"required":true},"responses":{"200":{"description":"Combat simulation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CombatSimulationResponseSchema"}}}},"404":{"description":"Monster or item not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Monster or item not found."}}}}},"486":{"description":"Only boss monsters can be fought by multiple characters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":486,"message":"Only boss monsters can be fought by multiple characters."}}}}},"451":{"description":"Access denied, you must be a member to do that.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":451,"message":"Access denied, you must be a member to do that."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"JWTBearer":[]}]}},"/token":{"post":{"tags":["Token"],"summary":"Generate Token","description":"Use your account as HTTPBasic Auth to generate your token to use the API. You can also generate your token directly on the website.","operationId":"generate_token_token_post","responses":{"200":{"description":"Token generated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponseSchema"}}}},"455":{"description":"Failed to generate token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":455,"message":"Failed to generate token."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"HTTPBasic":[]}]}},"/gems_shop/":{"get":{"tags":["Gems Shop"],"summary":"Get Catalog","description":"Return the gems shop catalog.","operationId":"get_catalog_gems_shop__get","responses":{"200":{"description":"Successfully fetched gems shop catalog.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GemShopCatalogResponseSchema"}}}}}}},"/gems_shop/skin":{"post":{"tags":["Gems Shop"],"summary":"Buy Skin","description":"Buy a skin from the gems shop using gems.","operationId":"buy_skin_gems_shop_skin_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuySkinRequestSchema"}}},"required":true},"responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuySkinResponseSchema"}}}},"404":{"description":"Skin not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Skin not found."}}}}},"551":{"description":"You already own this skin.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":551,"message":"You already own this skin."}}}}},"552":{"description":"This skin is not available for purchase.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":552,"message":"This skin is not available for purchase."}}}}},"563":{"description":"Insufficient gems.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":563,"message":"Insufficient gems."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"JWTBearer":[]}]}},"/gems_shop/spawn_event":{"post":{"tags":["Gems Shop"],"summary":"Buy Spawn Event","description":"Spawn an event from the gems shop using gems.","operationId":"buy_spawn_event_gems_shop_spawn_event_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpawnEventRequestSchema"}}},"required":true},"responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActiveEventResponseSchema"}}}},"563":{"description":"Insufficient gems.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":563,"message":"Insufficient gems."}}}}},"404":{"description":"Event not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Event not found."}}}}},"564":{"description":"Event already active or maximum active events reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":564,"message":"Event already active or maximum active events reached."}}}}},"566":{"description":"This event is on cooldown and cannot be spawned yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":566,"message":"This event is on cooldown and cannot be spawned yet."}}}}},"571":{"description":"This event is not available for purchase.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":571,"message":"This event is not available for purchase."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"JWTBearer":[]}]}},"/gems_shop/subscription":{"post":{"tags":["Gems Shop"],"summary":"Buy Subscription","description":"Buy or extend membership by 30 days using gems. Unavailable while a Stripe subscription is active.","operationId":"buy_subscription_gems_shop_subscription_post","responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GemShopSubscriptionResponseSchema"}}}},"563":{"description":"Insufficient gems.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":563,"message":"Insufficient gems."}}}}},"573":{"description":"An active Stripe subscription cannot be extended with gems or member tokens.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":573,"message":"An active Stripe subscription cannot be extended with gems or member tokens."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"JWTBearer":[]}]}},"/gems_shop/buy_custom_design":{"post":{"tags":["Gems Shop"],"summary":"Buy Custom Design","description":"Buy a custom design using gems.","operationId":"buy_custom_design_gems_shop_buy_custom_design_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyCustomDesignRequestSchema"}}},"required":true},"responses":{"200":{"description":"Successfully fetched data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GemShopCustomDesignPurchaseResponseSchema"}}}},"563":{"description":"Insufficient gems.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":563,"message":"Insufficient gems."}}}}},"404":{"description":"Custom design not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":404,"message":"Custom design not found."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"JWTBearer":[]}]}},"/game_assistant/ask":{"post":{"tags":["Game Assistant"],"summary":"Ask Game Assistant","description":"Ask the game assistant a question about game mechanics or public API usage.\nAn active membership is required. Members receive a limited number of free\nquestions per day. When no free question is available, the request can spend\n1 gem with pay_with_gems=true.","operationId":"ask_game_assistant_game_assistant_ask_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantQuestionSchema"}}},"required":true},"responses":{"200":{"description":"The assistant has answered your question.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantAnswerSchema"}}}},"451":{"description":"Access denied, you must be a member to do that.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":451,"message":"Access denied, you must be a member to do that."}}}}},"570":{"description":"You have reached the daily limit for assistant questions. Try again tomorrow.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":570,"message":"You have reached the daily limit for assistant questions. Try again tomorrow."}}}}},"563":{"description":"Insufficient gems.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":563,"message":"Insufficient gems."}}}}},"422":{"description":"Request could not be processed due to an invalid payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseSchema"},"example":{"error":{"code":422,"message":"Request could not be processed due to an invalid payload.","data":{"field_name":["Field required"]}}}}}}},"security":[{"JWTBearer":[]}]}}},"components":{"schemas":{"AccessSchema":{"properties":{"type":{"$ref":"#/components/schemas/MapAccessType","description":"Map access type determining movement and accessibility"},"conditions":{"items":{"$ref":"#/components/schemas/ConditionSchema"},"type":"array","nullable":true,"title":"Conditions","description":"Access conditions for the map"}},"type":"object","required":["type"],"title":"AccessSchema"},"AccountAchievementObjectiveSchema":{"properties":{"type":{"$ref":"#/components/schemas/AchievementType","description":"Type of objective."},"target":{"type":"string","nullable":true,"title":"Target","description":"Target of the objective (e.g., item code, monster code)."},"progress":{"type":"integer","title":"Progress","description":"Current progress for this objective.","default":0},"total":{"type":"integer","title":"Total","description":"Total required for this objective."}},"type":"object","required":["type","total"],"title":"AccountAchievementObjectiveSchema","description":"Schema for a single objective within an account achievement, including progress."},"AccountAchievementSchema":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the achievement."},"code":{"type":"string","title":"Code","description":"Code of the achievement."},"description":{"type":"string","title":"Description","description":"Description of the achievement."},"points":{"type":"integer","title":"Points","description":"Points of the achievement. Used for the leaderboard."},"objectives":{"items":{"$ref":"#/components/schemas/AccountAchievementObjectiveSchema"},"type":"array","title":"Objectives","description":"List of objectives with progress."},"rewards":{"$ref":"#/components/schemas/AchievementRewardsSchema","description":"Rewards."},"completed_at":{"type":"string","format":"date-time","nullable":true,"title":"Completed At","description":"Completion timestamp."}},"type":"object","required":["name","code","description","points","objectives","rewards"],"title":"AccountAchievementSchema","description":"Full achievement data with progress - for API responses."},"AccountDetails":{"properties":{"username":{"type":"string","title":"Username","description":"Username."},"member":{"type":"boolean","title":"Member","description":"Member status."},"status":{"$ref":"#/components/schemas/AccountStatus","description":"Account status. Status for contributors during the alpha and beta phases. It is no longer possible to obtain founder status."},"badges":{"items":{"type":"string"},"type":"array","title":"Badges","description":"Account badges."},"skins":{"items":{"type":"string"},"type":"array","title":"Skins","description":"Skins owned."},"achievements_points":{"type":"integer","title":"Achievements Points","description":"Achievement points."},"banned":{"type":"boolean","title":"Banned","description":"Banned."},"ban_reason":{"type":"string","title":"Ban Reason","description":"Ban reason."}},"type":"object","required":["username","member","status","skins","achievements_points","banned"],"title":"AccountDetails"},"AccountDetailsSchema":{"properties":{"data":{"$ref":"#/components/schemas/AccountDetails"}},"type":"object","required":["data"],"title":"AccountDetailsSchema"},"AccountLeaderboardSchema":{"properties":{"position":{"type":"integer","title":"Position","description":"Position in the leaderboard."},"account":{"type":"string","title":"Account","description":"Account name."},"member":{"type":"boolean","title":"Member","description":"Member status."},"achievements_points":{"type":"integer","title":"Achievements Points","description":"Achievements points."},"completed_at":{"type":"string","format":"date-time","nullable":true,"title":"Completed At","description":"Datetime when all achievement points were completed."},"gold":{"type":"integer","title":"Gold","description":"Gold in the account."}},"type":"object","required":["position","account","member","achievements_points","gold"],"title":"AccountLeaderboardSchema"},"AccountLeaderboardType":{"type":"string","enum":["achievements_points","gold"],"title":"AccountLeaderboardType"},"AccountStatus":{"type":"string","enum":["standard","founder","gold_founder","vip_founder","goblin1"],"title":"AccountStatus"},"AchievementObjectiveSchema":{"properties":{"type":{"$ref":"#/components/schemas/AchievementType","description":"Type of objective."},"target":{"type":"string","nullable":true,"title":"Target","description":"Target of the objective (e.g., item code, monster code)."},"total":{"type":"integer","title":"Total","description":"Total required for this objective."}},"type":"object","required":["type","total"],"title":"AchievementObjectiveSchema","description":"Schema for a single objective within an achievement."},"AchievementResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/AchievementSchema"}},"type":"object","required":["data"],"title":"AchievementResponseSchema"},"AchievementRewardsSchema":{"properties":{"gold":{"type":"integer","title":"Gold","description":"Gold rewards.","default":0},"items":{"items":{"$ref":"#/components/schemas/RewardItemSchema"},"type":"array","nullable":true,"title":"Items","description":"Item rewards."}},"type":"object","title":"AchievementRewardsSchema","description":"Schema for achievement rewards including gold and items.","required":[]},"AchievementSchema":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the achievement."},"code":{"type":"string","title":"Code","description":"Code of the achievement."},"description":{"type":"string","title":"Description","description":"Description of the achievement."},"points":{"type":"integer","title":"Points","description":"Points of the achievement. Used for the leaderboard."},"objectives":{"items":{"$ref":"#/components/schemas/AchievementObjectiveSchema"},"type":"array","title":"Objectives","description":"List of objectives that must be completed."},"rewards":{"$ref":"#/components/schemas/AchievementRewardsSchema","description":"Rewards."}},"type":"object","required":["name","code","description","points","objectives","rewards"],"title":"AchievementSchema","description":"Schema for an achievement definition."},"AchievementType":{"type":"string","enum":["combat_kill","combat_drop","combat_level","gathering","crafting","recycling","task","other","use","npc_buy","npc_sell"],"title":"AchievementType"},"ActionType":{"type":"string","enum":["movement","fight","raid_fight","multi_fight","crafting","gathering","buy_ge","sell_ge","create_buy_order_ge","fill_buy_order_ge","buy_npc","sell_npc","cancel_ge","delete_item","deposit_item","withdraw_item","deposit_gold","withdraw_gold","equip","unequip","task","recycling","rest","use","buy_bank_expansion","give_item","give_gold","raid_deposit","change_skin","rename","transition","claim_item","sandbox_give_gold","sandbox_give_item","sandbox_give_xp","sandbox_clear_cooldown","sandbox_teleport"],"title":"ActionType"},"ActiveCharacterSchema":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the character."},"account":{"type":"string","title":"Account","description":"Account name."},"skin":{"type":"string","title":"Skin","description":"Character skin code."},"x":{"type":"integer","title":"X","description":"Character x coordinate."},"y":{"type":"integer","title":"Y","description":"Character y coordinate."},"layer":{"$ref":"#/components/schemas/MapLayer","description":"Character current layer."},"map_id":{"type":"integer","title":"Map Id","description":"Character current map ID."}},"type":"object","required":["name","account","skin","x","y","layer","map_id"],"title":"ActiveCharacterSchema"},"ActiveEventResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/ActiveEventSchema"}},"type":"object","required":["data"],"title":"ActiveEventResponseSchema"},"ActiveEventSchema":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the event."},"code":{"type":"string","title":"Code","description":"Code of the event."},"map":{"$ref":"#/components/schemas/MapSchema","description":"Map of the event."},"previous_map":{"$ref":"#/components/schemas/MapSchema","description":"Previous map skin."},"duration":{"type":"integer","title":"Duration","description":"Duration in minutes."},"expiration":{"type":"string","format":"date-time","title":"Expiration","description":"Expiration datetime."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Start datetime."}},"type":"object","required":["name","code","map","previous_map","duration","expiration","created_at"],"title":"ActiveEventSchema"},"AddAccountSchema":{"properties":{"username":{"type":"string","maxLength":32,"minLength":6,"pattern":"^[a-zA-Z0-9_-]+$","title":"Username","description":"Your desired username."},"password":{"type":"string","maxLength":50,"minLength":5,"pattern":"^[^\\s]+$","title":"Password","description":"Your password."},"email":{"type":"string","format":"email","title":"Email","description":"Your email."}},"type":"object","required":["username","password","email"],"title":"AddAccountSchema"},"AddCharacterSchema":{"properties":{"name":{"type":"string","maxLength":12,"minLength":3,"pattern":"^[a-zA-Z0-9_-]+$","title":"Name","description":"Your desired character name. It's unique and all players can see it."},"skin":{"type":"string","title":"Skin","description":"Your desired skin."}},"type":"object","required":["name","skin"],"title":"AddCharacterSchema"},"AssistantAnswerDataSchema":{"properties":{"answer":{"type":"string","title":"Answer","description":"The assistant's answer."},"assistant":{"$ref":"#/components/schemas/RateLimitScopeSchema","description":"Updated assistant rate limit after this request."},"paid_with_gems":{"type":"boolean","title":"Paid With Gems","description":"Whether this question cost 1 gem."}},"type":"object","required":["answer","assistant","paid_with_gems"],"title":"AssistantAnswerDataSchema"},"AssistantAnswerSchema":{"properties":{"data":{"$ref":"#/components/schemas/AssistantAnswerDataSchema"}},"type":"object","required":["data"],"title":"AssistantAnswerSchema"},"AssistantQuestionSchema":{"properties":{"question":{"type":"string","maxLength":50000,"minLength":1,"title":"Question","description":"Your question"},"pay_with_gems":{"type":"boolean","title":"Pay With Gems","description":"Spend 1 gem if no free member question is available.","default":false}},"type":"object","required":["question"],"title":"AssistantQuestionSchema"},"BadgeResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/BadgeSchema"}},"type":"object","required":["data"],"title":"BadgeResponseSchema"},"BadgeSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Code of the badge. This is the badge's unique identifier (ID)."},"season":{"type":"integer","nullable":true,"title":"Season","description":"Season of the badge."},"description":{"type":"string","title":"Description","description":"Description of the badge."}},"type":"object","required":["code","description"],"title":"BadgeSchema"},"BankExtensionSchema":{"properties":{"price":{"type":"integer","minimum":0.0,"title":"Price","description":"Price of the bank extension."}},"type":"object","required":["price"],"title":"BankExtensionSchema"},"BankExtensionTransactionResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/BankExtensionTransactionSchema"}},"type":"object","required":["data"],"title":"BankExtensionTransactionResponseSchema"},"BankExtensionTransactionSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"transaction":{"$ref":"#/components/schemas/BankExtensionSchema","description":"Transaction details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Player details."}},"type":"object","required":["cooldown","transaction","character"],"title":"BankExtensionTransactionSchema"},"BankGoldTransactionResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/BankGoldTransactionSchema"}},"type":"object","required":["data"],"title":"BankGoldTransactionResponseSchema"},"BankGoldTransactionSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"bank":{"$ref":"#/components/schemas/GoldSchema","description":"Bank details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Player details."}},"type":"object","required":["cooldown","bank","character"],"title":"BankGoldTransactionSchema"},"BankItemTransactionResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/BankItemTransactionSchema"}},"type":"object","required":["data"],"title":"BankItemTransactionResponseSchema"},"BankItemTransactionSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"items":{"items":{"$ref":"#/components/schemas/SimpleItemSchema"},"type":"array","title":"Items","description":"Items details."},"bank":{"items":{"$ref":"#/components/schemas/SimpleItemSchema"},"type":"array","title":"Bank","description":"Items in your banks."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Player details."}},"type":"object","required":["cooldown","items","bank","character"],"title":"BankItemTransactionSchema"},"BankResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/BankSchema"}},"type":"object","required":["data"],"title":"BankResponseSchema"},"BankSchema":{"properties":{"slots":{"type":"integer","minimum":0.0,"title":"Slots","description":"Maximum slots in your bank."},"expansions":{"type":"integer","minimum":0.0,"title":"Expansions","description":"Bank expansions."},"next_expansion_cost":{"type":"integer","minimum":0.0,"title":"Next Expansion Cost","description":"Next expansion cost."},"gold":{"type":"integer","minimum":0.0,"title":"Gold","description":"Quantity of gold in your bank."}},"type":"object","required":["slots","expansions","next_expansion_cost","gold"],"title":"BankSchema"},"BuyCustomDesignRequestSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Code of the custom design to purchase."}},"type":"object","required":["code"],"title":"BuyCustomDesignRequestSchema"},"BuySkinRequestSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Code of the skin to purchase."}},"type":"object","required":["code"],"title":"BuySkinRequestSchema"},"BuySkinResponseDataSchema":{"properties":{"skins":{"items":{"type":"string"},"type":"array","title":"Skins","description":"Updated list of owned skins."},"skin":{"type":"string","title":"Skin","description":"Code of the purchased skin."},"gems":{"type":"integer","title":"Gems","description":"Remaining gem balance."}},"type":"object","required":["skins","skin","gems"],"title":"BuySkinResponseDataSchema"},"BuySkinResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/BuySkinResponseDataSchema"}},"type":"object","required":["data"],"title":"BuySkinResponseSchema"},"ChangeEmailSchema":{"properties":{"current_email":{"type":"string","format":"email","title":"Current Email","description":"Your current email."},"new_email":{"type":"string","format":"email","title":"New Email","description":"New email."}},"type":"object","required":["current_email","new_email"],"title":"ChangeEmailSchema"},"ChangePasswordSchema":{"properties":{"current_password":{"type":"string","maxLength":50,"minLength":5,"pattern":"^[^\\s]+$","title":"Current Password","description":"Your password."},"new_password":{"type":"string","maxLength":50,"minLength":5,"pattern":"^[^\\s]+$","title":"New Password","description":"New password."}},"type":"object","required":["current_password","new_password"],"title":"ChangePasswordSchema"},"ChangeSkinCharacterDataSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"skin":{"type":"string","title":"Skin","description":"Craft details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Player details."}},"type":"object","required":["cooldown","skin","character"],"title":"ChangeSkinCharacterDataSchema"},"ChangeSkinCharacterSchema":{"properties":{"skin":{"type":"string","title":"Skin","description":"Your desired skin."}},"type":"object","required":["skin"],"title":"ChangeSkinCharacterSchema"},"ChangeSkinResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/ChangeSkinCharacterDataSchema"}},"type":"object","required":["data"],"title":"ChangeSkinResponseSchema"},"CharacterFightDataSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"fight":{"$ref":"#/components/schemas/CharacterFightSchema","description":"Character fight details."},"characters":{"items":{"$ref":"#/components/schemas/CharacterSchema"},"type":"array","title":"Characters","description":"All characters involved."}},"type":"object","required":["cooldown","fight","characters"],"title":"CharacterFightDataSchema"},"CharacterFightResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/CharacterFightDataSchema"}},"type":"object","required":["data"],"title":"CharacterFightResponseSchema"},"CharacterFightSchema":{"properties":{"result":{"$ref":"#/components/schemas/FightResult","description":"The result of the fight."},"turns":{"type":"integer","title":"Turns","description":"Numbers of the turns of the combat."},"opponent":{"type":"string","title":"Opponent","description":"The code of the monster fought."},"logs":{"items":{"type":"string"},"type":"array","title":"Logs","description":"The fight logs."},"characters":{"items":{"$ref":"#/components/schemas/CharacterMultiFightResultSchema"},"type":"array","title":"Characters","description":"Results for each character."}},"type":"object","required":["result","turns","opponent","logs","characters"],"title":"CharacterFightSchema"},"CharacterLeaderboardSchema":{"properties":{"position":{"type":"integer","title":"Position","description":"Position in the leaderboard."},"name":{"type":"string","title":"Name","description":"Character name."},"account":{"type":"string","title":"Account","description":"Account name."},"member":{"type":"boolean","title":"Member","description":"Member status."},"skin":{"type":"string","title":"Skin","description":"Character skin code."},"level":{"type":"integer","title":"Level","description":"Combat level."},"total_xp":{"type":"integer","title":"Total Xp","description":"Total XP of your character."},"mining_level":{"type":"integer","title":"Mining Level","description":"Mining level."},"mining_total_xp":{"type":"integer","title":"Mining Total Xp","description":"Mining total xp."},"woodcutting_level":{"type":"integer","title":"Woodcutting Level","description":"Woodcutting level."},"woodcutting_total_xp":{"type":"integer","title":"Woodcutting Total Xp","description":"Woodcutting total xp."},"fishing_level":{"type":"integer","title":"Fishing Level","description":"Fishing level."},"fishing_total_xp":{"type":"integer","title":"Fishing Total Xp","description":"Fishing total xp."},"weaponcrafting_level":{"type":"integer","title":"Weaponcrafting Level","description":"Weaponcrafting level."},"weaponcrafting_total_xp":{"type":"integer","title":"Weaponcrafting Total Xp","description":"Weaponcrafting total xp."},"gearcrafting_level":{"type":"integer","title":"Gearcrafting Level","description":"Gearcrafting level."},"gearcrafting_total_xp":{"type":"integer","title":"Gearcrafting Total Xp","description":"Gearcrafting total xp."},"jewelrycrafting_level":{"type":"integer","title":"Jewelrycrafting Level","description":"Jewelrycrafting level."},"jewelrycrafting_total_xp":{"type":"integer","title":"Jewelrycrafting Total Xp","description":"Jewelrycrafting total xp."},"cooking_level":{"type":"integer","title":"Cooking Level","description":"Cooking level."},"cooking_total_xp":{"type":"integer","title":"Cooking Total Xp","description":"Cooking total xp."},"alchemy_level":{"type":"integer","title":"Alchemy Level","description":"Alchemy level."},"alchemy_total_xp":{"type":"integer","title":"Alchemy Total Xp","description":"Alchemy total xp."},"gold":{"type":"integer","title":"Gold","description":"The numbers of gold on this character."}},"type":"object","required":["position","name","account","member","skin","level","total_xp","mining_level","mining_total_xp","woodcutting_level","woodcutting_total_xp","fishing_level","fishing_total_xp","weaponcrafting_level","weaponcrafting_total_xp","gearcrafting_level","gearcrafting_total_xp","jewelrycrafting_level","jewelrycrafting_total_xp","cooking_level","cooking_total_xp","alchemy_level","alchemy_total_xp","gold"],"title":"CharacterLeaderboardSchema"},"CharacterLeaderboardType":{"type":"string","enum":["combat","woodcutting","mining","fishing","weaponcrafting","gearcrafting","jewelrycrafting","cooking","alchemy"],"title":"CharacterLeaderboardType"},"CharacterMovementDataSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details"},"destination":{"$ref":"#/components/schemas/MapSchema","description":"Destination details."},"path":{"items":{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},"type":"array","title":"Path","description":"Path taken from start to destination (list of coordinates)"},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Character details."}},"type":"object","required":["cooldown","destination","path","character"],"title":"CharacterMovementDataSchema"},"CharacterMovementResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/CharacterMovementDataSchema"}},"type":"object","required":["data"],"title":"CharacterMovementResponseSchema"},"CharacterMultiFightResultSchema":{"properties":{"character_name":{"type":"string","title":"Character Name","description":"Name of the character."},"xp":{"type":"integer","title":"Xp","description":"XP gained by this character."},"gold":{"type":"integer","title":"Gold","description":"Gold gained by this character."},"drops":{"items":{"$ref":"#/components/schemas/DropSchema"},"type":"array","title":"Drops","description":"Items dropped for this character."},"final_hp":{"type":"integer","title":"Final Hp","description":"Character's HP at the end of combat."}},"type":"object","required":["character_name","xp","gold","drops","final_hp"],"title":"CharacterMultiFightResultSchema"},"CharacterResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/CharacterSchema"}},"type":"object","required":["data"],"title":"CharacterResponseSchema"},"CharacterRestDataSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details"},"hp_restored":{"type":"integer","title":"Hp Restored","description":"The amount of HP restored."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Character details."}},"type":"object","required":["cooldown","hp_restored","character"],"title":"CharacterRestDataSchema"},"CharacterRestResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/CharacterRestDataSchema"}},"type":"object","required":["data"],"title":"CharacterRestResponseSchema"},"CharacterSchema":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the character."},"account":{"type":"string","title":"Account","description":"Account name."},"skin":{"type":"string","title":"Skin","description":"Character skin code."},"level":{"type":"integer","title":"Level","description":"Combat level."},"xp":{"type":"integer","title":"Xp","description":"The current xp level of the combat level."},"max_xp":{"type":"integer","title":"Max Xp","description":"XP required to level up the character."},"gold":{"type":"integer","title":"Gold","description":"The numbers of gold on this character."},"speed":{"type":"integer","title":"Speed","description":"*Not available, on the roadmap. Character movement speed."},"mining_level":{"type":"integer","title":"Mining Level","description":"Mining level."},"mining_xp":{"type":"integer","title":"Mining Xp","description":"The current xp level of the Mining skill."},"mining_max_xp":{"type":"integer","title":"Mining Max Xp","description":"Mining XP required to level up the skill."},"woodcutting_level":{"type":"integer","title":"Woodcutting Level","description":"Woodcutting level."},"woodcutting_xp":{"type":"integer","title":"Woodcutting Xp","description":"The current xp level of the Woodcutting skill."},"woodcutting_max_xp":{"type":"integer","title":"Woodcutting Max Xp","description":"Woodcutting XP required to level up the skill."},"fishing_level":{"type":"integer","title":"Fishing Level","description":"Fishing level."},"fishing_xp":{"type":"integer","title":"Fishing Xp","description":"The current xp level of the Fishing skill."},"fishing_max_xp":{"type":"integer","title":"Fishing Max Xp","description":"Fishing XP required to level up the skill."},"weaponcrafting_level":{"type":"integer","title":"Weaponcrafting Level","description":"Weaponcrafting level."},"weaponcrafting_xp":{"type":"integer","title":"Weaponcrafting Xp","description":"The current xp level of the Weaponcrafting skill."},"weaponcrafting_max_xp":{"type":"integer","title":"Weaponcrafting Max Xp","description":"Weaponcrafting XP required to level up the skill."},"gearcrafting_level":{"type":"integer","title":"Gearcrafting Level","description":"Gearcrafting level."},"gearcrafting_xp":{"type":"integer","title":"Gearcrafting Xp","description":"The current xp level of the Gearcrafting skill."},"gearcrafting_max_xp":{"type":"integer","title":"Gearcrafting Max Xp","description":"Gearcrafting XP required to level up the skill."},"jewelrycrafting_level":{"type":"integer","title":"Jewelrycrafting Level","description":"Jewelrycrafting level."},"jewelrycrafting_xp":{"type":"integer","title":"Jewelrycrafting Xp","description":"The current xp level of the Jewelrycrafting skill."},"jewelrycrafting_max_xp":{"type":"integer","title":"Jewelrycrafting Max Xp","description":"Jewelrycrafting XP required to level up the skill."},"cooking_level":{"type":"integer","title":"Cooking Level","description":"The current xp level of the Cooking skill."},"cooking_xp":{"type":"integer","title":"Cooking Xp","description":"Cooking XP."},"cooking_max_xp":{"type":"integer","title":"Cooking Max Xp","description":"Cooking XP required to level up the skill."},"alchemy_level":{"type":"integer","title":"Alchemy Level","description":"Alchemy level."},"alchemy_xp":{"type":"integer","title":"Alchemy Xp","description":"Alchemy XP."},"alchemy_max_xp":{"type":"integer","title":"Alchemy Max Xp","description":"Alchemy XP required to level up the skill."},"hp":{"type":"integer","title":"Hp","description":"Character actual HP."},"max_hp":{"type":"integer","title":"Max Hp","description":"Character max HP."},"haste":{"type":"integer","title":"Haste","description":"*Increase speed attack (reduce fight cooldown)"},"critical_strike":{"type":"integer","title":"Critical Strike","description":"% Critical strike. Critical strikes adds 50% extra damage to an attack (1.5x)."},"wisdom":{"type":"integer","title":"Wisdom","description":"Wisdom increases the amount of XP gained from fights and skills (1% extra per 10 wisdom)."},"prospecting":{"type":"integer","title":"Prospecting","description":"Prospecting increases the chances of getting drops from fights and skills (1% extra per 10 PP)."},"initiative":{"type":"integer","title":"Initiative","description":"Initiative determines turn order in combat. Higher initiative goes first."},"threat":{"type":"integer","title":"Threat","description":"Threat level affects monster targeting in multi-character combat."},"attack_fire":{"type":"integer","title":"Attack Fire","description":"Fire attack."},"attack_earth":{"type":"integer","title":"Attack Earth","description":"Earth attack."},"attack_water":{"type":"integer","title":"Attack Water","description":"Water attack."},"attack_air":{"type":"integer","title":"Attack Air","description":"Air attack."},"dmg":{"type":"integer","title":"Dmg","description":"% Damage. Damage increases your attack in all elements."},"dmg_fire":{"type":"integer","title":"Dmg Fire","description":"% Fire damage. Damage increases your fire attack."},"dmg_earth":{"type":"integer","title":"Dmg Earth","description":"% Earth damage. Damage increases your earth attack."},"dmg_water":{"type":"integer","title":"Dmg Water","description":"% Water damage. Damage increases your water attack."},"dmg_air":{"type":"integer","title":"Dmg Air","description":"% Air damage. Damage increases your air attack."},"res_fire":{"type":"integer","title":"Res Fire","description":"% Fire resistance. Reduces fire attack."},"res_earth":{"type":"integer","title":"Res Earth","description":"% Earth resistance. Reduces earth attack."},"res_water":{"type":"integer","title":"Res Water","description":"% Water resistance. Reduces water attack."},"res_air":{"type":"integer","title":"Res Air","description":"% Air resistance. Reduces air attack."},"effects":{"items":{"$ref":"#/components/schemas/StorageEffectSchema"},"type":"array","title":"Effects","description":"List of active effects on the character."},"x":{"type":"integer","title":"X","description":"Character x coordinate."},"y":{"type":"integer","title":"Y","description":"Character y coordinate."},"layer":{"$ref":"#/components/schemas/MapLayer","description":"Character current layer."},"map_id":{"type":"integer","title":"Map Id","description":"Character current map ID."},"cooldown":{"type":"integer","title":"Cooldown","description":"Cooldown in seconds."},"cooldown_expiration":{"type":"string","format":"date-time","title":"Cooldown Expiration","description":"Datetime Cooldown expiration."},"weapon_slot":{"type":"string","title":"Weapon Slot","description":"Weapon slot."},"rune_slot":{"type":"string","title":"Rune Slot","description":"Rune slot."},"shield_slot":{"type":"string","title":"Shield Slot","description":"Shield slot."},"helmet_slot":{"type":"string","title":"Helmet Slot","description":"Helmet slot."},"body_armor_slot":{"type":"string","title":"Body Armor Slot","description":"Body armor slot."},"leg_armor_slot":{"type":"string","title":"Leg Armor Slot","description":"Leg armor slot."},"boots_slot":{"type":"string","title":"Boots Slot","description":"Boots slot."},"ring1_slot":{"type":"string","title":"Ring1 Slot","description":"Ring 1 slot."},"ring2_slot":{"type":"string","title":"Ring2 Slot","description":"Ring 2 slot."},"amulet_slot":{"type":"string","title":"Amulet Slot","description":"Amulet slot."},"artifact1_slot":{"type":"string","title":"Artifact1 Slot","description":"Artifact 1 slot."},"artifact2_slot":{"type":"string","title":"Artifact2 Slot","description":"Artifact 2 slot."},"artifact3_slot":{"type":"string","title":"Artifact3 Slot","description":"Artifact 3 slot."},"utility1_slot":{"type":"string","title":"Utility1 Slot","description":"Utility 1 slot."},"utility1_slot_quantity":{"type":"integer","minimum":0.0,"title":"Utility1 Slot Quantity","description":"Utility 1 quantity."},"utility2_slot":{"type":"string","title":"Utility2 Slot","description":"Utility 2 slot."},"utility2_slot_quantity":{"type":"integer","minimum":0.0,"title":"Utility2 Slot Quantity","description":"Utility 2 quantity."},"bag_slot":{"type":"string","title":"Bag Slot","description":"Bag slot."},"task":{"type":"string","title":"Task","description":"Task in progress."},"task_type":{"type":"string","title":"Task Type","description":"Task type."},"task_progress":{"type":"integer","title":"Task Progress","description":"Task progression."},"task_total":{"type":"integer","title":"Task Total","description":"Task total objective."},"inventory_max_items":{"type":"integer","title":"Inventory Max Items","description":"Inventory max items."},"inventory":{"items":{"$ref":"#/components/schemas/InventorySlotSchema"},"type":"array","title":"Inventory","description":"List of inventory slots."}},"type":"object","required":["name","account","skin","level","xp","max_xp","gold","speed","mining_level","mining_xp","mining_max_xp","woodcutting_level","woodcutting_xp","woodcutting_max_xp","fishing_level","fishing_xp","fishing_max_xp","weaponcrafting_level","weaponcrafting_xp","weaponcrafting_max_xp","gearcrafting_level","gearcrafting_xp","gearcrafting_max_xp","jewelrycrafting_level","jewelrycrafting_xp","jewelrycrafting_max_xp","cooking_level","cooking_xp","cooking_max_xp","alchemy_level","alchemy_xp","alchemy_max_xp","hp","max_hp","haste","critical_strike","wisdom","prospecting","initiative","threat","attack_fire","attack_earth","attack_water","attack_air","dmg","dmg_fire","dmg_earth","dmg_water","dmg_air","res_fire","res_earth","res_water","res_air","x","y","layer","map_id","cooldown","weapon_slot","rune_slot","shield_slot","helmet_slot","body_armor_slot","leg_armor_slot","boots_slot","ring1_slot","ring2_slot","amulet_slot","artifact1_slot","artifact2_slot","artifact3_slot","utility1_slot","utility1_slot_quantity","utility2_slot","utility2_slot_quantity","bag_slot","task","task_type","task_progress","task_total","inventory_max_items"],"title":"CharacterSchema"},"CharacterStatsResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/CharacterStatsSchema"}},"type":"object","required":["data"],"title":"CharacterStatsResponseSchema"},"CharacterStatsSchema":{"properties":{"monsters_killed":{"additionalProperties":{"type":"integer"},"type":"object","title":"Monsters Killed","default":{}},"resources_gathered":{"additionalProperties":{"type":"integer"},"type":"object","title":"Resources Gathered","default":{}},"action_counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Action Counts","default":{}},"deaths":{"type":"integer","title":"Deaths","default":0}},"type":"object","title":"CharacterStatsSchema","required":[]},"CharacterTransitionDataSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details"},"destination":{"$ref":"#/components/schemas/MapSchema","description":"Destination map details."},"transition":{"$ref":"#/components/schemas/TransitionSchema","description":"Transition details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Character details."}},"type":"object","required":["cooldown","destination","transition","character"],"title":"CharacterTransitionDataSchema"},"CharacterTransitionResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/CharacterTransitionDataSchema"}},"type":"object","required":["data"],"title":"CharacterTransitionResponseSchema"},"CharactersListSchema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/CharacterSchema"},"type":"array","title":"Data","description":"List of your characters."}},"type":"object","required":["data"],"title":"CharactersListSchema"},"CheckoutResponseSchema":{"properties":{"checkout_url":{"type":"string","title":"Checkout Url","description":"Stripe checkout URL for payment."},"session_id":{"type":"string","title":"Session Id","description":"Stripe checkout session ID."}},"type":"object","required":["checkout_url","session_id"],"title":"CheckoutResponseSchema","description":"Checkout session response."},"CheckoutResponseWrapperSchema":{"properties":{"data":{"$ref":"#/components/schemas/CheckoutResponseSchema"}},"type":"object","required":["data"],"title":"CheckoutResponseWrapperSchema"},"ClaimPendingItemDataSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"item":{"$ref":"#/components/schemas/PendingItemSchema","description":"The claimed pending item."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Character details."}},"type":"object","required":["cooldown","item","character"],"title":"ClaimPendingItemDataSchema","description":"Data schema for claim pending item action."},"ClaimPendingItemResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/ClaimPendingItemDataSchema","description":"Response data containing cooldown, item, and character."}},"type":"object","required":["data"],"title":"ClaimPendingItemResponseSchema","description":"Response schema for claim pending item action."},"CombatResultSchema":{"properties":{"result":{"type":"string","title":"Result","description":"Combat result: 'win' or 'loss'."},"turns":{"type":"integer","title":"Turns","description":"Number of turns the combat lasted."},"logs":{"items":{"type":"string"},"type":"array","title":"Logs","description":"Combat logs."},"character_results":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Character Results","description":"Character results from combat."}},"type":"object","required":["result","turns","logs","character_results"],"title":"CombatResultSchema"},"CombatSimulationDataSchema":{"properties":{"results":{"items":{"$ref":"#/components/schemas/CombatResultSchema"},"type":"array","title":"Results","description":"Results from each combat iteration."},"wins":{"type":"integer","title":"Wins","description":"Total number of victories."},"losses":{"type":"integer","title":"Losses","description":"Total number of defeats."},"winrate":{"type":"number","title":"Winrate","description":"Win rate percentage (0-100)."}},"type":"object","required":["results","wins","losses","winrate"],"title":"CombatSimulationDataSchema"},"CombatSimulationRequestSchema":{"properties":{"characters":{"items":{"$ref":"#/components/schemas/FakeCharacterSchema"},"type":"array","maxItems":3,"minItems":1,"title":"Characters","description":"List of fake characters (1-3)."},"monster":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Monster","description":"Monster code to fight against."},"iterations":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Iterations","description":"Number of combat iterations to simulate."}},"type":"object","required":["characters","monster","iterations"],"title":"CombatSimulationRequestSchema"},"CombatSimulationResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/CombatSimulationDataSchema","description":"Combat simulation results."}},"type":"object","required":["data"],"title":"CombatSimulationResponseSchema"},"ConditionOperator":{"type":"string","enum":["eq","ne","gt","lt","cost","has_item","achievement_unlocked"],"title":"ConditionOperator"},"ConditionSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Condition code."},"operator":{"$ref":"#/components/schemas/ConditionOperator","description":"Condition operator."},"value":{"type":"integer","title":"Value","description":"Condition value."}},"type":"object","required":["code","operator","value"],"title":"ConditionSchema"},"CooldownSchema":{"properties":{"total_seconds":{"type":"integer","title":"Total Seconds","description":"The total seconds of the cooldown."},"remaining_seconds":{"type":"integer","title":"Remaining Seconds","description":"The remaining seconds of the cooldown."},"started_at":{"type":"string","format":"date-time","title":"Started At","description":"The start of the cooldown."},"expiration":{"type":"string","format":"date-time","title":"Expiration","description":"The expiration of the cooldown."},"reason":{"$ref":"#/components/schemas/ActionType","description":"The reason of the cooldown."}},"type":"object","required":["total_seconds","remaining_seconds","started_at","expiration","reason"],"title":"CooldownSchema"},"CraftSchema":{"properties":{"skill":{"$ref":"#/components/schemas/CraftSkill","title":"Skill code","description":"Skill required to craft the item."},"level":{"type":"integer","title":"Level","description":"The skill level required to craft the item."},"items":{"items":{"$ref":"#/components/schemas/SimpleItemSchema"},"type":"array","title":"Items","description":"List of items required to craft the item."},"quantity":{"type":"integer","title":"Quantity","description":"Quantity of items crafted."}},"type":"object","title":"CraftSchema","required":[]},"CraftSkill":{"type":"string","enum":["weaponcrafting","gearcrafting","jewelrycrafting","cooking","woodcutting","mining","alchemy"],"title":"CraftSkill"},"CraftingSchema":{"properties":{"code":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Craft code","description":"Craft code."},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Quantity of items to craft.","default":1}},"type":"object","required":["code"],"title":"CraftingSchema"},"DataPage_AccountAchievementSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AccountAchievementSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"DataPage[AccountAchievementSchema]"},"DataPage_AccountLeaderboardSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AccountLeaderboardSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"DataPage[AccountLeaderboardSchema]"},"DataPage_ActiveCharacterSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ActiveCharacterSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"DataPage[ActiveCharacterSchema]"},"DataPage_CharacterLeaderboardSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/CharacterLeaderboardSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"DataPage[CharacterLeaderboardSchema]"},"DataPage_GEOrderHistorySchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/GEOrderHistorySchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"DataPage[GEOrderHistorySchema]"},"DataPage_GEOrderSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/GEOrderSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"DataPage[GEOrderSchema]"},"DataPage_LogSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/LogSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"DataPage[LogSchema]"},"DataPage_PendingItemSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/PendingItemSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"DataPage[PendingItemSchema]"},"DataPage_RaidLeaderboardEntrySchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/RaidLeaderboardEntrySchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"DataPage[RaidLeaderboardEntrySchema]"},"DataPage_SimpleItemSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/SimpleItemSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"DataPage[SimpleItemSchema]"},"DeleteCharacterSchema":{"properties":{"name":{"type":"string","maxLength":12,"minLength":3,"pattern":"^[a-zA-Z0-9_-]+$","title":"Name","description":"Character name."}},"type":"object","required":["name"],"title":"DeleteCharacterSchema"},"DeleteItemResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/DeleteItemSchema"}},"type":"object","required":["data"],"title":"DeleteItemResponseSchema"},"DeleteItemSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"item":{"$ref":"#/components/schemas/SimpleItemSchema","description":"Item details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Player details."}},"type":"object","required":["cooldown","item","character"],"title":"DeleteItemSchema"},"DepositWithdrawGoldSchema":{"properties":{"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Quantity of gold."}},"type":"object","required":["quantity"],"title":"DepositWithdrawGoldSchema"},"DestinationSchema":{"properties":{"x":{"type":"integer","title":"X","description":"The x coordinate of the destination."},"y":{"type":"integer","title":"Y","description":"The y coordinate of the destination."},"map_id":{"type":"integer","title":"Map Id","description":"The map ID of the destination."}},"type":"object","title":"DestinationSchema","required":[]},"DropRateSchema":{"properties":{"code":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Item code","description":"Item code."},"rate":{"type":"integer","minimum":1.0,"title":"Rate","description":"Chance rate. (1/rate)"},"min_quantity":{"type":"integer","minimum":1.0,"title":"Min Quantity","description":"Minimum quantity."},"max_quantity":{"type":"integer","minimum":1.0,"title":"Max Quantity","description":"Maximum quantity."}},"type":"object","required":["code","rate","min_quantity","max_quantity"],"title":"DropRateSchema"},"DropSchema":{"properties":{"code":{"type":"string","title":"Code","description":"The code of the item."},"quantity":{"type":"integer","title":"Quantity","description":"The quantity of the item."}},"type":"object","required":["code","quantity"],"title":"DropSchema"},"EffectResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/EffectSchema"}},"type":"object","required":["data"],"title":"EffectResponseSchema"},"EffectSchema":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the effect."},"code":{"type":"string","title":"Code","description":"The code of the effect. This is the effect's unique identifier (ID)."},"description":{"type":"string","title":"Description","description":"Description of the effect. This is a brief description of the effect."},"type":{"$ref":"#/components/schemas/EffectType","description":"Type of the effect."},"subtype":{"$ref":"#/components/schemas/EffectSubtype","description":"Subtype of the effect."}},"type":"object","required":["name","code","description","type","subtype"],"title":"EffectSchema"},"EffectSubtype":{"type":"string","enum":["stat","other","heal","buff","debuff","special","gathering","teleport","gold"],"title":"EffectSubtype"},"EffectType":{"type":"string","enum":["equipment","consumable","combat"],"title":"EffectType"},"EquipSchema":{"properties":{"code":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Code","description":"Item code."},"slot":{"$ref":"#/components/schemas/ItemSlot","description":"Item slot."},"quantity":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Quantity","description":"Item quantity. Applicable to utilities only.","default":1}},"type":"object","required":["code","slot"],"title":"EquipSchema"},"EquipmentItemSchema":{"properties":{"slot":{"$ref":"#/components/schemas/ItemSlot","description":"Item slot."},"item":{"$ref":"#/components/schemas/ItemSchema","description":"Item details."}},"type":"object","required":["slot","item"],"title":"EquipmentItemSchema"},"EquipmentResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/EquipmentTransactionSchema"}},"type":"object","required":["data"],"title":"EquipmentResponseSchema"},"EquipmentTransactionSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"items":{"items":{"$ref":"#/components/schemas/EquipmentItemSchema"},"type":"array","title":"Items","description":"Items details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Player details."}},"type":"object","required":["cooldown","items","character"],"title":"EquipmentTransactionSchema"},"EventContentSchema":{"properties":{"type":{"$ref":"#/components/schemas/MapContentType","description":"Type of the event."},"code":{"type":"string","title":"Code","description":"Code content."}},"type":"object","required":["type","code"],"title":"EventContentSchema"},"EventMapSchema":{"properties":{"map_id":{"type":"integer","title":"Map Id","description":"ID of the map."},"x":{"type":"integer","title":"X","description":"Position X of the map."},"y":{"type":"integer","title":"Y","description":"Position Y of the map."},"layer":{"type":"string","title":"Layer","description":"Layer of the map."},"skin":{"type":"string","title":"Skin","description":"Map skin of the map"}},"type":"object","required":["map_id","x","y","layer","skin"],"title":"EventMapSchema"},"EventSchema":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the event."},"code":{"type":"string","title":"Code","description":"Code of the event."},"content":{"$ref":"#/components/schemas/EventContentSchema","nullable":true,"description":"Content of the event."},"maps":{"items":{"$ref":"#/components/schemas/EventMapSchema"},"type":"array","title":"Maps","description":"Map list of the event."},"duration":{"type":"integer","title":"Duration","description":"Duration in minutes."},"rate":{"type":"integer","title":"Rate","description":"Rate spawn of the event. (1/rate every minute)"},"cooldown":{"type":"integer","title":"Cooldown","description":"Cooldown in minutes before the event can be spawned with gems.","default":0},"price":{"type":"integer","nullable":true,"title":"Price","description":"Price in gems to spawn the event. Null if not purchasable."},"transition":{"$ref":"#/components/schemas/TransitionSchema","nullable":true,"description":"Transition to add to the map when event is active."},"cooldown_expiration":{"type":"string","format":"date-time","nullable":true,"title":"Cooldown Expiration","description":"Gems spawn cooldown expiration datetime (null if not on cooldown)."}},"type":"object","required":["name","code","maps","duration","rate"],"title":"EventSchema"},"FakeCharacterSchema":{"properties":{"level":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Level","description":"Character level."},"weapon_slot":{"type":"string","nullable":true,"title":"Weapon Slot","description":"Weapon slot item code."},"rune_slot":{"type":"string","nullable":true,"title":"Rune Slot","description":"Rune slot item code."},"shield_slot":{"type":"string","nullable":true,"title":"Shield Slot","description":"Shield slot item code."},"helmet_slot":{"type":"string","nullable":true,"title":"Helmet Slot","description":"Helmet slot item code."},"body_armor_slot":{"type":"string","nullable":true,"title":"Body Armor Slot","description":"Body armor slot item code."},"leg_armor_slot":{"type":"string","nullable":true,"title":"Leg Armor Slot","description":"Leg armor slot item code."},"boots_slot":{"type":"string","nullable":true,"title":"Boots Slot","description":"Boots slot item code."},"ring1_slot":{"type":"string","nullable":true,"title":"Ring1 Slot","description":"Ring 1 slot item code."},"ring2_slot":{"type":"string","nullable":true,"title":"Ring2 Slot","description":"Ring 2 slot item code."},"amulet_slot":{"type":"string","nullable":true,"title":"Amulet Slot","description":"Amulet slot item code."},"artifact1_slot":{"type":"string","nullable":true,"title":"Artifact1 Slot","description":"Artifact 1 slot item code."},"artifact2_slot":{"type":"string","nullable":true,"title":"Artifact2 Slot","description":"Artifact 2 slot item code."},"artifact3_slot":{"type":"string","nullable":true,"title":"Artifact3 Slot","description":"Artifact 3 slot item code."},"utility1_slot":{"type":"string","nullable":true,"title":"Utility1 Slot","description":"Utility 1 slot item code."},"utility1_slot_quantity":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Utility1 Slot Quantity","description":"Utility 1 quantity.","default":1},"utility2_slot":{"type":"string","nullable":true,"title":"Utility2 Slot","description":"Utility 2 slot item code."},"utility2_slot_quantity":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Utility2 Slot Quantity","description":"Utility 2 quantity.","default":1}},"type":"object","required":["level"],"title":"FakeCharacterSchema"},"FightRequestSchema":{"properties":{"participants":{"items":{"type":"string"},"type":"array","maxItems":2,"title":"Participants","description":"Optional list of additional character names to include in the fight (max 2 additional characters)."}},"type":"object","title":"FightRequestSchema","required":[]},"FightResult":{"type":"string","enum":["win","loss"],"title":"FightResult"},"GEBuyOrderCreationSchema":{"properties":{"code":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Code","description":"Item code."},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Item quantity."},"price":{"type":"integer","maximum":1000000000.0,"minimum":1.0,"title":"Price","description":"Item price per unit."}},"type":"object","required":["code","quantity","price"],"title":"GEBuyOrderCreationSchema","description":"Schema for creating a buy order."},"GEBuyOrderSchema":{"properties":{"id":{"type":"string","title":"Id","description":"Order id."},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Item quantity."}},"type":"object","required":["id","quantity"],"title":"GEBuyOrderSchema","description":"Schema for buying from a sell order."},"GECancelOrderSchema":{"properties":{"id":{"type":"string","title":"Id","description":"Order id."}},"type":"object","required":["id"],"title":"GECancelOrderSchema"},"GECreateOrderTransactionResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/GEOrderTransactionSchema"}},"type":"object","required":["data"],"title":"GECreateOrderTransactionResponseSchema"},"GEFillBuyOrderSchema":{"properties":{"id":{"type":"string","title":"Id","description":"Buy order id."},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Item quantity to sell."}},"type":"object","required":["id","quantity"],"title":"GEFillBuyOrderSchema","description":"Schema for filling a buy order (selling items to a buy order)."},"GEOrderCreatedSchema":{"properties":{"id":{"type":"string","title":"Id","description":"Order id."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Order created at."},"code":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Code","description":"Item code."},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Item quantity."},"price":{"type":"integer","minimum":1.0,"title":"Price","description":"Item price per unit."},"total_price":{"type":"integer","minimum":1.0,"title":"Total Price","description":"Total price."}},"type":"object","required":["id","created_at","code","quantity","price","total_price"],"title":"GEOrderCreatedSchema"},"GEOrderCreationSchema":{"properties":{"code":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Code","description":"Item code."},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Item quantity."},"price":{"type":"integer","maximum":1000000000.0,"minimum":1.0,"title":"Price","description":"Item price per unit."}},"type":"object","required":["code","quantity","price"],"title":"GEOrderCreationSchema","description":"Schema for creating a sell order."},"GEOrderHistorySchema":{"properties":{"order_id":{"type":"string","title":"Order Id","description":"Order id."},"seller":{"type":"string","title":"Seller","description":"Seller account name."},"buyer":{"type":"string","title":"Buyer","description":"Buyer account name."},"code":{"type":"string","title":"Code","description":"Item code."},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Item quantity."},"price":{"type":"integer","minimum":1.0,"title":"Price","description":"Item price per unit."},"sold_at":{"type":"string","format":"date-time","title":"Sold At","description":"Sale datetime."}},"type":"object","required":["order_id","seller","buyer","code","quantity","price","sold_at"],"title":"GEOrderHistorySchema"},"GEOrderResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/GEOrderSchema"}},"type":"object","required":["data"],"title":"GEOrderResponseSchema"},"GEOrderSchema":{"properties":{"id":{"type":"string","title":"Id","description":"Order id."},"type":{"$ref":"#/components/schemas/GEOrderType","description":"Order type (sell or buy)."},"account":{"type":"string","nullable":true,"title":"Account","description":"Account linked to the order."},"code":{"type":"string","title":"Code","description":"Item code."},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Item quantity."},"price":{"type":"integer","minimum":1.0,"title":"Price","description":"Item price per unit."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Order created at."}},"type":"object","required":["id","type","code","quantity","price","created_at"],"title":"GEOrderSchema"},"GEOrderTransactionSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"order":{"$ref":"#/components/schemas/GEOrderCreatedSchema","description":"Order details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Character details."}},"type":"object","required":["cooldown","order","character"],"title":"GEOrderTransactionSchema"},"GEOrderType":{"type":"string","enum":["sell","buy"],"title":"GEOrderType","description":"Type of Grand Exchange order."},"GETransactionListSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"order":{"$ref":"#/components/schemas/GETransactionSchema","description":"Transaction details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Character details."}},"type":"object","required":["cooldown","order","character"],"title":"GETransactionListSchema"},"GETransactionResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/GETransactionListSchema"}},"type":"object","required":["data"],"title":"GETransactionResponseSchema"},"GETransactionSchema":{"properties":{"id":{"type":"string","title":"Id","description":"Order id."},"code":{"type":"string","title":"Code","description":"Item code."},"quantity":{"type":"integer","title":"Quantity","description":"Item quantity."},"price":{"type":"integer","title":"Price","description":"Item price."},"total_price":{"type":"integer","title":"Total Price","description":"Total price of the transaction."}},"type":"object","required":["id","code","quantity","price","total_price"],"title":"GETransactionSchema"},"GatheringSkill":{"type":"string","enum":["mining","woodcutting","fishing","alchemy"],"title":"GatheringSkill"},"GemShopCatalogDataSchema":{"properties":{"skins":{"items":{"$ref":"#/components/schemas/GemShopSkinCatalogItemSchema"},"type":"array","title":"Skins","description":"Gem-shop skins."},"spawn_events":{"items":{"$ref":"#/components/schemas/GemShopSpawnEventCatalogItemSchema"},"type":"array","title":"Spawn Events","description":"Gem-shop event spawns."},"subscriptions":{"items":{"$ref":"#/components/schemas/GemShopSubscriptionCatalogItemSchema"},"type":"array","title":"Subscriptions","description":"Gem-shop subscriptions."},"custom_designs":{"items":{"$ref":"#/components/schemas/GemShopCustomDesignCatalogItemSchema"},"type":"array","title":"Custom Designs","description":"Gem-shop custom designs."}},"type":"object","required":["skins","spawn_events","subscriptions","custom_designs"],"title":"GemShopCatalogDataSchema"},"GemShopCatalogResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/GemShopCatalogDataSchema"}},"type":"object","required":["data"],"title":"GemShopCatalogResponseSchema"},"GemShopCustomDesignCatalogItemSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Custom design code."},"name":{"type":"string","title":"Name","description":"Custom design name."},"description":{"type":"string","title":"Description","description":"Custom design description."},"price":{"type":"integer","title":"Price","description":"Custom design price in gems."},"category":{"type":"string","enum":["npc","item","skin"],"title":"Category","description":"Custom design category."},"unique_to_account":{"type":"boolean","title":"Unique To Account","description":"Whether the resulting content is unique to the buyer."}},"type":"object","required":["code","name","description","price","category","unique_to_account"],"title":"GemShopCustomDesignCatalogItemSchema"},"GemShopCustomDesignPurchaseResponseDataSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Purchased custom design code."},"name":{"type":"string","title":"Name","description":"Purchased custom design name."},"gems":{"type":"integer","title":"Gems","description":"Remaining gem balance."},"cost":{"type":"integer","title":"Cost","description":"Gem cost of the purchase."}},"type":"object","required":["code","name","gems","cost"],"title":"GemShopCustomDesignPurchaseResponseDataSchema"},"GemShopCustomDesignPurchaseResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/GemShopCustomDesignPurchaseResponseDataSchema"}},"type":"object","required":["data"],"title":"GemShopCustomDesignPurchaseResponseSchema"},"GemShopSkinCatalogItemSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Skin code."},"name":{"type":"string","title":"Name","description":"Skin name."},"description":{"type":"string","title":"Description","description":"Skin description."},"price":{"type":"integer","title":"Price","description":"Skin price in gems."}},"type":"object","required":["code","name","description","price"],"title":"GemShopSkinCatalogItemSchema"},"GemShopSpawnEventCatalogItemSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Event code."},"name":{"type":"string","title":"Name","description":"Event name."},"content_type":{"$ref":"#/components/schemas/MapContentType","description":"Spawned content type."},"content_code":{"type":"string","title":"Content Code","description":"Spawned content code."},"duration":{"type":"integer","title":"Duration","description":"Event duration in minutes."},"price":{"type":"integer","title":"Price","description":"Spawn cost in gems."}},"type":"object","required":["code","name","content_type","content_code","duration","price"],"title":"GemShopSpawnEventCatalogItemSchema"},"GemShopSubscriptionCatalogItemSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Subscription offer code."},"name":{"type":"string","title":"Name","description":"Subscription offer name."},"duration_days":{"type":"integer","title":"Duration Days","description":"Subscription duration in days."},"price":{"type":"integer","title":"Price","description":"Subscription price in gems."}},"type":"object","required":["code","name","duration_days","price"],"title":"GemShopSubscriptionCatalogItemSchema"},"GemShopSubscriptionResponseDataSchema":{"properties":{"member":{"type":"boolean","title":"Member","description":"Whether the account is now a member."},"member_expiration":{"type":"string","format":"date-time","title":"Member Expiration","description":"Membership expiration date."},"gems":{"type":"integer","title":"Gems","description":"Remaining gem balance."},"cost":{"type":"integer","title":"Cost","description":"Gem cost of the purchase."}},"type":"object","required":["member","member_expiration","gems","cost"],"title":"GemShopSubscriptionResponseDataSchema"},"GemShopSubscriptionResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/GemShopSubscriptionResponseDataSchema"}},"type":"object","required":["data"],"title":"GemShopSubscriptionResponseSchema"},"GemTransactionListResponseSchema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/GemTransactionSchema"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"GemTransactionListResponseSchema"},"GemTransactionSchema":{"properties":{"type":{"type":"string","title":"Type","description":"Gem transaction type."},"gems":{"type":"integer","title":"Gems","description":"Signed gem delta."},"description":{"type":"string","title":"Description","description":"Human-readable transaction description."},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","description":"Additional transaction metadata."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Transaction creation date."}},"type":"object","required":["type","gems","description","metadata","created_at"],"title":"GemTransactionSchema"},"GiveGoldDataSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"quantity":{"type":"integer","maximum":1000000.0,"minimum":1.0,"title":"Quantity","description":"Quantity of gold given."},"receiver_character":{"$ref":"#/components/schemas/CharacterSchema","description":"Character details of the receiving character."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Character details."}},"type":"object","required":["cooldown","quantity","receiver_character","character"],"title":"GiveGoldDataSchema"},"GiveGoldResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/GiveGoldDataSchema"}},"type":"object","required":["data"],"title":"GiveGoldResponseSchema"},"GiveGoldSchema":{"properties":{"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Gold quantity."},"character":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character","description":"Character name. The name of the character who will receive the gold."}},"type":"object","required":["quantity","character"],"title":"GiveGoldSchema"},"GiveItemDataSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"items":{"items":{"$ref":"#/components/schemas/SimpleItemSchema"},"type":"array","title":"Items","description":"Items given."},"receiver_character":{"$ref":"#/components/schemas/CharacterSchema","description":"Character details of the receiving character."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Character details of the sending character."}},"type":"object","required":["cooldown","items","receiver_character","character"],"title":"GiveItemDataSchema"},"GiveItemResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/GiveItemDataSchema"}},"type":"object","required":["data"],"title":"GiveItemResponseSchema"},"GiveItemsSchema":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SimpleItemSchema"},"type":"array","maxItems":20,"minItems":1,"title":"Items","description":"List of items to give"},"character":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Character","description":"Character name. The name of the character who will receive the items."}},"type":"object","required":["items","character"],"title":"GiveItemsSchema"},"GoldSchema":{"properties":{"quantity":{"type":"integer","minimum":0.0,"title":"Quantity","description":"Quantity of gold."}},"type":"object","required":["quantity"],"title":"GoldSchema"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError","required":[]},"InteractionSchema":{"properties":{"content":{"$ref":"#/components/schemas/MapContentSchema","nullable":true,"description":"Content of the map."},"transition":{"$ref":"#/components/schemas/TransitionSchema","nullable":true,"description":"Transition to another map."}},"type":"object","title":"InteractionSchema","required":[]},"InventorySlotSchema":{"properties":{"slot":{"type":"integer","title":"Slot","description":"Inventory slot identifier."},"code":{"type":"string","title":"Code","description":"Item code."},"quantity":{"type":"integer","title":"Quantity","description":"Quantity in the slot."}},"type":"object","required":["slot","code","quantity"],"title":"InventorySlotSchema"},"ItemResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/ItemSchema"}},"type":"object","required":["data"],"title":"ItemResponseSchema"},"ItemSchema":{"properties":{"name":{"type":"string","title":"Name","description":"Item name."},"code":{"type":"string","title":"Code","description":"Item code. This is the item's unique identifier (ID)."},"level":{"type":"integer","minimum":1.0,"title":"Level","description":"Item level."},"type":{"type":"string","title":"Type","description":"Item type."},"subtype":{"type":"string","title":"Subtype","description":"Item subtype."},"description":{"type":"string","title":"Description","description":"Item description."},"conditions":{"items":{"$ref":"#/components/schemas/ConditionSchema"},"type":"array","title":"Conditions","description":"Item conditions. If applicable. Conditions for using or equipping the item."},"effects":{"items":{"$ref":"#/components/schemas/SimpleEffectSchema"},"type":"array","title":"Effects","description":"List of object effects. For equipment, it will include item stats."},"craft":{"$ref":"#/components/schemas/CraftSchema","nullable":true,"description":"Craft information. If applicable."},"tradeable":{"type":"boolean","title":"Tradeable","description":"Item tradeable status. A non-tradeable item cannot be exchanged or sold."},"recyclable":{"type":"boolean","title":"Recyclable","description":"Item recyclable status. A recyclable item can be recycled at the matching workshop.","default":false}},"type":"object","required":["name","code","level","type","subtype","description","tradeable"],"title":"ItemSchema"},"ItemSlot":{"type":"string","enum":["weapon","shield","helmet","body_armor","leg_armor","boots","ring1","ring2","amulet","artifact1","artifact2","artifact3","utility1","utility2","bag","rune"],"title":"ItemSlot"},"ItemType":{"type":"string","enum":["utility","body_armor","weapon","resource","leg_armor","helmet","boots","shield","amulet","ring","artifact","currency","consumable","rune","bag"],"title":"ItemType"},"LogSchema":{"properties":{"character":{"type":"string","title":"Character","description":"Character name."},"account":{"type":"string","title":"Account","description":"Account character."},"type":{"$ref":"#/components/schemas/LogType","description":"Type of action."},"description":{"type":"string","title":"Description","description":"Description of action."},"content":{"title":"Content","description":"Content of action."},"cooldown":{"type":"integer","title":"Cooldown","description":"Cooldown in seconds."},"cooldown_expiration":{"type":"string","format":"date-time","nullable":true,"title":"Cooldown Expiration","description":"Datetime of cooldown expiration."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Datetime of creation."}},"type":"object","required":["character","account","type","description","content","cooldown","created_at"],"title":"LogSchema"},"LogType":{"type":"string","enum":["spawn","delete_character","movement","fight","raid_fight","multi_fight","crafting","gathering","buy_ge","sell_ge","create_buy_order_ge","fill_buy_order_ge","buy_npc","sell_npc","cancel_ge","delete_item","deposit_item","withdraw_item","deposit_gold","withdraw_gold","equip","unequip","new_task","task_exchange","task_cancelled","task_completed","task_trade","recycling","rest","use","buy_bank_expansion","achievement","give_item","give_gold","receive_item","receive_gold","raid_deposit","change_skin","rename","transition","claim_item","sandbox_give_gold","sandbox_give_item","sandbox_give_xp","sandbox_reset_account","sandbox_clear_cooldown","sandbox_teleport"],"title":"LogType"},"MapAccessType":{"type":"string","enum":["standard","restricted","conditional","blocked"],"title":"MapAccessType"},"MapContentSchema":{"properties":{"type":{"$ref":"#/components/schemas/MapContentType","description":"Type of the content."},"code":{"type":"string","title":"Code","description":"Code of the content."}},"type":"object","required":["type","code"],"title":"MapContentSchema"},"MapContentType":{"type":"string","enum":["monster","resource","workshop","bank","grand_exchange","tasks_master","npc","raid"],"title":"MapContentType"},"MapLayer":{"type":"string","enum":["interior","overworld","underground"],"title":"MapLayer"},"MapResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/MapSchema"}},"type":"object","required":["data"],"title":"MapResponseSchema"},"MapSchema":{"properties":{"map_id":{"type":"integer","title":"Map Id","description":"ID of the map."},"name":{"type":"string","title":"Name","description":"Name of the map."},"skin":{"type":"string","title":"Skin","description":"Skin of the map."},"x":{"type":"integer","title":"X","description":"Position X of the map."},"y":{"type":"integer","title":"Y","description":"Position Y of the map."},"layer":{"$ref":"#/components/schemas/MapLayer","description":"Layer of the map."},"access":{"$ref":"#/components/schemas/AccessSchema","description":"Access information for the map"},"interactions":{"$ref":"#/components/schemas/InteractionSchema","description":"Interactions available on this map."}},"type":"object","required":["map_id","name","skin","x","y","layer","access","interactions"],"title":"MapSchema"},"MemberTokenSubscriptionResponseDataSchema":{"properties":{"member":{"type":"boolean","title":"Member","description":"Whether the account is now a member."},"member_expiration":{"type":"string","format":"date-time","title":"Member Expiration","description":"Membership expiration date."},"member_token":{"type":"integer","title":"Member Token","description":"Remaining member tokens. Member tokens are manually granted as rewards for events."}},"type":"object","required":["member","member_expiration","member_token"],"title":"MemberTokenSubscriptionResponseDataSchema"},"MemberTokenSubscriptionResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/MemberTokenSubscriptionResponseDataSchema"}},"type":"object","required":["data"],"title":"MemberTokenSubscriptionResponseSchema"},"MonsterResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/MonsterSchema"}},"type":"object","required":["data"],"title":"MonsterResponseSchema"},"MonsterSchema":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the monster."},"code":{"type":"string","title":"Code","description":"The code of the monster. This is the monster's unique identifier (ID)."},"level":{"type":"integer","title":"Level","description":"Monster level."},"type":{"$ref":"#/components/schemas/MonsterType","description":"Monster type."},"hp":{"type":"integer","title":"Hp","description":"Monster hit points."},"attack_fire":{"type":"integer","title":"Attack Fire","description":"Monster fire attack."},"attack_earth":{"type":"integer","title":"Attack Earth","description":"Monster earth attack."},"attack_water":{"type":"integer","title":"Attack Water","description":"Monster water attack."},"attack_air":{"type":"integer","title":"Attack Air","description":"Monster air attack."},"res_fire":{"type":"integer","title":"Res Fire","description":"Monster % fire resistance."},"res_earth":{"type":"integer","title":"Res Earth","description":"Monster % earth resistance."},"res_water":{"type":"integer","title":"Res Water","description":"Monster % water resistance."},"res_air":{"type":"integer","title":"Res Air","description":"Monster % air resistance."},"critical_strike":{"type":"integer","title":"Critical Strike","description":"Monster % critical strike."},"initiative":{"type":"integer","title":"Initiative","description":"Monster initiative for turn order."},"effects":{"items":{"$ref":"#/components/schemas/SimpleEffectSchema"},"type":"array","title":"Effects","description":"List of effects."},"min_gold":{"type":"integer","title":"Min Gold","description":"Monster minimum gold drop. "},"max_gold":{"type":"integer","title":"Max Gold","description":"Monster maximum gold drop. "},"drops":{"items":{"$ref":"#/components/schemas/DropRateSchema"},"type":"array","title":"Drops","description":"Monster drops. This is a list of items that the monster drops after killing the monster. "}},"type":"object","required":["name","code","level","type","hp","attack_fire","attack_earth","attack_water","attack_air","res_fire","res_earth","res_water","res_air","critical_strike","initiative","min_gold","max_gold","drops"],"title":"MonsterSchema"},"MonsterType":{"type":"string","enum":["normal","elite","boss","raid_boss"],"title":"MonsterType"},"MyAccountDetails":{"properties":{"username":{"type":"string","title":"Username","description":"Username."},"email":{"type":"string","format":"email","title":"Email","description":"Email."},"member":{"type":"boolean","title":"Member","description":"Member status."},"member_expiration":{"type":"string","format":"date-time","nullable":true,"title":"Member Expiration","description":"Membership expiration date."},"status":{"$ref":"#/components/schemas/AccountStatus","description":"Account status."},"badges":{"items":{"type":"string"},"type":"array","title":"Badges","description":"Account badges."},"skins":{"items":{"type":"string"},"type":"array","title":"Skins","description":"Skins owned."},"gems":{"type":"integer","title":"Gems","description":"Gems."},"member_token":{"type":"integer","title":"Member Token","description":"Member tokens manually granted as rewards for events. Each token can be redeemed for one month of membership.","default":0},"achievements_points":{"type":"integer","title":"Achievements Points","description":"Achievement points."},"banned":{"type":"boolean","title":"Banned","description":"Banned."},"ban_reason":{"type":"string","title":"Ban Reason","description":"Ban reason."}},"type":"object","required":["username","email","member","status","skins","gems","achievements_points","banned"],"title":"MyAccountDetails"},"MyAccountDetailsSchema":{"properties":{"data":{"$ref":"#/components/schemas/MyAccountDetails"}},"type":"object","required":["data"],"title":"MyAccountDetailsSchema"},"MyCharactersListSchema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/CharacterSchema"},"type":"array","title":"Data","description":"List of your characters."}},"type":"object","required":["data"],"title":"MyCharactersListSchema"},"NPCItemSchema":{"properties":{"code":{"type":"string","title":"Code","description":"The code of the NPC. This is the NPC's unique identifier (ID)."},"npc":{"type":"string","title":"Npc","description":"Code of the NPC that sells/buys the item."},"currency":{"type":"string","title":"Currency","description":"Currency used to buy/sell the item. If it's not gold, it's the item code."},"buy_price":{"type":"integer","nullable":true,"title":"Buy Price","description":"Price to buy the item."},"sell_price":{"type":"integer","nullable":true,"title":"Sell Price","description":"Price to sell the item."}},"type":"object","required":["code","npc","currency"],"title":"NPCItemSchema"},"NPCResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/NPCSchema"}},"type":"object","required":["data"],"title":"NPCResponseSchema"},"NPCSchema":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the NPC."},"code":{"type":"string","title":"Code","description":"The code of the NPC. This is the NPC's unique identifier (ID)."},"description":{"type":"string","title":"Description","description":"Description of the NPC."},"type":{"$ref":"#/components/schemas/NPCType","description":"Type of the NPC."},"items":{"items":{"$ref":"#/components/schemas/SimpleNPCItemSchema"},"type":"array","title":"Items","description":"Items sold/bought by the NPC.","default":[]}},"type":"object","required":["name","code","description","type"],"title":"NPCSchema"},"NPCType":{"type":"string","enum":["merchant","trader"],"title":"NPCType"},"NpcItemTransactionSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Item code."},"quantity":{"type":"integer","title":"Quantity","description":"Item quantity."},"currency":{"type":"string","title":"Currency","description":"Currency used for the transaction."},"price":{"type":"integer","title":"Price","description":"Item price."},"total_price":{"type":"integer","title":"Total Price","description":"Total price of the transaction."}},"type":"object","required":["code","quantity","currency","price","total_price"],"title":"NpcItemTransactionSchema"},"NpcMerchantBuySchema":{"properties":{"code":{"type":"string","title":"Code","description":"Item code."},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Item quantity."}},"type":"object","required":["code","quantity"],"title":"NpcMerchantBuySchema"},"NpcMerchantTransactionResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/NpcMerchantTransactionSchema"}},"type":"object","required":["data"],"title":"NpcMerchantTransactionResponseSchema"},"NpcMerchantTransactionSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"transaction":{"$ref":"#/components/schemas/NpcItemTransactionSchema","description":"Transaction details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Character details."}},"type":"object","required":["cooldown","transaction","character"],"title":"NpcMerchantTransactionSchema"},"PasswordResetConfirmSchema":{"properties":{"token":{"type":"string","title":"Token","description":"Password reset token."},"new_password":{"type":"string","maxLength":50,"minLength":5,"pattern":"^[^\\s]+$","title":"New Password","description":"Your new password."}},"type":"object","required":["token","new_password"],"title":"PasswordResetConfirmSchema"},"PasswordResetRequestSchema":{"properties":{"email":{"type":"string","format":"email","title":"Email","description":"Your email address."}},"type":"object","required":["email"],"title":"PasswordResetRequestSchema"},"PasswordResetResponseSchema":{"properties":{"message":{"type":"string","title":"Message","description":"Success message."}},"type":"object","required":["message"],"title":"PasswordResetResponseSchema"},"PendingItemSchema":{"properties":{"id":{"type":"string","title":"Id","description":"Pending item ID."},"account":{"type":"string","title":"Account","description":"Account username."},"source":{"$ref":"#/components/schemas/PendingItemSource","description":"Source of the pending item."},"source_id":{"type":"string","nullable":true,"title":"Source Id","description":"ID reference for the source (e.g., achievement code, order id)."},"description":{"type":"string","title":"Description","description":"Description for display."},"gold":{"type":"integer","title":"Gold","description":"Gold amount.","default":0},"items":{"items":{"$ref":"#/components/schemas/SimpleItemSchema"},"type":"array","title":"Items","description":"List of items to be claimed."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the pending item was created."},"claimed_at":{"type":"string","format":"date-time","nullable":true,"title":"Claimed At","description":"When the pending item was claimed."}},"type":"object","required":["id","account","source","description","created_at"],"title":"PendingItemSchema","description":"Schema for pending items that can be claimed by any character."},"PendingItemSource":{"type":"string","enum":["achievement","grand_exchange","admin","event","raid","other"],"title":"PendingItemSource","description":"Source types for pending items."},"PurchaseGemsRequestSchema":{"properties":{"quantity":{"type":"integer","enum":[500,1100,2400,6125,12500],"title":"Quantity","description":"Number of gems to purchase."}},"type":"object","required":["quantity"],"title":"PurchaseGemsRequestSchema"},"PurchaseHistoryListResponseSchema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/PurchaseHistorySchema"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"PurchaseHistoryListResponseSchema"},"PurchaseHistorySchema":{"properties":{"type":{"$ref":"#/components/schemas/PurchaseType","description":"Type of purchase."},"description":{"type":"string","title":"Description","description":"Description of the purchase."},"amount":{"type":"integer","title":"Amount","description":"Amount in cents."},"gems_credited":{"type":"integer","title":"Gems Credited","description":"Gems credited from this purchase.","default":0},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the purchase was made."}},"type":"object","required":["type","description","amount","created_at"],"title":"PurchaseHistorySchema"},"PurchaseType":{"type":"string","enum":["subscription","gem_pack"],"title":"PurchaseType","description":"Type of purchase in history."},"RaidDamageRewardSchema":{"properties":{"damage_per_reward":{"type":"integer","minimum":1.0,"title":"Damage Per Reward","description":"Damage required per reward instance."},"max_rewards":{"type":"integer","minimum":1.0,"nullable":true,"title":"Max Rewards","description":"Maximum number of times this reward can be granted. Null means no cap."},"items":{"items":{"$ref":"#/components/schemas/SimpleItemSchema"},"type":"array","title":"Items","description":"Items granted per reward instance."}},"type":"object","required":["damage_per_reward"],"title":"RaidDamageRewardSchema"},"RaidInstanceResult":{"type":"string","enum":["success","failure"],"title":"RaidInstanceResult"},"RaidInstanceSchema":{"properties":{"starts_at":{"type":"string","format":"date-time","title":"Starts At","description":"Weekly raid opening datetime in UTC."},"ends_at":{"type":"string","format":"date-time","title":"Ends At","description":"Weekly raid planned closing datetime in UTC."},"status":{"$ref":"#/components/schemas/RaidStatus","description":"Current status of this weekly raid instance."},"total_hp":{"type":"integer","minimum":1.0,"title":"Total Hp","description":"Shared HP pool when this raid instance starts."},"remaining_hp":{"type":"integer","minimum":0.0,"title":"Remaining Hp","description":"Remaining shared HP pool for this raid instance."},"participant_count":{"type":"integer","minimum":0.0,"title":"Participant Count","description":"Number of accounts that contributed during this raid instance.","default":0},"ended_at":{"type":"string","format":"date-time","nullable":true,"title":"Ended At","description":"Datetime when this raid instance actually ended."},"result":{"$ref":"#/components/schemas/RaidInstanceResult","nullable":true,"description":"Final result for this raid instance."},"rewards_distributed_at":{"type":"string","format":"date-time","nullable":true,"title":"Rewards Distributed At","description":"Datetime when rewards were distributed for this raid instance."}},"type":"object","required":["starts_at","ends_at","status","total_hp","remaining_hp"],"title":"RaidInstanceSchema"},"RaidLeaderboardEntrySchema":{"properties":{"position":{"type":"integer","minimum":1.0,"title":"Position","description":"Leaderboard position."},"account":{"type":"string","title":"Account","description":"Account name."},"points":{"type":"integer","minimum":0.0,"title":"Points","description":"Points earned for this raid instance."}},"type":"object","required":["position","account","points"],"title":"RaidLeaderboardEntrySchema"},"RaidRankRewardSchema":{"properties":{"min_rank":{"type":"integer","minimum":1.0,"title":"Min Rank","description":"Inclusive minimum rank."},"max_rank":{"type":"integer","minimum":1.0,"title":"Max Rank","description":"Inclusive maximum rank."},"items":{"items":{"$ref":"#/components/schemas/SimpleItemSchema"},"type":"array","title":"Items","description":"Items granted for this rank bracket."}},"type":"object","required":["min_rank","max_rank"],"title":"RaidRankRewardSchema"},"RaidResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/RaidSchema","description":"Raid details."}},"type":"object","required":["data"],"title":"RaidResponseSchema"},"RaidRewardsSchema":{"properties":{"damage_rewards":{"items":{"$ref":"#/components/schemas/RaidDamageRewardSchema"},"type":"array","title":"Damage Rewards","description":"Items granted based on cumulative damage dealt."},"leaderboard":{"items":{"$ref":"#/components/schemas/RaidRankRewardSchema"},"type":"array","title":"Leaderboard","description":"Items granted based on leaderboard rank."}},"type":"object","title":"RaidRewardsSchema","required":[]},"RaidScheduleSchema":{"properties":{"weekdays":{"items":{"$ref":"#/components/schemas/RaidWeekday"},"type":"array","minItems":1,"title":"Weekdays","description":"UTC weekdays when the raid opens."},"start_hour_utc":{"type":"integer","maximum":23.0,"minimum":0.0,"title":"Start Hour Utc","description":"UTC hour when the raid opens.","default":0},"start_minute_utc":{"type":"integer","maximum":59.0,"minimum":0.0,"title":"Start Minute Utc","description":"UTC minute when the raid opens.","default":0},"duration_hours":{"type":"integer","maximum":168.0,"minimum":1.0,"title":"Duration Hours","description":"Maximum raid duration in hours.","default":24}},"type":"object","required":["weekdays"],"title":"RaidScheduleSchema"},"RaidSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Raid code."},"name":{"type":"string","title":"Name","description":"Raid name."},"description":{"type":"string","nullable":true,"title":"Description","description":"Raid description."},"monster":{"type":"string","title":"Monster","description":"Monster code used for raid combat simulation."},"schedule":{"$ref":"#/components/schemas/RaidScheduleSchema","description":"Weekly raid opening schedule."},"rewards":{"$ref":"#/components/schemas/RaidRewardsSchema","description":"Reward rules for the raid."},"status":{"$ref":"#/components/schemas/RaidStatus","description":"Current overall raid status."},"next_start_at":{"type":"string","format":"date-time","title":"Next Start At","description":"Datetime for the next scheduled raid opening in UTC."},"participant_count":{"type":"integer","minimum":0.0,"title":"Participant Count","description":"Number of distinct accounts that contributed to the active or latest raid instance.","default":0},"active_instance":{"$ref":"#/components/schemas/RaidInstanceSchema","nullable":true,"description":"Currently active weekly raid instance, if any."},"latest_instance":{"$ref":"#/components/schemas/RaidInstanceSchema","nullable":true,"description":"Latest weekly raid instance, active or finished."}},"type":"object","required":["code","name","monster","schedule","status","next_start_at"],"title":"RaidSchema"},"RaidStatus":{"type":"string","enum":["upcoming","active","finished_success","finished_failure"],"title":"RaidStatus"},"RaidWeekday":{"type":"string","enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],"title":"RaidWeekday"},"RateLimitSchema":{"properties":{"type":{"type":"string","title":"Type","description":"Type of rate limit."},"value":{"type":"string","title":"Value","description":"Value of the rate limit."}},"type":"object","required":["type","value"],"title":"RateLimitSchema"},"RateLimitScopeSchema":{"properties":{"second":{"$ref":"#/components/schemas/RateLimitWindowSchema","nullable":true},"minute":{"$ref":"#/components/schemas/RateLimitWindowSchema","nullable":true},"hour":{"$ref":"#/components/schemas/RateLimitWindowSchema","nullable":true},"day":{"$ref":"#/components/schemas/RateLimitWindowSchema","nullable":true}},"type":"object","title":"RateLimitScopeSchema","required":[]},"RateLimitWindowSchema":{"properties":{"limit":{"type":"integer","title":"Limit","description":"Maximum requests allowed in this window."},"remaining":{"type":"integer","title":"Remaining","description":"Remaining requests in the current window."},"reset":{"type":"string","format":"date-time","title":"Reset","description":"UTC datetime when the window resets."}},"type":"object","required":["limit","remaining","reset"],"title":"RateLimitWindowSchema"},"RateLimitsDataSchema":{"properties":{"account":{"$ref":"#/components/schemas/RateLimitScopeSchema","description":"Rate limits for account endpoints."},"data":{"$ref":"#/components/schemas/RateLimitScopeSchema","description":"Rate limits for data endpoints."},"action":{"$ref":"#/components/schemas/RateLimitScopeSchema","description":"Rate limits for action endpoints."},"simulation":{"$ref":"#/components/schemas/RateLimitScopeSchema","description":"Rate limits for the fight simulation endpoint. Only available for members."},"assistant":{"$ref":"#/components/schemas/RateLimitScopeSchema","nullable":true,"description":"Assistant daily usage. Only available for members."}},"type":"object","required":["account","data","action","simulation"],"title":"RateLimitsDataSchema"},"RateLimitsSchema":{"properties":{"data":{"$ref":"#/components/schemas/RateLimitsDataSchema"}},"type":"object","required":["data"],"title":"RateLimitsSchema"},"RecyclingDataSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"details":{"$ref":"#/components/schemas/RecyclingItemsSchema","description":"Craft details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Player details."}},"type":"object","required":["cooldown","details","character"],"title":"RecyclingDataSchema"},"RecyclingItemsSchema":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DropSchema"},"type":"array","title":"Items","description":"Objects received."},"enhanced":{"type":"boolean","title":"Enhanced","description":"Whether enhanced recycling was used.","default":false},"gold":{"type":"integer","title":"Gold","description":"Gold spent for enhanced recycling.","default":0}},"type":"object","required":["items"],"title":"RecyclingItemsSchema"},"RecyclingResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/RecyclingDataSchema"}},"type":"object","required":["data"],"title":"RecyclingResponseSchema"},"RecyclingSchema":{"properties":{"code":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Item code","description":"Item code."},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Quantity of items to recycle.","default":1},"enhanced":{"type":"boolean","title":"Enhanced","description":"Whether to use enhanced recycling.","default":false}},"type":"object","required":["code"],"title":"RecyclingSchema"},"ResourceResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/ResourceSchema"}},"type":"object","required":["data"],"title":"ResourceResponseSchema"},"ResourceSchema":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the resource"},"code":{"type":"string","title":"Code","description":"The code of the resource. This is the resource's unique identifier (ID)."},"skill":{"$ref":"#/components/schemas/GatheringSkill","title":"Skill code","description":"The skill required to gather this resource."},"level":{"type":"integer","title":"Level","description":"The skill level required to gather this resource."},"drops":{"items":{"$ref":"#/components/schemas/DropRateSchema"},"type":"array","title":"Drops","description":"The drops of this resource."}},"type":"object","required":["name","code","skill","level","drops"],"title":"ResourceSchema"},"ResponseSchema":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"ResponseSchema"},"RewardDataResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/RewardDataSchema"}},"type":"object","required":["data"],"title":"RewardDataResponseSchema"},"RewardDataSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"rewards":{"$ref":"#/components/schemas/RewardsSchema","description":"Reward details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Player details."}},"type":"object","required":["cooldown","rewards","character"],"title":"RewardDataSchema"},"RewardItemSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Item code."},"quantity":{"type":"integer","title":"Quantity","description":"Item quantity."}},"type":"object","required":["code","quantity"],"title":"RewardItemSchema","description":"Schema for a single item reward."},"RewardResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/DropRateSchema"}},"type":"object","required":["data"],"title":"RewardResponseSchema"},"RewardType":{"type":"string","enum":["badge","skin","gold","item"],"title":"RewardType","description":"Type of season reward."},"RewardsSchema":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SimpleItemSchema"},"type":"array","title":"Items","description":"Items rewards."},"gold":{"type":"integer","title":"Gold","description":"Gold rewards."}},"type":"object","required":["items","gold"],"title":"RewardsSchema"},"SeasonRewardSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Code of the item/badge/skin associated with this reward."},"type":{"$ref":"#/components/schemas/RewardType","description":"Type of the reward."},"description":{"type":"string","title":"Description","description":"Description of how to earn this reward."},"required_points":{"type":"integer","title":"Required Points","description":"Number of achievement points required to earn this reward."},"quantity":{"type":"integer","title":"Quantity","description":"Quantity of the reward (e.g., gold amount, item quantity).","default":1},"member_required":{"type":"boolean","title":"Member Required","description":"Whether member status is required to earn this reward.","default":false},"first_only":{"type":"boolean","title":"First Only","description":"Whether this reward is only for the first player to reach the required points.","default":false}},"type":"object","required":["code","type","description","required_points"],"title":"SeasonRewardSchema"},"SeasonSchema":{"properties":{"name":{"type":"string","title":"Name","description":"Season name."},"number":{"type":"integer","title":"Number","description":"Season number."},"start_date":{"type":"string","format":"date-time","title":"Start Date","description":"Season start date."},"rewards":{"items":{"$ref":"#/components/schemas/StatusSeasonRewardSchema"},"type":"array","title":"Rewards","description":"Season rewards with required achievement points, sorted by points ascending."}},"type":"object","required":["rewards"],"title":"SeasonSchema"},"SimpleEffectSchema":{"properties":{"code":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Code","description":"Effect code."},"value":{"type":"integer","title":"Value","description":"Effect value."},"description":{"type":"string","title":"Description","description":"Description of the effect."}},"type":"object","required":["code","value","description"],"title":"SimpleEffectSchema"},"SimpleItemSchema":{"properties":{"code":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Code","description":"Item code."},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Item quantity."}},"type":"object","required":["code","quantity"],"title":"SimpleItemSchema"},"SimpleNPCItemSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Item code."},"currency":{"type":"string","title":"Currency","description":"Currency used to buy/sell the item. If it's not gold, it's the item code."},"buy_price":{"type":"integer","nullable":true,"title":"Buy Price","description":"Price to buy the item."},"sell_price":{"type":"integer","nullable":true,"title":"Sell Price","description":"Price to sell the item."}},"type":"object","required":["code","currency"],"title":"SimpleNPCItemSchema"},"Skill":{"type":"string","enum":["weaponcrafting","gearcrafting","jewelrycrafting","cooking","woodcutting","mining","alchemy","fishing"],"title":"Skill"},"SkillDataSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"details":{"$ref":"#/components/schemas/SkillInfoSchema","description":"Craft details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Player details."}},"type":"object","required":["cooldown","details","character"],"title":"SkillDataSchema"},"SkillInfoSchema":{"properties":{"xp":{"type":"integer","title":"Xp","description":"The amount of xp gained."},"items":{"items":{"$ref":"#/components/schemas/DropSchema"},"type":"array","title":"Items","description":"Objects received."}},"type":"object","required":["xp","items"],"title":"SkillInfoSchema"},"SkillResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/SkillDataSchema"}},"type":"object","required":["data"],"title":"SkillResponseSchema"},"SkinResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/SkinSchema"}},"type":"object","required":["data"],"title":"SkinResponseSchema"},"SkinSchema":{"properties":{"code":{"type":"string","title":"Code","description":"The code of the skin. This is the skin's unique identifier."},"name":{"type":"string","title":"Name","description":"Display name of the skin."},"description":{"type":"string","title":"Description","description":"Description of the skin and how to obtain it."},"default":{"type":"boolean","title":"Default","description":"Whether this skin is available to all players by default."},"price":{"type":"integer","nullable":true,"title":"Price","description":"Price in gems to purchase this skin. Null if not purchasable."}},"type":"object","required":["code","name","description","default"],"title":"SkinSchema"},"SpawnEventRequestSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Code of the event to spawn"}},"type":"object","required":["code"],"title":"SpawnEventRequestSchema"},"StaticDataPage_AchievementSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AchievementSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[AchievementSchema]"},"StaticDataPage_ActiveEventSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ActiveEventSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[ActiveEventSchema]"},"StaticDataPage_BadgeSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/BadgeSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[BadgeSchema]"},"StaticDataPage_DropRateSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/DropRateSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[DropRateSchema]"},"StaticDataPage_EffectSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/EffectSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[EffectSchema]"},"StaticDataPage_EventSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/EventSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[EventSchema]"},"StaticDataPage_ItemSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ItemSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[ItemSchema]"},"StaticDataPage_MapSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/MapSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[MapSchema]"},"StaticDataPage_MonsterSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/MonsterSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[MonsterSchema]"},"StaticDataPage_NPCItemSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/NPCItemSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[NPCItemSchema]"},"StaticDataPage_NPCSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/NPCSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[NPCSchema]"},"StaticDataPage_RaidSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/RaidSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[RaidSchema]"},"StaticDataPage_ResourceSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ResourceSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[ResourceSchema]"},"StaticDataPage_SeasonRewardSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/SeasonRewardSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[SeasonRewardSchema]"},"StaticDataPage_SkinSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/SkinSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[SkinSchema]"},"StaticDataPage_TaskFullSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/TaskFullSchema"},"type":"array","title":"Data"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["data","total","page","size","pages"],"title":"StaticDataPage[TaskFullSchema]"},"StatusResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/StatusSchema"}},"type":"object","required":["data"],"title":"StatusResponseSchema"},"StatusSchema":{"properties":{"version":{"type":"string","title":"Version","description":"Game version."},"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"Server time."},"max_level":{"type":"integer","title":"Max Level","description":"Maximum level."},"max_skill_level":{"type":"integer","title":"Max Skill Level","description":"Maximum skill level."},"characters_online":{"type":"integer","title":"Characters Online","description":"Characters online."},"season":{"$ref":"#/components/schemas/SeasonSchema","description":"Current season details."},"rate_limits":{"items":{"$ref":"#/components/schemas/RateLimitSchema"},"type":"array","title":"Rate Limits","description":"Rate limits."}},"type":"object","required":["version","server_time","max_level","max_skill_level","characters_online","rate_limits"],"title":"StatusSchema"},"StatusSeasonRewardSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Unique code identifying this reward."},"type":{"$ref":"#/components/schemas/RewardType","description":"Type of the reward."},"description":{"type":"string","title":"Description","description":"Description of how to earn this reward."},"required_points":{"type":"integer","title":"Required Points","description":"Number of achievement points required to earn this reward."},"quantity":{"type":"integer","title":"Quantity","description":"Quantity of the reward (e.g., gold amount, item quantity).","default":1},"member_required":{"type":"boolean","title":"Member Required","description":"Whether member status is required to earn this reward.","default":false},"first_only":{"type":"boolean","title":"First Only","description":"Whether this reward is only for the first player to reach the required points.","default":false}},"type":"object","required":["code","type","description","required_points"],"title":"StatusSeasonRewardSchema","description":"Season reward as shown in server details (without season number since it's implied)."},"StorageEffectSchema":{"properties":{"code":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","title":"Code","description":"Effect code."},"value":{"type":"integer","title":"Value","description":"Effect value."}},"type":"object","required":["code","value"],"title":"StorageEffectSchema"},"StripeSubscriptionPlan":{"type":"string","enum":["monthly","annual"],"title":"StripeSubscriptionPlan","description":"Stripe subscription plan type."},"SubscribeRequestSchema":{"properties":{"plan":{"$ref":"#/components/schemas/StripeSubscriptionPlan","description":"Recurring Stripe subscription plan to purchase."}},"type":"object","required":["plan"],"title":"SubscribeRequestSchema"},"SubscriptionPlan":{"type":"string","enum":["monthly","annual","prepaid"],"title":"SubscriptionPlan","description":"Subscription plan type."},"SubscriptionResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/SubscriptionSchema"}},"type":"object","required":["data"],"title":"SubscriptionResponseSchema"},"SubscriptionSchema":{"properties":{"plan":{"$ref":"#/components/schemas/SubscriptionPlan","description":"Subscription plan (monthly, annual, or prepaid)."},"purchase_source":{"type":"string","enum":["stripe","gems","member_token","mixed"],"title":"Purchase Source","description":"How the subscription was purchased. Mixed means both gems and member tokens were used."},"status":{"type":"string","title":"Status","description":"Subscription status (active, cancelled, past_due, expired)."},"current_period_start":{"type":"string","format":"date-time","title":"Current Period Start","description":"Start of the current billing period."},"current_period_end":{"type":"string","format":"date-time","title":"Current Period End","description":"End of the current billing period."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the subscription was created."},"cancelled_at":{"type":"string","format":"date-time","nullable":true,"title":"Cancelled At","description":"When the subscription was cancelled."}},"type":"object","required":["plan","purchase_source","status","current_period_start","current_period_end","created_at"],"title":"SubscriptionSchema"},"TaskCancelledResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/TaskCancelledSchema"}},"type":"object","required":["data"],"title":"TaskCancelledResponseSchema"},"TaskCancelledSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Player details."}},"type":"object","required":["cooldown","character"],"title":"TaskCancelledSchema"},"TaskDataSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"task":{"$ref":"#/components/schemas/TaskSchema","description":"Task details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Player details."}},"type":"object","required":["cooldown","task","character"],"title":"TaskDataSchema"},"TaskFullResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/TaskFullSchema"}},"type":"object","required":["data"],"title":"TaskFullResponseSchema"},"TaskFullSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Task objective."},"level":{"type":"integer","title":"Level","description":"Task level."},"type":{"$ref":"#/components/schemas/TaskType","title":"Type","description":"The type of task."},"min_quantity":{"type":"integer","title":"Min Quantity","description":"Minimum amount of task."},"max_quantity":{"type":"integer","title":"Max Quantity","description":"Maximum amount of task."},"skill":{"type":"string","nullable":true,"title":"Skill","description":"Skill required to complete the task."},"rewards":{"$ref":"#/components/schemas/RewardsSchema","description":"Rewards."}},"type":"object","required":["code","level","type","min_quantity","max_quantity","rewards"],"title":"TaskFullSchema"},"TaskResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/TaskDataSchema"}},"type":"object","required":["data"],"title":"TaskResponseSchema"},"TaskSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Task objective."},"type":{"$ref":"#/components/schemas/TaskType","title":"Type","description":"The type of task."},"total":{"type":"integer","title":"Total","description":"The total required to complete the task."},"rewards":{"$ref":"#/components/schemas/RewardsSchema","description":"Rewards for completing the task."}},"type":"object","required":["code","type","total","rewards"],"title":"TaskSchema"},"TaskTradeDataSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"trade":{"$ref":"#/components/schemas/TaskTradeSchema","description":"Reward details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Player details."}},"type":"object","required":["cooldown","trade","character"],"title":"TaskTradeDataSchema"},"TaskTradeResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/TaskTradeDataSchema"}},"type":"object","required":["data"],"title":"TaskTradeResponseSchema"},"TaskTradeSchema":{"properties":{"code":{"type":"string","title":"Code","description":"Item code."},"quantity":{"type":"integer","title":"Quantity","description":"Item quantity."}},"type":"object","required":["code","quantity"],"title":"TaskTradeSchema"},"TaskType":{"type":"string","enum":["monsters","items"],"title":"TaskType"},"TokenResponseSchema":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"TokenResponseSchema"},"TransitionSchema":{"properties":{"map_id":{"type":"integer","title":"Map Id","description":"ID of the destination map."},"x":{"type":"integer","title":"X","description":"Position X of the destination."},"y":{"type":"integer","title":"Y","description":"Position Y of the destination."},"layer":{"$ref":"#/components/schemas/MapLayer","description":"Layer of the destination."},"conditions":{"items":{"$ref":"#/components/schemas/ConditionSchema"},"type":"array","nullable":true,"title":"Conditions","description":"Conditions for the transition."}},"type":"object","required":["map_id","x","y","layer"],"title":"TransitionSchema"},"UnequipSchema":{"properties":{"slot":{"$ref":"#/components/schemas/ItemSlot","description":"Item slot."},"quantity":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Quantity","description":"Item quantity. Applicable to utilities only.","default":1}},"type":"object","required":["slot"],"title":"UnequipSchema"},"UseItemResponseSchema":{"properties":{"data":{"$ref":"#/components/schemas/UseItemSchema"}},"type":"object","required":["data"],"title":"UseItemResponseSchema"},"UseItemSchema":{"properties":{"cooldown":{"$ref":"#/components/schemas/CooldownSchema","description":"Cooldown details."},"item":{"$ref":"#/components/schemas/ItemSchema","description":"Item details."},"character":{"$ref":"#/components/schemas/CharacterSchema","description":"Player details."}},"type":"object","required":["cooldown","item","character"],"title":"UseItemSchema"},"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"},"ErrorSchema":{"type":"object","properties":{"code":{"type":"integer","description":"Error code"},"message":{"type":"string","description":"Error message"},"data":{"type":"object","description":"Additional error data (used primarily for validation errors)","additionalProperties":true}},"required":["code","message"]},"ErrorResponseSchema":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/ErrorSchema"}},"required":["error"]}},"securitySchemes":{"JWTBearer":{"type":"http","scheme":"bearer"},"HTTPBasic":{"type":"http","scheme":"basic"}}}}