{"openapi":"3.1.0","info":{"title":"POE.BOATS API","version":"1.0.0","description":"The same operations power the UI, versioned HTTP API, and /mcp tools. Browser-local operations accept and return state; saved-set operations require an account."},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"An existing Better Auth session token. Expiry and revocation apply on every request."},"sessionCookie":{"type":"apiKey","in":"cookie","name":"better-auth.session_token"}},"schemas":{"CraftingGraph":{"type":"object","properties":{"format":{"type":"number","enum":[1]},"id":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":120},"game":{"type":"string","enum":["poe1","poe2"]},"ruleset":{"type":"object","properties":{"era":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"revision":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"engine":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"patch":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["era","revision","engine","patch","manifestSha256","craftingSha256"],"additionalProperties":false},"currency":{"type":"string","minLength":1,"maxLength":100,"default":"chaos"},"league":{"type":"string","minLength":1,"maxLength":100},"nodes":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["acquire"]},"id":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":120},"position":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y"]},"output":{"$ref":"#/components/schemas/ItemQuery"},"alternatives":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["purchase"]},"id":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":120},"item":{"$ref":"#/components/schemas/CraftingItem"},"price":{"type":["object","null"],"properties":{"amount":{"type":"number","minimum":0},"currency":{"type":"string","minLength":1},"source":{"type":"string","enum":["manual","market"]},"observedAt":{"type":"string","format":"date-time"},"confidence":{"type":["number","null"],"minimum":0,"maximum":1},"samples":{"type":"integer","minimum":0},"cohortId":{"type":"string","minLength":1}},"required":["amount","currency","source","confidence"],"additionalProperties":false},"sourcePreparation":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["fractured-fossil-v1"]},"fractureId":{"type":"string","minLength":1,"maxLength":500},"crafted":{"type":"boolean"},"enchanted":{"type":"boolean"},"fossils":{"type":"object","properties":{"kind":{"type":"string","enum":["fossils"]},"allflame":{"type":"boolean","enum":[true]},"tangled":{"type":"string","minLength":1},"ids":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":4},"resonator":{"type":"string","minLength":1},"logic":{"type":"string","enum":["additive","multiplicative"],"default":"additive"}},"required":["kind","ids","resonator"]}},"required":["kind","fractureId","crafted","enchanted","fossils"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["scour-v1"]},"crafted":{"type":"boolean"},"enchanted":{"type":"boolean"}},"required":["kind","crafted","enchanted"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["influence-ready-v1"]}},"required":["kind"],"additionalProperties":false}]}},"required":["kind","id","name","item","price"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["production"]},"id":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":120},"nodeId":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","id","name","nodeId"],"additionalProperties":false}]},"minItems":1,"maxItems":20},"choice":{"oneOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["automatic"]}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["pinned"]},"alternativeId":{"type":"string","minLength":1}},"required":["mode","alternativeId"],"additionalProperties":false}],"default":{"mode":"automatic"}}},"required":["kind","id","name","output","alternatives"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["craft"]},"id":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":120},"position":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y"]},"output":{"$ref":"#/components/schemas/ItemQuery"},"inputs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":120},"source":{"type":"string","minLength":1,"maxLength":100},"query":{"$ref":"#/components/schemas/ItemQuery"}},"required":["id","name","source"],"additionalProperties":false},"minItems":1,"maxItems":2},"method":{"$ref":"#/components/schemas/CraftingMethod"},"smart":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["once"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["minimum"]},"field":{"type":"string","enum":["memoryStrands","quality","catalystQuality","sockets","links"]},"value":{"type":"integer","minimum":1,"maximum":100}},"required":["kind","field","value"],"additionalProperties":false}]},"applyWhen":{"$ref":"#/components/schemas/ItemQuery"},"branches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":120},"query":{"$ref":"#/components/schemas/ItemQuery"},"destination":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["return"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["recover"]},"nodeId":{"type":"string","minLength":1,"maxLength":100},"inputId":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","nodeId","inputId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["discard"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["sell"]},"price":{"type":["object","null"],"properties":{"amount":{"type":"number","minimum":0},"currency":{"type":"string","minLength":1},"source":{"type":"string","enum":["manual","market"]},"observedAt":{"type":"string","format":"date-time"},"confidence":{"type":["number","null"],"minimum":0,"maximum":1},"samples":{"type":"integer","minimum":0},"cohortId":{"type":"string","minLength":1}},"required":["amount","currency","source","confidence"],"additionalProperties":false}},"required":["kind","price"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["terminal"]},"outcomeId":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","outcomeId"],"additionalProperties":false}]}},"required":["id","name","query","destination"],"additionalProperties":false},"maxItems":24,"default":[]},"ordering":{"type":"string","enum":["automatic","manual"],"default":"automatic"},"fallback":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["return"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["recover"]},"nodeId":{"type":"string","minLength":1,"maxLength":100},"inputId":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","nodeId","inputId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["discard"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["sell"]},"price":{"type":["object","null"],"properties":{"amount":{"type":"number","minimum":0},"currency":{"type":"string","minLength":1},"source":{"type":"string","enum":["manual","market"]},"observedAt":{"type":"string","format":"date-time"},"confidence":{"type":["number","null"],"minimum":0,"maximum":1},"samples":{"type":"integer","minimum":0},"cohortId":{"type":"string","minLength":1}},"required":["amount","currency","source","confidence"],"additionalProperties":false}},"required":["kind","price"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["terminal"]},"outcomeId":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","outcomeId"],"additionalProperties":false}],"default":{"kind":"return"}}},"required":["kind","id","name","output","inputs","method"],"additionalProperties":false}]},"minItems":1,"maxItems":100},"entry":{"type":"string","minLength":1,"maxLength":100},"outcomes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":120},"query":{"$ref":"#/components/schemas/ItemQuery"},"success":{"type":"boolean","default":true},"disposition":{"type":"string","enum":["keep","sell","discard"],"default":"keep"},"price":{"type":["object","null"],"properties":{"amount":{"type":"number","minimum":0},"currency":{"type":"string","minLength":1},"source":{"type":"string","enum":["manual","market"]},"observedAt":{"type":"string","format":"date-time"},"confidence":{"type":["number","null"],"minimum":0,"maximum":1},"samples":{"type":"integer","minimum":0},"cohortId":{"type":"string","minLength":1}},"default":null,"required":["amount","currency","source","confidence"],"additionalProperties":false}},"required":["id","name","query"],"additionalProperties":false},"minItems":1,"maxItems":24},"outcomeOrdering":{"type":"string","enum":["automatic","manual"],"default":"automatic"},"prices":{"type":"object","additionalProperties":{"type":"object","properties":{"amount":{"type":"number","minimum":0},"currency":{"type":"string","minLength":1},"source":{"type":"string","enum":["manual","market"]},"observedAt":{"type":"string","format":"date-time"},"confidence":{"type":["number","null"],"minimum":0,"maximum":1},"samples":{"type":"integer","minimum":0},"cohortId":{"type":"string","minLength":1}},"required":["amount","currency","source","confidence"],"additionalProperties":false},"default":{}},"seed":{"type":"integer","minimum":0,"maximum":4294967295,"default":42},"iterations":{"type":"integer","minimum":1,"maximum":100000,"default":1000},"maxSteps":{"type":"integer","minimum":1,"maximum":1000000,"default":10000},"buyIn":{"type":"object","properties":{"includeInPerson":{"type":"boolean","default":false},"stages":{"type":"object","additionalProperties":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":100},"observedAt":{"type":"string","format":"date-time"},"status":{"type":"string","enum":["priced","no-listings"]},"price":{"type":["object","null"],"properties":{"amount":{"type":"number","exclusiveMinimum":0},"currency":{"type":"string","minLength":1,"maxLength":100}},"required":["amount","currency"],"additionalProperties":false},"sale":{"type":["string","null"],"enum":["instant","in-person",null]},"confidence":{"type":["string","null"],"enum":["high","medium","low",null]},"counts":{"type":"object","properties":{"results":{"type":"integer","minimum":0},"fetched":{"type":"integer","minimum":0},"matching":{"type":"integer","minimum":0},"nearPrice":{"type":"integer","minimum":0},"notMatching":{"type":"integer","minimum":0},"unreadable":{"type":"integer","minimum":0},"unconverted":{"type":"integer","minimum":0},"bait":{"type":"integer","minimum":0}},"required":["results","fetched","matching","nearPrice","notMatching","unreadable","unconverted","bait"],"additionalProperties":false},"item":{"allOf":[{"$ref":"#/components/schemas/CraftingItem"},{"type":["object","null"]}]}},"required":["key","observedAt","status","price","sale","confidence","counts","item"],"additionalProperties":false},"default":{}}},"additionalProperties":false}},"required":["format","id","name","game","ruleset","nodes","entry","outcomes"],"additionalProperties":false},"ItemQuery":{"type":"object","properties":{"format":{"type":"number","enum":[1],"default":1},"game":{"type":"string","enum":["poe1","poe2"]},"groups":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["and","or","not","count"]},"filters":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["base"]},"field":{"type":"string","enum":["baseType","baseId","itemClass","qualityType","catalystId"]},"values":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":100}},"required":["kind","field","values"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["rarity"]},"values":{"type":"array","items":{"type":"string","enum":["Normal","Magic","Rare","Unique","Currency","Gem","Relic"]},"minItems":1,"maxItems":7}},"required":["kind","values"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["range"]},"field":{"type":"string","enum":["ilvl","sockets","links","prefixes","suffixes","openPrefixes","openSuffixes","memoryStrands","memoryStrandsSpent","quality","catalystQuality"]},"value":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"additionalProperties":false}},"required":["kind","field","value"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["flag"]},"field":{"type":"string","enum":["identified","corrupted","mirrored","fractured","split","synthesised","sanctified","influenced","destroyed","intangible"]},"value":{"type":"boolean"}},"required":["kind","field","value"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["influence"]},"values":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":10}},"required":["kind","values"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["enchant"]},"values":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":100}},"required":["kind","values"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["mod"]},"ids":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":100},"names":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":100},"tier":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"additionalProperties":false},"side":{"type":"string","enum":["prefix","suffix","implicit"]},"fractured":{"type":"boolean"},"crafted":{"type":"boolean"},"count":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"default":{"min":1},"additionalProperties":false}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["stat"]},"id":{"type":"string","minLength":1,"maxLength":500},"scope":{"type":"string","enum":["explicit","implicit","total"],"default":"total"},"value":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"additionalProperties":false}},"required":["kind","id","value"],"additionalProperties":false}]},"minItems":1,"maxItems":64},"value":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"additionalProperties":false}},"required":["type","filters"],"additionalProperties":false},"maxItems":16,"default":[]},"sourcePreparation":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["fractured-fossil-v1"]},"fractureId":{"type":"string","minLength":1,"maxLength":500},"crafted":{"type":"boolean"},"enchanted":{"type":"boolean"}},"required":["kind","fractureId","crafted","enchanted"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["scour-v1"]},"crafted":{"type":"boolean"},"enchanted":{"type":"boolean"}},"required":["kind","crafted","enchanted"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["influence-ready-v1"]}},"required":["kind"],"additionalProperties":false}]}},"required":["game"],"additionalProperties":false},"CraftingItem":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]},"reveal":{"type":"object","properties":{"mod":{"type":"string","minLength":1},"source":{"type":"string","minLength":1},"mark":{"type":"string","minLength":1},"index":{"type":"integer","minimum":0,"maximum":5},"choices":{"type":"array","items":{"type":"string","minLength":1},"maxItems":3},"offeredOn":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]},"socketedJewel":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]}},"required":["baseId","level","rarity","mods","implicits"],"additionalProperties":false}},"required":["baseId","level","rarity","mods","implicits"]},"omens":{"type":"array","items":{"type":"string","minLength":1},"maxItems":4},"echoes":{"type":"object","properties":{"omen":{"type":"string","minLength":1},"remaining":{"anyOf":[{"type":"number","enum":[0]},{"type":"number","enum":[1]}]}},"required":["omen","remaining"]}},"required":["mod","source","choices"]},"socketedJewel":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]},"reveal":{"type":"object","properties":{"mod":{"type":"string","minLength":1},"source":{"type":"string","minLength":1},"mark":{"type":"string","minLength":1},"index":{"type":"integer","minimum":0,"maximum":5},"choices":{"type":"array","items":{"type":"string","minLength":1},"maxItems":3},"offeredOn":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]},"socketedJewel":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]}},"required":["baseId","level","rarity","mods","implicits"],"additionalProperties":false}},"required":["baseId","level","rarity","mods","implicits"]},"omens":{"type":"array","items":{"type":"string","minLength":1},"maxItems":4},"echoes":{"type":"object","properties":{"omen":{"type":"string","minLength":1},"remaining":{"anyOf":[{"type":"number","enum":[0]},{"type":"number","enum":[1]}]}},"required":["omen","remaining"]}},"required":["mod","source","choices"]}},"required":["baseId","level","rarity","mods","implicits"],"additionalProperties":false},"imprint":{"$ref":"#/components/schemas/CraftingItemState"},"allflameCopies":{"type":"array","items":{"$ref":"#/components/schemas/CraftingItemState"},"minItems":1,"maxItems":4},"allflameCost":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"amount":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","amount"]},"minItems":1}},"required":["baseId","level","rarity","mods","implicits"]},"CraftingRolledModifier":{"type":"object","properties":{"id":{"type":"string","minLength":1},"essence":{"type":"boolean","enum":[true]},"values":{"type":"array","items":{"type":"integer"}},"fractured":{"type":"boolean","default":false},"crafted":{"type":"boolean","default":false},"desecrated":{"type":"boolean","enum":[true]},"sanctification":{"type":"integer","exclusiveMinimum":0},"corruptionScale":{"type":"integer","minimum":78,"maximum":122},"grantedPassive":{"type":"string","minLength":1},"attributeSource":{"type":"string","minLength":1},"conversion":{"type":"object","properties":{"source":{"type":"string","minLength":1},"steps":{"type":"array","items":{"type":"object","properties":{"socket":{"type":"integer","minimum":0,"maximum":6},"order":{"type":"integer","minimum":0,"maximum":6}},"required":["socket","order"]},"minItems":1,"maxItems":7}},"required":["source","steps"]},"origin":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["awakener"]},"level":{"type":"integer","minimum":1,"maximum":100}},"required":["kind","level"]},{"type":"object","properties":{"kind":{"type":"string","enum":["recombine"]},"level":{"type":"integer","minimum":1,"maximum":100}},"required":["kind","level"]},{"type":"object","properties":{"kind":{"type":"string","enum":["beast"]},"level":{"type":"integer","minimum":1,"maximum":100},"recipe":{"type":"string","minLength":1}},"required":["kind","level","recipe"]}]}},"required":["id","values"]},"CraftingItemState":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]},"reveal":{"type":"object","properties":{"mod":{"type":"string","minLength":1},"source":{"type":"string","minLength":1},"mark":{"type":"string","minLength":1},"index":{"type":"integer","minimum":0,"maximum":5},"choices":{"type":"array","items":{"type":"string","minLength":1},"maxItems":3},"offeredOn":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]},"socketedJewel":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]}},"required":["baseId","level","rarity","mods","implicits"],"additionalProperties":false}},"required":["baseId","level","rarity","mods","implicits"]},"omens":{"type":"array","items":{"type":"string","minLength":1},"maxItems":4},"echoes":{"type":"object","properties":{"omen":{"type":"string","minLength":1},"remaining":{"anyOf":[{"type":"number","enum":[0]},{"type":"number","enum":[1]}]}},"required":["omen","remaining"]}},"required":["mod","source","choices"]},"socketedJewel":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]},"reveal":{"type":"object","properties":{"mod":{"type":"string","minLength":1},"source":{"type":"string","minLength":1},"mark":{"type":"string","minLength":1},"index":{"type":"integer","minimum":0,"maximum":5},"choices":{"type":"array","items":{"type":"string","minLength":1},"maxItems":3},"offeredOn":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]},"socketedJewel":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]}},"required":["baseId","level","rarity","mods","implicits"],"additionalProperties":false}},"required":["baseId","level","rarity","mods","implicits"]},"omens":{"type":"array","items":{"type":"string","minLength":1},"maxItems":4},"echoes":{"type":"object","properties":{"omen":{"type":"string","minLength":1},"remaining":{"anyOf":[{"type":"number","enum":[0]},{"type":"number","enum":[1]}]}},"required":["omen","remaining"]}},"required":["mod","source","choices"]}},"required":["baseId","level","rarity","mods","implicits"],"additionalProperties":false}},"required":["baseId","level","rarity","mods","implicits"]},"CraftingMethod":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["genesis"]},"id":{"type":"string","enum":["genesis"]},"nodes":{"type":"array","items":{"type":"string","minLength":1},"maxItems":100,"default":[]}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["generate"]},"id":{"type":"string","enum":["normal","magic","rare"]},"breachRings":{"anyOf":[{"type":"string","enum":["legacy"]},{"type":"object","properties":{"Xoph":{"type":"integer","minimum":0,"maximum":60},"Tul":{"type":"integer","minimum":0,"maximum":60},"Esh":{"type":"integer","minimum":0,"maximum":60},"Uul-Netol":{"type":"integer","minimum":0,"maximum":60},"Chayula":{"type":"integer","minimum":0,"maximum":60}}}]}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["socket_jewel"]},"id":{"type":"string","enum":["socket_jewel"]},"jewel":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":100},"item":{"$ref":"#/components/schemas/CraftingItem"},"tab":{"type":"string","minLength":1,"maxLength":60}},"required":["id","name","item"]}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["remove_jewel"]},"id":{"type":"string","enum":["remove_jewel"]}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["recombine"]},"id":{"type":"string","enum":["recombine"]},"donor":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":100},"item":{"$ref":"#/components/schemas/CraftingItem"},"tab":{"type":"string","minLength":1,"maxLength":60}},"required":["id","name","item"]}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["currency"]},"id":{"type":"string","minLength":1},"allflame":{"type":"boolean","enum":[true]},"omens":{"type":"array","items":{"type":"string","minLength":1},"maxItems":4},"donor":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":100},"item":{"$ref":"#/components/schemas/CraftingItem"},"tab":{"type":"string","minLength":1,"maxLength":60}},"required":["id","name","item"]}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["essence"]},"id":{"type":"string","minLength":1},"omens":{"type":"array","items":{"type":"string","minLength":1},"maxItems":4},"allflame":{"type":"boolean","enum":[true]}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["bench"]},"id":{"type":"string","minLength":1},"skipOnConflict":{"type":"boolean"}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["augment"]},"id":{"type":"string","minLength":1},"replace":{"type":"integer","minimum":0,"maximum":6}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["upgrade_augment"]},"id":{"type":"string","minLength":1},"socket":{"type":"integer","minimum":0,"maximum":6,"default":0}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["locus"]},"id":{"type":"string","minLength":1}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["anoint"]},"id":{"type":"string","minLength":1},"additional":{"type":"array","items":{"type":"string","minLength":1},"maxItems":8},"oils":{"type":"array","items":{"type":"string","minLength":1},"maxItems":2}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["fossils"]},"allflame":{"type":"boolean","enum":[true]},"tangled":{"type":"string","minLength":1},"ids":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":4},"resonator":{"type":"string","minLength":1},"logic":{"type":"string","enum":["additive","multiplicative"],"default":"additive"}},"required":["kind","ids","resonator"]},{"type":"object","properties":{"kind":{"type":"string","enum":["harvest"]},"id":{"type":"string","minLength":1}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["beast"]},"id":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["reveal"]},"preferred":{"type":"array","items":{"type":"string","minLength":1},"maxItems":100,"default":[]},"skipOnMiss":{"type":"boolean"},"omens":{"type":"array","items":{"type":"string","minLength":1},"maxItems":4}},"required":["kind"]}]},"CraftingGraphResult":{"type":"object","properties":{"kind":{"type":"string","enum":["sampled-graph"]},"complete":{"type":"boolean"},"stopReason":{"type":"string","enum":["running","complete","work-limit"]},"phase":{"type":"string","enum":["preparing","pilot","estimate","outcome-pilot","final"]},"nodeId":{"type":["string","null"]},"work":{"type":"integer","minimum":0},"trials":{"type":"integer","minimum":0},"requestedTrials":{"type":"integer","minimum":0},"meanCost":{"type":["number","null"],"minimum":0},"costInterval":{"type":["array","null"],"prefixItems":[{"type":"number","minimum":0},{"type":"number","minimum":0}]},"meanRevenue":{"type":["number","null"],"minimum":0},"meanProfit":{"type":["number","null"]},"meanActions":{"type":["number","null"],"minimum":0},"observedCost":{"type":["number","null"],"minimum":0},"probability":{"type":["number","null"],"minimum":0,"maximum":1},"interval":{"type":"array","prefixItems":[{"type":"number","minimum":0,"maximum":1},{"type":"number","minimum":0,"maximum":1}]},"outcomes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"count":{"type":"integer","minimum":0},"probability":{"type":["number","null"],"minimum":0,"maximum":1},"interval":{"type":"array","prefixItems":[{"type":"number","minimum":0,"maximum":1},{"type":"number","minimum":0,"maximum":1}]}},"required":["id","count","probability","interval"]}},"missingPrices":{"type":"array","items":{"type":"string"}},"unpricedSales":{"type":"array","items":{"type":"string"}},"excludedRecovery":{"type":"integer","minimum":0},"truncated":{"type":"integer","minimum":0},"errors":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"acquisitions":{"type":"object","additionalProperties":{"type":"object","properties":{"choice":{"oneOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["automatic"]}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["pinned"]},"alternativeId":{"type":"string","minLength":1}},"required":["mode","alternativeId"],"additionalProperties":false}]},"selectedId":{"type":["string","null"]},"alternatives":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"kind":{"type":"string","enum":["purchase","craft"]},"expectedCost":{"type":["number","null"],"minimum":0},"currency":{"type":"string","minLength":1},"expectedActions":{"type":["number","null"],"minimum":0},"estimated":{"type":"boolean"},"guaranteed":{"type":"boolean"},"confidence":{"type":["number","null"],"minimum":0,"maximum":1},"missingPrices":{"type":"array","items":{"type":"string"},"default":[]}},"required":["id","name","kind","expectedCost","currency","expectedActions","guaranteed","confidence"],"additionalProperties":false}},"incomplete":{"type":"boolean"}},"required":["choice","selectedId","alternatives","incomplete"],"additionalProperties":false}},"estimates":{"type":"array","items":{"type":"object","properties":{"nodeId":{"type":"string"},"trials":{"type":"integer","minimum":0},"returned":{"type":"integer","minimum":0},"returnProbability":{"type":"number","minimum":0,"maximum":1},"returnInterval":{"type":"array","prefixItems":[{"type":"number","minimum":0,"maximum":1},{"type":"number","minimum":0,"maximum":1}]},"expectedCost":{"type":["number","null"],"minimum":0},"expectedActions":{"type":["number","null"],"minimum":0},"missingPrices":{"type":"array","items":{"type":"string"}},"complete":{"type":"boolean"},"errors":{"type":"object","additionalProperties":{"type":"integer","minimum":0}}},"required":["nodeId","trials","returned","returnProbability","returnInterval","expectedCost","expectedActions","missingPrices","complete","errors"]}},"visits":{"type":"object","additionalProperties":{"type":"object","properties":{"visits":{"type":"integer","minimum":0},"matches":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"branches":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"recovered":{"type":"integer","minimum":0},"skipped":{"type":"integer","minimum":0},"modelOdds":{"type":"object","properties":{"attempts":{"type":"integer","minimum":0},"branches":{"type":"object","additionalProperties":{"type":"number","minimum":0}},"outcomes":{"type":"object","additionalProperties":{"type":"number","minimum":0}}},"required":["attempts","branches","outcomes"]}},"required":["visits","matches","branches","recovered"]}},"spending":{"type":"object","additionalProperties":{"type":"number","minimum":0}},"samples":{"type":"array","items":{"type":"object","properties":{"status":{"type":"string","enum":["running","returned","terminal","truncated","error"]},"outcomeId":{"type":["string","null"]},"success":{"type":"boolean"},"item":{"allOf":[{"$ref":"#/components/schemas/CraftingItem"},{"type":["object","null"]}]},"steps":{"type":"integer","minimum":0},"actions":{"type":"integer","minimum":0},"purchases":{"type":"integer","minimum":0},"consumedItems":{"type":"integer","minimum":0},"cost":{"type":["number","null"],"minimum":0},"knownCost":{"type":"number","minimum":0},"revenue":{"type":["number","null"],"minimum":0},"creditedRevenue":{"type":"number","minimum":0},"missingPrices":{"type":"array","items":{"type":"string"}},"unpricedSales":{"type":"array","items":{"type":"string"}},"excludedRecovery":{"type":"integer","minimum":0},"spending":{"type":"object","additionalProperties":{"type":"number","minimum":0}},"visits":{"type":"object","additionalProperties":{"type":"object","properties":{"visits":{"type":"integer","minimum":0},"matches":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"branches":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"recovered":{"type":"integer","minimum":0},"skipped":{"type":"integer","minimum":0},"modelOdds":{"type":"object","properties":{"attempts":{"type":"integer","minimum":0},"branches":{"type":"object","additionalProperties":{"type":"number","minimum":0}},"outcomes":{"type":"object","additionalProperties":{"type":"number","minimum":0}}},"required":["attempts","branches","outcomes"]}},"required":["visits","matches","branches","recovered"]}},"retained":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"item":{"$ref":"#/components/schemas/CraftingItem"}},"required":["id","item"]}},"trace":{"type":"array","items":{"type":"object","properties":{"nodeId":{"type":"string"},"inputs":{"type":"array","items":{"type":"string"}},"outputs":{"type":"array","items":{"type":"string"}},"branchId":{"type":"string"},"destination":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["return"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["recover"]},"nodeId":{"type":"string","minLength":1,"maxLength":100},"inputId":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","nodeId","inputId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["discard"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["sell"]},"price":{"type":["object","null"],"properties":{"amount":{"type":"number","minimum":0},"currency":{"type":"string","minLength":1},"source":{"type":"string","enum":["manual","market"]},"observedAt":{"type":"string","format":"date-time"},"confidence":{"type":["number","null"],"minimum":0,"maximum":1},"samples":{"type":"integer","minimum":0},"cohortId":{"type":"string","minLength":1}},"required":["amount","currency","source","confidence"],"additionalProperties":false}},"required":["kind","price"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["terminal"]},"outcomeId":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","outcomeId"],"additionalProperties":false}]},"skipped":{"type":"boolean","enum":[true]},"preparation":{"type":"array","items":{"$ref":"#/components/schemas/CraftingMethod"}}},"required":["nodeId","inputs","outputs"]}},"nodeItems":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CraftingItem"}},"error":{"type":["string","null"]}},"required":["status","outcomeId","success","item","steps","actions","purchases","consumedItems","cost","knownCost","revenue","creditedRevenue","missingPrices","unpricedSales","excludedRecovery","spending","visits","retained","trace","error"]}},"unfinished":{"type":["object","null"],"properties":{"status":{"type":"string","enum":["running","returned","terminal","truncated","error"]},"outcomeId":{"type":["string","null"]},"success":{"type":"boolean"},"item":{"allOf":[{"$ref":"#/components/schemas/CraftingItem"},{"type":["object","null"]}]},"steps":{"type":"integer","minimum":0},"actions":{"type":"integer","minimum":0},"purchases":{"type":"integer","minimum":0},"consumedItems":{"type":"integer","minimum":0},"cost":{"type":["number","null"],"minimum":0},"knownCost":{"type":"number","minimum":0},"revenue":{"type":["number","null"],"minimum":0},"creditedRevenue":{"type":"number","minimum":0},"missingPrices":{"type":"array","items":{"type":"string"}},"unpricedSales":{"type":"array","items":{"type":"string"}},"excludedRecovery":{"type":"integer","minimum":0},"spending":{"type":"object","additionalProperties":{"type":"number","minimum":0}},"visits":{"type":"object","additionalProperties":{"type":"object","properties":{"visits":{"type":"integer","minimum":0},"matches":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"branches":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"recovered":{"type":"integer","minimum":0},"skipped":{"type":"integer","minimum":0},"modelOdds":{"type":"object","properties":{"attempts":{"type":"integer","minimum":0},"branches":{"type":"object","additionalProperties":{"type":"number","minimum":0}},"outcomes":{"type":"object","additionalProperties":{"type":"number","minimum":0}}},"required":["attempts","branches","outcomes"]}},"required":["visits","matches","branches","recovered"]}},"retained":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"item":{"$ref":"#/components/schemas/CraftingItem"}},"required":["id","item"]}},"trace":{"type":"array","items":{"type":"object","properties":{"nodeId":{"type":"string"},"inputs":{"type":"array","items":{"type":"string"}},"outputs":{"type":"array","items":{"type":"string"}},"branchId":{"type":"string"},"destination":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["return"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["recover"]},"nodeId":{"type":"string","minLength":1,"maxLength":100},"inputId":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","nodeId","inputId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["discard"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["sell"]},"price":{"type":["object","null"],"properties":{"amount":{"type":"number","minimum":0},"currency":{"type":"string","minLength":1},"source":{"type":"string","enum":["manual","market"]},"observedAt":{"type":"string","format":"date-time"},"confidence":{"type":["number","null"],"minimum":0,"maximum":1},"samples":{"type":"integer","minimum":0},"cohortId":{"type":"string","minLength":1}},"required":["amount","currency","source","confidence"],"additionalProperties":false}},"required":["kind","price"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["terminal"]},"outcomeId":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","outcomeId"],"additionalProperties":false}]},"skipped":{"type":"boolean","enum":[true]},"preparation":{"type":"array","items":{"$ref":"#/components/schemas/CraftingMethod"}}},"required":["nodeId","inputs","outputs"]}},"nodeItems":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CraftingItem"}},"error":{"type":["string","null"]}},"required":["status","outcomeId","success","item","steps","actions","purchases","consumedItems","cost","knownCost","revenue","creditedRevenue","missingPrices","unpricedSales","excludedRecovery","spending","visits","retained","trace","error"]}},"required":["kind","complete","stopReason","phase","nodeId","work","trials","requestedTrials","meanCost","costInterval","meanRevenue","meanProfit","meanActions","observedCost","probability","interval","outcomes","missingPrices","unpricedSales","excludedRecovery","truncated","errors","acquisitions","estimates","visits","spending","samples","unfinished"]},"CraftingWorkbenchItem":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]},"reveal":{"type":"object","properties":{"mod":{"type":"string","minLength":1},"source":{"type":"string","minLength":1},"mark":{"type":"string","minLength":1},"index":{"type":"integer","minimum":0,"maximum":5},"choices":{"type":"array","items":{"type":"string","minLength":1},"maxItems":3},"offeredOn":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]},"socketedJewel":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]}},"required":["baseId","level","rarity","mods","implicits"],"additionalProperties":false}},"required":["baseId","level","rarity","mods","implicits"]},"omens":{"type":"array","items":{"type":"string","minLength":1},"maxItems":4},"echoes":{"type":"object","properties":{"omen":{"type":"string","minLength":1},"remaining":{"anyOf":[{"type":"number","enum":[0]},{"type":"number","enum":[1]}]}},"required":["omen","remaining"]}},"required":["mod","source","choices"]},"socketedJewel":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]},"reveal":{"type":"object","properties":{"mod":{"type":"string","minLength":1},"source":{"type":"string","minLength":1},"mark":{"type":"string","minLength":1},"index":{"type":"integer","minimum":0,"maximum":5},"choices":{"type":"array","items":{"type":"string","minLength":1},"maxItems":3},"offeredOn":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]},"socketedJewel":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare"]},"unidentified":{"type":"boolean","enum":[true]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"default":[]},"mods":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":9},"implicits":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":6},"implicitCraft":{"type":"object","properties":{"currency":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"removed":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6}},"required":["currency","level","removed"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"blight":{"type":"string","minLength":1},"cluster":{"type":"object","properties":{"passive":{"type":"string","minLength":1},"nodes":{"type":"integer","exclusiveMinimum":0},"jewelSockets":{"type":"integer","minimum":0}},"required":["passive"]},"enchantments":{"type":"array","items":{"$ref":"#/components/schemas/CraftingRolledModifier"},"maxItems":1},"corrupted":{"type":"boolean","default":false},"corruptedBy":{"type":"string","minLength":1},"destroyed":{"type":"boolean","enum":[true]},"destroyedBy":{"type":"string","minLength":1},"twiceCorrupted":{"type":"boolean","enum":[true]},"mirrored":{"type":"boolean","default":false},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"putrefied":{"type":"boolean","enum":[true]},"quality":{"type":"integer","minimum":0,"maximum":200,"default":0},"baseDefences":{"type":"object","properties":{"armour":{"type":"integer","minimum":0},"evasion":{"type":"integer","minimum":0},"energy_shield":{"type":"integer","minimum":0},"ward":{"type":"integer","minimum":0}}},"mapQuality":{"type":"string","minLength":1},"sockets":{"type":"integer","minimum":0,"maximum":7},"socketLinks":{"type":"array","items":{"type":["boolean","null"]},"minItems":1,"maxItems":5},"augments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":7},"jewelSocket":{"type":"string","minLength":1},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"quality":{"type":"integer","minimum":0,"maximum":200}},"required":["id","quality"]},"memoryStrands":{"type":"integer","minimum":0,"maximum":100},"intangibility":{"type":"integer","minimum":0,"maximum":100},"allflameCrafted":{"type":"boolean","enum":[true]},"memoryMap":{"type":"object","properties":{"intentions":{"type":"integer","minimum":0}},"required":["intentions"]}},"required":["baseId","level","rarity","mods","implicits"],"additionalProperties":false}},"required":["baseId","level","rarity","mods","implicits"]},"omens":{"type":"array","items":{"type":"string","minLength":1},"maxItems":4},"echoes":{"type":"object","properties":{"omen":{"type":"string","minLength":1},"remaining":{"anyOf":[{"type":"number","enum":[0]},{"type":"number","enum":[1]}]}},"required":["omen","remaining"]}},"required":["mod","source","choices"]}},"required":["baseId","level","rarity","mods","implicits"],"additionalProperties":false},"imprint":{"$ref":"#/components/schemas/CraftingItemState"},"allflameCopies":{"type":"array","items":{"$ref":"#/components/schemas/CraftingItemState"},"minItems":1,"maxItems":4},"allflameCost":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"amount":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","amount"]},"minItems":1}},"required":["baseId","level","rarity","mods","implicits"]},"CraftingWorkbenchProject":{"type":"object","properties":{"format":{"type":"number","enum":[1]},"game":{"type":"string","enum":["poe1","poe2"]},"patch":{"type":"string"},"item":{"$ref":"#/components/schemas/CraftingItem"},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":100},"item":{"$ref":"#/components/schemas/CraftingItem"},"tab":{"type":"string","minLength":1,"maxLength":60}},"required":["id","name","item"]},"maxItems":100,"default":[]},"inventoryTabs":{"type":"array","items":{"type":"string","minLength":1,"maxLength":60},"maxItems":20},"target":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","not":{}}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"method":{"$ref":"#/components/schemas/CraftingMethod"},"steps":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","maxLength":120},"description":{"type":"string","maxLength":1000},"position":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y"]},"method":{"$ref":"#/components/schemas/CraftingMethod"},"condition":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","not":{}}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"onSuccess":{"type":"string","default":"success"},"onFailure":{"type":"string","default":"failure"},"branches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"condition":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"negated":{"type":"boolean"},"operands":{"type":"array","items":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":100},"minimum":{"type":"integer","minimum":1,"maximum":9,"default":1},"fractured":{"type":"boolean"},"negated":{"type":"boolean"}},"required":["mods"]},"maxItems":12},"minimumGroups":{"type":"integer","minimum":0,"maximum":12,"default":0},"openPrefixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openSuffixes":{"type":"integer","minimum":0,"maximum":6,"default":0},"openAffixes":{"type":"integer","minimum":0,"maximum":9},"rarity":{"type":"string","enum":["normal","magic","rare"]},"corrupted":{"type":"boolean"},"mirrored":{"type":"boolean"},"split":{"type":"boolean"},"sanctified":{"type":"boolean"},"jewelSocket":{"type":"boolean"},"socketedJewel":{"type":"boolean"},"baseDefences":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"evasion":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false},"ward":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"],"additionalProperties":false}}},"properties":{"type":"object","properties":{"armour":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"evasion":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"energy_shield":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"ward":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"physicalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chaosDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalDps":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"attacksPerSecond":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"reloadTime":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"criticalStrikeChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"blockChance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"requiredLevel":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"strengthRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"dexterityRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"intelligenceRequirement":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"lifeRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"manaRecovery":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flaskDuration":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"maximumCharges":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"chargesPerUse":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"elementalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"totalResistance":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}},"flatLife":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}}}}},"mapTier":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"exclusiveMinimum":0},"max":{"type":"integer","minimum":0,"exclusiveMinimum":0}},"required":["min","max"]},"waystoneTier":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":7},"max":{"type":"integer","minimum":0,"maximum":7}},"required":["min","max"]},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":6},"max":{"type":"integer","minimum":0,"maximum":6}},"required":["min","max"]},"quality":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200},"mapType":{"type":"string","minLength":1}},"required":["min","max"]},"memoryStrands":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]},"intentions":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"]},"catalyst":{"type":"object","properties":{"id":{"type":"string","minLength":1},"min":{"type":"integer","minimum":0,"maximum":200},"max":{"type":"integer","minimum":0,"maximum":200}},"required":["min","max"]},"influences":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6},"affixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"prefixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"suffixCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"unrevealedCount":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9},"max":{"type":"integer","minimum":0,"maximum":9}},"required":["min","max"]},"anointments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":9},"enchantments":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"grantedPassives":{"type":"array","items":{"type":"string","minLength":1},"maxItems":1},"stats":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","enum":["all","explicit","implicit"],"default":"all"},"min":{"type":"integer"},"max":{"type":"integer"}},"required":["id"]},"maxItems":12},"expression":{"type":"object","not":{}}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"minItems":1,"maxItems":12}},"required":["operator","operands"]}},"required":["groups"]},"destination":{"type":"string","minLength":1}},"required":["id","condition","destination"]},"maxItems":12}},"required":["id","condition"]},"maxItems":50},"useProcess":{"type":"boolean","default":false},"baseCost":{"type":"number","minimum":0},"prices":{"type":"object","additionalProperties":{"type":"number","minimum":0}},"seed":{"type":"integer","minimum":0,"maximum":4294967295},"iterations":{"type":"integer","minimum":1,"maximum":1000000},"simulationLimit":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["successes","actions"]},"count":{"type":"integer","minimum":1,"maximum":1000000}},"required":["kind","count"]},{"type":"object","properties":{"kind":{"type":"string","enum":["manual"]}},"required":["kind"]}]},"sampleStorage":{"type":"object","properties":{"mode":{"type":"string","enum":["all","successes","none"]},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["mode","limit"]},"successDistribution":{"type":"boolean"},"maxActions":{"type":"integer","minimum":1,"maximum":10000}},"required":["format","game","patch","item","target","method","steps","prices","seed","iterations","maxActions"]},"CraftingWorkbenchCatalog":{"type":"object","properties":{"format":{"type":"number","enum":[1]},"game":{"type":"string","enum":["poe1","poe2"]},"patch":{"type":"string"},"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"bases":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string"},"domain":{"type":"string"},"item_class":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"implicits":{"type":"array","items":{"type":"string"}},"drop_level":{"type":"integer"},"inventory_width":{"type":"integer"},"inventory_height":{"type":"integer"},"requirements":{"type":["object","null"],"properties":{"strength":{"type":"integer"},"dexterity":{"type":"integer"},"intelligence":{"type":"integer"},"level":{"type":"integer"}},"default":null,"required":["strength","dexterity","intelligence","level"],"additionalProperties":false},"strongbox":{"type":"boolean","enum":[true]},"levelRules":{"type":"object","properties":{"inventory_type":{"type":["string","null"],"default":null},"no_level_requirement":{"type":"string","enum":["true","false"],"default":"false"}},"default":{}},"defences":{"type":"object","properties":{"armour":{"type":["object","null"],"properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"default":null,"required":["min","max"],"additionalProperties":false},"evasion":{"type":["object","null"],"properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"default":null,"required":["min","max"],"additionalProperties":false},"energy_shield":{"type":["object","null"],"properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"default":null,"required":["min","max"],"additionalProperties":false},"ward":{"type":["object","null"],"properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"default":null,"required":["min","max"],"additionalProperties":false}}},"combat":{"type":"object","properties":{"attack_time":{"type":["integer","null"],"default":null},"reload_time":{"type":["integer","null"],"minimum":0,"default":null},"critical_strike_chance":{"type":["integer","null"],"default":null},"physical_damage_min":{"type":["integer","null"],"default":null},"physical_damage_max":{"type":["integer","null"],"default":null},"block":{"type":["integer","null"],"default":null}},"default":{}},"flask":{"type":"object","properties":{"charges_max":{"type":["integer","null"],"default":null},"charges_per_use":{"type":["integer","null"],"default":null},"duration":{"type":["integer","null"],"default":null},"life_per_use":{"type":["integer","null"],"default":null},"mana_per_use":{"type":["integer","null"],"default":null}},"default":{}},"rarities":{"type":"array","items":{"type":"string","enum":["normal","magic","rare"]}},"corrupted":{"type":"boolean"},"initialSockets":{"type":"integer","minimum":0,"maximum":6},"socketInfo":{"type":"array","items":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":6},"level":{"type":"integer","minimum":0},"weight":{"type":"integer","minimum":0}},"required":["count","level","weight"]},"default":[]}},"required":["name","domain","item_class","tags","implicits","drop_level","inventory_width","inventory_height","defences","rarities","corrupted","initialSockets"]}},"mods":{"type":"object","additionalProperties":{"type":"object","properties":{"adds_tags":{"type":"array","items":{"type":"string"}},"domain":{"type":"string"},"generation_type":{"type":"string"},"generation_weights":{"type":"array","items":{"type":"object","properties":{"tag":{"type":"string"},"weight":{"type":"integer","minimum":0}},"required":["tag","weight"],"additionalProperties":false}},"groups":{"type":"array","items":{"type":"string"}},"implicit_tags":{"type":"array","items":{"type":"string"}},"is_essence_only":{"type":"boolean"},"name":{"type":"string"},"required_level":{"type":"integer"},"maximum_level":{"type":"integer"},"spawn_weights":{"type":"array","items":{"type":"object","properties":{"tag":{"type":"string"},"weight":{"type":"integer","minimum":0}},"required":["tag","weight"],"additionalProperties":false}},"stats":{"type":"array","items":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"},"id":{"type":"string"}},"required":["min","max","id"],"additionalProperties":false}},"text":{"type":["string","null"]},"type":{"type":"string"}},"required":["adds_tags","domain","generation_type","generation_weights","groups","implicit_tags","is_essence_only","name","required_level","maximum_level","spawn_weights","stats","text","type"]}},"crafting":{"type":"object","properties":{"format":{"type":"number","enum":[1]},"game":{"type":"string","enum":["poe1","poe2"]},"patch":{"type":"string","minLength":1},"source":{"type":"object","properties":{"basesSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"modsSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"schemaSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"tables":{"type":"object","additionalProperties":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"required":["basesSha256","modsSha256","schemaSha256","tables"]},"currencies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"action":{"type":"string"},"description":{"type":"string"},"directions":{"type":"string"}},"required":["id","name","action","description","directions"]}},"allflame":{"type":["object","null"],"properties":{"sulphur":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"intangibilityDescription":{"type":"string","minLength":1},"ghostlyCopyDescription":{"type":"string","minLength":1},"classes":{"type":"array","items":{"type":"object","properties":{"itemClass":{"type":"string","minLength":1},"costPercent":{"type":"integer","exclusiveMinimum":0},"levelScaling":{"type":"boolean"}},"required":["itemClass","costPercent","levelScaling"]},"minItems":1},"levels":{"type":"array","items":{"type":"object","properties":{"level":{"type":"integer","minimum":1,"maximum":100},"costIncreasePercent":{"type":"integer","minimum":-99}},"required":["level","costIncreasePercent"]},"minItems":1},"currencies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"currency":{"type":"string","minLength":1},"tier":{"type":"integer","minimum":0},"outcomes":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"sulphurCost":{"type":"integer","minimum":0},"intangibility":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":100},"max":{"type":"integer","minimum":0,"maximum":100}},"required":["min","max"]}},"required":["id","currency","tier","outcomes","sulphurCost","intangibility"]},"minItems":1}},"required":["sulphur","description","intangibilityDescription","ghostlyCopyDescription","classes","levels","currencies"]},"genesis":{"type":["object","null"],"properties":{"name":{"type":"string","minLength":1},"fruit":{"type":"string","minLength":1},"asset":{"type":"string","minLength":1},"itemClasses":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"passives":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string","minLength":1},"hash":{"type":"integer","minimum":0},"notable":{"type":"boolean"},"stats":{"type":"array","items":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"},"id":{"type":"string"}},"required":["min","max","id"],"additionalProperties":false}},"text":{"type":["string","null"]}},"required":["name","hash","notable","stats","text"]}}},"required":["name","fruit","asset","itemClasses","passives"]},"strongboxes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"inheritsFrom":{"type":"string","minLength":1},"baseItem":{"type":["string","null"],"minLength":1},"tags":{"type":"array","items":{"type":"string","minLength":1}},"mods":{"type":"array","items":{"type":"string","minLength":1}},"minimumLevel":{"type":"integer","minimum":0},"maximumLevel":{"type":"integer","minimum":0},"spawnWeight":{"type":"integer","minimum":0},"spawnWeightIncreaseStat":{"type":["string","null"],"minLength":1},"spawnWeightHardmode":{"type":"integer","minimum":0},"basicSpawnChanceStat":{"type":["string","null"],"minLength":1},"requiredSpawnStats":{"type":"array","items":{"type":"string","minLength":1}},"blockingSpawnStats":{"type":"array","items":{"type":"string","minLength":1}}},"required":["id","name","inheritsFrom","baseItem","tags","mods","minimumLevel","maximumLevel","spawnWeight","spawnWeightIncreaseStat","spawnWeightHardmode","basicSpawnChanceStat","requiredSpawnStats","blockingSpawnStats"]}},"clusterJewels":{"type":["object","null"],"properties":{"bases":{"type":"object","additionalProperties":{"type":"object","properties":{"size":{"type":"string","minLength":1},"minNodes":{"type":"integer","exclusiveMinimum":0},"maxNodes":{"type":"integer","exclusiveMinimum":0},"socketIndices":{"type":"array","items":{"type":"integer","minimum":0}}},"required":["size","minNodes","maxNodes","socketIndices"]}},"skills":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string","minLength":1},"hash":{"type":"integer","minimum":0},"notable":{"type":"boolean"},"stats":{"type":"array","items":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"},"id":{"type":"string"}},"required":["min","max","id"],"additionalProperties":false}},"text":{"type":["string","null"]},"size":{"type":"string","minLength":1},"tag":{"type":"string","minLength":1}},"required":["name","hash","notable","stats","text","size","tag"]}},"passives":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string","minLength":1},"hash":{"type":"integer","minimum":0},"notable":{"type":"boolean"},"stats":{"type":"array","items":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"},"id":{"type":"string"}},"required":["min","max","id"],"additionalProperties":false}},"text":{"type":["string","null"]},"id":{"type":"string","minLength":1}},"required":["name","hash","notable","stats","text","id"]}}},"required":["bases","skills","passives"]},"augmentTags":{"type":"object","additionalProperties":{"type":"string","minLength":1}},"taggedModifierEffects":{"type":"array","items":{"type":"object","properties":{"stat":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"explicit":{"type":"boolean"},"implicit":{"type":"boolean"},"prefix":{"type":"boolean"},"suffix":{"type":"boolean"}},"required":["stat","tags","explicit","implicit","prefix","suffix"]}},"augments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"requiredLevel":{"type":"integer","minimum":0},"type":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"effectStat":{"type":["string","null"],"minLength":1},"socketedStat":{"type":"string","minLength":1}},"required":["id","name","effectStat","socketedStat"]},"limit":{"type":["object","null"],"properties":{"id":{"type":"string","minLength":1},"amount":{"type":"integer","exclusiveMinimum":0},"text":{"type":"string"}},"required":["id","amount","text"]},"higherTier":{"type":["string","null"],"minLength":1},"socketBound":{"type":"boolean"},"martialArtist":{"type":"boolean"},"unique":{"type":"boolean"},"jewellery":{"type":"boolean"},"corruptedSanctified":{"type":"boolean"},"description":{"type":["string","null"]},"extraDescription":{"type":["string","null"]},"rules":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string","minLength":1},"display":{"type":"string"},"itemClasses":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"scope":{"type":"string","enum":["classes","martial","armour","all"]},"stats":{"type":"array","items":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"},"id":{"type":"string"}},"required":["min","max","id"],"additionalProperties":false}},"bondedStats":{"type":"array","items":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"},"id":{"type":"string"}},"required":["min","max","id"],"additionalProperties":false}},"text":{"type":["string","null"]},"bondedText":{"type":["string","null"]},"statDescriptions":{"type":"array","items":{"type":"integer","minimum":0}},"bondedDescriptions":{"type":"array","items":{"type":"integer","minimum":0}}},"required":["category","display","itemClasses","scope","stats","bondedStats","text","bondedText","statDescriptions","bondedDescriptions"]}}},"required":["id","name","requiredLevel","type","limit","higherTier","socketBound","martialArtist","unique","jewellery","corruptedSanctified","description","extraDescription","rules"]}},"locus":{"type":["object","null"],"properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"tier":{"type":"integer","exclusiveMinimum":0},"description":{"type":"string","minLength":1}},"required":["id","name","tier","description"]},"templeCorruption":{"type":["object","null"],"properties":{"currencies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"itemClasses":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"required":["id","itemClasses"]},"minItems":1},"twiceCorruptedText":{"type":"string","minLength":1},"alreadyTwiceCorruptedText":{"type":"string","minLength":1}},"required":["currencies","twiceCorruptedText","alreadyTwiceCorruptedText"]},"maps":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"tier":{"type":"integer","minimum":0},"generation":{"type":"integer","minimum":0},"upgrade":{"type":["string","null"],"minLength":1},"areaLevel":{"type":"integer","exclusiveMinimum":0}},"required":["id","tier","generation","upgrade","areaLevel"]}},"waystones":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"tier":{"type":"integer","exclusiveMinimum":0},"series":{"type":"integer","minimum":0},"areaLevel":{"type":"integer","exclusiveMinimum":0}},"required":["id","tier","series","areaLevel"]}},"baseQuality":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"itemClasses":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"maximumQuality":{"type":"integer","exclusiveMinimum":0,"maximum":200},"corrupted":{"type":"boolean"}},"required":["id","itemClasses","maximumQuality","corrupted"]}},"taintedCatalysts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"itemClasses":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"maximumQuality":{"type":"integer","exclusiveMinimum":0,"maximum":200}},"required":["id","itemClasses","maximumQuality"]}},"mapQuality":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"itemClasses":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"maximumQuality":{"type":"integer","exclusiveMinimum":0,"maximum":200},"qualityType":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"stats":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"required":["id","itemClasses","maximumQuality","qualityType","description","stats"]}},"qualityInfusers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"itemClasses":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"qualityType":{"type":"string","enum":["base","catalyst"]},"extraMaximumQuality":{"type":"integer","exclusiveMinimum":0,"maximum":200}},"required":["id","itemClasses","qualityType","extraMaximumQuality"]}},"memoryStrandCosts":{"type":"object","additionalProperties":{"type":"integer","exclusiveMinimum":0}},"memoryMaps":{"type":["object","null"],"properties":{"currency":{"type":"string","minLength":1},"maximumUses":{"type":"integer","exclusiveMinimum":0},"influenceMod":{"type":"string","minLength":1},"enchantmentMod":{"type":"string","minLength":1}},"required":["currency","maximumUses","influenceMod","enchantmentMod"]},"keywords":{"type":"object","additionalProperties":{"type":"object","properties":{"term":{"type":"string","minLength":1},"definition":{"type":"string","minLength":1}},"required":["term","definition"]}},"sanctification":{"type":["object","null"],"properties":{"min":{"type":"integer","exclusiveMinimum":0},"max":{"type":"integer","exclusiveMinimum":0}},"required":["min","max"]},"recombinableClasses":{"type":"array","items":{"type":"string","minLength":1}},"craftableModTypes":{"type":"array","items":{"type":"string","minLength":1}},"passiveTree":{"type":["object","null"],"properties":{"asset":{"type":"string","minLength":1},"notables":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string","minLength":1},"hash":{"type":"integer","minimum":0},"notable":{"type":"boolean"},"stats":{"type":"array","items":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"},"id":{"type":"string"}},"required":["min","max","id"],"additionalProperties":false}},"text":{"type":["string","null"]},"ascendancy":{"type":["string","null"],"minLength":1},"visibleForAscendancy":{"type":["string","null"],"minLength":1}},"required":["name","hash","notable","stats","text","ascendancy","visibleForAscendancy"]}}},"required":["asset","notables"]},"anointing":{"type":"object","properties":{"maps":{"type":"array","items":{"type":"object","properties":{"mod":{"type":"string","minLength":1},"maximumAnointments":{"type":"integer","exclusiveMinimum":0,"maximum":9},"ravaged":{"type":"boolean"}},"required":["mod","maximumAnointments","ravaged"]}},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"useType":{"type":"integer","minimum":0},"tier":{"type":"integer","minimum":0}},"required":["id","useType","tier"]}},"recipes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"type":{"type":["string","null"],"minLength":1},"items":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"mod":{"type":["string","null"],"minLength":1},"passive":{"type":["string","null"],"minLength":1}},"required":["id","type","items","mod","passive"]}},"passives":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string","minLength":1},"hash":{"type":"integer","minimum":0},"notable":{"type":"boolean"},"stats":{"type":"array","items":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"},"id":{"type":"string"}},"required":["min","max","id"],"additionalProperties":false}},"text":{"type":["string","null"]}},"required":["name","hash","notable","stats","text"]}}},"required":["maps","items","recipes","passives"]},"liquidEmotions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"rules":{"type":"array","items":{"type":"object","properties":{"base":{"type":"string","minLength":1},"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"required":["base","mods"]},"minItems":1}},"required":["id","rules"]}},"scalableStats":{"type":"array","items":{"type":"string","minLength":1}},"catalysts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"qualityType":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"maximumQuality":{"type":"integer","exclusiveMinimum":0,"maximum":200},"itemClasses":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"tags":{"type":"array","items":{"type":"string","minLength":1}},"explicit":{"type":"boolean"},"implicit":{"type":"boolean"},"prefix":{"type":"boolean"},"suffix":{"type":"boolean"}},"required":["id","qualityType","description","maximumQuality","itemClasses","tags","explicit","implicit","prefix","suffix"]}},"modEquivalencies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"mods":{"type":"array","items":{"type":"string","minLength":1}}},"required":["id","mods"]}},"elementalConversions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"resistance":{"type":"boolean"},"mods":{"type":"object","properties":{"fire":{"type":["string","null"],"minLength":1},"cold":{"type":["string","null"],"minLength":1},"lightning":{"type":["string","null"],"minLength":1},"chaos":{"type":["string","null"],"minLength":1}},"required":["fire","cold","lightning","chaos"]}},"required":["id","resistance","mods"]}},"desecration":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"itemClasses":{"type":"array","items":{"type":"string","minLength":1}},"maximumItemLevel":{"type":"integer","minimum":0},"minimumModLevel":{"type":"integer","minimum":0},"tag":{"type":["string","null"],"minLength":1}},"required":["id","itemClasses","maximumItemLevel","minimumModLevel","tag"]}},"baseRules":{"type":"object","additionalProperties":{"type":"object","properties":{"corrupted":{"type":"boolean"},"unmodifiable":{"type":"boolean"},"initialSockets":{"type":"integer","minimum":0,"maximum":6}},"required":["corrupted","unmodifiable","initialSockets"]}},"tieredCurrency":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"tier":{"type":"integer"},"minimumModLevel":{"type":"integer","minimum":0}},"required":["id","tier","minimumModLevel"]}},"poe2Essences":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"tier":{"type":"integer"},"perfect":{"type":"boolean"},"replacement":{"type":"array","items":{"type":"string","minLength":1}},"rules":{"type":"array","items":{"type":"object","properties":{"itemClasses":{"type":"array","items":{"type":"string","minLength":1}},"mod":{"type":["string","null"],"minLength":1},"text":{"type":"string"},"outcomes":{"type":"array","items":{"type":"object","properties":{"mod":{"type":"string","minLength":1},"weight":{"type":["integer","null"],"minimum":0}},"required":["mod","weight"]}}},"required":["itemClasses","mod","text","outcomes"]}}},"required":["id","name","tier","perfect","replacement","rules"]}},"rarities":{"type":"object","additionalProperties":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0},"prefixes":{"type":"integer","minimum":0},"suffixes":{"type":"integer","minimum":0}},"required":["min","max","prefixes","suffixes"]}},"classes":{"type":"object","additionalProperties":{"type":"object","properties":{"influence":{"type":"boolean"},"fracture":{"type":"boolean"},"veiled":{"type":"boolean"},"corrupt":{"type":"boolean"},"doubleCorrupt":{"type":"boolean"},"aspects":{"type":"boolean"},"upgrade":{"type":"boolean"},"unmodifiable":{"type":"boolean"}},"required":["influence","fracture","veiled","corrupt","doubleCorrupt","aspects","upgrade","unmodifiable"]}},"influences":{"type":"array","items":{"type":"object","properties":{"itemClass":{"type":"string","minLength":1},"influence":{"type":"integer","minimum":0,"maximum":5},"tag":{"type":"string","minLength":1},"name":{"type":"string","minLength":1}},"required":["itemClass","influence","tag","name"]}},"influenceUpgrades":{"type":"array","items":{"type":"object","properties":{"mod":{"type":"string","minLength":1},"upgraded":{"type":"string","minLength":1},"highestTier":{"type":"boolean"}},"required":["mod","upgraded","highestTier"]}},"modRules":{"type":"object","additionalProperties":{"type":"object","properties":{"itemClasses":{"type":"array","items":{"type":"string","minLength":1}},"influence":{"type":["integer","null"],"minimum":0,"maximum":5},"spawnLevel":{"type":["integer","null"]},"gameMode":{"type":["integer","null"]}},"required":["itemClasses","influence","spawnLevel","gameMode"]}},"statDescriptions":{"type":"array","items":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","minLength":1}},"rules":{"type":"array","items":{"type":"object","properties":{"conditions":{"type":"array","items":{"type":"string"}},"text":{"type":"string"},"handlers":{"type":"array","items":{"type":"string"}}},"required":["conditions","text","handlers"]}}},"required":["ids","rules"]}},"modDescriptions":{"type":"object","additionalProperties":{"type":"array","items":{"type":"integer","minimum":0}}},"modTexts":{"type":"object","additionalProperties":{"type":"string","minLength":1}},"grantedEffects":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":1},"level":{"type":"integer","minimum":0}},"required":["text","level"]},"minItems":1}},"statLookups":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"essences":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"level":{"type":"integer"},"itemLevelLimit":{"type":"integer","minimum":0},"corrupted":{"type":"boolean"},"mods":{"type":"object","additionalProperties":{"type":"string","minLength":1}}},"required":["id","name","level","itemLevelLimit","corrupted","mods"]}},"flaskEnchantments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"itemClasses":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"mods":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"required":["id","itemClasses","mods"]}},"bench":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"mod":{"type":["string","null"],"minLength":1},"itemClasses":{"type":"array","items":{"type":"string","minLength":1}},"cost":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"amount":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","amount"]}},"level":{"type":"integer","minimum":0},"action":{"type":["integer","null"]},"socketCount":{"type":["integer","null"],"minimum":1,"maximum":6},"linkCount":{"type":["integer","null"],"minimum":2,"maximum":6},"enchantment":{"type":["object","null"],"properties":{"mod":{"type":"string","minLength":1},"itemClasses":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"required":["mod","itemClasses"]}},"required":["id","name","mod","itemClasses","cost","level","action","socketCount","linkCount","enchantment"]}},"fossils":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"positive":{"type":"array","items":{"type":"object","properties":{"tag":{"type":"string","minLength":1},"weight":{"type":"integer","minimum":0}},"required":["tag","weight"]}},"negative":{"type":"array","items":{"type":"object","properties":{"tag":{"type":"string","minLength":1},"weight":{"type":"integer","minimum":0}},"required":["tag","weight"]}},"added":{"type":"array","items":{"type":"string","minLength":1}},"forced":{"type":"array","items":{"type":"string","minLength":1}},"allowed":{"type":"array","items":{"type":"object","properties":{"tag":{"type":["string","null"],"minLength":1},"itemClass":{"type":"string"}},"required":["tag","itemClass"]}},"forbidden":{"type":"array","items":{"type":"object","properties":{"tag":{"type":["string","null"],"minLength":1},"itemClass":{"type":"string"}},"required":["tag","itemClass"]}},"descriptions":{"type":"array","items":{"type":"string"}},"effects":{"type":"array","items":{"type":"string","minLength":1}},"randomOutcomes":{"type":"array","items":{"type":"string","minLength":1}},"lucky":{"type":"boolean"},"quality":{"type":"boolean"},"mirrored":{"type":"boolean"},"whiteSockets":{"type":"boolean"},"corruptedEssenceChance":{"type":"integer","minimum":0,"maximum":100}},"required":["id","name","positive","negative","added","forced","allowed","forbidden","descriptions","effects","randomOutcomes","lucky","quality","mirrored","whiteSockets","corruptedEssenceChance"]}},"harvest":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"command":{"type":"string"},"parameters":{"type":"string"},"enchantment":{"type":["object","null"],"properties":{"mod":{"type":"string","minLength":1},"itemClasses":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"required":["mod","itemClasses"]},"affinityMultiplier":{"type":["number","null"],"exclusiveMinimum":0},"influenceRerollClasses":{"type":["array","null"],"items":{"type":"string","minLength":1},"minItems":1},"cost":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"amount":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","amount"]},"minItems":1},"gameMode":{"type":["integer","null"]}},"required":["id","name","command","parameters","enchantment","affinityMultiplier","influenceRerollClasses","cost","gameMode"]}},"beasts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"category":{"type":"string"},"description":{"type":"string"},"notes":{"type":"string"},"components":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"level":{"type":"integer"}},"required":["id","level"]}},"mod":{"type":["string","null"],"minLength":1},"aspectMod":{"type":["string","null"],"minLength":1},"metamods":{"type":"array","items":{"type":"string","minLength":1}},"augmentation":{"anyOf":[{"type":"object","properties":{"influence":{"type":"integer","minimum":0,"maximum":5}},"required":["influence"]},{"type":"object","properties":{"itemClass":{"type":"string","minLength":1}},"required":["itemClass"]},{"type":"null"}]},"mapCorruption":{"type":["string","null"],"enum":["implicit","twice",null]},"maximumSockets":{"type":"boolean"},"maximumLinks":{"type":"boolean"},"talismanCraft":{"anyOf":[{"type":"string","enum":["imprint"]},{"type":"object","properties":{"fractures":{"type":"integer","minimum":1,"maximum":2},"minimumMods":{"type":"integer","exclusiveMinimum":0}},"required":["fractures","minimumMods"]},{"type":"null"}]},"gameMode":{"type":["integer","null"]}},"required":["id","category","description","notes","components","mod","aspectMod","metamods","augmentation","mapCorruption","maximumSockets","maximumLinks","talismanCraft","gameMode"]}}},"required":["format","game","patch","source","currencies","allflame","genesis","strongboxes","clusterJewels","augmentTags","taggedModifierEffects","augments","locus","templeCorruption","maps","waystones","baseQuality","taintedCatalysts","mapQuality","qualityInfusers","memoryStrandCosts","memoryMaps","keywords","sanctification","recombinableClasses","craftableModTypes","passiveTree","anointing","liquidEmotions","scalableStats","catalysts","modEquivalencies","elementalConversions","desecration","baseRules","tieredCurrency","poe2Essences","rarities","classes","influences","influenceUpgrades","modRules","statDescriptions","modDescriptions","modTexts","statLookups","essences","flaskEnchantments","bench","fossils","harvest","beasts"]}},"required":["format","game","patch","manifestSha256","craftingSha256","bases","mods","crafting"]},"CraftingWorkbenchResult":{"type":"object","properties":{"kind":{"type":"string","enum":["exact","exact-process","sampled","process"]},"trials":{"type":"number"},"successes":{"type":"number"},"probability":{"type":"number"},"interval":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}]},"attempts":{"type":["number","null"]},"attempts95":{"type":["number","null"]},"totalActions":{"type":"number"},"totalSteps":{"type":"number"},"timeouts":{"type":"number"},"errors":{"type":"object","additionalProperties":{"type":"number"}},"spending":{"type":"object","additionalProperties":{"type":"number"}},"baseItems":{"type":"number"},"baseSpending":{"type":"number"},"meanCost":{"type":["number","null"]},"costPerSuccess":{"type":["number","null"]},"unpriced":{"type":"array","items":{"type":"string"}},"affixes":{"type":"object","additionalProperties":{"type":"number"}},"samples":{"type":"array","items":{"type":"object","properties":{"trial":{"type":"number"},"item":{"$ref":"#/components/schemas/CraftingItem"},"success":{"type":"boolean"},"cost":{"type":"object","properties":{"spending":{"type":"object","additionalProperties":{"type":"number"}},"baseItems":{"type":"number"},"baseSpending":{"type":"number"},"total":{"type":["number","null"]},"unpriced":{"type":"array","items":{"type":"string"}}},"required":["spending","total","unpriced"]}},"required":["trial","item","success"]}},"successCosts":{"type":"object","properties":{"cheapest":{"type":["number","null"]},"costliest":{"type":["number","null"]},"unpriced":{"type":"number"}},"required":["cheapest","costliest","unpriced"]},"sampleStorage":{"type":"object","properties":{"mode":{"type":"string","enum":["all","successes","none"]},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["mode","limit"]},"successDistribution":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"modId":{"type":"string"},"side":{"type":"string","enum":["prefix","suffix"]},"essence":{"type":"boolean"},"count":{"type":"number"},"items":{"type":"number"},"tierTotal":{"type":"number"},"ranked":{"type":"number"}},"required":["key","modId","side","essence","count","items","tierTotal","ranked"]}},"routes":{"type":"object","additionalProperties":{"type":"object","properties":{"visits":{"type":"number"},"passed":{"type":"number"},"failed":{"type":"number"},"errors":{"type":"number"},"spending":{"type":"object","additionalProperties":{"type":"number"}},"branches":{"type":"object","additionalProperties":{"type":"number"}}},"required":["visits","passed","failed","errors","spending"]}},"simulationLimit":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["successes","actions"]},"count":{"type":"integer","minimum":1,"maximum":1000000}},"required":["kind","count"]},{"type":"object","properties":{"kind":{"type":"string","enum":["manual"]}},"required":["kind"]}]},"stopReason":{"type":"string","enum":["trials","successes","actions"]},"unfinished":{"$ref":"#/components/schemas/CraftingProcessResult"}},"required":["kind","trials","successes","probability","interval","attempts","attempts95","totalActions","timeouts","errors","spending","meanCost","costPerSuccess","unpriced","affixes","samples"]},"CraftingProcessResult":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/CraftingItem"},"actions":{"type":"number"},"steps":{"type":"number"},"spending":{"type":"object","additionalProperties":{"type":"number"}},"baseItems":{"type":"number"},"routes":{"type":"object","additionalProperties":{"type":"object","properties":{"visits":{"type":"number"},"passed":{"type":"number"},"failed":{"type":"number"},"errors":{"type":"number"},"spending":{"type":"object","additionalProperties":{"type":"number"}},"branches":{"type":"object","additionalProperties":{"type":"number"}}},"required":["visits","passed","failed","errors","spending"]}},"lastStep":{"type":"string"},"nextStep":{"type":"string"},"error":{"type":"string"},"timeout":{"type":"boolean"},"success":{"type":"boolean"}},"required":["item","actions","steps","spending","baseItems","routes","timeout","success"]},"CraftingCloudState":{"type":"object","properties":{"bundle":{"$ref":"#/components/schemas/CraftingBundle"},"revision":{"type":"integer","minimum":0},"defaultStorage":{"type":["string","null"],"enum":["local","cloud",null]},"updatedAt":{"type":["string","null"],"format":"date-time"}},"required":["bundle","revision","defaultStorage","updatedAt"],"additionalProperties":false},"CraftingBundle":{"type":"object","properties":{"format":{"type":"number","enum":[1]},"projects":{"type":"array","items":{"$ref":"#/components/schemas/CraftingDraft"},"maxItems":100},"builds":{"type":"array","items":{"$ref":"#/components/schemas/CraftingBuild"},"maxItems":100}},"required":["format","projects","builds"],"additionalProperties":false},"CraftingDraft":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"revision":{"type":"integer","exclusiveMinimum":0},"updatedAt":{"type":"string","format":"date-time"}},"required":["graph","revision","updatedAt"],"additionalProperties":false},"CraftingBuild":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":120},"game":{"type":"string","enum":["poe1","poe2"]},"members":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"kind":{"type":"string","enum":["reference"]},"projectId":{"type":"string","minLength":1,"maxLength":100}},"required":["id","kind","projectId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"kind":{"type":"string","enum":["value"]},"project":{"$ref":"#/components/schemas/CraftingDraft"}},"required":["id","kind","project"],"additionalProperties":false}]},"maxItems":100},"revision":{"type":"integer","exclusiveMinimum":0},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","game","members","revision","updatedAt"],"additionalProperties":false},"CraftingWorkspace":{"type":"object","properties":{"format":{"type":"number","enum":[1]},"projects":{"type":"array","items":{"$ref":"#/components/schemas/CraftingDraft"},"maxItems":100},"builds":{"type":"array","items":{"$ref":"#/components/schemas/CraftingBuild"},"maxItems":100},"tabs":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100},"maxItems":100},"activeProjectId":{"type":["string","null"],"minLength":1,"maxLength":100}},"required":["format","projects","builds","tabs","activeProjectId"],"additionalProperties":false},"CraftingWorkspaceCommand":{"oneOf":[{"type":"object","properties":{"action":{"type":"string","enum":["createProject"]},"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["action","graph"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","enum":["updateProject"]},"graph":{"$ref":"#/components/schemas/CraftingGraph"},"expectedRevision":{"type":"integer","exclusiveMinimum":0}},"required":["action","graph","expectedRevision"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","enum":["import"]},"bundle":{"$ref":"#/components/schemas/CraftingBundle"}},"required":["action","bundle"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","enum":["updateBuildCopy"]},"graph":{"$ref":"#/components/schemas/CraftingGraph"},"expectedRevision":{"type":"integer","exclusiveMinimum":0},"buildId":{"type":"string","minLength":1,"maxLength":100},"memberId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","graph","expectedRevision","buildId","memberId"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","enum":["openProject"]},"projectId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","projectId"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","enum":["closeProject"]},"projectId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","projectId"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","enum":["deleteProject"]},"projectId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","projectId"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","enum":["createBuild"]},"name":{"type":"string","minLength":1,"maxLength":120},"game":{"type":"string","enum":["poe1","poe2"]}},"required":["action","name","game"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","enum":["renameBuild"]},"buildId":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":120}},"required":["action","buildId","name"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","enum":["deleteBuild"]},"buildId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","buildId"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","enum":["addMember"]},"buildId":{"type":"string","minLength":1,"maxLength":100},"projectId":{"type":"string","minLength":1,"maxLength":100},"kind":{"type":"string","enum":["reference","value"]}},"required":["action","buildId","projectId","kind"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","enum":["removeMember"]},"buildId":{"type":"string","minLength":1,"maxLength":100},"memberId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","buildId","memberId"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","enum":["detachMember"]},"buildId":{"type":"string","minLength":1,"maxLength":100},"memberId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","buildId","memberId"],"additionalProperties":false}]}},"parameters":{}},"paths":{"/api/v1/server/status":{"get":{"operationId":"get_server_status","summary":"Read ingestion worker health, current stage, progress and stored league history coverage. Optional view=workers skips all coverage queries and returns coverage: [] because coverage was omitted; this does not mean no history exists. The default full view includes coverage.","tags":["server"],"security":[],"parameters":[{"schema":{"type":"string","enum":["pc","poe2","xbox","sony"]},"required":false,"name":"realm","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":100},"required":false,"name":"league","in":"query"},{"schema":{"type":"string","enum":["full","workers"],"description":"Defaults to full. workers skips stored-history coverage queries; coverage is empty because it was omitted."},"required":false,"description":"Defaults to full. workers skips stored-history coverage queries; coverage is empty because it was omitted.","name":"view","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"number"},"coverageCheckedAt":{"type":["number","null"],"description":"Coverage snapshot time; reused for up to one minute. Null when coverage is omitted."},"workers":{"type":"array","items":{"type":"object","properties":{"workerId":{"type":"string","minLength":1,"maxLength":100},"realm":{"type":"string","enum":["pc","poe2","xbox","sony"]},"league":{"type":"string","minLength":1,"maxLength":100},"state":{"type":"string","enum":["starting","running","idle","error","stopped"]},"stage":{"type":["string","null"],"enum":["stash","currency","delivery",null]},"startedAt":{"type":"integer","minimum":0},"reportedAt":{"type":"integer","minimum":0},"progressAt":{"type":"integer","minimum":0},"completedAt":{"type":["integer","null"],"minimum":0},"lastSuccessAt":{"type":["integer","null"],"minimum":0},"failedStages":{"type":"array","items":{"type":"string","enum":["stash","currency","delivery"]},"maxItems":3},"cycles":{"type":"integer","minimum":0},"pages":{"type":"integer","minimum":0},"equipmentObserved":{"type":"integer","minimum":0},"stashCaughtUp":{"type":["boolean","null"]},"currencyNextHour":{"type":["integer","null"],"minimum":0},"deliveredHours":{"type":"integer","minimum":0},"deliveredRows":{"type":"integer","minimum":0},"receivedAt":{"type":"number"},"health":{"type":"string","enum":["starting","running","idle","error","stopped","stale","stalled"]}},"required":["workerId","realm","league","state","stage","startedAt","reportedAt","progressAt","completedAt","lastSuccessAt","failedStages","cycles","pages","equipmentObserved","stashCaughtUp","currencyNextHour","deliveredHours","deliveredRows","receivedAt","health"]}},"coverage":{"type":"array","items":{"type":"object","properties":{"stream":{"type":"string","enum":["currency","uniques","equipment"]},"realm":{"type":"string"},"league":{"type":"string"},"firstHour":{"type":"number"},"latestHour":{"type":"number"},"hours":{"type":"number"},"rows":{"type":"number"}},"required":["stream","realm","league","firstHour","latestHour","hours","rows"]}}},"required":["checkedAt","coverageCheckedAt","workers","coverage"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/collectors/items":{"get":{"operationId":"list_collector_items","summary":"Browse PoE 1 alternate artwork and Demigods. Rarity defaults to unique. Sort by name or by the lowest comparable ask across each item's matching artworks, using recent PC Standard exchange rates. Each artwork includes its latest observed merchant asks per currency, likely sales over 30 days, and a dated historical ask in mirrors when available. A null market means no observations are available. Garena copies share the artwork's market.","tags":["collectors"],"security":[],"parameters":[{"schema":{"type":"string","maxLength":100,"default":""},"required":false,"name":"q","in":"query"},{"schema":{"type":"string","enum":["all","alternate","demigod","base"],"default":"all"},"required":false,"name":"collection","in":"query"},{"schema":{"type":"string","enum":["unique","nonunique","all"],"default":"unique"},"required":false,"name":"rarity","in":"query"},{"schema":{"type":"string","enum":["name","price-asc","price-desc"],"default":"name"},"required":false,"name":"sort","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"provenanceNote":{"type":"string"},"latestHour":{"type":"number"},"marketAvailable":{"type":"boolean"},"mirrorRate":{"type":["object","null"],"properties":{"divines":{"type":"number","exclusiveMinimum":0},"hour":{"type":"number"}},"required":["divines","hour"]},"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"baseType":{"type":"string"},"group":{"type":"string","enum":["base","unique","demigod"]},"artworks":{"type":"array","items":{"type":"object","properties":{"labels":{"type":"array","items":{"type":"string"},"minItems":1},"icon":{"type":"string","format":"uri"},"asset":{"type":"string"},"historicalAsk":{"type":"object","properties":{"date":{"type":"string","format":"date"},"mirrors":{"type":"number","exclusiveMinimum":0}},"required":["date","mirrors"]},"market":{"type":["object","null"],"properties":{"ask":{"type":["object","null"],"properties":{"hour":{"type":"number"},"prices":{"type":"array","items":{"type":"object","properties":{"currency":{"type":"string"},"amount":{"type":"number"}},"required":["currency","amount"]}}},"required":["hour","prices"]},"likelySales30d":{"type":"integer","minimum":0}},"required":["ask","likelySales30d"]}},"required":["labels","icon","asset","market"]}},"rarity":{"type":"string","enum":["unique","nonunique"]},"lowestAsk":{"type":["object","null"],"properties":{"amount":{"type":"number","exclusiveMinimum":0},"currency":{"type":"string","enum":["divine","mirror"]}},"required":["amount","currency"]},"wikiUrl":{"type":"string","format":"uri"},"alternateListings":{"type":["string","null"],"format":"uri"},"originalListings":{"type":["string","null"],"format":"uri"}},"required":["name","baseType","group","artworks","rarity","lowestAsk","wikiUrl","alternateListings","originalListings"]}}},"required":["provenanceNote","latestHour","marketAvailable","mirrorRate","items"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/boss-rota/analyze":{"post":{"operationId":"analyze_boss_rota_log","summary":"Value manually counted drops against a solo rota's starting prices and entry bill. Compare each count with its lower binomial median and estimate net per hour using the supplied kill time in seconds.","tags":["boss-rota"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"log":{"type":"object","properties":{"kills":{"type":"integer","minimum":1,"maximum":10000},"entryPerKill":{"type":["number","null"],"minimum":0},"drops":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":150},"pool":{"type":"string","enum":["Unique Pool","Guaranteed","Additional Drops","Awakened Gems"]},"chance":{"type":"number","minimum":0,"maximum":1},"unitChaos":{"type":["number","null"],"minimum":0},"count":{"type":"integer","minimum":0}},"required":["name","pool","chance","unitChaos","count"]},"minItems":1,"maxItems":150}},"required":["kills","entryPerKill","drops"]},"secondsPerKill":{"type":["number","null"],"exclusiveMinimum":0,"maximum":86400,"default":null}},"required":["log"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"entryChaos":{"type":["number","null"]},"pricedLootChaos":{"type":"number"},"lootChaos":{"type":["number","null"]},"pricedNetChaos":{"type":["number","null"]},"netChaos":{"type":["number","null"]},"netPerHour":{"type":["number","null"]},"pricedNetPerHour":{"type":["number","null"]},"drops":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"count":{"type":"number"},"median":{"type":"number"},"difference":{"type":"number"},"valueChaos":{"type":["number","null"]}},"required":["name","count","median","difference","valueChaos"]}}},"required":["entryChaos","pricedLootChaos","lootChaos","pricedNetChaos","netChaos","netPerHour","pricedNetPerHour","drops"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/boss-rota/profits":{"get":{"operationId":"get_boss_rota_profits","summary":"Filter and sort solo PoE 1 boss profits. Each kill consumes one entry set and awards one instance's loot. Craftable invitations prefer uncorrupted asks. Each invitation quantity input scales that boss's independent additional drop chances, capped at 100%. Returns chaos values, the league's Divine Orb rate, drop pools, item markets, and the chance total loot exceeds cost after 1, 5, 10, 50 and 100 runs. Odds use priced drops only. A missing entry price leaves profit and odds unknown.","tags":["boss-rota"],"security":[],"parameters":[{"schema":{"type":"string","maxLength":100,"default":""},"required":false,"name":"league","in":"query"},{"schema":{"type":"string","enum":["all","shaper","uber-shaper","elder","uber-elder","uber-uber-elder","sirus","uber-sirus","cortex","uber-cortex","incarnation-of-dread","uber-incarnation-of-dread","incarnation-of-neglect","uber-incarnation-of-neglect","incarnation-of-fear","uber-incarnation-of-fear","maven","uber-maven","black-star","searing-exarch","eater-of-worlds","uber-searing-exarch","uber-eater-of-worlds","infinite-hunger","king-in-the-mists","mastermind","oshabi","zorath","esh-tul","atziri","saresh","uber-atziri","mora"],"default":"all"},"required":false,"name":"boss","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":10000,"default":1},"required":false,"name":"runs","in":"query"},{"schema":{"type":"string","maxLength":100,"default":""},"required":false,"name":"q","in":"query"},{"schema":{"type":"string","enum":["all","complete","partial","unknown"],"default":"all"},"required":false,"name":"pricing","in":"query"},{"schema":{"type":"string","enum":["name","cost","loot","profit","total","coverage","chance1","chance5","chance10","chance50","chance100"],"default":"profit"},"required":false,"name":"order","in":"query"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"required":false,"name":"direction","in":"query"},{"schema":{"anyOf":[{"type":"string","enum":[""]},{"type":["number","null"],"minimum":0},{"type":"null"}],"description":"Additional drop quantity percent on the Polaric Invitation (default 50)"},"required":false,"description":"Additional drop quantity percent on the Polaric Invitation (default 50)","name":"blackStarQuantity","in":"query"},{"schema":{"anyOf":[{"type":"string","enum":[""]},{"type":["number","null"],"minimum":0},{"type":"null"}],"description":"Additional drop quantity percent on the Incandescent Invitation (default 70)"},"required":false,"description":"Additional drop quantity percent on the Incandescent Invitation (default 70)","name":"exarchQuantity","in":"query"},{"schema":{"anyOf":[{"type":"string","enum":[""]},{"type":["number","null"],"minimum":0},{"type":"null"}],"description":"Additional drop quantity percent on the Screaming Invitation (default 70)"},"required":false,"description":"Additional drop quantity percent on the Screaming Invitation (default 70)","name":"eaterQuantity","in":"query"},{"schema":{"anyOf":[{"type":"string","enum":[""]},{"type":["number","null"],"minimum":0},{"type":"null"}],"description":"Additional drop quantity percent on the Writhing Invitation (default 50)"},"required":false,"description":"Additional drop quantity percent on the Writhing Invitation (default 50)","name":"hungerQuantity","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"rates":{"type":"object","properties":{"source":{"type":"string","format":"uri"},"capturedOn":{"type":"string","format":"date"}},"required":["source","capturedOn"]},"league":{"type":"string"},"leagues":{"type":"array","items":{"type":"string"}},"priorLeagues":{"type":"array","items":{"type":"string"},"description":"Earlier leagues for inheriting per-boss kill times, in preference order, with the permanent league as a fallback."},"runs":{"type":"integer"},"chaosPerDivine":{"type":["number","null"],"exclusiveMinimum":0},"encounters":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":["string","null"]},"quantityBonus":{"type":"number"},"entries":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"quantityPerKill":{"type":"number","minimum":0},"quote":{"type":["object","null"],"properties":{"source":{"type":"string","enum":["exchange","stash"]},"foulbornState":{"type":"string","enum":["identified","unidentified"]},"invitationState":{"type":"string","enum":["uncorrupted","corrupted"]},"unitChaos":{"type":"number","exclusiveMinimum":0},"hour":{"type":"integer"},"listings":{"type":"integer","minimum":0},"likelySales24h":{"type":"integer","minimum":0},"units24h":{"type":"number","minimum":0}},"required":["source","unitChaos","hour"]},"valueChaos":{"type":["number","null"],"minimum":0},"market":{"type":["object","null"],"properties":{"href":{"type":"string"},"artName":{"type":"string"},"itemId":{"type":"string"},"iconAsset":{"type":["string","null"]},"exact":{"type":"boolean"}},"required":["href","artName","exact"]}},"required":["name","quantityPerKill","quote","valueChaos","market"]}},"drops":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"quantityPerKill":{"type":"number","minimum":0},"quote":{"type":["object","null"],"properties":{"source":{"type":"string","enum":["exchange","stash"]},"foulbornState":{"type":"string","enum":["identified","unidentified"]},"invitationState":{"type":"string","enum":["uncorrupted","corrupted"]},"unitChaos":{"type":"number","exclusiveMinimum":0},"hour":{"type":"integer"},"listings":{"type":"integer","minimum":0},"likelySales24h":{"type":"integer","minimum":0},"units24h":{"type":"number","minimum":0}},"required":["source","unitChaos","hour"]},"valueChaos":{"type":["number","null"],"minimum":0},"market":{"type":["object","null"],"properties":{"href":{"type":"string"},"artName":{"type":"string"},"itemId":{"type":"string"},"iconAsset":{"type":["string","null"]},"exact":{"type":"boolean"}},"required":["href","artName","exact"]},"pool":{"type":"string","enum":["Unique Pool","Guaranteed","Additional Drops","Awakened Gems"]}},"required":["name","quantityPerKill","quote","valueChaos","market","pool"]}},"profitChances":{"type":"array","items":{"type":"object","properties":{"runs":{"type":"integer"},"chance":{"type":["number","null"],"minimum":0,"maximum":1},"averageNetChaos":{"type":["number","null"]},"pricedAverageNetChaos":{"type":["number","null"]}},"required":["runs","chance","averageNetChaos","pricedAverageNetChaos"]}},"poolValues":{"type":"array","items":{"type":"object","properties":{"pool":{"type":"string","enum":["Unique Pool","Guaranteed","Additional Drops","Awakened Gems"]},"pricedChaosPerKill":{"type":["number","null"]},"shareOfPricedLoot":{"type":["number","null"]},"fullyPriced":{"type":"boolean"}},"required":["pool","pricedChaosPerKill","shareOfPricedLoot","fullyPriced"]}},"askOnlyChaosPerKill":{"type":"number","minimum":0},"perKill":{"type":"object","properties":{"entryChaos":{"type":["number","null"]},"lootChaos":{"type":["number","null"]},"profitChaos":{"type":["number","null"]},"pricedLootChaos":{"type":["number","null"]},"profitFromPricedDropsChaos":{"type":["number","null"]}},"required":["entryChaos","lootChaos","profitChaos","pricedLootChaos","profitFromPricedDropsChaos"]},"total":{"type":"object","properties":{"entryChaos":{"type":["number","null"]},"lootChaos":{"type":["number","null"]},"profitChaos":{"type":["number","null"]},"pricedLootChaos":{"type":["number","null"]},"profitFromPricedDropsChaos":{"type":["number","null"]}},"required":["entryChaos","lootChaos","profitChaos","pricedLootChaos","profitFromPricedDropsChaos"]}},"required":["id","name","icon","quantityBonus","entries","drops","profitChances","poolValues","askOnlyChaosPerKill","perKill","total"]}}},"required":["rates","league","leagues","priorLeagues","runs","chaosPerDivine","encounters"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/arbitrage/recipes":{"get":{"operationId":"list_vendor_recipes","summary":"Read automatic and manual vendor recipes, including conditions and sources.","tags":["arbitrage"],"security":[],"parameters":[{"schema":{"type":"string","enum":["1","2"]},"required":true,"name":"game","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"recipes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"game":{"type":"string","enum":["1","2"]},"category":{"type":"string","enum":["oils","essences","emotions","runes","currency"]},"input":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"quantity":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","quantity"]},"output":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"quantity":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","quantity"]},"source":{"type":"string","format":"uri"},"method":{"type":"string","enum":["purchase","sell"]},"notes":{"type":"string"}},"required":["id","game","category","input","output","source"]}},"manualRecipes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"input":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"quantity":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","quantity"]},"output":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"quantity":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","quantity"]},"source":{"type":"string","format":"uri"},"name":{"type":"string","minLength":1},"conditions":{"type":"string","minLength":1},"outcome":{"type":"string","enum":["random","item-dependent"]}},"required":["id","input","output","source","name","conditions","outcome"]}}},"required":["recipes","manualRecipes"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/arbitrage/calculate":{"post":{"operationId":"calculate_arbitrage","summary":"Rank vendor recipes by profit or ROI using the same price snapshot and filters as the PoE 1 and PoE 2 pages.","tags":["arbitrage"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"snapshot":{"type":"object","properties":{"game":{"type":"string","enum":["1","2"]},"league":{"type":"string","minLength":1},"fetchedAt":{"type":"string","format":"date-time"},"quotes":{"type":"object","additionalProperties":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"units24h":{"type":"integer","minimum":0}},"required":["value"]}},"unavailableCategories":{"type":"array","items":{"type":"string","enum":["oils","essences","emotions","runes","currency"]}}},"required":["game","league","fetchedAt","quotes","unavailableCategories"]},"options":{"type":"object","properties":{"buffer":{"type":"number","minimum":0,"maximum":99},"minimumProfit":{"type":"number","minimum":0},"minimumInputUnits24h":{"type":"integer","minimum":0,"default":0},"minimumOutputUnits24h":{"type":"integer","minimum":0,"default":0},"category":{"anyOf":[{"type":"string","enum":["all"]},{"type":"string","enum":["oils","essences","emotions","runes","currency"]}]},"sort":{"type":"string","enum":["profit","roi"]},"showUnprofitable":{"type":"boolean"}},"required":["buffer","minimumProfit","category","sort","showUnprofitable"]}},"required":["snapshot","options"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"opportunities":{"type":"array","items":{"type":"object","properties":{"recipe":{"type":"object","properties":{"id":{"type":"string","minLength":1},"game":{"type":"string","enum":["1","2"]},"category":{"type":"string","enum":["oils","essences","emotions","runes","currency"]},"input":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"quantity":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","quantity"]},"output":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"quantity":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","quantity"]},"source":{"type":"string","format":"uri"},"method":{"type":"string","enum":["purchase","sell"]},"notes":{"type":"string"}},"required":["id","game","category","input","output","source"]},"inputUnitValue":{"type":"number"},"outputUnitValue":{"type":"number"},"inputUnits24h":{"type":["number","null"]},"outputUnits24h":{"type":["number","null"]},"batches24h":{"type":["number","null"]},"cost":{"type":"number"},"revenue":{"type":"number"},"profit":{"type":"number"},"roi":{"type":"number"}},"required":["recipe","inputUnitValue","outputUnitValue","inputUnits24h","outputUnits24h","batches24h","cost","revenue","profit","roi"]}},"missingPrices":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"game":{"type":"string","enum":["1","2"]},"category":{"type":"string","enum":["oils","essences","emotions","runes","currency"]},"input":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"quantity":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","quantity"]},"output":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"quantity":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","quantity"]},"source":{"type":"string","format":"uri"},"method":{"type":"string","enum":["purchase","sell"]},"notes":{"type":"string"}},"required":["id","game","category","input","output","source"]}},"pricedCount":{"type":"number"},"lowVolumeCount":{"type":"number"},"bestRoi":{"type":["number","null"]}},"required":["opportunities","missingPrices","pricedCount","lowVolumeCount","bestRoi"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/arbitrage/scenario":{"post":{"operationId":"calculate_recipe_scenario","summary":"Calculate a manual recipe's buffered cost, revenue, profit, ROI, and break-even value.","tags":["arbitrage"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"buffer":{"type":"number","minimum":0,"maximum":99},"inputCost":{"type":"number","exclusiveMinimum":0},"outputValue":{"type":"number","minimum":0}},"required":["buffer","inputCost","outputValue"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":["object","null"],"properties":{"cost":{"type":"number"},"revenue":{"type":"number"},"profit":{"type":"number"},"breakEven":{"type":"number"},"roi":{"type":"number"}},"required":["cost","revenue","profit","breakEven","roi"]}},"required":["result"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/arbitrage/cluster-jewels/calculate":{"post":{"operationId":"calculate_cluster_recipe","summary":"Calculate each Cluster Jewel size's expected value from selling five for a random one, from a `get_cluster_recipe_market` snapshot. Assumes every rollable enchantment and passive count is equally likely (spawn weights are not published) and counts unpriced outcomes as 0 chaos. Sale values lose the buffer and input costs gain it. Returns the break-even input price, profit against five of the cheapest priced outcome market, the chance an output beats that cost, the break-even price when low outputs go back into the recipe, and every outcome by value.","tags":["arbitrage"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"snapshot":{"type":"object","properties":{"league":{"type":"string","minLength":1},"band":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"]},"fetchedAt":{"type":["string","null"],"format":"date-time"},"quotes":{"type":"object","additionalProperties":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"listingCount":{"type":"integer","exclusiveMinimum":0}},"required":["value","listingCount"]}}},"required":["league","band","fetchedAt","quotes"]},"options":{"type":"object","properties":{"buffer":{"type":"number","minimum":0,"maximum":99}},"required":["buffer"]}},"required":["snapshot","options"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"sizes":{"type":"array","items":{"type":"object","properties":{"baseType":{"type":"string","enum":["Small Cluster Jewel","Medium Cluster Jewel","Large Cluster Jewel"]},"outcomeCount":{"type":"integer"},"pricedCount":{"type":"integer"},"expectedValue":{"type":"number"},"expectedValueWithoutTop":{"type":"number"},"medianValue":{"type":"number"},"breakEvenInput":{"type":"number"},"cheapestInput":{"type":["number","null"]},"cost":{"type":["number","null"]},"profit":{"type":["number","null"]},"roi":{"type":["number","null"]},"chanceAboveCost":{"type":["number","null"]},"recycled":{"type":"object","properties":{"below":{"type":"number"},"breakEvenInput":{"type":"number"}},"required":["below","breakEvenInput"]},"outcomes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"passives":{"type":"integer"},"value":{"type":["number","null"]},"listingCount":{"type":"integer"},"share":{"type":"number"}},"required":["id","label","passives","value","listingCount","share"]}}},"required":["baseType","outcomeCount","pricedCount","expectedValue","expectedValueWithoutTop","medianValue","breakEvenInput","cheapestInput","cost","profit","roi","chanceAboveCost","recycled","outcomes"]}}},"required":["sizes"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/arbitrage/trade":{"post":{"operationId":"build_recipe_trade_url","summary":"Build the currency exchange trade link shown beside a recipe.","tags":["arbitrage"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"game":{"type":"string","enum":["1","2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","minLength":1,"maxLength":200}},"required":["game","league","itemId"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/arbitrage/market":{"get":{"operationId":"get_arbitrage_market","summary":"Read available leagues, recipes, and the market snapshot used by either game's arbitrage page.","tags":["arbitrage"],"security":[],"parameters":[{"schema":{"type":"string","enum":["1","2"]},"required":true,"name":"game","in":"query"},{"schema":{"type":"string","maxLength":100},"required":false,"name":"league","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"game":{"type":"string","enum":["1","2"]},"leagues":{"type":"array","items":{"type":"string"}},"league":{"type":"string"},"recipes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"game":{"type":"string","enum":["1","2"]},"category":{"type":"string","enum":["oils","essences","emotions","runes","currency"]},"input":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"quantity":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","quantity"]},"output":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"quantity":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","quantity"]},"source":{"type":"string","format":"uri"},"method":{"type":"string","enum":["purchase","sell"]},"notes":{"type":"string"}},"required":["id","game","category","input","output","source"]}},"snapshot":{"type":["object","null"],"properties":{"game":{"type":"string","enum":["1","2"]},"league":{"type":"string","minLength":1},"fetchedAt":{"type":"string","format":"date-time"},"quotes":{"type":"object","additionalProperties":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"units24h":{"type":"integer","minimum":0}},"required":["value"]}},"unavailableCategories":{"type":"array","items":{"type":"string","enum":["oils","essences","emotions","runes","currency"]}}},"required":["game","league","fetchedAt","quotes","unavailableCategories"]},"error":{"type":["string","null"]}},"required":["game","leagues","league","recipes","snapshot","error"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/arbitrage/cluster-jewels/market":{"get":{"operationId":"get_cluster_recipe_market","summary":"Read the PoE 1 PC median merchant-tab chaos ask of every outcome of the 5-for-1 Cluster Jewel recipe, each rollable enchantment at each passive count, in the item level band holding `itemLevel` (default 84). Outcomes keyed `<skill id>:<passive count>`; those with no ask in the last 24 completed hours are left out. Leagues are the PoE 1 exchange's, as on the arbitrage page.","tags":["arbitrage"],"security":[],"parameters":[{"schema":{"type":"string","maxLength":100},"required":false,"name":"league","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":100},"required":false,"name":"itemLevel","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"leagues":{"type":"array","items":{"type":"string"}},"league":{"type":"string"},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"snapshot":{"type":["object","null"],"properties":{"league":{"type":"string","minLength":1},"band":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}},"required":["min","max"]},"fetchedAt":{"type":["string","null"],"format":"date-time"},"quotes":{"type":"object","additionalProperties":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"listingCount":{"type":"integer","exclusiveMinimum":0}},"required":["value","listingCount"]}}},"required":["league","band","fetchedAt","quotes"]},"error":{"type":["string","null"]}},"required":["leagues","league","itemLevel","snapshot","error"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/recombinator/calculate":{"post":{"operationId":"calculate_recombinator","summary":"Calculate every outcome of a validated recombination plan, including preparation and crafted-mod removal.","tags":["recombinator"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"patch":{"type":"string","minLength":1,"maxLength":32},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":80},"item":{"type":"object","properties":{"prefixes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"maxItems":3},"suffixes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"maxItems":3},"base":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"itemClass":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"}}},"required":["id","name","itemClass","tags"]}},"required":["prefixes","suffixes"]}},"required":["id","name","item"]},"minItems":2,"maxItems":12},"steps":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":80},"left":{"type":"string","minLength":1,"maxLength":80},"right":{"type":"string","minLength":1,"maxLength":80},"leftPreparation":{"type":"object","properties":{"kind":{"type":"string","enum":["essence","bench"]},"side":{"type":"string","enum":["prefixes","suffixes"]},"affix":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"itemClasses":{"type":"array","items":{"type":"string"},"minItems":1},"keepInputMods":{"type":"boolean"}},"required":["kind","side","affix","itemClasses"]},"rightPreparation":{"type":"object","properties":{"kind":{"type":"string","enum":["essence","bench"]},"side":{"type":"string","enum":["prefixes","suffixes"]},"affix":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"itemClasses":{"type":"array","items":{"type":"string"},"minItems":1},"keepInputMods":{"type":"boolean"}},"required":["kind","side","affix","itemClasses"]},"removeCrafted":{"type":"boolean"}},"required":["id","name","left","right"]},"minItems":1,"maxItems":8}},"required":["items","steps"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"outcomes":{"type":"array","items":{"type":"object","properties":{"item":{"type":"object","properties":{"prefixes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"maxItems":3},"suffixes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"maxItems":3},"base":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"itemClass":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"}}},"required":["id","name","itemClass","tags"]}},"required":["prefixes","suffixes"]},"probability":{"type":"number"}},"required":["item","probability"]}}},"required":["id","outcomes"]}}},"required":["results"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/recombinator/draft":{"post":{"operationId":"resolve_recombinator_draft","summary":"Resolve the simulator's text or catalog draft into a validated calculation plan.","tags":["recombinator"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"draft":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":80},"prefixes":{"type":"string","maxLength":10000},"suffixes":{"type":"string","maxLength":10000},"catalog":{"type":"object","properties":{"base":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"itemClass":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"}}},"required":["id","name","itemClass","tags"]},"level":{"type":"integer","minimum":1,"maximum":100},"prefixes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"maxItems":3},"suffixes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"maxItems":3}},"required":["base","level","prefixes","suffixes"]}},"required":["id","name","prefixes","suffixes"]},"minItems":2,"maxItems":12},"steps":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":80},"left":{"type":"string","minLength":1,"maxLength":80},"right":{"type":"string","minLength":1,"maxLength":80},"removeCrafted":{"type":"boolean"},"leftPreparation":{"type":"string"},"rightPreparation":{"type":"string"},"leftKeepInputMods":{"type":"boolean"},"rightKeepInputMods":{"type":"boolean"}},"required":["id","name","left","right"]},"minItems":1,"maxItems":8}},"required":["items","steps"]},"catalog":{"type":"object","properties":{"format":{"type":"number","enum":[1]},"game":{"type":"string","enum":["poe1"]},"patch":{"type":"string","minLength":1},"source":{"type":"object","properties":{"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"basesSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"modsSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingDataSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["manifestSha256","basesSha256","modsSha256"]},"bases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"itemClass":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"}}},"required":["id","name","itemClass","tags"]},"minItems":1},"mods":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"text":{"type":"string","minLength":1},"side":{"type":"string","enum":["prefixes","suffixes"]},"level":{"type":"integer","minimum":0},"maxLevel":{"type":"integer","minimum":0},"groups":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"addsTags":{"type":"array","items":{"type":"string"}},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"generation":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"},"exclusive":{"type":"boolean"}},"required":["id","name","text","side","level","maxLevel","groups","addsTags","spawn","generation"]},"minItems":1},"recipes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["essence","bench"]},"mod":{"type":"string"},"itemClasses":{"type":"array","items":{"type":"string"}},"cost":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0}},"required":["name","amount"]}}},"required":["id","name","kind","mod","itemClasses","cost"]}}},"required":["format","game","patch","source","bases","mods"]}},"required":["draft"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"plan":{"type":"object","properties":{"patch":{"type":"string","minLength":1,"maxLength":32},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":80},"item":{"type":"object","properties":{"prefixes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"maxItems":3},"suffixes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"maxItems":3},"base":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"itemClass":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"}}},"required":["id","name","itemClass","tags"]}},"required":["prefixes","suffixes"]}},"required":["id","name","item"]},"minItems":2,"maxItems":12},"steps":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":80},"left":{"type":"string","minLength":1,"maxLength":80},"right":{"type":"string","minLength":1,"maxLength":80},"leftPreparation":{"type":"object","properties":{"kind":{"type":"string","enum":["essence","bench"]},"side":{"type":"string","enum":["prefixes","suffixes"]},"affix":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"itemClasses":{"type":"array","items":{"type":"string"},"minItems":1},"keepInputMods":{"type":"boolean"}},"required":["kind","side","affix","itemClasses"]},"rightPreparation":{"type":"object","properties":{"kind":{"type":"string","enum":["essence","bench"]},"side":{"type":"string","enum":["prefixes","suffixes"]},"affix":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"itemClasses":{"type":"array","items":{"type":"string"},"minItems":1},"keepInputMods":{"type":"boolean"}},"required":["kind","side","affix","itemClasses"]},"removeCrafted":{"type":"boolean"}},"required":["id","name","left","right"]},"minItems":1,"maxItems":8}},"required":["items","steps"]}},"required":["plan"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/recombinator/mods":{"post":{"operationId":"list_recombinator_mods","summary":"Filter catalog modifiers by base, item level, selected modifiers, and modifier groups.","tags":["recombinator"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"text":{"type":"string","minLength":1},"side":{"type":"string","enum":["prefixes","suffixes"]},"level":{"type":"integer","minimum":0},"maxLevel":{"type":"integer","minimum":0},"groups":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"addsTags":{"type":"array","items":{"type":"string"}},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"generation":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"},"exclusive":{"type":"boolean"}},"required":["id","name","text","side","level","maxLevel","groups","addsTags","spawn","generation"]}},"base":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"itemClass":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"}}},"required":["id","name","itemClass","tags"]},"level":{"type":"integer","minimum":1,"maximum":100},"selected":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"text":{"type":"string","minLength":1},"side":{"type":"string","enum":["prefixes","suffixes"]},"level":{"type":"integer","minimum":0},"maxLevel":{"type":"integer","minimum":0},"groups":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"addsTags":{"type":"array","items":{"type":"string"}},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"generation":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"},"exclusive":{"type":"boolean"}},"required":["id","name","text","side","level","maxLevel","groups","addsTags","spawn","generation"]},"default":[]}},"required":["base","level"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"mods":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"text":{"type":"string","minLength":1},"side":{"type":"string","enum":["prefixes","suffixes"]},"level":{"type":"integer","minimum":0},"maxLevel":{"type":"integer","minimum":0},"groups":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"addsTags":{"type":"array","items":{"type":"string"}},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"generation":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"},"exclusive":{"type":"boolean"}},"required":["id","name","text","side","level","maxLevel","groups","addsTags","spawn","generation"]}}},"required":["mods"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/recombinator/bases":{"post":{"operationId":"list_recombinator_bases","summary":"List equipment bases and generic base categories from the catalog.","tags":["recombinator"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"bases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"itemClass":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"}}},"required":["id","name","itemClass","tags"]}}}}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"bases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"itemClass":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"}}},"required":["id","name","itemClass","tags"]}}},"required":["bases"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/recombinator/recipes":{"post":{"operationId":"list_preparation_recipes","summary":"List compatible bench or essence preparation recipes for the selected bases, using the simulator's rules.","tags":["recombinator"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"bases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"itemClass":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"}}},"required":["id","name","itemClass","tags"]}},"kind":{"type":"string","enum":["essence","bench"]}},"required":["bases","kind"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"recipes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["essence","bench"]},"mod":{"type":"string"},"itemClasses":{"type":"array","items":{"type":"string"}},"cost":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0}},"required":["name","amount"]}}},"required":["id","name","kind","mod","itemClasses","cost"]}}},"required":["recipes"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/recombinator/target":{"post":{"operationId":"summarize_recombinator_target","summary":"Sum the chance of matching target modifiers, with the simulator's exact-match option, and summarize affix counts.","tags":["recombinator"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"outcomes":{"type":"array","items":{"type":"object","properties":{"item":{"type":"object","properties":{"prefixes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"maxItems":3},"suffixes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"maxItems":3},"base":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"itemClass":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"}}},"required":["id","name","itemClass","tags"]}},"required":["prefixes","suffixes"]},"probability":{"type":"number"}},"required":["item","probability"]}},"required":{"type":"array","items":{"type":"string"}},"exact":{"type":"boolean","default":false}},"required":["outcomes","required"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"probability":{"type":"number"},"counts":{"type":"array","items":{"type":"object","properties":{"prefixes":{"type":"number"},"suffixes":{"type":"number"},"probability":{"type":"number"}},"required":["prefixes","suffixes","probability"]}}},"required":["probability","counts"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/recombinator/catalog":{"get":{"operationId":"get_recombinator_catalog","summary":"Read the exact equipment, modifier, and preparation-recipe catalog loaded by the simulator.","tags":["recombinator"],"security":[],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"catalog":{"type":"object","properties":{"format":{"type":"number","enum":[1]},"game":{"type":"string","enum":["poe1"]},"patch":{"type":"string","minLength":1},"source":{"type":"object","properties":{"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"basesSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"modsSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingDataSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["manifestSha256","basesSha256","modsSha256"]},"bases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"itemClass":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"}}},"required":["id","name","itemClass","tags"]},"minItems":1},"mods":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"text":{"type":"string","minLength":1},"side":{"type":"string","enum":["prefixes","suffixes"]},"level":{"type":"integer","minimum":0},"maxLevel":{"type":"integer","minimum":0},"groups":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"addsTags":{"type":"array","items":{"type":"string"}},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"generation":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"},"exclusive":{"type":"boolean"}},"required":["id","name","text","side","level","maxLevel","groups","addsTags","spawn","generation"]},"minItems":1},"recipes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["essence","bench"]},"mod":{"type":"string"},"itemClasses":{"type":"array","items":{"type":"string"}},"cost":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0}},"required":["name","amount"]}}},"required":["id","name","kind","mod","itemClasses","cost"]}}},"required":["format","game","patch","source","bases","mods"]}},"required":["catalog"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/graph/capability":{"post":{"operationId":"describe_simple_crafting_method","summary":"Describe a simple craft's supported target and eligibility for an actual input item, using the project's extracted catalog. Null means the method needs custom outcomes. Does not craft or save an item.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"method":{"$ref":"#/components/schemas/CraftingMethod"},"item":{"$ref":"#/components/schemas/CraftingItem"}},"required":["graph","method"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"capability":{"type":["object","null"],"properties":{"effect":{"type":"string"},"target":{"type":["object","null"],"properties":{"field":{"type":"string","enum":["memoryStrands","quality","catalystQuality","sockets","links"]},"maximum":{"type":"integer","minimum":1,"maximum":100},"suggested":{"type":"integer","minimum":1,"maximum":100}},"required":["field","maximum","suggested"]},"available":{"type":["boolean","null"]},"reason":{"type":["string","null"]}},"required":["effect","target","available","reason"]}},"required":["capability"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/graph/simple-outcome":{"post":{"operationId":"configure_simple_crafting_outcome","summary":"Configure apply-once or repeat-until-minimum for a supported simple craft. Generates only that craft's supported conditions and a retry loop that reuses the same item. Requires revision 7 or newer. Returns a draft without saving.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"nodeId":{"type":"string"},"goal":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["once"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["minimum"]},"field":{"type":"string","enum":["memoryStrands","quality","catalystQuality","sockets","links"]},"value":{"type":"integer","minimum":1,"maximum":100}},"required":["kind","field","value"],"additionalProperties":false}]}},"required":["graph","nodeId","goal"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/graph/method":{"post":{"operationId":"replace_crafting_graph_method","summary":"Edit a graph craft using full workbench method settings. Preserves input connections and prices. In revisions 7 and 8, selecting a different simple craft generates its supported target and retry routes; unchanged custom methods retain their conditions. A newly required second input consumes a separate item. Refuses stale edits, inline donors, unavailable methods and removal of inputs used by recovery routes. Returns a draft without saving it.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"nodeId":{"type":"string","minLength":1,"maxLength":100},"expectedMethod":{"$ref":"#/components/schemas/CraftingMethod"},"method":{"$ref":"#/components/schemas/CraftingMethod"}},"required":["graph","nodeId","expectedMethod","method"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/graph/purchase-item":{"post":{"operationId":"replace_crafting_purchase_item","summary":"Apply a fully prepared workbench item to an existing graph purchase. Validates the item with the project's retained engine, refuses intervening item edits, preserves routing and acquisition pinning, and clears the old price when the item changes. Returns a draft without saving it.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"nodeId":{"type":"string","minLength":1,"maxLength":100},"alternativeId":{"type":"string","minLength":1,"maxLength":100},"expectedItem":{"$ref":"#/components/schemas/CraftingItem"},"item":{"$ref":"#/components/schemas/CraftingItem"}},"required":["graph","nodeId","alternativeId","expectedItem","item"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/items/nnn-essences":{"post":{"operationId":"list_non_native_essences","summary":"List extracted essence recipes that force a non-native natural modifier on an item base, optionally checking eligibility on another recombination base. True essence-exclusive modifiers are excluded. PoE 2 returns no PoE 1 recombination sources.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]},"ruleset":{"type":"object","properties":{"era":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"revision":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"engine":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"patch":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["era","revision","engine","patch","manifestSha256","craftingSha256"],"additionalProperties":false},"item":{"$ref":"#/components/schemas/CraftingItem"},"other":{"$ref":"#/components/schemas/CraftingItem"}},"required":["game","ruleset","item"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"sources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"modId":{"type":"string"},"side":{"type":"string","enum":["prefix","suffix"]},"nativeOnOther":{"type":["boolean","null"]},"rerollsRare":{"type":"boolean"},"itemLevelLimit":{"type":["number","null"]}},"required":["id","name","modId","side","nativeOnOther","rerollsRare","itemLevelLimit"]}}},"required":["sources"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/graph/from-item":{"post":{"operationId":"create_crafting_graph_from_item","summary":"Start an independent project from an existing item, preserving its full state and chosen crafting revision. Returns a local draft without saving or publishing it.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]},"ruleset":{"type":"object","properties":{"era":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"revision":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"engine":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"patch":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["era","revision","engine","patch","manifestSha256","craftingSha256"],"additionalProperties":false},"item":{"$ref":"#/components/schemas/CraftingItem"},"name":{"type":"string","minLength":1,"maxLength":120},"price":{"type":["object","null"],"properties":{"amount":{"type":"number","minimum":0},"currency":{"type":"string","minLength":1},"source":{"type":"string","enum":["manual","market"]},"observedAt":{"type":"string","format":"date-time"},"confidence":{"type":["number","null"],"minimum":0,"maximum":1},"samples":{"type":"integer","minimum":0},"cohortId":{"type":"string","minLength":1}},"default":null,"required":["amount","currency","source","confidence"],"additionalProperties":false}},"required":["game","ruleset","item","name"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/graph/edit":{"post":{"operationId":"edit_crafting_graph","summary":"Connect a named consuming input or remove an unused graph step. Rejects production cycles and removal of referenced steps. Returns edited draft state.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"command":{"oneOf":[{"type":"object","properties":{"action":{"type":"string","enum":["connect"]},"targetId":{"type":"string","minLength":1,"maxLength":100},"inputId":{"type":"string","minLength":1,"maxLength":100},"source":{"type":"string","minLength":1,"maxLength":100}},"required":["action","targetId","inputId","source"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","enum":["removeNode"]},"nodeId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","nodeId"],"additionalProperties":false}]}},"required":["graph","command"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/graph/calculate":{"post":{"operationId":"calculate_crafting_graph","summary":"Calculate a PoE 1 or PoE 2 item-production graph, including consumed inputs, recovery, acquisition alternatives and explicit sale revenue. Uses the browser worker's sampled model; missing prices and unfinished trials remain unresolved.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"options":{"type":"object","properties":{"estimateIterations":{"type":"integer","minimum":1,"maximum":1000,"default":100},"workLimit":{"type":"integer","minimum":1,"maximum":100000,"default":50000}},"default":{}}},"required":["graph"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/CraftingGraphResult"}},"required":["result"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/items/match":{"post":{"operationId":"match_crafting_item","summary":"Match an API-shaped item and its resolved facts against the same item query used for crafting outcomes and market cohorts. Returns unknown when the source lacks enough information.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"item":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]},"source":{"type":"string","enum":["stash","trade","paste","craft"]},"item":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"typeLine":{"type":"string"},"baseType":{"type":"string","minLength":1,"maxLength":500},"ilvl":{"type":"integer","minimum":0},"itemLevel":{"type":"integer","minimum":0},"rarity":{"type":"string","enum":["Normal","Magic","Rare","Unique","Currency","Gem","Relic"]},"frameType":{"type":"integer","minimum":0},"frameTypeId":{"type":"string"},"identified":{"type":"boolean"},"corrupted":{"type":"boolean"},"duplicated":{"type":"boolean"},"fractured":{"type":"boolean"},"split":{"type":"boolean"},"synthesised":{"type":"boolean"},"sanctified":{"type":"boolean"},"influences":{"type":"object","additionalProperties":{"type":"boolean"}},"sockets":{"type":"array","items":{"type":"object","properties":{"group":{"type":"integer","minimum":0},"attr":{"type":"string"},"sColour":{"type":"string"},"type":{"type":"string"},"item":{"type":"string"}},"required":["group"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}},"explicitMods":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","properties":{"description":{"type":"string"},"flags":{"type":"object","properties":{"fractured":{"type":"boolean"},"crafted":{"type":"boolean"},"desecrated":{"type":"boolean"},"mutated":{"type":"boolean"},"vestigial":{"type":"boolean"}},"additionalProperties":{"type":["string","number","boolean","null","array","object"]}},"mods":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"tier":{"type":"string"},"level":{"type":"integer","minimum":0}},"required":["name","tier"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}}},"required":["description"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}]}},"implicitMods":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","properties":{"description":{"type":"string"},"flags":{"type":"object","properties":{"fractured":{"type":"boolean"},"crafted":{"type":"boolean"},"desecrated":{"type":"boolean"},"mutated":{"type":"boolean"},"vestigial":{"type":"boolean"}},"additionalProperties":{"type":["string","number","boolean","null","array","object"]}},"mods":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"tier":{"type":"string"},"level":{"type":"integer","minimum":0}},"required":["name","tier"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}}},"required":["description"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}]}},"craftedMods":{"type":"array","items":{"type":"string"}},"fracturedMods":{"type":"array","items":{"type":"string"}},"extended":{"type":"object","properties":{"prefixes":{"type":"integer","minimum":0},"suffixes":{"type":"integer","minimum":0}},"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}},"required":["baseType"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}},"facts":{"type":"object","properties":{"baseId":{"type":"string","minLength":1,"maxLength":500},"baseTypeAmbiguous":{"type":"boolean"},"itemClass":{"type":"string","minLength":1,"maxLength":500},"qualityType":{"type":"string","minLength":1,"maxLength":500},"catalystId":{"type":"string","minLength":1,"maxLength":500},"quality":{"type":"integer","minimum":0},"catalystQuality":{"type":"integer","minimum":0},"modifiers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":500},"possibleIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":2,"maxItems":100},"name":{"type":"string"},"side":{"type":"string","enum":["prefix","suffix","implicit"]},"tier":{"type":"integer","minimum":0},"fractured":{"type":"boolean"},"crafted":{"type":"boolean"}},"additionalProperties":false},"maxItems":100,"default":[]},"modifiersComplete":{"type":"boolean","default":false},"prefixes":{"type":"integer","minimum":0},"suffixes":{"type":"integer","minimum":0},"prefixLimit":{"type":"integer","minimum":0},"memoryStrands":{"type":"integer","minimum":0},"memoryStrandsSpent":{"type":"integer","minimum":0},"suffixLimit":{"type":"integer","minimum":0},"socketCount":{"type":"integer","minimum":0},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"],"additionalProperties":false},"stats":{"type":"object","properties":{"explicit":{"type":"object","additionalProperties":{"type":"number"},"default":{}},"implicit":{"type":"object","additionalProperties":{"type":"number"},"default":{}},"total":{"type":"object","additionalProperties":{"type":"number"},"default":{}}},"default":{}},"statsComplete":{"type":"boolean","default":false},"destroyed":{"type":"boolean","default":false}},"default":{},"additionalProperties":false}},"required":["game","source","item"],"additionalProperties":false},"query":{"$ref":"#/components/schemas/ItemQuery"}},"required":["item","query"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"match":{"type":"string","enum":["match","no-match","unknown"]}},"required":["match"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/graph/from-method":{"post":{"operationId":"create_crafting_graph_from_method","summary":"Create a graph from the current item, selected craft and explicit prices. Consumed donors or Jewels become separate acquisition inputs with their full item state and are charged once. Missing prices remain unknown. Returns a draft that accepts any craft result until outcome and recovery queries are configured; it does not import workbench targets, a multi-step process or save the draft.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]},"ruleset":{"type":"object","properties":{"era":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"revision":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"engine":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"patch":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["era","revision","engine","patch","manifestSha256","craftingSha256"],"additionalProperties":false},"item":{"$ref":"#/components/schemas/CraftingItem"},"name":{"type":"string","minLength":1,"maxLength":120},"price":{"type":["object","null"],"properties":{"amount":{"type":"number","minimum":0},"currency":{"type":"string","minLength":1},"source":{"type":"string","enum":["manual","market"]},"observedAt":{"type":"string","format":"date-time"},"confidence":{"type":["number","null"],"minimum":0,"maximum":1},"samples":{"type":"integer","minimum":0},"cohortId":{"type":"string","minLength":1}},"default":null,"required":["amount","currency","source","confidence"],"additionalProperties":false},"method":{"$ref":"#/components/schemas/CraftingMethod"},"prices":{"type":"object","additionalProperties":{"type":"object","properties":{"amount":{"type":"number","minimum":0},"currency":{"type":"string","minLength":1},"source":{"type":"string","enum":["manual","market"]},"observedAt":{"type":"string","format":"date-time"},"confidence":{"type":["number","null"],"minimum":0,"maximum":1},"samples":{"type":"integer","minimum":0},"cohortId":{"type":"string","minLength":1}},"required":["amount","currency","source","confidence"],"additionalProperties":false},"default":{}}},"required":["game","ruleset","item","name","method"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/presets":{"post":{"operationId":"list_crafting_presets","summary":"List common crafting examples for the selected game. These examples describe prepared inputs and modeled methods, not market prices or optimal recommendations.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]}},"required":["game"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"presets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","enum":["life-block-shield","tailwind-boots","physical-bow","elemental-bow","global-defence-chest","rarity-helmet","strength-helical-ring","sushi-rf-totem-shield","sushi-rf-helmet","sushi-mercenary-chest","sushi-spectre-boots"]},"game":{"type":"string","enum":["poe1"]},"name":{"type":"string"},"description":{"type":"string"}},"required":["id","game","name","description"]}}},"required":["presets"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/graph/from-preset":{"post":{"operationId":"create_crafting_graph_from_preset","summary":"Create an independent editable common-craft graph pinned to a ruleset. Includes prepared purchases, real crafting methods, target queries and recovery routes. Prices remain unknown. Does not save or publish the draft.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]},"ruleset":{"type":"object","properties":{"era":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"revision":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"engine":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"patch":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["era","revision","engine","patch","manifestSha256","craftingSha256"],"additionalProperties":false},"presetId":{"type":"string","enum":["life-block-shield","tailwind-boots","physical-bow","elemental-bow","global-defence-chest","rarity-helmet","strength-helical-ring","sushi-rf-totem-shield","sushi-rf-helmet","sushi-mercenary-chest","sushi-spectre-boots"]}},"required":["game","ruleset","presetId"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/graph/from-recombinator":{"post":{"operationId":"create_crafting_graph_from_recombinator_plan","summary":"Convert connected catalog recombination steps and bench preparation into an editable crafting graph with distinct acquisition inputs. Requires concrete bases and roll assumptions. Preserves final-step targets and conditional crafted-mod removal; prices remain unknown. Idealized essence preparation and manual probability flags are refused rather than silently changing their semantics. Returns a draft without saving.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"object","properties":{"patch":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["patch","manifestSha256","craftingSha256"],"additionalProperties":false},"draft":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":80},"prefixes":{"type":"string","maxLength":10000},"suffixes":{"type":"string","maxLength":10000},"catalog":{"type":"object","properties":{"base":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"itemClass":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"}}},"required":["id","name","itemClass","tags"]},"level":{"type":"integer","minimum":1,"maximum":100},"prefixes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"maxItems":3},"suffixes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"maxItems":3}},"required":["base","level","prefixes","suffixes"]}},"required":["id","name","prefixes","suffixes"]},"minItems":2,"maxItems":12},"steps":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":80},"left":{"type":"string","minLength":1,"maxLength":80},"right":{"type":"string","minLength":1,"maxLength":80},"removeCrafted":{"type":"boolean"},"leftPreparation":{"type":"string"},"rightPreparation":{"type":"string"},"leftKeepInputMods":{"type":"boolean"},"rightKeepInputMods":{"type":"boolean"}},"required":["id","name","left","right"]},"minItems":1,"maxItems":8}},"required":["items","steps"]},"inputs":{"type":"object","additionalProperties":{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"rarity":{"type":"string","enum":["normal","magic","rare"]},"rolls":{"type":"string","enum":["minimum","maximum"]}},"required":["baseId","rarity","rolls"]}},"finalStep":{"type":"string","minLength":1,"maxLength":80},"required":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6,"default":[]},"exact":{"type":"boolean","default":false},"requiredBase":{"type":"string","default":"any"}},"required":["source","draft","inputs","finalStep"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/items/from-recombinator":{"post":{"operationId":"create_crafting_graph_from_recombinator_input","summary":"Prepare one catalog-selected recombinator input as a crafting graph acquisition. Requires an explicit concrete base, rarity and minimum/maximum roll assumption. Preserves canonical modifiers and item level, refuses unresolved custom text or probability flags, and leaves purchase price unknown. Returns a preview without saving; recombination steps and conditional preparation recipes are not imported.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"object","properties":{"patch":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["patch","manifestSha256","craftingSha256"],"additionalProperties":false},"selection":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":80},"prefixes":{"type":"string","maxLength":10000},"suffixes":{"type":"string","maxLength":10000},"catalog":{"type":"object","properties":{"base":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"itemClass":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"}}},"required":["id","name","itemClass","tags"]},"level":{"type":"integer","minimum":1,"maximum":100},"prefixes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"maxItems":3},"suffixes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"label":{"type":"string","minLength":1,"maxLength":2000},"group":{"type":"string","minLength":1,"maxLength":256},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256},"minItems":1},"exclusive":{"type":"boolean"},"nonNative":{"type":"boolean","default":false},"spawn":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"number","minimum":0}]}},"crafted":{"type":"boolean"}},"required":["id","group","exclusive"]},"maxItems":3}},"required":["base","level","prefixes","suffixes"]}},"required":["id","name","prefixes","suffixes"]},"baseId":{"type":"string","minLength":1},"rarity":{"type":"string","enum":["normal","magic","rare"]},"rolls":{"type":"string","enum":["minimum","maximum"]}},"required":["source","selection","baseId","rarity","rolls"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"itemText":{"type":"string"}},"required":["graph","itemText"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/workbench/item":{"post":{"operationId":"edit_crafting_starting_item","summary":"Create or edit a hypothetical starting item using the workbench's shared helpers. Supports full-item validation, seeded starting modifiers with their source, game-specific flag changes and allocated passives. Full-item validation covers edited rolls, sockets, quality, influences and other supported attributes. These are input assumptions, not paid crafts; no costs, execution history or browser draft are changed. Requires the current client build.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]},"patch":{"type":"string"},"command":{"oneOf":[{"type":"object","properties":{"baseId":{"type":"string","minLength":1},"level":{"type":"integer","minimum":1,"maximum":100},"kind":{"type":"string","enum":["create"]}},"required":["baseId","level","kind"]},{"type":"object","properties":{"kind":{"type":"string","enum":["validate"]},"item":{"$ref":"#/components/schemas/CraftingWorkbenchItem"}},"required":["kind","item"]},{"type":"object","properties":{"kind":{"type":"string","enum":["add-mod"]},"item":{"$ref":"#/components/schemas/CraftingWorkbenchItem"},"id":{"type":"string","minLength":1},"source":{"type":"string","enum":["natural","essence","emotion","revealed","attribute","ukatoa","influence"],"default":"natural"},"seed":{"type":"integer","minimum":0,"maximum":4294967295}},"required":["kind","item","id","seed"]},{"type":"object","properties":{"kind":{"type":"string","enum":["flag"]},"item":{"$ref":"#/components/schemas/CraftingWorkbenchItem"},"flag":{"type":"string","enum":["corrupted","mirrored","split","sanctified"]},"enabled":{"type":"boolean"}},"required":["kind","item","flag","enabled"]},{"type":"object","properties":{"kind":{"type":"string","enum":["passive"]},"item":{"$ref":"#/components/schemas/CraftingWorkbenchItem"},"id":{"type":"string","minLength":1}},"required":["kind","item","id"]}]}},"required":["game","patch","command"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/CraftingWorkbenchItem"}},"required":["item"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/workbench/item-text":{"post":{"operationId":"export_crafting_item_text","summary":"Export a supported item as Path of Building text with the browser's shared exporter. Refuses states that text cannot preserve, including pending choices. Requires the current client build. Use crafting/items/query-from-text to parse text against a retained ruleset and review all valid interpretations.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]},"patch":{"type":"string"},"item":{"$ref":"#/components/schemas/CraftingWorkbenchItem"}},"required":["game","patch","item"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string"}},"required":["text"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/workbench/optimize-fossils":{"post":{"operationId":"optimize_crafting_fossils","summary":"Rank explicit PoE 1 fossil combinations with the browser's seeded optimizer, including Allflame, Tangled choices and optional worker partitions. Returns sampled odds, intervals and known costs; missing prices remain unknown. Requires target requirements and the current client build. Server requests allow at most 5,000 trials per combination and 100,000 total trials in the selected partition; larger searches remain available in browser workers. Does not save or change a draft.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"project":{"$ref":"#/components/schemas/CraftingWorkbenchProject"},"options":{"type":"object","properties":{"fossils":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":40},"maxSockets":{"type":"integer","minimum":1,"maximum":4},"trials":{"type":"integer","minimum":100,"maximum":100000},"logic":{"type":"string","enum":["additive","multiplicative"]},"allflame":{"type":"boolean","enum":[true]},"tangled":{"type":"string","minLength":1},"partition":{"type":"object","properties":{"index":{"type":"integer","minimum":0},"count":{"type":"integer","minimum":1,"maximum":8}},"required":["index","count"]}},"required":["fossils","maxSockets","trials","logic"]}},"required":["project","options"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"completed":{"type":"integer","minimum":0},"total":{"type":"integer","minimum":0},"failed":{"type":"integer","minimum":0},"errors":{"type":"array","items":{"type":"string"}},"byAttempts":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0},"method":{"type":"object","properties":{"kind":{"type":"string","enum":["fossils"]},"allflame":{"type":"boolean","enum":[true]},"tangled":{"type":"string","minLength":1},"ids":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":4},"resonator":{"type":"string","minLength":1},"logic":{"type":"string","enum":["additive","multiplicative"],"default":"additive"}},"required":["kind","ids","resonator"]},"probability":{"type":"number","minimum":0,"maximum":1},"interval":{"type":"array","prefixItems":[{"type":"number","minimum":0,"maximum":1},{"type":"number","minimum":0,"maximum":1}]},"trials":{"type":"integer","minimum":0},"successes":{"type":"integer","minimum":0},"cost":{"type":["number","null"],"minimum":0},"costPerSuccess":{"type":["number","null"],"minimum":0}},"required":["index","method","probability","interval","trials","successes","cost","costPerSuccess"]},"maxItems":20},"byCost":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0},"method":{"type":"object","properties":{"kind":{"type":"string","enum":["fossils"]},"allflame":{"type":"boolean","enum":[true]},"tangled":{"type":"string","minLength":1},"ids":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":4},"resonator":{"type":"string","minLength":1},"logic":{"type":"string","enum":["additive","multiplicative"],"default":"additive"}},"required":["kind","ids","resonator"]},"probability":{"type":"number","minimum":0,"maximum":1},"interval":{"type":"array","prefixItems":[{"type":"number","minimum":0,"maximum":1},{"type":"number","minimum":0,"maximum":1}]},"trials":{"type":"integer","minimum":0},"successes":{"type":"integer","minimum":0},"cost":{"type":["number","null"],"minimum":0},"costPerSuccess":{"type":["number","null"],"minimum":0}},"required":["index","method","probability","interval","trials","successes","cost","costPerSuccess"]},"maxItems":20}},"required":["completed","total","failed","errors","byAttempts","byCost"]}},"required":["result"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/workbench/catalog":{"get":{"operationId":"get_crafting_workbench_catalog","summary":"Read the current game's workbench catalog. Workbench requests validate the client build; historical graph calculations use the separate pinned graph operations.","tags":["crafting"],"security":[],"parameters":[{"schema":{"type":"string","enum":["poe1","poe2"]},"required":true,"name":"game","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"catalog":{"$ref":"#/components/schemas/CraftingWorkbenchCatalog"}},"required":["catalog"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/workbench/calculate":{"post":{"operationId":"calculate_crafting_workbench","summary":"Run the browser's exact-or-sampled calculation or sampled process using the current workbench catalog and seed. Requires a target. Requests are bounded to 100,000 potential steps and 5,000 trials; manual-stop runs remain browser-only. Does not save a draft.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"project":{"$ref":"#/components/schemas/CraftingWorkbenchProject"},"mode":{"type":"string","enum":["calculate","sample","process"],"default":"calculate"}},"required":["project"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/CraftingWorkbenchResult"}},"required":["result"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/workbench/process":{"post":{"operationId":"emulate_crafting_process","summary":"Emulate one bounded process using the same seeded process as the browser worker. Returns the resulting item, consumed currencies, routes, errors and timeout status without saving or recording real progress.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"project":{"$ref":"#/components/schemas/CraftingWorkbenchProject"}},"required":["project"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/CraftingProcessResult"}},"required":["result"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/workbench/emulate":{"post":{"operationId":"emulate_crafting_item","summary":"Apply one seeded workbench action or select a reveal/Allflame choice. Returns the item, newly charged costs and action count. Allflame preview costs are deferred until a copy is chosen; paid bench conflicts return the changed item and error. Uses the current client build and never saves a draft.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]},"patch":{"type":"string"},"item":{"$ref":"#/components/schemas/CraftingItem"},"command":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["apply"]},"method":{"$ref":"#/components/schemas/CraftingMethod"}},"required":["kind","method"]},{"type":"object","properties":{"kind":{"type":"string","enum":["select-unrevealed"]},"index":{"type":"integer","minimum":0,"maximum":5}},"required":["kind","index"]},{"type":"object","properties":{"kind":{"type":"string","enum":["prepare-reveal"]},"omens":{"type":"array","items":{"type":"string","minLength":1},"maxItems":4}},"required":["kind"]},{"type":"object","properties":{"kind":{"type":"string","enum":["reroll-reveal"]}},"required":["kind"]},{"type":"object","properties":{"kind":{"type":"string","enum":["choose-revealed"]},"id":{"type":"string","minLength":1}},"required":["kind","id"]},{"type":"object","properties":{"kind":{"type":"string","enum":["choose-allflame"]},"index":{"type":"integer","minimum":0,"maximum":10}},"required":["kind","index"]}]},"seed":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["game","patch","item","command","seed"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/CraftingItem"},"cost":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"amount":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","amount"]}},"actions":{"type":"number"},"error":{"type":"string"}},"required":["item","cost","actions"]}},"required":["result"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/cloud/get":{"get":{"operationId":"get_saved_crafting_workspace","summary":"Read the authenticated account's private crafting projects, builds, cloud revision and default storage preference. Does not synchronize browser storage.","tags":["crafting"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CraftingCloudState"}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/cloud/save":{"post":{"operationId":"save_crafting_workspace","summary":"Save the authenticated account's private crafting bundle using its last-read cloud revision. Rejects concurrent edits and invalid build references. Publishing is a separate operation.","tags":["crafting"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"bundle":{"$ref":"#/components/schemas/CraftingBundle"},"expectedRevision":{"type":"integer","minimum":0}},"required":["bundle","expectedRevision"],"additionalProperties":false}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CraftingCloudState"}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/cloud/preference":{"post":{"operationId":"set_crafting_storage_preference","summary":"Choose local or cloud as the authenticated account's default crafting storage. Preserves existing cloud drafts and does not itself upload browser data or publish anything.","tags":["crafting"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"defaultStorage":{"type":"string","enum":["local","cloud"]}},"required":["defaultStorage"],"additionalProperties":false}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CraftingCloudState"}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/shares/create":{"post":{"operationId":"create_crafting_share","summary":"Explicitly publish a frozen or live link to an owned saved item plan or build at the last-read cloud revision. Frozen builds embed every referenced plan. Anyone holding the returned share ID can read that selected process. Frozen rules stay pinned; price bindings remain live by default.","tags":["crafting"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"target":{"type":"object","properties":{"kind":{"type":"string","enum":["project","build"]},"id":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","id"],"additionalProperties":false},"mode":{"type":"string","enum":["frozen","live"]},"expectedRevision":{"type":"integer","minimum":0}},"required":["target","mode","expectedRevision"],"additionalProperties":false}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"target":{"type":"object","properties":{"kind":{"type":"string","enum":["project","build"]},"id":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","id"],"additionalProperties":false},"mode":{"type":"string","enum":["frozen","live"]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","target","mode","createdAt"],"additionalProperties":false}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/shares/get":{"get":{"operationId":"get_crafting_share","summary":"Read a published crafting process by its unguessable share ID. Live links follow saved changes; frozen links preserve the shared process. Returns only the selected plan/build and its dependencies, with captured prices that callers refresh separately for live valuation.","tags":["crafting"],"security":[],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"target":{"type":"object","properties":{"kind":{"type":"string","enum":["project","build"]},"id":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","id"],"additionalProperties":false},"mode":{"type":"string","enum":["frozen","live"]},"createdAt":{"type":"string","format":"date-time"},"bundle":{"$ref":"#/components/schemas/CraftingBundle"},"workspaceRevision":{"type":"integer","minimum":0},"prices":{"type":"string","enum":["live"]}},"required":["id","target","mode","createdAt","bundle","workspaceRevision","prices"],"additionalProperties":false}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/shares/list":{"get":{"operationId":"list_crafting_shares","summary":"List the authenticated account's active crafting share links for management. Private drafts are not published by listing them.","tags":["crafting"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"shares":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"target":{"type":"object","properties":{"kind":{"type":"string","enum":["project","build"]},"id":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","id"],"additionalProperties":false},"mode":{"type":"string","enum":["frozen","live"]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","target","mode","createdAt"],"additionalProperties":false}}},"required":["shares"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/shares/revoke":{"post":{"operationId":"revoke_crafting_share","summary":"Revoke an owned crafting share link without changing saved projects, builds or browser drafts. Other accounts cannot revoke it.","tags":["crafting"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true]}},"required":["ok"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/items/query":{"post":{"operationId":"create_item_query","summary":"Create editable shared item requirements from an API-shaped item and resolved facts. Includes selected known properties, reports missing knowledge, and never guesses modifier identities.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"item":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]},"source":{"type":"string","enum":["stash","trade","paste","craft"]},"item":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"typeLine":{"type":"string"},"baseType":{"type":"string","minLength":1,"maxLength":500},"ilvl":{"type":"integer","minimum":0},"itemLevel":{"type":"integer","minimum":0},"rarity":{"type":"string","enum":["Normal","Magic","Rare","Unique","Currency","Gem","Relic"]},"frameType":{"type":"integer","minimum":0},"frameTypeId":{"type":"string"},"identified":{"type":"boolean"},"corrupted":{"type":"boolean"},"duplicated":{"type":"boolean"},"fractured":{"type":"boolean"},"split":{"type":"boolean"},"synthesised":{"type":"boolean"},"sanctified":{"type":"boolean"},"influences":{"type":"object","additionalProperties":{"type":"boolean"}},"sockets":{"type":"array","items":{"type":"object","properties":{"group":{"type":"integer","minimum":0},"attr":{"type":"string"},"sColour":{"type":"string"},"type":{"type":"string"},"item":{"type":"string"}},"required":["group"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}},"explicitMods":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","properties":{"description":{"type":"string"},"flags":{"type":"object","properties":{"fractured":{"type":"boolean"},"crafted":{"type":"boolean"},"desecrated":{"type":"boolean"},"mutated":{"type":"boolean"},"vestigial":{"type":"boolean"}},"additionalProperties":{"type":["string","number","boolean","null","array","object"]}},"mods":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"tier":{"type":"string"},"level":{"type":"integer","minimum":0}},"required":["name","tier"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}}},"required":["description"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}]}},"implicitMods":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","properties":{"description":{"type":"string"},"flags":{"type":"object","properties":{"fractured":{"type":"boolean"},"crafted":{"type":"boolean"},"desecrated":{"type":"boolean"},"mutated":{"type":"boolean"},"vestigial":{"type":"boolean"}},"additionalProperties":{"type":["string","number","boolean","null","array","object"]}},"mods":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"tier":{"type":"string"},"level":{"type":"integer","minimum":0}},"required":["name","tier"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}}},"required":["description"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}]}},"craftedMods":{"type":"array","items":{"type":"string"}},"fracturedMods":{"type":"array","items":{"type":"string"}},"extended":{"type":"object","properties":{"prefixes":{"type":"integer","minimum":0},"suffixes":{"type":"integer","minimum":0}},"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}},"required":["baseType"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}},"facts":{"type":"object","properties":{"baseId":{"type":"string","minLength":1,"maxLength":500},"baseTypeAmbiguous":{"type":"boolean"},"itemClass":{"type":"string","minLength":1,"maxLength":500},"qualityType":{"type":"string","minLength":1,"maxLength":500},"catalystId":{"type":"string","minLength":1,"maxLength":500},"quality":{"type":"integer","minimum":0},"catalystQuality":{"type":"integer","minimum":0},"modifiers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":500},"possibleIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":2,"maxItems":100},"name":{"type":"string"},"side":{"type":"string","enum":["prefix","suffix","implicit"]},"tier":{"type":"integer","minimum":0},"fractured":{"type":"boolean"},"crafted":{"type":"boolean"}},"additionalProperties":false},"maxItems":100,"default":[]},"modifiersComplete":{"type":"boolean","default":false},"prefixes":{"type":"integer","minimum":0},"suffixes":{"type":"integer","minimum":0},"prefixLimit":{"type":"integer","minimum":0},"memoryStrands":{"type":"integer","minimum":0},"memoryStrandsSpent":{"type":"integer","minimum":0},"suffixLimit":{"type":"integer","minimum":0},"socketCount":{"type":"integer","minimum":0},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"],"additionalProperties":false},"stats":{"type":"object","properties":{"explicit":{"type":"object","additionalProperties":{"type":"number"},"default":{}},"implicit":{"type":"object","additionalProperties":{"type":"number"},"default":{}},"total":{"type":"object","additionalProperties":{"type":"number"},"default":{}}},"default":{}},"statsComplete":{"type":"boolean","default":false},"destroyed":{"type":"boolean","default":false}},"default":{},"additionalProperties":false}},"required":["game","source","item"],"additionalProperties":false},"selection":{"type":"object","properties":{"minimumLevel":{"type":"boolean","default":true},"rarity":{"type":"boolean","default":true},"flags":{"type":"boolean","default":true},"modifiers":{"type":"boolean","default":true},"implicitModifiers":{"type":"boolean","default":false},"openAffixes":{"type":"boolean","default":false},"sockets":{"type":"boolean","default":false}},"default":{},"additionalProperties":false}},"required":["item"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"query":{"$ref":"#/components/schemas/ItemQuery"},"warnings":{"type":"array","items":{"type":"string"}}},"required":["query","warnings"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/items/query-from-text":{"post":{"operationId":"create_item_queries_from_text","summary":"Resolve English copied item or Path of Building text against a selected catalog and create editable item queries. Returns all supported interpretations for explicit selection; does not silently choose an ambiguous base or modifier tier.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]},"ruleset":{"type":"object","properties":{"era":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"revision":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"engine":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"patch":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["era","revision","engine","patch","manifestSha256","craftingSha256"],"additionalProperties":false},"text":{"type":"string","minLength":1,"maxLength":50000},"selection":{"type":"object","properties":{"minimumLevel":{"type":"boolean","default":true},"rarity":{"type":"boolean","default":true},"flags":{"type":"boolean","default":true},"modifiers":{"type":"boolean","default":true},"implicitModifiers":{"type":"boolean","default":false},"openAffixes":{"type":"boolean","default":false},"sockets":{"type":"boolean","default":false}},"default":{},"additionalProperties":false}},"required":["game","ruleset","text"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/CraftingItem"},"record":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]},"source":{"type":"string","enum":["stash","trade","paste","craft"]},"item":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"typeLine":{"type":"string"},"baseType":{"type":"string","minLength":1,"maxLength":500},"ilvl":{"type":"integer","minimum":0},"itemLevel":{"type":"integer","minimum":0},"rarity":{"type":"string","enum":["Normal","Magic","Rare","Unique","Currency","Gem","Relic"]},"frameType":{"type":"integer","minimum":0},"frameTypeId":{"type":"string"},"identified":{"type":"boolean"},"corrupted":{"type":"boolean"},"duplicated":{"type":"boolean"},"fractured":{"type":"boolean"},"split":{"type":"boolean"},"synthesised":{"type":"boolean"},"sanctified":{"type":"boolean"},"influences":{"type":"object","additionalProperties":{"type":"boolean"}},"sockets":{"type":"array","items":{"type":"object","properties":{"group":{"type":"integer","minimum":0},"attr":{"type":"string"},"sColour":{"type":"string"},"type":{"type":"string"},"item":{"type":"string"}},"required":["group"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}},"explicitMods":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","properties":{"description":{"type":"string"},"flags":{"type":"object","properties":{"fractured":{"type":"boolean"},"crafted":{"type":"boolean"},"desecrated":{"type":"boolean"},"mutated":{"type":"boolean"},"vestigial":{"type":"boolean"}},"additionalProperties":{"type":["string","number","boolean","null","array","object"]}},"mods":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"tier":{"type":"string"},"level":{"type":"integer","minimum":0}},"required":["name","tier"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}}},"required":["description"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}]}},"implicitMods":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","properties":{"description":{"type":"string"},"flags":{"type":"object","properties":{"fractured":{"type":"boolean"},"crafted":{"type":"boolean"},"desecrated":{"type":"boolean"},"mutated":{"type":"boolean"},"vestigial":{"type":"boolean"}},"additionalProperties":{"type":["string","number","boolean","null","array","object"]}},"mods":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"tier":{"type":"string"},"level":{"type":"integer","minimum":0}},"required":["name","tier"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}}},"required":["description"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}]}},"craftedMods":{"type":"array","items":{"type":"string"}},"fracturedMods":{"type":"array","items":{"type":"string"}},"extended":{"type":"object","properties":{"prefixes":{"type":"integer","minimum":0},"suffixes":{"type":"integer","minimum":0}},"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}},"required":["baseType"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}},"facts":{"type":"object","properties":{"baseId":{"type":"string","minLength":1,"maxLength":500},"baseTypeAmbiguous":{"type":"boolean"},"itemClass":{"type":"string","minLength":1,"maxLength":500},"qualityType":{"type":"string","minLength":1,"maxLength":500},"catalystId":{"type":"string","minLength":1,"maxLength":500},"quality":{"type":"integer","minimum":0},"catalystQuality":{"type":"integer","minimum":0},"modifiers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":500},"possibleIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":2,"maxItems":100},"name":{"type":"string"},"side":{"type":"string","enum":["prefix","suffix","implicit"]},"tier":{"type":"integer","minimum":0},"fractured":{"type":"boolean"},"crafted":{"type":"boolean"}},"additionalProperties":false},"maxItems":100,"default":[]},"modifiersComplete":{"type":"boolean","default":false},"prefixes":{"type":"integer","minimum":0},"suffixes":{"type":"integer","minimum":0},"prefixLimit":{"type":"integer","minimum":0},"memoryStrands":{"type":"integer","minimum":0},"memoryStrandsSpent":{"type":"integer","minimum":0},"suffixLimit":{"type":"integer","minimum":0},"socketCount":{"type":"integer","minimum":0},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"],"additionalProperties":false},"stats":{"type":"object","properties":{"explicit":{"type":"object","additionalProperties":{"type":"number"},"default":{}},"implicit":{"type":"object","additionalProperties":{"type":"number"},"default":{}},"total":{"type":"object","additionalProperties":{"type":"number"},"default":{}}},"default":{}},"statsComplete":{"type":"boolean","default":false},"destroyed":{"type":"boolean","default":false}},"default":{},"additionalProperties":false}},"required":["game","source","item"],"additionalProperties":false},"query":{"$ref":"#/components/schemas/ItemQuery"},"warnings":{"type":"array","items":{"type":"string"}}},"required":["item","record","query","warnings"]}}},"required":["matches"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/market/sources":{"post":{"operationId":"find_crafting_source_prices","summary":"Look up PoE 1 PC captured currency, beast and temple asking prices. Items observed on the exchange at the selected cutoff require exchange quotes instead of stash asks, including when the current exchange hour has no trades. Supported fixed-effect currency actions and catalog essences require an exact unique catalog identity and a positive latest captured bucket within 24 completed hours; currencies with stored item, monster or experience payloads are excluded. at selects historical captured hours. Optional exchange-v1 conversion preserves original asks and matching-hour exchange evidence. Explicit vendorUpgrade selects an exact lower-tier essence upgrade or one-step NPC currency purchase, priced from its captured ingredient exchange quote. This ingredient-cost estimate retains the recipe and purchase instructions; it is not a direct output trade. Beast recipes price each named beast from its captured species asks plus a generic Yellow Beast pool using a listing-count-weighted mean of species asks, not a median of listings or a unique-seller count; the Locus of Corruption prices one Chronicle of Atzoatl whose only open tier 3 crafting room (of Locus of Corruption and Doryani's Institute) is the Locus. Each market uses its median merchant-tab ask in the latest priced hour within 24 completed hours of at, converted from chaos, divine or exalted at that hour's exchange rate when needed. Saved species-specific estimates require rebinding. Confidence is uncalibrated.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":500},"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"assumption":{"type":"string","enum":["rare-beast-mountain-lynx-v1"]},"conversion":{"type":"string","enum":["exchange-v1"]},"vendorUpgrade":{"type":"object","properties":{"inputId":{"type":"string","minLength":1,"maxLength":500},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]}},"required":["inputId"],"additionalProperties":false},"at":{"type":"integer","minimum":0},"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["ids","realm","graph"],"additionalProperties":false}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"quotes":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","properties":{"game":{"type":"string","enum":["poe1"]},"realm":{"type":"string","enum":["pc"]},"league":{"type":"string","minLength":1,"maxLength":100},"currency":{"type":"string","enum":["chaos","divine","exalted"]},"id":{"type":"string","minLength":1,"maxLength":500},"source":{"type":"string","enum":["stash-recipe"]},"yellowBeasts":{"type":"string","enum":["listing-count-weighted-mean-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":"integer","minimum":0},"components":{"type":"array","items":{"type":"object","properties":{"itemKey":{"type":"string","minLength":1,"maxLength":200},"rooms":{"type":"string","maxLength":200},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":4},"unitPrice":{"type":"number","exclusiveMinimum":0},"listingCount":{"type":"integer","exclusiveMinimum":0},"hour":{"type":"integer","minimum":0},"exchange":{"type":"object","properties":{"currency":{"type":"string","enum":["chaos","divine","exalted"]},"unitPrice":{"type":"number","exclusiveMinimum":0},"rate":{"type":"number","exclusiveMinimum":0}},"required":["currency","unitPrice","rate"],"additionalProperties":false},"pool":{"type":"object","properties":{"estimator":{"type":"string","enum":["listing-count-weighted-mean-v1"]},"species":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"unitPrice":{"type":"number","exclusiveMinimum":0},"listingCount":{"type":"integer","exclusiveMinimum":0},"hour":{"type":"integer","minimum":0},"exchange":{"type":"object","properties":{"currency":{"type":"string","enum":["chaos","divine","exalted"]},"unitPrice":{"type":"number","exclusiveMinimum":0},"rate":{"type":"number","exclusiveMinimum":0}},"required":["currency","unitPrice","rate"],"additionalProperties":false}},"required":["name","unitPrice","listingCount","hour"],"additionalProperties":false},"minItems":1,"maxItems":300}},"required":["estimator","species"],"additionalProperties":false}},"required":["itemKey","quantity","unitPrice","listingCount","hour"],"additionalProperties":false},"minItems":1,"maxItems":4}},"required":["game","realm","league","currency","id","source","amount","hour","components"],"additionalProperties":false},{"type":"object","properties":{"game":{"type":"string","enum":["poe1"]},"realm":{"type":"string","enum":["pc"]},"league":{"type":"string","minLength":1,"maxLength":100},"currency":{"type":"string","enum":["chaos","divine","exalted"]},"id":{"type":"string","minLength":1,"maxLength":500},"source":{"type":"string","enum":["stash-commodity"]},"baseType":{"type":"string","minLength":1,"maxLength":100},"variant":{"type":"string","enum":["empty-resonator-v1"]},"conversion":{"type":"string","enum":["exchange-v1"]},"exchange":{"type":"object","properties":{"currency":{"type":"string","enum":["chaos","divine","exalted"]},"amount":{"type":"number","exclusiveMinimum":0},"low":{"type":"number","exclusiveMinimum":0},"high":{"type":"number","exclusiveMinimum":0},"quote":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1","cross-rate-v1"]},"legs":{"type":"array","prefixItems":[{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false},{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}},"required":["currency","amount","low","high","quote"],"additionalProperties":false},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":"integer","minimum":0},"low":{"type":"number","exclusiveMinimum":0},"high":{"type":"number","exclusiveMinimum":0},"samples":{"type":"integer","exclusiveMinimum":0},"listingCount":{"type":"integer","exclusiveMinimum":0},"uniqueSellers":{"type":"integer","exclusiveMinimum":0}},"required":["game","realm","league","currency","id","source","baseType","amount","hour","low","high","samples","listingCount","uniqueSellers"],"additionalProperties":false},{"type":"object","properties":{"game":{"type":"string","enum":["poe1"]},"realm":{"type":"string","enum":["pc"]},"league":{"type":"string","minLength":1,"maxLength":100},"currency":{"type":"string","enum":["chaos","divine","exalted"]},"id":{"type":"string","minLength":1,"maxLength":500},"source":{"type":"string","enum":["vendor-upgrade"]},"path":{"type":"object","properties":{"inputId":{"type":"string","minLength":1,"maxLength":500},"inputName":{"type":"string","minLength":1,"maxLength":100},"outputId":{"type":"string","minLength":1,"maxLength":500},"outputName":{"type":"string","minLength":1,"maxLength":100},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":729},"steps":{"type":"array","items":{"type":"object","properties":{"recipeId":{"type":"string","minLength":1,"maxLength":150},"inputId":{"type":"string","minLength":1,"maxLength":500},"inputName":{"type":"string","minLength":1,"maxLength":100},"outputId":{"type":"string","minLength":1,"maxLength":500},"outputName":{"type":"string","minLength":1,"maxLength":100},"inputQuantity":{"type":"integer","exclusiveMinimum":0,"maximum":729},"outputQuantity":{"type":"number","enum":[1]},"method":{"type":"string","enum":["purchase"]},"instructions":{"type":"string","minLength":1,"maxLength":500},"sourceUrl":{"type":"string","maxLength":1000}},"required":["recipeId","inputId","inputName","outputId","outputName","inputQuantity","outputQuantity"],"additionalProperties":false},"minItems":1,"maxItems":6}},"required":["inputId","inputName","outputId","outputName","quantity","steps"],"additionalProperties":false},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"ingredient":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1","cross-rate-v1"]},"legs":{"type":"array","prefixItems":[{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false},{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false},"amount":{"type":"number","exclusiveMinimum":0}},"required":["game","realm","league","currency","id","source","path","ingredient","amount"],"additionalProperties":false}]}},"missing":{"type":"object","additionalProperties":{"type":"string"}}},"required":["quotes","missing"],"additionalProperties":false}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/market/sources/bind":{"post":{"operationId":"bind_crafting_source_price","summary":"Return a graph with one input explicitly bound to captured currency asks, a verified vendor-upgrade ingredient estimate, or a complete beast/temple recipe. Validates source scope, canonical identity, exact recipe path and quantities. Explicit selection replaces a manual amount; refresh preserves the source and selected vendor ingredient/path. Captured history retains actual observation hours. Refresh rebinds a price saved from poe.ninja to captured listings. Does not save account data.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"id":{"type":"string"},"quote":{"oneOf":[{"type":"object","properties":{"game":{"type":"string","enum":["poe1"]},"realm":{"type":"string","enum":["pc"]},"league":{"type":"string","minLength":1,"maxLength":100},"currency":{"type":"string","enum":["chaos","divine","exalted"]},"id":{"type":"string","minLength":1,"maxLength":500},"source":{"type":"string","enum":["stash-recipe"]},"yellowBeasts":{"type":"string","enum":["listing-count-weighted-mean-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":"integer","minimum":0},"components":{"type":"array","items":{"type":"object","properties":{"itemKey":{"type":"string","minLength":1,"maxLength":200},"rooms":{"type":"string","maxLength":200},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":4},"unitPrice":{"type":"number","exclusiveMinimum":0},"listingCount":{"type":"integer","exclusiveMinimum":0},"hour":{"type":"integer","minimum":0},"exchange":{"type":"object","properties":{"currency":{"type":"string","enum":["chaos","divine","exalted"]},"unitPrice":{"type":"number","exclusiveMinimum":0},"rate":{"type":"number","exclusiveMinimum":0}},"required":["currency","unitPrice","rate"],"additionalProperties":false},"pool":{"type":"object","properties":{"estimator":{"type":"string","enum":["listing-count-weighted-mean-v1"]},"species":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"unitPrice":{"type":"number","exclusiveMinimum":0},"listingCount":{"type":"integer","exclusiveMinimum":0},"hour":{"type":"integer","minimum":0},"exchange":{"type":"object","properties":{"currency":{"type":"string","enum":["chaos","divine","exalted"]},"unitPrice":{"type":"number","exclusiveMinimum":0},"rate":{"type":"number","exclusiveMinimum":0}},"required":["currency","unitPrice","rate"],"additionalProperties":false}},"required":["name","unitPrice","listingCount","hour"],"additionalProperties":false},"minItems":1,"maxItems":300}},"required":["estimator","species"],"additionalProperties":false}},"required":["itemKey","quantity","unitPrice","listingCount","hour"],"additionalProperties":false},"minItems":1,"maxItems":4}},"required":["game","realm","league","currency","id","source","amount","hour","components"],"additionalProperties":false},{"type":"object","properties":{"game":{"type":"string","enum":["poe1"]},"realm":{"type":"string","enum":["pc"]},"league":{"type":"string","minLength":1,"maxLength":100},"currency":{"type":"string","enum":["chaos","divine","exalted"]},"id":{"type":"string","minLength":1,"maxLength":500},"source":{"type":"string","enum":["stash-commodity"]},"baseType":{"type":"string","minLength":1,"maxLength":100},"variant":{"type":"string","enum":["empty-resonator-v1"]},"conversion":{"type":"string","enum":["exchange-v1"]},"exchange":{"type":"object","properties":{"currency":{"type":"string","enum":["chaos","divine","exalted"]},"amount":{"type":"number","exclusiveMinimum":0},"low":{"type":"number","exclusiveMinimum":0},"high":{"type":"number","exclusiveMinimum":0},"quote":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1","cross-rate-v1"]},"legs":{"type":"array","prefixItems":[{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false},{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}},"required":["currency","amount","low","high","quote"],"additionalProperties":false},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":"integer","minimum":0},"low":{"type":"number","exclusiveMinimum":0},"high":{"type":"number","exclusiveMinimum":0},"samples":{"type":"integer","exclusiveMinimum":0},"listingCount":{"type":"integer","exclusiveMinimum":0},"uniqueSellers":{"type":"integer","exclusiveMinimum":0}},"required":["game","realm","league","currency","id","source","baseType","amount","hour","low","high","samples","listingCount","uniqueSellers"],"additionalProperties":false},{"type":"object","properties":{"game":{"type":"string","enum":["poe1"]},"realm":{"type":"string","enum":["pc"]},"league":{"type":"string","minLength":1,"maxLength":100},"currency":{"type":"string","enum":["chaos","divine","exalted"]},"id":{"type":"string","minLength":1,"maxLength":500},"source":{"type":"string","enum":["vendor-upgrade"]},"path":{"type":"object","properties":{"inputId":{"type":"string","minLength":1,"maxLength":500},"inputName":{"type":"string","minLength":1,"maxLength":100},"outputId":{"type":"string","minLength":1,"maxLength":500},"outputName":{"type":"string","minLength":1,"maxLength":100},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":729},"steps":{"type":"array","items":{"type":"object","properties":{"recipeId":{"type":"string","minLength":1,"maxLength":150},"inputId":{"type":"string","minLength":1,"maxLength":500},"inputName":{"type":"string","minLength":1,"maxLength":100},"outputId":{"type":"string","minLength":1,"maxLength":500},"outputName":{"type":"string","minLength":1,"maxLength":100},"inputQuantity":{"type":"integer","exclusiveMinimum":0,"maximum":729},"outputQuantity":{"type":"number","enum":[1]},"method":{"type":"string","enum":["purchase"]},"instructions":{"type":"string","minLength":1,"maxLength":500},"sourceUrl":{"type":"string","maxLength":1000}},"required":["recipeId","inputId","inputName","outputId","outputName","inputQuantity","outputQuantity"],"additionalProperties":false},"minItems":1,"maxItems":6}},"required":["inputId","inputName","outputId","outputName","quantity","steps"],"additionalProperties":false},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"ingredient":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1","cross-rate-v1"]},"legs":{"type":"array","prefixItems":[{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false},{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false},"amount":{"type":"number","exclusiveMinimum":0}},"required":["game","realm","league","currency","id","source","path","ingredient","amount"],"additionalProperties":false}]}},"required":["graph","id","quote"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/market/snapshots":{"post":{"operationId":"get_crafting_price_snapshots","summary":"Reprice an unchanged process at up to 24 historical UTC hours using each binding's latest observation at or before that hour. Returns independent snapshots for retained-engine calculation, preserving manual assumptions and acquisition choices. Missing bound prices produce a gap, never a cached present-day price. Does not save or modify the live project.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"hours":{"type":"array","items":{"type":"integer","minimum":0},"minItems":1,"maxItems":24}},"required":["graph","hours"],"additionalProperties":false}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"points":{"type":"array","items":{"type":"object","properties":{"at":{"type":"integer","minimum":0},"graph":{"allOf":[{"$ref":"#/components/schemas/CraftingGraph"},{"type":["object","null"]}]},"issues":{"type":"array","items":{"type":"string"}}},"required":["at","graph","issues"],"additionalProperties":false}}},"required":["points"],"additionalProperties":false}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/market/exchange":{"post":{"operationId":"find_crafting_exchange_prices","summary":"Look up captured exchange trade-volume estimates for canonical crafting inputs in either game at the latest completed hour, or the completed hour selected by at. Missing, zero-volume or conflicting observations at that hour remain unknown. Optional adaptive-v1 widens a positive selected-hour anchor over complete 1/6/24-hour windows below 100 traded input units while hourly prices vary at most 10%. Optional reference-currency-v1 converts missing direct pairs through positive chaos/divine/exalted legs at that same selected hour. Optional two-leg-exchange-v1 also considers other traded intermediaries at that hour, failing closed if the 5,000-market discovery limit is exceeded. Conversion preserves both legs and the selected policy without rolling back to an older common hour. These are historical trades, not current buy offers or calibrated confidence.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]},"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"currency":{"type":"string","minLength":1,"maxLength":500},"itemIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":500},"at":{"type":"integer","minimum":0},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]}},"required":["game","realm","league","currency","itemIds"],"additionalProperties":false}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"quotes":{"type":"object","additionalProperties":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1","cross-rate-v1"]},"legs":{"type":"array","prefixItems":[{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false},{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}},"missing":{"type":"object","additionalProperties":{"type":"string"}}},"required":["quotes","missing"],"additionalProperties":false}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/market/exchange/bind":{"post":{"operationId":"bind_crafting_exchange_price","summary":"Return a graph with one currency or essence cost bound to an exchange estimate. Checks item ID, game, league and accounting currency; selecting a quote explicitly replaces any manual amount for that cost.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"id":{"type":"string"},"quote":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1","cross-rate-v1"]},"legs":{"type":"array","prefixItems":[{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false},{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}},"required":["graph","id","quote"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/market/exchange/history":{"post":{"operationId":"get_crafting_exchange_price_history","summary":"Read paginated, realm/league-scoped hourly exchange volumes and ranges for a direct currency pair, retaining zero-volume hours as unknown prices.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"before":{"type":"integer","minimum":0},"limit":{"type":"integer","minimum":1,"maximum":1000,"default":168}},"required":["realm","league","itemId","quoteId"],"additionalProperties":false}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"history":{"type":"array","items":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"marketId":{"type":"string","minLength":1,"maxLength":1001},"hour":{"type":"integer","minimum":0},"volumeTraded":{"type":["object","null"],"additionalProperties":{"type":"number","minimum":0}},"lowestRatio":{"type":["object","null"],"additionalProperties":{"type":"number","minimum":0}},"highestRatio":{"type":["object","null"],"additionalProperties":{"type":"number","minimum":0}}},"required":["realm","league","marketId","hour","volumeTraded","lowestRatio","highestRatio"]}},"nextBefore":{"type":["number","null"]}},"required":["history","nextBefore"],"additionalProperties":false}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/market/bind":{"post":{"operationId":"bind_crafting_item_price","summary":"Return a graph with a purchase priced from a supplied cohort snapshot. Checks item, output requirements, currency and league. Display-equivalent donor families require an explicit display-equivalent-v1 representative-item assumption and catalog validation. Saves the assumption and qualified cohort reference for live refresh; does not save account data or change acquisition pinning.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"nodeId":{"type":"string"},"alternativeId":{"type":"string"},"candidate":{"type":"object","properties":{"definition":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"name":{"type":"string","minLength":1,"maxLength":300},"purpose":{"type":"string","enum":["base","fracture","isolated-modifier","transfer-donor"]},"query":{"$ref":"#/components/schemas/ItemQuery"},"revision":{"type":"string","minLength":1,"maxLength":100},"catalogHash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["id","name","purpose","query","revision","catalogHash"],"additionalProperties":false},"latest":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony"]},"league":{"type":"string","minLength":1,"maxLength":100},"hour":{"type":"integer","minimum":0},"revision":{"type":"string","minLength":1,"maxLength":100},"cohortId":{"type":"string","minLength":1,"maxLength":128},"listingCount":{"type":"integer","minimum":0},"uniqueSellers":{"type":"integer","minimum":0},"unknownCount":{"type":"integer","minimum":0},"prices":{"type":"object","additionalProperties":{"type":"object","properties":{"count":{"type":"integer","exclusiveMinimum":0},"sellers":{"type":"integer","exclusiveMinimum":0},"min":{"type":"number","exclusiveMinimum":0},"median":{"type":"number","exclusiveMinimum":0},"max":{"type":"number","exclusiveMinimum":0},"confidence":{"type":"number","minimum":0,"maximum":1},"windows":{"type":"object","properties":{"6":{"type":"object","properties":{"count":{"type":"integer","exclusiveMinimum":0},"sellers":{"type":"integer","exclusiveMinimum":0},"min":{"type":"number","exclusiveMinimum":0},"median":{"type":"number","exclusiveMinimum":0},"max":{"type":"number","exclusiveMinimum":0},"confidence":{"type":"number","minimum":0,"maximum":1},"listingCount":{"type":"integer","minimum":0},"unknownCount":{"type":"integer","minimum":0},"hourlyMedianMin":{"type":"number","exclusiveMinimum":0},"hourlyMedianMax":{"type":"number","exclusiveMinimum":0}},"required":["count","sellers","min","median","max","confidence","listingCount","unknownCount","hourlyMedianMin","hourlyMedianMax"],"additionalProperties":false},"24":{"type":"object","properties":{"count":{"type":"integer","exclusiveMinimum":0},"sellers":{"type":"integer","exclusiveMinimum":0},"min":{"type":"number","exclusiveMinimum":0},"median":{"type":"number","exclusiveMinimum":0},"max":{"type":"number","exclusiveMinimum":0},"confidence":{"type":"number","minimum":0,"maximum":1},"listingCount":{"type":"integer","minimum":0},"unknownCount":{"type":"integer","minimum":0},"hourlyMedianMin":{"type":"number","exclusiveMinimum":0},"hourlyMedianMax":{"type":"number","exclusiveMinimum":0}},"required":["count","sellers","min","median","max","confidence","listingCount","unknownCount","hourlyMedianMin","hourlyMedianMax"],"additionalProperties":false}},"additionalProperties":false}},"required":["count","sellers","min","median","max","confidence"],"additionalProperties":false}},"confidenceMethod":{"type":"string","enum":["asking-sellers-coverage-v1"]},"firstSeenAt":{"type":["string","null"],"maxLength":32},"lastSeenAt":{"type":["string","null"],"maxLength":32}},"required":["realm","league","hour","revision","cohortId","listingCount","uniqueSellers","unknownCount","prices","confidenceMethod","firstSeenAt","lastSeenAt"],"additionalProperties":false},"covered":{"type":"boolean"},"reasons":{"type":"array","items":{"type":"string"}},"window":{"type":"string","enum":["adaptive-v1"]},"assumption":{"type":"string","enum":["display-equivalent-v1"]},"sourcePreparation":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["fractured-fossil-v1"]},"fractureId":{"type":"string","minLength":1,"maxLength":500},"crafted":{"type":"boolean"},"enchanted":{"type":"boolean"}},"required":["kind","fractureId","crafted","enchanted"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["scour-v1"]},"crafted":{"type":"boolean"},"enchanted":{"type":"boolean"}},"required":["kind","crafted","enchanted"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["influence-ready-v1"]}},"required":["kind"],"additionalProperties":false}]},"conversion":{"type":"string","enum":["exchange-v1"]},"exchange":{"type":"object","properties":{"currency":{"type":"string","enum":["chaos","divine","exalted","mirror","blessed","chrome","gcp","jewellers","scour","regret","fusing","chance","alt","alch","regal","vaal"]},"quote":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1","cross-rate-v1"]},"legs":{"type":"array","prefixItems":[{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false},{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}},"required":["currency","quote"],"additionalProperties":false}},"required":["definition","latest","covered","reasons"],"additionalProperties":false}},"required":["graph","nodeId","alternativeId","candidate"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/market/refresh":{"post":{"operationId":"refresh_crafting_item_prices","summary":"Refresh bound equipment purchases, exchange costs, captured currency asks, explicit vendor-upgrade ingredients and supported beast/temple estimates using their saved source scope and policies. Equipment follows the saved cohort ID. Preserves manual prices and crafting rules. Returns issues when compatibility cannot be established or a source is unavailable; cached unresolved prices must not be treated as current.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"issues":{"type":"array","items":{"type":"string"}}},"required":["graph","issues"],"additionalProperties":false}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/market/cohorts":{"post":{"operationId":"find_crafting_item_prices","summary":"Find captured equipment cohorts and latest asking prices for an API-shaped item and shared output requirements. Optional adaptive-v1 widens below ten priced sellers to deduplicated 6/24-hour medians when every source hour is present and hourly medians vary at most 10%. Optional display-equivalent-v1 treats the configured item as a representative for donor-family prices, without asserting identical modifier eligibility. Hourly history stays unchanged; confidence and policy thresholds are uncalibrated. Reports unsupported requirements and unknown matches. PoE 2 equipment stays manual.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"item":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]},"source":{"type":"string","enum":["stash","trade","paste","craft"]},"item":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"typeLine":{"type":"string"},"baseType":{"type":"string","minLength":1,"maxLength":500},"ilvl":{"type":"integer","minimum":0},"itemLevel":{"type":"integer","minimum":0},"rarity":{"type":"string","enum":["Normal","Magic","Rare","Unique","Currency","Gem","Relic"]},"frameType":{"type":"integer","minimum":0},"frameTypeId":{"type":"string"},"identified":{"type":"boolean"},"corrupted":{"type":"boolean"},"duplicated":{"type":"boolean"},"fractured":{"type":"boolean"},"split":{"type":"boolean"},"synthesised":{"type":"boolean"},"sanctified":{"type":"boolean"},"influences":{"type":"object","additionalProperties":{"type":"boolean"}},"sockets":{"type":"array","items":{"type":"object","properties":{"group":{"type":"integer","minimum":0},"attr":{"type":"string"},"sColour":{"type":"string"},"type":{"type":"string"},"item":{"type":"string"}},"required":["group"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}},"explicitMods":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","properties":{"description":{"type":"string"},"flags":{"type":"object","properties":{"fractured":{"type":"boolean"},"crafted":{"type":"boolean"},"desecrated":{"type":"boolean"},"mutated":{"type":"boolean"},"vestigial":{"type":"boolean"}},"additionalProperties":{"type":["string","number","boolean","null","array","object"]}},"mods":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"tier":{"type":"string"},"level":{"type":"integer","minimum":0}},"required":["name","tier"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}}},"required":["description"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}]}},"implicitMods":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","properties":{"description":{"type":"string"},"flags":{"type":"object","properties":{"fractured":{"type":"boolean"},"crafted":{"type":"boolean"},"desecrated":{"type":"boolean"},"mutated":{"type":"boolean"},"vestigial":{"type":"boolean"}},"additionalProperties":{"type":["string","number","boolean","null","array","object"]}},"mods":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"tier":{"type":"string"},"level":{"type":"integer","minimum":0}},"required":["name","tier"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}}},"required":["description"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}]}},"craftedMods":{"type":"array","items":{"type":"string"}},"fracturedMods":{"type":"array","items":{"type":"string"}},"extended":{"type":"object","properties":{"prefixes":{"type":"integer","minimum":0},"suffixes":{"type":"integer","minimum":0}},"additionalProperties":{"type":["string","number","boolean","null","array","object"]}}},"required":["baseType"],"additionalProperties":{"type":["string","number","boolean","null","array","object"]}},"facts":{"type":"object","properties":{"baseId":{"type":"string","minLength":1,"maxLength":500},"baseTypeAmbiguous":{"type":"boolean"},"itemClass":{"type":"string","minLength":1,"maxLength":500},"qualityType":{"type":"string","minLength":1,"maxLength":500},"catalystId":{"type":"string","minLength":1,"maxLength":500},"quality":{"type":"integer","minimum":0},"catalystQuality":{"type":"integer","minimum":0},"modifiers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":500},"possibleIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":2,"maxItems":100},"name":{"type":"string"},"side":{"type":"string","enum":["prefix","suffix","implicit"]},"tier":{"type":"integer","minimum":0},"fractured":{"type":"boolean"},"crafted":{"type":"boolean"}},"additionalProperties":false},"maxItems":100,"default":[]},"modifiersComplete":{"type":"boolean","default":false},"prefixes":{"type":"integer","minimum":0},"suffixes":{"type":"integer","minimum":0},"prefixLimit":{"type":"integer","minimum":0},"memoryStrands":{"type":"integer","minimum":0},"memoryStrandsSpent":{"type":"integer","minimum":0},"suffixLimit":{"type":"integer","minimum":0},"socketCount":{"type":"integer","minimum":0},"linkedSockets":{"type":"object","properties":{"min":{"type":"integer","minimum":0},"max":{"type":"integer","minimum":0}},"required":["min","max"],"additionalProperties":false},"stats":{"type":"object","properties":{"explicit":{"type":"object","additionalProperties":{"type":"number"},"default":{}},"implicit":{"type":"object","additionalProperties":{"type":"number"},"default":{}},"total":{"type":"object","additionalProperties":{"type":"number"},"default":{}}},"default":{}},"statsComplete":{"type":"boolean","default":false},"destroyed":{"type":"boolean","default":false}},"default":{},"additionalProperties":false}},"required":["game","source","item"],"additionalProperties":false},"requirements":{"$ref":"#/components/schemas/ItemQuery"},"realm":{"type":"string","enum":["pc","xbox","sony"],"default":"pc"},"league":{"type":"string","minLength":1,"maxLength":100},"currency":{"type":"string","minLength":1,"maxLength":100},"window":{"type":"string","enum":["adaptive-v1"]},"assumption":{"type":"string","enum":["display-equivalent-v1"]},"sourcePreparation":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["fractured-fossil-v1"]},"fractureId":{"type":"string","minLength":1,"maxLength":500},"crafted":{"type":"boolean"},"enchanted":{"type":"boolean"}},"required":["kind","fractureId","crafted","enchanted"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["scour-v1"]},"crafted":{"type":"boolean"},"enchanted":{"type":"boolean"}},"required":["kind","crafted","enchanted"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["influence-ready-v1"]}},"required":["kind"],"additionalProperties":false}]},"conversion":{"type":"string","enum":["exchange-v1"]},"at":{"type":"integer","minimum":0}},"required":["item","requirements","league","currency"],"additionalProperties":false}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"candidates":{"type":"array","items":{"type":"object","properties":{"definition":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"name":{"type":"string","minLength":1,"maxLength":300},"purpose":{"type":"string","enum":["base","fracture","isolated-modifier","transfer-donor"]},"query":{"$ref":"#/components/schemas/ItemQuery"},"revision":{"type":"string","minLength":1,"maxLength":100},"catalogHash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["id","name","purpose","query","revision","catalogHash"],"additionalProperties":false},"latest":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony"]},"league":{"type":"string","minLength":1,"maxLength":100},"hour":{"type":"integer","minimum":0},"revision":{"type":"string","minLength":1,"maxLength":100},"cohortId":{"type":"string","minLength":1,"maxLength":128},"listingCount":{"type":"integer","minimum":0},"uniqueSellers":{"type":"integer","minimum":0},"unknownCount":{"type":"integer","minimum":0},"prices":{"type":"object","additionalProperties":{"type":"object","properties":{"count":{"type":"integer","exclusiveMinimum":0},"sellers":{"type":"integer","exclusiveMinimum":0},"min":{"type":"number","exclusiveMinimum":0},"median":{"type":"number","exclusiveMinimum":0},"max":{"type":"number","exclusiveMinimum":0},"confidence":{"type":"number","minimum":0,"maximum":1},"windows":{"type":"object","properties":{"6":{"type":"object","properties":{"count":{"type":"integer","exclusiveMinimum":0},"sellers":{"type":"integer","exclusiveMinimum":0},"min":{"type":"number","exclusiveMinimum":0},"median":{"type":"number","exclusiveMinimum":0},"max":{"type":"number","exclusiveMinimum":0},"confidence":{"type":"number","minimum":0,"maximum":1},"listingCount":{"type":"integer","minimum":0},"unknownCount":{"type":"integer","minimum":0},"hourlyMedianMin":{"type":"number","exclusiveMinimum":0},"hourlyMedianMax":{"type":"number","exclusiveMinimum":0}},"required":["count","sellers","min","median","max","confidence","listingCount","unknownCount","hourlyMedianMin","hourlyMedianMax"],"additionalProperties":false},"24":{"type":"object","properties":{"count":{"type":"integer","exclusiveMinimum":0},"sellers":{"type":"integer","exclusiveMinimum":0},"min":{"type":"number","exclusiveMinimum":0},"median":{"type":"number","exclusiveMinimum":0},"max":{"type":"number","exclusiveMinimum":0},"confidence":{"type":"number","minimum":0,"maximum":1},"listingCount":{"type":"integer","minimum":0},"unknownCount":{"type":"integer","minimum":0},"hourlyMedianMin":{"type":"number","exclusiveMinimum":0},"hourlyMedianMax":{"type":"number","exclusiveMinimum":0}},"required":["count","sellers","min","median","max","confidence","listingCount","unknownCount","hourlyMedianMin","hourlyMedianMax"],"additionalProperties":false}},"additionalProperties":false}},"required":["count","sellers","min","median","max","confidence"],"additionalProperties":false}},"confidenceMethod":{"type":"string","enum":["asking-sellers-coverage-v1"]},"firstSeenAt":{"type":["string","null"],"maxLength":32},"lastSeenAt":{"type":["string","null"],"maxLength":32}},"required":["realm","league","hour","revision","cohortId","listingCount","uniqueSellers","unknownCount","prices","confidenceMethod","firstSeenAt","lastSeenAt"],"additionalProperties":false},"covered":{"type":"boolean"},"reasons":{"type":"array","items":{"type":"string"}},"window":{"type":"string","enum":["adaptive-v1"]},"assumption":{"type":"string","enum":["display-equivalent-v1"]},"sourcePreparation":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["fractured-fossil-v1"]},"fractureId":{"type":"string","minLength":1,"maxLength":500},"crafted":{"type":"boolean"},"enchanted":{"type":"boolean"}},"required":["kind","fractureId","crafted","enchanted"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["scour-v1"]},"crafted":{"type":"boolean"},"enchanted":{"type":"boolean"}},"required":["kind","crafted","enchanted"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["influence-ready-v1"]}},"required":["kind"],"additionalProperties":false}]},"conversion":{"type":"string","enum":["exchange-v1"]},"exchange":{"type":"object","properties":{"currency":{"type":"string","enum":["chaos","divine","exalted","mirror","blessed","chrome","gcp","jewellers","scour","regret","fusing","chance","alt","alch","regal","vaal"]},"quote":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1","cross-rate-v1"]},"legs":{"type":"array","prefixItems":[{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false},{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}},"required":["currency","quote"],"additionalProperties":false}},"required":["definition","latest","covered","reasons"],"additionalProperties":false}},"truncated":{"type":"boolean"},"message":{"type":["string","null"]}},"required":["candidates","truncated","message"],"additionalProperties":false}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/market/history":{"post":{"operationId":"get_crafting_item_price_history","summary":"Read permanent, realm/league-scoped hourly cohort asking-price history, including zero-price corrections, seller counts and confidence. Each hour holds the newest classification of the cohort. Pages backwards without merging overlapping cohorts or currencies.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony"]},"league":{"type":"string","minLength":1,"maxLength":100},"cohortId":{"type":"string","minLength":1,"maxLength":128},"window":{"type":"string","enum":["adaptive-v1"]},"assumption":{"type":"string","enum":["display-equivalent-v1"]},"sourcePreparation":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["fractured-fossil-v1"]},"fractureId":{"type":"string","minLength":1,"maxLength":500},"crafted":{"type":"boolean"},"enchanted":{"type":"boolean"}},"required":["kind","fractureId","crafted","enchanted"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["scour-v1"]},"crafted":{"type":"boolean"},"enchanted":{"type":"boolean"}},"required":["kind","crafted","enchanted"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["influence-ready-v1"]}},"required":["kind"],"additionalProperties":false}]},"conversion":{"type":"string","enum":["exchange-v1"]},"exchange":{"type":"object","properties":{"currency":{"type":"string","enum":["chaos","divine","exalted","mirror","blessed","chrome","gcp","jewellers","scour","regret","fusing","chance","alt","alch","regal","vaal"]},"quote":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1","cross-rate-v1"]},"legs":{"type":"array","prefixItems":[{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false},{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony","poe2"]},"league":{"type":"string","minLength":1,"maxLength":100},"itemId":{"type":"string","maxLength":500},"quoteId":{"type":"string","maxLength":500},"window":{"type":"string","enum":["adaptive-v1"]},"conversion":{"type":"string","enum":["reference-currency-v1","two-leg-exchange-v1"]},"amount":{"type":"number","exclusiveMinimum":0},"hour":{"type":["integer","null"],"minimum":0},"marketId":{"type":["string","null"]},"low":{"type":["number","null"],"exclusiveMinimum":0},"high":{"type":["number","null"],"exclusiveMinimum":0},"itemVolume":{"type":["number","null"],"exclusiveMinimum":0},"quoteVolume":{"type":["number","null"],"exclusiveMinimum":0},"windowStart":{"type":"integer","minimum":0},"estimator":{"type":"string","enum":["traded-volume-ratio-v1","adaptive-volume-ratio-v1","currency-unit-v1"]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}]}},"required":["realm","league","itemId","quoteId","amount","hour","marketId","low","high","itemVolume","quoteVolume","estimator"],"additionalProperties":false}},"required":["currency","quote"],"additionalProperties":false},"before":{"type":"integer","minimum":0},"limit":{"type":"integer","minimum":1,"maximum":1000,"default":168}},"required":["realm","league","cohortId"],"additionalProperties":false}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"history":{"type":"array","items":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","xbox","sony"]},"league":{"type":"string","minLength":1,"maxLength":100},"hour":{"type":"integer","minimum":0},"revision":{"type":"string","minLength":1,"maxLength":100},"cohortId":{"type":"string","minLength":1,"maxLength":128},"listingCount":{"type":"integer","minimum":0},"uniqueSellers":{"type":"integer","minimum":0},"unknownCount":{"type":"integer","minimum":0},"prices":{"type":"object","additionalProperties":{"type":"object","properties":{"count":{"type":"integer","exclusiveMinimum":0},"sellers":{"type":"integer","exclusiveMinimum":0},"min":{"type":"number","exclusiveMinimum":0},"median":{"type":"number","exclusiveMinimum":0},"max":{"type":"number","exclusiveMinimum":0},"confidence":{"type":"number","minimum":0,"maximum":1},"windows":{"type":"object","properties":{"6":{"type":"object","properties":{"count":{"type":"integer","exclusiveMinimum":0},"sellers":{"type":"integer","exclusiveMinimum":0},"min":{"type":"number","exclusiveMinimum":0},"median":{"type":"number","exclusiveMinimum":0},"max":{"type":"number","exclusiveMinimum":0},"confidence":{"type":"number","minimum":0,"maximum":1},"listingCount":{"type":"integer","minimum":0},"unknownCount":{"type":"integer","minimum":0},"hourlyMedianMin":{"type":"number","exclusiveMinimum":0},"hourlyMedianMax":{"type":"number","exclusiveMinimum":0}},"required":["count","sellers","min","median","max","confidence","listingCount","unknownCount","hourlyMedianMin","hourlyMedianMax"],"additionalProperties":false},"24":{"type":"object","properties":{"count":{"type":"integer","exclusiveMinimum":0},"sellers":{"type":"integer","exclusiveMinimum":0},"min":{"type":"number","exclusiveMinimum":0},"median":{"type":"number","exclusiveMinimum":0},"max":{"type":"number","exclusiveMinimum":0},"confidence":{"type":"number","minimum":0,"maximum":1},"listingCount":{"type":"integer","minimum":0},"unknownCount":{"type":"integer","minimum":0},"hourlyMedianMin":{"type":"number","exclusiveMinimum":0},"hourlyMedianMax":{"type":"number","exclusiveMinimum":0}},"required":["count","sellers","min","median","max","confidence","listingCount","unknownCount","hourlyMedianMin","hourlyMedianMax"],"additionalProperties":false}},"additionalProperties":false}},"required":["count","sellers","min","median","max","confidence"],"additionalProperties":false}},"confidenceMethod":{"type":"string","enum":["asking-sellers-coverage-v1"]},"firstSeenAt":{"type":["string","null"],"maxLength":32},"lastSeenAt":{"type":["string","null"],"maxLength":32}},"required":["realm","league","hour","revision","cohortId","listingCount","uniqueSellers","unknownCount","prices","confidenceMethod","firstSeenAt","lastSeenAt"],"additionalProperties":false}},"nextBefore":{"type":["integer","null"],"minimum":0}},"required":["history","nextBefore"],"additionalProperties":false}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/items/trade":{"post":{"operationId":"build_crafting_trade_search","summary":"Translate shared item requirements to an official PoE 1 or PoE 2 trade search URL. Searches instant-buyout listings unless options choose another listing status; options can also limit listing age and collapse listings to one per seller. Reports every omitted or approximate condition, including modifier identity and hybrid/tier ambiguity. Does not fetch listings or prices.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"$ref":"#/components/schemas/ItemQuery"},"ruleset":{"type":"object","properties":{"era":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"revision":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"engine":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"patch":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["era","revision","engine","patch","manifestSha256","craftingSha256"],"additionalProperties":false},"league":{"type":"string","minLength":1,"maxLength":100},"options":{"type":"object","properties":{"status":{"type":"string","enum":["securable","available","online","onlineleague","any"],"default":"securable"},"listed":{"type":"string","enum":["1hour","3hours","12hours","1day","3days","1week","2weeks","1month","2months"]},"oneListingPerSeller":{"type":"boolean","default":false}},"default":{},"additionalProperties":false}},"required":["query","ruleset","league"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"payload":{"type":"object","properties":{"query":{"type":"object","properties":{"status":{"type":"object","properties":{"option":{"type":"string","enum":["securable","available","online","onlineleague","any"]}},"required":["option"]},"type":{"type":"string"},"stats":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["and","count","not"]},"filters":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"value":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"additionalProperties":false}},"required":["id"]}},"value":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"additionalProperties":false}},"required":["type","filters"]}},"filters":{"type":"object","additionalProperties":{"type":"object","properties":{"filters":{"type":"object","additionalProperties":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"},"option":{"type":"string"}}}}},"required":["filters"]}}},"required":["status","stats","filters"]},"sort":{"type":"object","properties":{"price":{"type":"string","enum":["asc"]}},"required":["price"]}},"required":["query","sort"]},"fidelity":{"type":"string","enum":["exact","approximate"]},"warnings":{"type":"array","items":{"type":"object","properties":{"group":{"type":"integer"},"condition":{"type":"integer"},"message":{"type":"string"}},"required":["group","message"]}},"metadataDate":{"type":"string"}},"required":["url","payload","fidelity","warnings","metadataDate"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/buy-in/stages":{"post":{"operationId":"list_crafting_buy_in_stages","summary":"List the craft steps of a project that could be bought instead of crafted, with each step's official trade searches and its saved trade price. Searches use instant-buyout listings, one per seller; in-person searches (online sellers, listed within a week) are included only when the project enables them. Prices older than 6 hours are aging and older than 24 hours stale. Does not fetch listings: trade searches run only in the poe.boats browser extension, in the user's own browser session.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"stages":{"type":"array","items":{"type":"object","properties":{"stageId":{"type":"string"},"name":{"type":"string"},"searchable":{"type":"boolean"},"price":{"type":["object","null"],"properties":{"key":{"type":"string","minLength":1,"maxLength":100},"observedAt":{"type":"string","format":"date-time"},"status":{"type":"string","enum":["priced","no-listings"]},"price":{"type":["object","null"],"properties":{"amount":{"type":"number","exclusiveMinimum":0},"currency":{"type":"string","minLength":1,"maxLength":100}},"required":["amount","currency"],"additionalProperties":false},"sale":{"type":["string","null"],"enum":["instant","in-person",null]},"confidence":{"type":["string","null"],"enum":["high","medium","low",null]},"counts":{"type":"object","properties":{"results":{"type":"integer","minimum":0},"fetched":{"type":"integer","minimum":0},"matching":{"type":"integer","minimum":0},"nearPrice":{"type":"integer","minimum":0},"notMatching":{"type":"integer","minimum":0},"unreadable":{"type":"integer","minimum":0},"unconverted":{"type":"integer","minimum":0},"bait":{"type":"integer","minimum":0}},"required":["results","fetched","matching","nearPrice","notMatching","unreadable","unconverted","bait"],"additionalProperties":false},"item":{"allOf":[{"$ref":"#/components/schemas/CraftingItem"},{"type":["object","null"]}]}},"required":["key","observedAt","status","price","sale","confidence","counts","item"],"additionalProperties":false},"freshness":{"type":["string","null"],"enum":["fresh","aging","stale",null]},"instant":{"type":["object","null"],"properties":{"url":{"type":"string"},"payload":{"type":"object","properties":{"query":{"type":"object","properties":{"status":{"type":"object","properties":{"option":{"type":"string","enum":["securable","available","online","onlineleague","any"]}},"required":["option"]},"type":{"type":"string"},"stats":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["and","count","not"]},"filters":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"value":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"additionalProperties":false}},"required":["id"]}},"value":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"additionalProperties":false}},"required":["type","filters"]}},"filters":{"type":"object","additionalProperties":{"type":"object","properties":{"filters":{"type":"object","additionalProperties":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"},"option":{"type":"string"}}}}},"required":["filters"]}}},"required":["status","stats","filters"]},"sort":{"type":"object","properties":{"price":{"type":"string","enum":["asc"]}},"required":["price"]}},"required":["query","sort"]},"fidelity":{"type":"string","enum":["exact","approximate"]},"warnings":{"type":"array","items":{"type":"object","properties":{"group":{"type":"integer"},"condition":{"type":"integer"},"message":{"type":"string"}},"required":["group","message"]}},"metadataDate":{"type":"string"}},"required":["url","payload","fidelity","warnings","metadataDate"]},"inPerson":{"type":["object","null"],"properties":{"url":{"type":"string"},"payload":{"type":"object","properties":{"query":{"type":"object","properties":{"status":{"type":"object","properties":{"option":{"type":"string","enum":["securable","available","online","onlineleague","any"]}},"required":["option"]},"type":{"type":"string"},"stats":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["and","count","not"]},"filters":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"value":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"additionalProperties":false}},"required":["id"]}},"value":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"additionalProperties":false}},"required":["type","filters"]}},"filters":{"type":"object","additionalProperties":{"type":"object","properties":{"filters":{"type":"object","additionalProperties":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"},"option":{"type":"string"}}}}},"required":["filters"]}}},"required":["status","stats","filters"]},"sort":{"type":"object","properties":{"price":{"type":"string","enum":["asc"]}},"required":["price"]}},"required":["query","sort"]},"fidelity":{"type":"string","enum":["exact","approximate"]},"warnings":{"type":"array","items":{"type":"object","properties":{"group":{"type":"integer"},"condition":{"type":"integer"},"message":{"type":"string"}},"required":["group","message"]}},"metadataDate":{"type":"string"}},"required":["url","payload","fidelity","warnings","metadataDate"]},"error":{"type":"string"}},"required":["stageId","name","searchable","price","freshness","instant","inPerson"]}}},"required":["stages"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/buy-in/price":{"post":{"operationId":"price_crafting_buy_in_stage","summary":"Price one craft step from official trade listings and save the price on the returned project. Each listing is re-checked against the step's item requirements with the project's catalog; listings that do not match or cannot be read are counted and ignored. rates give the project-currency value of one unit of each listing currency (trade currency IDs such as divine); listings without a rate are counted as unconverted. Instant-buyout listings price the step at the cheapest match with high confidence. In-person listings are used only when the project enables them and no instant-buyout listing matched: listings under half the median of the five cheapest are dropped as bait and the cheapest remaining one sets the price (medium confidence with 3 or more matches, otherwise low). No listings leaves the price unknown, never zero. Does not save to an account or browser.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"stageId":{"type":"string","minLength":1,"maxLength":100},"instant":{"type":"object","properties":{"listings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"indexed":{"type":["string","null"],"format":"date-time"},"price":{"type":"object","properties":{"amount":{"type":"number","exclusiveMinimum":0},"currency":{"type":"string","minLength":1,"maxLength":64}},"required":["amount","currency"],"additionalProperties":false},"sale":{"type":"string","enum":["instant","in-person"]},"item":{"type":"object","additionalProperties":{}}},"required":["id","indexed","price","sale","item"],"additionalProperties":false},"maxItems":20},"results":{"type":"integer","minimum":0},"available":{"type":"integer","minimum":0},"fetches":{"type":"integer","minimum":1,"maximum":2}},"required":["listings","results","available","fetches"]},"inPerson":{"type":["object","null"],"properties":{"listings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"indexed":{"type":["string","null"],"format":"date-time"},"price":{"type":"object","properties":{"amount":{"type":"number","exclusiveMinimum":0},"currency":{"type":"string","minLength":1,"maxLength":64}},"required":["amount","currency"],"additionalProperties":false},"sale":{"type":"string","enum":["instant","in-person"]},"item":{"type":"object","additionalProperties":{}}},"required":["id","indexed","price","sale","item"],"additionalProperties":false},"maxItems":20},"results":{"type":"integer","minimum":0},"available":{"type":"integer","minimum":0},"fetches":{"type":"integer","minimum":1,"maximum":2}},"default":null,"required":["listings","results","available","fetches"]},"rates":{"type":"object","additionalProperties":{"type":"number","exclusiveMinimum":0}},"observedAt":{"type":"string","format":"date-time"}},"required":["graph","stageId","instant","rates"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"stage":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":100},"observedAt":{"type":"string","format":"date-time"},"status":{"type":"string","enum":["priced","no-listings"]},"price":{"type":["object","null"],"properties":{"amount":{"type":"number","exclusiveMinimum":0},"currency":{"type":"string","minLength":1,"maxLength":100}},"required":["amount","currency"],"additionalProperties":false},"sale":{"type":["string","null"],"enum":["instant","in-person",null]},"confidence":{"type":["string","null"],"enum":["high","medium","low",null]},"counts":{"type":"object","properties":{"results":{"type":"integer","minimum":0},"fetched":{"type":"integer","minimum":0},"matching":{"type":"integer","minimum":0},"nearPrice":{"type":"integer","minimum":0},"notMatching":{"type":"integer","minimum":0},"unreadable":{"type":"integer","minimum":0},"unconverted":{"type":"integer","minimum":0},"bait":{"type":"integer","minimum":0}},"required":["results","fetched","matching","nearPrice","notMatching","unreadable","unconverted","bait"],"additionalProperties":false},"item":{"allOf":[{"$ref":"#/components/schemas/CraftingItem"},{"type":["object","null"]}]}},"required":["key","observedAt","status","price","sale","confidence","counts","item"],"additionalProperties":false},"checks":{"type":"array","items":{"type":"object","properties":{"listing":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"indexed":{"type":["string","null"],"format":"date-time"},"price":{"type":"object","properties":{"amount":{"type":"number","exclusiveMinimum":0},"currency":{"type":"string","minLength":1,"maxLength":64}},"required":["amount","currency"],"additionalProperties":false},"sale":{"type":"string","enum":["instant","in-person"]},"item":{"type":"object","additionalProperties":{}}},"required":["id","indexed","price","sale","item"],"additionalProperties":false},"status":{"type":"string","enum":["match","no-match","unreadable"]},"amount":{"type":["number","null"],"exclusiveMinimum":0},"item":{"allOf":[{"$ref":"#/components/schemas/CraftingItem"},{"type":["object","null"]}]}},"required":["listing","status","amount","item"],"additionalProperties":false}}},"required":["graph","stage","checks"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/buy-in/compare":{"post":{"operationId":"compare_crafting_buy_in","summary":"Compare crafting a project from scratch with buying at each craft step that has a saved trade price, by expected cost per successful final outcome. Each priced step is calculated with the retained engine as a pinned purchase of the cheapest matching listing's item, so steps that only fed it are skipped; items recovered into skipped steps are not credited. The recommendation is the cheapest option, or null stageId to craft from scratch. Stale (over 24 hours) recommended prices are flagged. At most 10 priced steps per request; the browser compares any number.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"options":{"type":"object","properties":{"estimateIterations":{"type":"integer","minimum":1,"maximum":1000,"default":100},"workLimit":{"type":"integer","minimum":1,"maximum":100000,"default":50000}},"default":{}}},"required":["graph"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"comparison":{"type":"object","properties":{"currency":{"type":"string"},"scratch":{"type":"object","properties":{"total":{"type":["number","null"],"minimum":0},"probability":{"type":["number","null"],"minimum":0,"maximum":1},"meanActions":{"type":["number","null"],"minimum":0},"missingPrices":{"type":"array","items":{"type":"string"}}},"required":["total","probability","meanActions","missingPrices"],"additionalProperties":false},"stages":{"type":"array","items":{"type":"object","properties":{"stageId":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string"},"craftToHere":{"type":["number","null"],"minimum":0},"status":{"type":"string","enum":["priced","no-listings","unpriced","not-searchable"]},"price":{"type":["object","null"],"properties":{"amount":{"type":"number","exclusiveMinimum":0},"currency":{"type":"string","minLength":1,"maxLength":100}},"required":["amount","currency"],"additionalProperties":false},"sale":{"type":["string","null"],"enum":["instant","in-person",null]},"confidence":{"type":["string","null"],"enum":["high","medium","low",null]},"observedAt":{"type":["string","null"],"format":"date-time"},"freshness":{"type":["string","null"],"enum":["fresh","aging","stale",null]},"total":{"type":["number","null"],"minimum":0},"probability":{"type":["number","null"],"minimum":0,"maximum":1},"meanActions":{"type":["number","null"],"minimum":0},"missingPrices":{"type":"array","items":{"type":"string"}},"error":{"type":"string"}},"required":["stageId","name","craftToHere","status","price","sale","confidence","observedAt","freshness","total","probability","meanActions","missingPrices"],"additionalProperties":false}},"recommendation":{"type":["object","null"],"properties":{"stageId":{"type":["string","null"],"minLength":1,"maxLength":100},"total":{"type":"number","minimum":0}},"required":["stageId","total"],"additionalProperties":false},"stalePrices":{"type":"boolean"}},"required":["currency","scratch","stages","recommendation","stalePrices"],"additionalProperties":false}},"required":["comparison"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/rulesets":{"get":{"operationId":"list_crafting_rulesets","summary":"List retained crafting eras, immutable revisions, available mechanics and latest correction pointers. Creating a new project may use the latest revision; existing projects keep their pins.","tags":["crafting"],"security":[],"parameters":[{"schema":{"type":"string","enum":["poe1","poe2"]},"required":false,"name":"game","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"number","enum":[1]},"revisions":{"type":"array","items":{"type":"object","properties":{"era":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"revision":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"engine":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"patch":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"format":{"type":"number","enum":[1]},"game":{"type":"string","enum":["poe1","poe2"]},"label":{"type":"string","minLength":1,"maxLength":150},"notes":{"type":"string","maxLength":5000},"publishedAt":{"type":"string","format":"date-time"},"catalog":{"type":"object","properties":{"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"bytes":{"type":"integer","exclusiveMinimum":0}},"required":["sha256","bytes"],"additionalProperties":false},"implementation":{"type":"object","properties":{"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"bytes":{"type":"integer","exclusiveMinimum":0}},"required":["sha256","bytes"],"additionalProperties":false},"availability":{"type":"object","properties":{"kinds":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"minItems":1},"disabled":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"id":{"type":"string","minLength":1}},"required":["kind","id"],"additionalProperties":false},"default":[]},"allflame":{"type":"boolean"}},"required":["kinds","allflame"],"additionalProperties":false}},"required":["era","revision","engine","patch","manifestSha256","craftingSha256","format","game","label","notes","publishedAt","catalog","implementation","availability"],"additionalProperties":false}},"latest":{"type":"array","items":{"type":"object","properties":{"game":{"type":"string","enum":["poe1","poe2"]},"era":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"revision":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"}},"required":["game","era","revision"],"additionalProperties":false}}},"required":["format","revisions","latest"],"additionalProperties":false}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/rulesets/correction":{"post":{"operationId":"get_crafting_correction","summary":"Check whether a project has a newer correction in its pinned era without changing the project or its market prices.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"current":{"type":"object","properties":{"era":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"revision":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"engine":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"patch":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"format":{"type":"number","enum":[1]},"game":{"type":"string","enum":["poe1","poe2"]},"label":{"type":"string","minLength":1,"maxLength":150},"notes":{"type":"string","maxLength":5000},"publishedAt":{"type":"string","format":"date-time"},"catalog":{"type":"object","properties":{"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"bytes":{"type":"integer","exclusiveMinimum":0}},"required":["sha256","bytes"],"additionalProperties":false},"implementation":{"type":"object","properties":{"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"bytes":{"type":"integer","exclusiveMinimum":0}},"required":["sha256","bytes"],"additionalProperties":false},"availability":{"type":"object","properties":{"kinds":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"minItems":1},"disabled":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"id":{"type":"string","minLength":1}},"required":["kind","id"],"additionalProperties":false},"default":[]},"allflame":{"type":"boolean"}},"required":["kinds","allflame"],"additionalProperties":false}},"required":["era","revision","engine","patch","manifestSha256","craftingSha256","format","game","label","notes","publishedAt","catalog","implementation","availability"],"additionalProperties":false},"correction":{"type":["object","null"],"properties":{"era":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"revision":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"engine":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"patch":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"manifestSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"craftingSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"format":{"type":"number","enum":[1]},"game":{"type":"string","enum":["poe1","poe2"]},"label":{"type":"string","minLength":1,"maxLength":150},"notes":{"type":"string","maxLength":5000},"publishedAt":{"type":"string","format":"date-time"},"catalog":{"type":"object","properties":{"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"bytes":{"type":"integer","exclusiveMinimum":0}},"required":["sha256","bytes"],"additionalProperties":false},"implementation":{"type":"object","properties":{"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"bytes":{"type":"integer","exclusiveMinimum":0}},"required":["sha256","bytes"],"additionalProperties":false},"availability":{"type":"object","properties":{"kinds":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"minItems":1},"disabled":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"id":{"type":"string","minLength":1}},"required":["kind","id"],"additionalProperties":false},"default":[]},"allflame":{"type":"boolean"}},"required":["kinds","allflame"],"additionalProperties":false}},"required":["era","revision","engine","patch","manifestSha256","craftingSha256","format","game","label","notes","publishedAt","catalog","implementation","availability"],"additionalProperties":false}},"required":["current","correction"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/rulesets/adopt":{"post":{"operationId":"adopt_crafting_ruleset","summary":"Explicitly change a draft to a published era/revision after validating its methods and items with that retained engine. Returns new state; does not synchronize or overwrite saved projects.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"},"era":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"},"revision":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$"}},"required":["graph","era","revision"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"graph":{"$ref":"#/components/schemas/CraftingGraph"}},"required":["graph"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/workspace/edit":{"post":{"operationId":"edit_crafting_workspace","summary":"Edit explicit crafting workspace state: project tabs, revisions and build members by reference or value. Returns new state without saving to an account or browser. Stale project updates are refused.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/CraftingWorkspace"},"command":{"$ref":"#/components/schemas/CraftingWorkspaceCommand"}},"required":["state","command"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/CraftingWorkspace"},"ids":{"type":"array","items":{"type":"string"}}},"required":["state","ids"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/workspace/export":{"post":{"operationId":"export_crafting_bundle","summary":"Export an item plan or build as a portable bundle with all referenced projects included. Importing creates new IDs and independent drafts without overwriting existing projects.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/CraftingWorkspace"},"selection":{"type":"object","properties":{"kind":{"type":"string","enum":["project","build"]},"id":{"type":"string","minLength":1}},"required":["kind","id"]}},"required":["state","selection"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"bundle":{"$ref":"#/components/schemas/CraftingBundle"}},"required":["bundle"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/crafting/workspace/freeze-build":{"post":{"operationId":"freeze_crafting_build","summary":"Capture all current build members by value, including referenced item plans and their ruleset revisions. Does not save or publish; stored market quotes remain distinct from a later live valuation.","tags":["crafting"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/CraftingWorkspace"},"buildId":{"type":"string","minLength":1}},"required":["state","buildId"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"build":{"$ref":"#/components/schemas/CraftingBuild"}},"required":["build"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/idol-planner/mods/search":{"post":{"operationId":"search_idol_modifiers","summary":"Filter the localized modifier catalog by text, affix, mechanic, idol base and favorites, using the mod browser's rules.","tags":["idol-planner"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","maxLength":200,"default":""},"type":{"type":"string","enum":["all","prefix","suffix"],"default":"all"},"mechanics":{"type":"array","items":{"type":"string","enum":["abyss","anarchy","ascendancy","bestiary","betrayal","beyond","blight","breach","cleansing","conqueror","delirium","delve","elder","essence","expedition","fortune","generic","harbinger","harvest","heist","incursion","legion","map","maven","ritual","scarab","scouting","settlers","shaper","shrine","strongbox","synthesis","tangle","torment","ultimatum","vaal","zana"]},"default":[]},"bases":{"type":"array","items":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"default":[]},"favorites":{"type":"array","items":{"type":"string"},"default":[]},"favoriteFilter":{"type":"string","enum":["all","favorites","non-favorites"],"default":"all"},"locale":{"type":"string","enum":["en","zh-TW","zh-CN","ko","ja","ru","pt-BR","de","fr","es"],"default":"en"}}}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"modifiers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix"]},"name":{"type":"string"},"mechanic":{"type":"string","enum":["abyss","anarchy","ascendancy","bestiary","betrayal","beyond","blight","breach","cleansing","conqueror","delirium","delve","elder","essence","expedition","fortune","generic","harbinger","harvest","heist","incursion","legion","map","maven","ritual","scarab","scouting","settlers","shaper","shrine","strongbox","synthesis","tangle","torment","ultimatum","vaal","zana"]},"applicableIdols":{"type":"array","items":{"type":"string"}},"tiers":{"type":"array","items":{"type":"object","properties":{"tier":{"type":"number"},"levelReq":{"type":"number"},"text":{"type":"string"},"values":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"required":["min","max"]}},"weight":{"type":"number"}},"required":["tier","levelReq","text","values","weight"]}}},"required":["id","type","name","mechanic","applicableIdols","tiers"]}}},"required":["modifiers"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/idol-planner/uniques":{"get":{"operationId":"list_unique_idols","summary":"Read the unique-idol picker catalog with localized names, modifiers and roll ranges.","tags":["idol-planner"],"security":[],"parameters":[{"schema":{"type":"string","enum":["en","zh-TW","zh-CN","ko","ja","ru","pt-BR","de","fr","es"],"default":"en"},"required":false,"name":"locale","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"idols":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"baseType":{"type":"string"},"modifiers":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"values":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"required":["min","max"]}},"tradeStatId":{"type":"string"}},"required":["text","values"]}}},"required":["id","name","baseType","modifiers"]}}},"required":["idols"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/idol-planner/import":{"post":{"operationId":"import_idol_share","summary":"Import a shared set into supplied local state, remapping IDs and detecting duplicate sets. Use force to import a second copy.","tags":["idol-planner"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"object","properties":{"version":{"type":"number","enum":[5]},"sets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]}},"activeSetId":{"type":["string","null"]}},"required":["version","sets","activeSetId"]},"shared":{"type":"object","properties":{"version":{"type":"number","enum":[1]},"set":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]},"idols":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]}},"createdAt":{"type":"number"}},"required":["version","set","idols","createdAt"]},"force":{"type":"boolean","default":false}},"required":["state","shared"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"object","properties":{"version":{"type":"number","enum":[5]},"sets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]}},"activeSetId":{"type":["string","null"]}},"required":["version","sets","activeSetId"]},"duplicateSetId":{"type":["string","null"]},"importedSetId":{"type":["string","null"]}},"required":["state","duplicateSetId","importedSetId"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/idol-planner/edit":{"post":{"operationId":"edit_idol_planner","summary":"Apply a planner command to supplied browser-local state. Returns the updated state and created IDs; does not save it on the server.","tags":["idol-planner"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"object","properties":{"version":{"type":"number","enum":[5]},"sets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]}},"activeSetId":{"type":["string","null"]}},"required":["version","sets","activeSetId"]},"command":{"oneOf":[{"type":"object","properties":{"action":{"type":"string","enum":["create"]},"name":{"type":"string","minLength":1,"maxLength":50}},"required":["action","name"]},{"type":"object","properties":{"action":{"type":"string","enum":["select"]},"setId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","setId"]},{"type":"object","properties":{"action":{"type":"string","enum":["delete"]},"setId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","setId"]},{"type":"object","properties":{"action":{"type":"string","enum":["rename"]},"setId":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":50}},"required":["action","setId","name"]},{"type":"object","properties":{"action":{"type":"string","enum":["duplicate"]},"setId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","setId"]},{"type":"object","properties":{"action":{"type":"string","enum":["import"]},"set":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]}},"required":["action","set"]},{"type":"object","properties":{"action":{"type":"string","enum":["addIdols"]},"setId":{"type":"string","minLength":1,"maxLength":100},"idols":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"minItems":1,"maxItems":500},"source":{"type":"string","enum":["clipboard","manual","shared"]}},"required":["action","setId","idols","source"]},{"type":"object","properties":{"action":{"type":"string","enum":["updateIdol"]},"setId":{"type":"string","minLength":1,"maxLength":100},"idolId":{"type":"string","minLength":1,"maxLength":100},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]}},"required":["action","setId","idolId","idol"]},{"type":"object","properties":{"action":{"type":"string","enum":["duplicateIdol"]},"setId":{"type":"string","minLength":1,"maxLength":100},"idolId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","setId","idolId"]},{"type":"object","properties":{"action":{"type":"string","enum":["removeIdols"]},"setId":{"type":"string","minLength":1,"maxLength":100},"ids":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100},"minItems":1,"maxItems":500}},"required":["action","setId","ids"]},{"type":"object","properties":{"action":{"type":"string","enum":["clearInventory"]},"setId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","setId"]},{"type":"object","properties":{"action":{"type":"string","enum":["place"]},"setId":{"type":"string","minLength":1,"maxLength":100},"idolId":{"type":"string","minLength":1,"maxLength":100},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["action","setId","idolId","position"]},{"type":"object","properties":{"action":{"type":"string","enum":["move"]},"setId":{"type":"string","minLength":1,"maxLength":100},"placementId":{"type":"string","minLength":1,"maxLength":100},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["action","setId","placementId","position"]},{"type":"object","properties":{"action":{"type":"string","enum":["removePlacement"]},"setId":{"type":"string","minLength":1,"maxLength":100},"placementId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","setId","placementId"]},{"type":"object","properties":{"action":{"type":"string","enum":["setSlot"]},"setId":{"type":"string","minLength":1,"maxLength":100},"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["action","setId","slotIndex","scarabId"]},{"type":"object","properties":{"action":{"type":"string","enum":["setCraft"]},"setId":{"type":"string","minLength":1,"maxLength":100},"craftingOptionId":{"type":["string","null"],"default":null}},"required":["action","setId"]},{"type":"object","properties":{"action":{"type":"string","enum":["setUnlocks"]},"setId":{"type":"string","minLength":1,"maxLength":100},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]}},"required":["action","setId"]}]}},"required":["state","command"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"object","properties":{"version":{"type":"number","enum":[5]},"sets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]}},"activeSetId":{"type":["string","null"]}},"required":["version","sets","activeSetId"]},"ids":{"type":"array","items":{"type":"string"}}},"required":["state","ids"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/idol-planner/can-place":{"post":{"operationId":"can_place_idol","summary":"Check the same grid, occupancy, and inventory rules used by drag and drop.","tags":["idol-planner"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"set":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]},"idolId":{"type":"string","minLength":1,"maxLength":100},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]},"excludePlacementId":{"type":"string","minLength":1,"maxLength":100}},"required":["set","idolId","position"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"allowed":{"type":"boolean"}},"required":["allowed"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/idol-planner/parse":{"post":{"operationId":"parse_idols","summary":"Parse one or more copied in-game idol descriptions using the import dialog's parser.","tags":["idol-planner"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":100000}},"required":["text"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"success":{"type":"boolean"},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"error":{"type":"string"}},"required":["success"]}}},"required":["results"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/idol-planner/stats":{"post":{"operationId":"summarize_idol_set","summary":"Aggregate placed-idol stats and map-device scarab cost using the planner's calculations.","tags":["idol-planner"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"set":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]},"locale":{"type":"string","enum":["en","zh-TW","zh-CN","ko","ja","ru","pt-BR","de","fr","es"],"default":"en"},"prices":{"type":"object","properties":{"league":{"type":"string"},"prices":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string"},"chaosValue":{"type":"number"}},"required":["name","chaosValue"]}},"updatedAt":{"type":"string"}},"required":["league","prices","updatedAt"]}},"required":["set"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"statsByMechanic":{"type":"array","items":{"type":"object","properties":{"mechanic":{"type":"string","enum":["abyss","anarchy","ascendancy","bestiary","betrayal","beyond","blight","breach","cleansing","conqueror","delirium","delve","elder","essence","expedition","fortune","generic","harbinger","harvest","heist","incursion","legion","map","maven","ritual","scarab","scouting","settlers","shaper","shrine","strongbox","synthesis","tangle","torment","ultimatum","vaal","zana"]},"stats":{"type":"array","items":{"type":"object","properties":{"template":{"type":"string"},"totalValue":{"type":"number"},"mechanic":{"type":"string","enum":["abyss","anarchy","ascendancy","bestiary","betrayal","beyond","blight","breach","cleansing","conqueror","delirium","delve","elder","essence","expedition","fortune","generic","harbinger","harvest","heist","incursion","legion","map","maven","ritual","scarab","scouting","settlers","shaper","shrine","strongbox","synthesis","tangle","torment","ultimatum","vaal","zana"]},"hasPercent":{"type":"boolean"},"contributions":{"type":"array","items":{"type":"object","properties":{"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]}},"required":["baseType"]}}},"required":["template","totalValue","hasPercent","contributions"]}}},"required":["mechanic","stats"]}},"uniqueStats":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]}},"required":["text","baseType"]}},"baseImplicit":{"type":"number"},"scarabCost":{"type":["number","null"]}},"required":["statsByMechanic","uniqueStats","baseImplicit","scarabCost"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/idol-planner/trade":{"post":{"operationId":"build_idol_trade_url","summary":"Build a trade search for an idol, base, or modifier, with the same weight filters as the UI.","tags":["idol-planner"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"target":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["idol"]},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]}},"required":["kind","idol"]},{"type":"object","properties":{"kind":{"type":"string","enum":["base"]},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]}},"required":["kind","baseType"]},{"type":"object","properties":{"kind":{"type":"string","enum":["mod"]},"mod":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]}},"required":["kind","mod"]}]},"options":{"type":"object","properties":{"league":{"type":"string","maxLength":100},"includeAllMods":{"type":"boolean"},"maxWeight":{"type":["number","null"],"minimum":0},"maxPrefixWeight":{"type":["number","null"],"minimum":0},"maxSuffixWeight":{"type":["number","null"],"minimum":0},"weightFilterMode":{"type":"string","enum":["gte","lte"]},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"matchAffixType":{"type":"boolean"}},"default":{}}},"required":["target"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/idol-planner/catalog":{"get":{"operationId":"get_idol_catalog","summary":"Read the planner's idol bases, scarabs, crafting options, grid unlocks, and leagues.","tags":["idol-planner"],"security":[],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"bases":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string"},"width":{"type":"number"},"height":{"type":"number"},"implicit":{"type":"number"},"image":{"type":"string"},"uniqueImage":{"type":"string"}},"required":["name","width","height","implicit","image"]}},"scarabs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"object","properties":{"en":{"type":"string"},"zh-TW":{"type":"string"},"zh-CN":{"type":"string"},"ko":{"type":"string"},"ja":{"type":"string"},"ru":{"type":"string"},"pt-BR":{"type":"string"},"de":{"type":"string"},"fr":{"type":"string"},"es":{"type":"string"}}},"effect":{"type":"object","properties":{"en":{"type":"string"},"zh-TW":{"type":"string"},"zh-CN":{"type":"string"},"ko":{"type":"string"},"ja":{"type":"string"},"ru":{"type":"string"},"pt-BR":{"type":"string"},"de":{"type":"string"},"fr":{"type":"string"},"es":{"type":"string"}}},"category":{"type":"string"},"image":{"type":["string","null"]},"limit":{"type":"integer","exclusiveMinimum":0}},"required":["id","name","effect","category","image","limit"]}},"craftingOptions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"effect":{"type":"string"},"cost":{"type":"integer","minimum":0},"imbued":{"type":"boolean","default":false}},"required":["id","name","effect","cost"]}},"leagues":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"realm":{"type":"string","enum":["pc","xbox","sony"]},"text":{"type":"string"}},"required":["id","realm","text"]}},"unlocks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"positions":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y"]}}},"required":["id","name","positions"]}}},"required":["bases","scarabs","craftingOptions","leagues","unlocks"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/idol-planner/mods":{"get":{"operationId":"list_idol_modifiers","summary":"Read the localized, deduplicated modifier and tier catalog used by the idol editor and mod browser.","tags":["idol-planner"],"security":[],"parameters":[{"schema":{"type":"string","enum":["en","zh-TW","zh-CN","ko","ja","ru","pt-BR","de","fr","es"],"default":"en"},"required":false,"name":"locale","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"modifiers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix"]},"name":{"type":"string"},"mechanic":{"type":"string","enum":["abyss","anarchy","ascendancy","bestiary","betrayal","beyond","blight","breach","cleansing","conqueror","delirium","delve","elder","essence","expedition","fortune","generic","harbinger","harvest","heist","incursion","legion","map","maven","ritual","scarab","scouting","settlers","shaper","shrine","strongbox","synthesis","tangle","torment","ultimatum","vaal","zana"]},"applicableIdols":{"type":"array","items":{"type":"string"}},"tiers":{"type":"array","items":{"type":"object","properties":{"tier":{"type":"number"},"levelReq":{"type":"number"},"text":{"type":"string"},"values":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"required":["min","max"]}},"weight":{"type":"number"}},"required":["tier","levelReq","text","values","weight"]}}},"required":["id","type","name","mechanic","applicableIdols","tiers"]}}},"required":["modifiers"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/idol-planner/inventory":{"post":{"operationId":"search_idol_inventory","summary":"Search a supplied inventory by idol name, base type, or localized modifier text.","tags":["idol-planner"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]}},"query":{"type":"string","maxLength":200},"locale":{"type":"string","enum":["en","zh-TW","zh-CN","ko","ja","ru","pt-BR","de","fr","es"],"default":"en"}},"required":["inventory","query"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]}}},"required":["inventory"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/idol-planner/share":{"post":{"operationId":"create_idol_share","summary":"Publish a share link for a validated planner set and inventory.","tags":["idol-planner"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"set":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"maxItems":500}},"required":["set","inventory"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"shareId":{"type":"string"},"shareUrl":{"type":"string","format":"uri"}},"required":["shareId","shareUrl"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}},"get":{"operationId":"get_idol_share","summary":"Read a public shared planner set.","tags":["idol-planner"],"security":[],"parameters":[{"schema":{"type":"string","minLength":10,"maxLength":10,"pattern":"^[a-zA-Z0-9_-]+$"},"required":true,"name":"shareId","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"number","enum":[1]},"set":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]},"idols":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]}},"createdAt":{"type":"number"}},"required":["version","set","idols","createdAt"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/idol-planner/prices":{"get":{"operationId":"get_scarab_prices","summary":"Read cached scarab prices for the selected league.","tags":["idol-planner"],"security":[],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[\\w\\s.-]+$"},"required":true,"name":"league","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"league":{"type":"string"},"prices":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string"},"chaosValue":{"type":"number"}},"required":["name","chaosValue"]}},"updatedAt":{"type":"string"}},"required":["league","prices","updatedAt"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/preferences/league":{"post":{"operationId":"select_planner_league","summary":"Resolve a supplied league and realm using the league selector's fallback rules. Returns settings to store in the caller's local state.","tags":["preferences"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"league":{"type":"string","maxLength":100},"realm":{"type":"string","enum":["pc","xbox","sony"]}},"required":["league","realm"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"league":{"type":"string","maxLength":100},"realm":{"type":"string","enum":["pc","xbox","sony"]}},"required":["league","realm"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/preferences/favorites":{"post":{"operationId":"edit_favorite_modifiers","summary":"Add, remove, or toggle a favorite in supplied local settings.","tags":["preferences"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"favorites":{"type":"array","items":{"type":"string"},"maxItems":5000},"modId":{"type":"string","minLength":1,"maxLength":200},"action":{"type":"string","enum":["add","remove","toggle"]}},"required":["favorites","modId","action"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"favorites":{"type":"array","items":{"type":"string"}}},"required":["favorites"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/preferences/trade":{"post":{"operationId":"update_trade_settings","summary":"Apply and validate changes to the trade-search weight settings, returning updated local settings.","tags":["preferences"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"settings":{"type":"object","properties":{"maxWeight":{"type":["integer","null"],"minimum":0},"filterByMaxWeight":{"type":"boolean"},"separateWeightFilters":{"type":"boolean"},"maxPrefixWeight":{"type":["integer","null"],"minimum":0},"maxSuffixWeight":{"type":["integer","null"],"minimum":0},"weightFilterMode":{"type":"string","enum":["gte","lte"]}},"default":{"maxWeight":null,"filterByMaxWeight":false,"separateWeightFilters":false,"maxPrefixWeight":null,"maxSuffixWeight":null,"weightFilterMode":"gte"},"required":["maxWeight","filterByMaxWeight","separateWeightFilters","maxPrefixWeight","maxSuffixWeight","weightFilterMode"]},"updates":{"type":"object","properties":{"maxWeight":{"type":["integer","null"],"minimum":0},"filterByMaxWeight":{"type":"boolean"},"separateWeightFilters":{"type":"boolean"},"maxPrefixWeight":{"type":["integer","null"],"minimum":0},"maxSuffixWeight":{"type":["integer","null"],"minimum":0},"weightFilterMode":{"type":"string","enum":["gte","lte"]}}}},"required":["updates"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"maxWeight":{"type":["integer","null"],"minimum":0},"filterByMaxWeight":{"type":"boolean"},"separateWeightFilters":{"type":"boolean"},"maxPrefixWeight":{"type":["integer","null"],"minimum":0},"maxSuffixWeight":{"type":["integer","null"],"minimum":0},"weightFilterMode":{"type":"string","enum":["gte","lte"]}},"required":["maxWeight","filterByMaxWeight","separateWeightFilters","maxPrefixWeight","maxSuffixWeight","weightFilterMode"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/preferences/defaults":{"get":{"operationId":"get_planner_defaults","summary":"Read the default league, realm, favorites, and trade settings.","tags":["preferences"],"security":[],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"league":{"type":"object","properties":{"league":{"type":"string","maxLength":100},"realm":{"type":"string","enum":["pc","xbox","sony"]}},"required":["league","realm"]},"favorites":{"type":"array","items":{"type":"string"}},"trade":{"type":"object","properties":{"maxWeight":{"type":["integer","null"],"minimum":0},"filterByMaxWeight":{"type":"boolean"},"separateWeightFilters":{"type":"boolean"},"maxPrefixWeight":{"type":["integer","null"],"minimum":0},"maxSuffixWeight":{"type":["integer","null"],"minimum":0},"weightFilterMode":{"type":"string","enum":["gte","lte"]}},"required":["maxWeight","filterByMaxWeight","separateWeightFilters","maxPrefixWeight","maxSuffixWeight","weightFilterMode"]}},"required":["league","favorites","trade"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/sets/list":{"get":{"operationId":"list_idol_sets","summary":"List all saved sets owned by the authenticated account, including their inventory and placements.","tags":["sets"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"sets":{"type":"array","items":{"type":"object","properties":{"set":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]},"isActive":{"type":"boolean"}},"required":["set","isActive"]}}},"required":["sets"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/sets/get":{"get":{"operationId":"get_idol_set","summary":"Read one saved set owned by the authenticated account.","tags":["sets"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":100},"required":true,"name":"setId","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"set":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]},"isActive":{"type":"boolean"}},"required":["set","isActive"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/sets/create":{"post":{"operationId":"create_idol_set","summary":"Create and activate an empty saved set for the authenticated account.","tags":["sets"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50}},"required":["name"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"set":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]},"isActive":{"type":"boolean"}},"required":["set","isActive"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/sets/update":{"post":{"operationId":"update_idol_set","summary":"Rename, select, or change a saved set's map device and unlocks.","tags":["sets"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"}},"setId":{"type":"string","minLength":1,"maxLength":100},"isActive":{"type":"boolean"}},"required":["setId"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"set":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]},"isActive":{"type":"boolean"}},"required":["set","isActive"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/sets/delete":{"post":{"operationId":"delete_idol_set","summary":"Delete a saved set owned by the authenticated account.","tags":["sets"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"setId":{"type":"string","minLength":1,"maxLength":100}},"required":["setId"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true]}},"required":["ok"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/sets/edit":{"post":{"operationId":"edit_saved_idol_set","summary":"Edit a saved set's inventory, placements, map device or unlocks, or duplicate it. Uses the browser planner's command rules. Use create/update/delete for set metadata.","tags":["sets"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"command":{"oneOf":[{"type":"object","properties":{"action":{"type":"string","enum":["create"]},"name":{"type":"string","minLength":1,"maxLength":50}},"required":["action","name"]},{"type":"object","properties":{"action":{"type":"string","enum":["select"]},"setId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","setId"]},{"type":"object","properties":{"action":{"type":"string","enum":["delete"]},"setId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","setId"]},{"type":"object","properties":{"action":{"type":"string","enum":["rename"]},"setId":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":50}},"required":["action","setId","name"]},{"type":"object","properties":{"action":{"type":"string","enum":["duplicate"]},"setId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","setId"]},{"type":"object","properties":{"action":{"type":"string","enum":["import"]},"set":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]}},"required":["action","set"]},{"type":"object","properties":{"action":{"type":"string","enum":["addIdols"]},"setId":{"type":"string","minLength":1,"maxLength":100},"idols":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"minItems":1,"maxItems":500},"source":{"type":"string","enum":["clipboard","manual","shared"]}},"required":["action","setId","idols","source"]},{"type":"object","properties":{"action":{"type":"string","enum":["updateIdol"]},"setId":{"type":"string","minLength":1,"maxLength":100},"idolId":{"type":"string","minLength":1,"maxLength":100},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]}},"required":["action","setId","idolId","idol"]},{"type":"object","properties":{"action":{"type":"string","enum":["duplicateIdol"]},"setId":{"type":"string","minLength":1,"maxLength":100},"idolId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","setId","idolId"]},{"type":"object","properties":{"action":{"type":"string","enum":["removeIdols"]},"setId":{"type":"string","minLength":1,"maxLength":100},"ids":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100},"minItems":1,"maxItems":500}},"required":["action","setId","ids"]},{"type":"object","properties":{"action":{"type":"string","enum":["clearInventory"]},"setId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","setId"]},{"type":"object","properties":{"action":{"type":"string","enum":["place"]},"setId":{"type":"string","minLength":1,"maxLength":100},"idolId":{"type":"string","minLength":1,"maxLength":100},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["action","setId","idolId","position"]},{"type":"object","properties":{"action":{"type":"string","enum":["move"]},"setId":{"type":"string","minLength":1,"maxLength":100},"placementId":{"type":"string","minLength":1,"maxLength":100},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["action","setId","placementId","position"]},{"type":"object","properties":{"action":{"type":"string","enum":["removePlacement"]},"setId":{"type":"string","minLength":1,"maxLength":100},"placementId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","setId","placementId"]},{"type":"object","properties":{"action":{"type":"string","enum":["setSlot"]},"setId":{"type":"string","minLength":1,"maxLength":100},"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["action","setId","slotIndex","scarabId"]},{"type":"object","properties":{"action":{"type":"string","enum":["setCraft"]},"setId":{"type":"string","minLength":1,"maxLength":100},"craftingOptionId":{"type":["string","null"],"default":null}},"required":["action","setId"]},{"type":"object","properties":{"action":{"type":"string","enum":["setUnlocks"]},"setId":{"type":"string","minLength":1,"maxLength":100},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]}},"required":["action","setId"]}]}},"required":["command"]}}}},"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"set":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":50},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"placements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"inventoryIdolId":{"type":"string","minLength":1},"position":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":5},"y":{"type":"integer","minimum":0,"maximum":6}},"required":["x","y"]}},"required":["id","inventoryIdolId","position"]}},"inventory":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"idol":{"type":"object","properties":{"id":{"type":"string","minLength":1},"baseType":{"type":"string","enum":["minor","kamasan","totemic","noble","burial","conqueror"]},"itemLevel":{"type":"integer","minimum":1,"maximum":100},"rarity":{"type":"string","enum":["normal","magic","rare","unique"]},"name":{"type":"string"},"implicit":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"number"}},"required":["text","value"]},"prefixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":5},"suffixes":{"type":"array","items":{"type":"object","properties":{"modId":{"type":"string"},"type":{"type":"string","enum":["prefix","suffix","unique"]},"text":{"type":"string"},"rolledValue":{"type":"number"},"tier":{"type":["integer","null"],"minimum":1,"maximum":10}},"required":["modId","type","rolledValue","tier"]},"maxItems":2}},"required":["id","baseType","itemLevel","rarity","prefixes","suffixes"]},"importedAt":{"type":"number"},"source":{"type":"string","enum":["clipboard","manual","shared"]},"usageCount":{"type":"integer","minimum":0,"default":0}},"required":["id","idol","importedAt","source"]},"default":[]},"mapDevice":{"type":"object","properties":{"slots":{"type":"array","items":{"type":"object","properties":{"slotIndex":{"type":"integer","minimum":0,"maximum":4},"scarabId":{"type":["string","null"]}},"required":["slotIndex","scarabId"]}},"craftingOptionId":{"type":["string","null"],"default":null}},"default":{"slots":[{"slotIndex":0,"scarabId":null},{"slotIndex":1,"scarabId":null},{"slotIndex":2,"scarabId":null},{"slotIndex":3,"scarabId":null},{"slotIndex":4,"scarabId":null}],"craftingOptionId":null},"required":["slots"]},"unlockedConditions":{"type":"array","items":{"type":"string"},"default":[]},"contentHash":{"type":"string"}},"required":["id","name","createdAt","updatedAt","placements"]},"isActive":{"type":"boolean"},"ids":{"type":"array","items":{"type":"string"}}},"required":["set","isActive","ids"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/account/me":{"get":{"operationId":"get_account","summary":"Read the authenticated account's profile and role.","tags":["account"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"role":{"type":"string"}},"required":["id","name","email","role"]}},"required":["user"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/market":{"get":{"operationId":"get_season_market","summary":"Read season market rows with the UI's filters and pagination; category `all` lists every unique, currency and other item category. Without `corruption`, the `weapons`, `armour`, `accessories` and `forbidden` categories list uncorrupted markets and the others any corruption; the returned `filters` carry the applied value. The `forbidden` category lists Forbidden Flame and Forbidden Flesh (kind `forbidden-jewel`, `value` the allocated ascendancy notable), which `jewels` leaves out, all on one page. The crafting base categories (`armour-bases`, `weapon-bases`, `accessory-bases`, `flask-bases`, `cluster-jewel-bases`) list clean normal, magic and rare equipment (kind `base`) per base, with `value` naming its item level band, links, quality band or Cluster Jewel skill and passive count (e.g. `ilvl 86+ · 6 links · Quality 30%+`). With an item, returns that item's history and every variant of it in the period instead of rows; history merges every listing currency at each hour's exchange rate into `historyUnit`, whatever `currency` is.Rows and an item without `links` merge every link count; `links` (0 for under 5, 5 or 6) reads one linked-socket market of a unique, as poe.ninja splits body armours and two-handed weapons. Skill gems (kind `gem`) list one market per gem, level band, quality band and corruption state, with `value` naming the bands (e.g. `Level 20 (max) · Quality 20%`); `gemLevel` and `gemQuality` include or exclude bands, and `gemTransfigured` and `gemVaal` keep only transfigured or Vaal gems, or only others. Tier and Nightmare maps (kind `map`, item `Map (Tier 16)` or `Nightmare Map`) list one market per base, corruption, identification, mod count band, delirium, league content suffixes (Mirror of Delirium, Mirage, Viridian Wildwood, a buried Sentinel or an Evocator), influence (Shaper, Elder, Elder Guardian for any guardian, or Memory, and Citadel for any Conqueror's Citadel alongside it) and, for tier 16 and Nightmare maps, Atlas Drops band, with `value` naming them (e.g. `8 mods · Atlas Drops 100–119% · Delirium 40%`, `Unidentified · Delirium 0%`, `1–6 mods · Atlas Drops 60–79% · Delirium 0% · Mirage · Apex Sentinel`, `1–6 mods · Delirium 0% · Memory`, or `1–6 mods · Delirium 0% · Memory · Citadel`); `mapMods`, `mapAtlasDrops`, `mapDelirium`, `mapContent` and `mapInfluence` include or exclude bands.","tags":["market"],"security":[],"parameters":[{"schema":{"type":"string","enum":["pc","poe2","xbox","sony"],"default":"pc"},"required":false,"name":"realm","in":"query"},{"schema":{"type":"string","maxLength":100,"default":""},"required":false,"name":"league","in":"query"},{"schema":{"type":"string","maxLength":100,"default":""},"required":false,"name":"q","in":"query"},{"schema":{"type":"string","enum":["7","30","90"],"default":"7"},"required":false,"name":"days","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":10000,"default":1},"required":false,"name":"page","in":"query"},{"schema":{"anyOf":[{"type":"string","enum":["currency","fragments","cards","oils","incubators","tattoos","omens","weapons","armour","accessories","flasks","jewels","forbidden","gems","tinctures","relics","maps","scarabs","delirium","invitations","memories","heist","wombgifts","legion","expedition","embers","ducats","encounters","fossils","resonators","essences","catalysts","runes","beasts","corpses","armour-bases","weapon-bases","accessory-bases","flask-bases","cluster-jewel-bases","other"]},{"type":"string","enum":["all"]}],"default":"all"},"required":false,"name":"category","in":"query"},{"schema":{"type":"string","enum":["sales","sales-asc","name-asc","name-desc","newest","oldest","price-asc","price-desc","listings-desc","listings-asc","sellers-desc","sellers-asc"],"default":"sales"},"required":false,"name":"order","in":"query"},{"schema":{"type":"string","enum":["all","true","false"],"default":"all"},"required":false,"name":"identification","in":"query"},{"schema":{"type":"string","enum":["all","true","false"]},"required":false,"name":"corruption","in":"query"},{"schema":{"type":"string","maxLength":40,"default":"","description":"Skill gem level bands (1-19, 20, 21) to include, comma-separated; prefix one with - to exclude it. Set, only gem markets are listed"},"required":false,"description":"Skill gem level bands (1-19, 20, 21) to include, comma-separated; prefix one with - to exclude it. Set, only gem markets are listed","name":"gemLevel","in":"query"},{"schema":{"type":"string","maxLength":40,"default":"","description":"Skill gem quality bands (0-19, 20, 21-23) to include, comma-separated; prefix one with - to exclude it. Set, only gem markets are listed"},"required":false,"description":"Skill gem quality bands (0-19, 20, 21-23) to include, comma-separated; prefix one with - to exclude it. Set, only gem markets are listed","name":"gemQuality","in":"query"},{"schema":{"type":"string","enum":["all","true","false"],"default":"all","description":"Only transfigured skill gems (true) or only other gems (false); either lists only gem markets"},"required":false,"description":"Only transfigured skill gems (true) or only other gems (false); either lists only gem markets","name":"gemTransfigured","in":"query"},{"schema":{"type":"string","enum":["all","true","false"],"default":"all","description":"Only Vaal skill gems (true) or only other gems (false); either lists only gem markets"},"required":false,"description":"Only Vaal skill gems (true) or only other gems (false); either lists only gem markets","name":"gemVaal","in":"query"},{"schema":{"type":"string","maxLength":60,"default":"","description":"Map mod count bands (1-6, 8) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed; unidentified maps have no mod count"},"required":false,"description":"Map mod count bands (1-6, 8) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed; unidentified maps have no mod count","name":"mapMods","in":"query"},{"schema":{"type":"string","maxLength":60,"default":"","description":"Map Atlas Drops % bands (0-39, 40-59, 60-79, 80-99, 100-119, 120) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed; only identified tier 16 and Nightmare maps have an Atlas Drops band"},"required":false,"description":"Map Atlas Drops % bands (0-39, 40-59, 60-79, 80-99, 100-119, 120) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed; only identified tier 16 and Nightmare maps have an Atlas Drops band","name":"mapAtlasDrops","in":"query"},{"schema":{"type":"string","maxLength":60,"default":"","description":"Map delirium % bands (0, 20, 40, 60, 80, 100) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed"},"required":false,"description":"Map delirium % bands (0, 20, 40, 60, 80, 100) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed","name":"mapDelirium","in":"query"},{"schema":{"type":"string","maxLength":200,"default":"","description":"Map league content bands (none, delirium-mirror, mirage, wildwood, apex-sentinel, pandemonium-sentinel, stalker-sentinel, evocator-beidat, evocator-ktash, evocator-ghorr) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed; a map passes with any included content (`none`: no content) and no excluded one"},"required":false,"description":"Map league content bands (none, delirium-mirror, mirage, wildwood, apex-sentinel, pandemonium-sentinel, stalker-sentinel, evocator-beidat, evocator-ktash, evocator-ghorr) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed; a map passes with any included content (`none`: no content) and no excluded one","name":"mapContent","in":"query"},{"schema":{"type":"string","maxLength":60,"default":"","description":"Map influence bands (none, shaper, elder, elder-guardian, memory, citadel) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed; `none` is an uninfluenced map, `elder-guardian` an Elder map occupied by any guardian, and `citadel` a map holding any Conqueror's Citadel, which can also carry another influence such as `memory`; a map passes with any included influence and no excluded one"},"required":false,"description":"Map influence bands (none, shaper, elder, elder-guardian, memory, citadel) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed; `none` is an uninfluenced map, `elder-guardian` an Elder map occupied by any guardian, and `citadel` a map holding any Conqueror's Citadel, which can also carry another influence such as `memory`; a map passes with any included influence and no excluded one","name":"mapInfluence","in":"query"},{"schema":{"type":"string","enum":["","Amulet","Belt","Ring","Body Armour","Boots","Gloves","Helmet","Shield","Bow","Claw","Dagger","One Hand Axe","One Hand Mace","One Hand Sword","Quiver","Rune Dagger","Sceptre","Staff","Thrusting One Hand Sword","Two Hand Axe","Two Hand Mace","Two Hand Sword","Wand","Warstaff","Life Flask","Mana Flask","Hybrid Flask","Utility Flask","Small Cluster Jewel","Medium Cluster Jewel","Large Cluster Jewel"],"default":"","description":"The item class of a crafting base, or of a unique's base type"},"required":false,"description":"The item class of a crafting base, or of a unique's base type","name":"baseClass","in":"query"},{"schema":{"type":"string","enum":["","str","dex","int","str-dex","str-int","dex-int","str-dex-int"],"default":"","description":"The attributes a crafting base, or a unique's base type, requires, e.g. `str-int`"},"required":false,"description":"The attributes a crafting base, or a unique's base type, requires, e.g. `str-int`","name":"attributes","in":"query"},{"schema":{"type":"string","enum":["1","50","68","74","75","76","77","78","79","80","81","82","83","84","85","86",""],"default":"","description":"Crafting bases whose item level band includes this level"},"required":false,"description":"Crafting bases whose item level band includes this level","name":"ilvl","in":"query"},{"schema":{"type":"string","enum":["6","","1-5"],"default":""},"required":false,"name":"baseLinks","in":"query"},{"schema":{"type":"string","enum":["25","30",""],"default":"","description":"Crafting base cohorts split at this minimum quality"},"required":false,"description":"Crafting base cohorts split at this minimum quality","name":"quality","in":"query"},{"schema":{"type":"string","maxLength":255},"required":false,"name":"item","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"true"},"required":false,"name":"identified","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"false"},"required":false,"name":"corrupted","in":"query"},{"schema":{"type":"string","maxLength":32,"default":""},"required":false,"name":"kind","in":"query"},{"schema":{"type":"string","maxLength":255,"default":""},"required":false,"name":"value","in":"query"},{"schema":{"type":"string","enum":["0","5","6"]},"required":false,"name":"links","in":"query"},{"schema":{"type":"string","maxLength":40,"default":"divine"},"required":false,"name":"currency","in":"query"},{"schema":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"required":false,"name":"priceMin","in":"query"},{"schema":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"required":false,"name":"priceMax","in":"query"},{"schema":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"required":false,"name":"listingsMin","in":"query"},{"schema":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"required":false,"name":"listingsMax","in":"query"},{"schema":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"required":false,"name":"sellersMin","in":"query"},{"schema":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"required":false,"name":"sellersMax","in":"query"},{"schema":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"required":false,"name":"salesMin","in":"query"},{"schema":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"required":false,"name":"salesMax","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"filters":{"type":"object","properties":{"realm":{"type":"string","enum":["pc","poe2","xbox","sony"],"default":"pc"},"league":{"type":"string","maxLength":100,"default":""},"q":{"type":"string","maxLength":100,"default":""},"days":{"type":"string","enum":["7","30","90"],"default":"7"},"page":{"type":"integer","minimum":1,"maximum":10000,"default":1},"category":{"anyOf":[{"type":"string","enum":["currency","fragments","cards","oils","incubators","tattoos","omens","weapons","armour","accessories","flasks","jewels","forbidden","gems","tinctures","relics","maps","scarabs","delirium","invitations","memories","heist","wombgifts","legion","expedition","embers","ducats","encounters","fossils","resonators","essences","catalysts","runes","beasts","corpses","armour-bases","weapon-bases","accessory-bases","flask-bases","cluster-jewel-bases","other"]},{"type":"string","enum":["all"]}],"default":"all"},"order":{"type":"string","enum":["sales","sales-asc","name-asc","name-desc","newest","oldest","price-asc","price-desc","listings-desc","listings-asc","sellers-desc","sellers-asc"],"default":"sales"},"identification":{"type":"string","enum":["all","true","false"],"default":"all"},"corruption":{"type":"string","enum":["all","true","false"]},"gemLevel":{"type":"string","maxLength":40,"default":"","description":"Skill gem level bands (1-19, 20, 21) to include, comma-separated; prefix one with - to exclude it. Set, only gem markets are listed"},"gemQuality":{"type":"string","maxLength":40,"default":"","description":"Skill gem quality bands (0-19, 20, 21-23) to include, comma-separated; prefix one with - to exclude it. Set, only gem markets are listed"},"gemTransfigured":{"type":"string","enum":["all","true","false"],"default":"all","description":"Only transfigured skill gems (true) or only other gems (false); either lists only gem markets"},"gemVaal":{"type":"string","enum":["all","true","false"],"default":"all","description":"Only Vaal skill gems (true) or only other gems (false); either lists only gem markets"},"mapMods":{"type":"string","maxLength":60,"default":"","description":"Map mod count bands (1-6, 8) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed; unidentified maps have no mod count"},"mapAtlasDrops":{"type":"string","maxLength":60,"default":"","description":"Map Atlas Drops % bands (0-39, 40-59, 60-79, 80-99, 100-119, 120) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed; only identified tier 16 and Nightmare maps have an Atlas Drops band"},"mapDelirium":{"type":"string","maxLength":60,"default":"","description":"Map delirium % bands (0, 20, 40, 60, 80, 100) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed"},"mapContent":{"type":"string","maxLength":200,"default":"","description":"Map league content bands (none, delirium-mirror, mirage, wildwood, apex-sentinel, pandemonium-sentinel, stalker-sentinel, evocator-beidat, evocator-ktash, evocator-ghorr) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed; a map passes with any included content (`none`: no content) and no excluded one"},"mapInfluence":{"type":"string","maxLength":60,"default":"","description":"Map influence bands (none, shaper, elder, elder-guardian, memory, citadel) to include, comma-separated; prefix one with - to exclude it. Set, only tier and Nightmare map markets are listed; `none` is an uninfluenced map, `elder-guardian` an Elder map occupied by any guardian, and `citadel` a map holding any Conqueror's Citadel, which can also carry another influence such as `memory`; a map passes with any included influence and no excluded one"},"baseClass":{"type":"string","enum":["","Amulet","Belt","Ring","Body Armour","Boots","Gloves","Helmet","Shield","Bow","Claw","Dagger","One Hand Axe","One Hand Mace","One Hand Sword","Quiver","Rune Dagger","Sceptre","Staff","Thrusting One Hand Sword","Two Hand Axe","Two Hand Mace","Two Hand Sword","Wand","Warstaff","Life Flask","Mana Flask","Hybrid Flask","Utility Flask","Small Cluster Jewel","Medium Cluster Jewel","Large Cluster Jewel"],"default":"","description":"The item class of a crafting base, or of a unique's base type"},"attributes":{"type":"string","enum":["","str","dex","int","str-dex","str-int","dex-int","str-dex-int"],"default":"","description":"The attributes a crafting base, or a unique's base type, requires, e.g. `str-int`"},"ilvl":{"type":"string","enum":["1","50","68","74","75","76","77","78","79","80","81","82","83","84","85","86",""],"default":"","description":"Crafting bases whose item level band includes this level"},"baseLinks":{"type":"string","enum":["6","","1-5"],"default":""},"quality":{"type":"string","enum":["25","30",""],"default":"","description":"Crafting base cohorts split at this minimum quality"},"item":{"type":"string","maxLength":255},"identified":{"type":"string","enum":["true","false"],"default":"true"},"corrupted":{"type":"string","enum":["true","false"],"default":"false"},"kind":{"type":"string","maxLength":32,"default":""},"value":{"type":"string","maxLength":255,"default":""},"links":{"type":"string","enum":["0","5","6"]},"currency":{"type":"string","maxLength":40,"default":"divine"},"priceMin":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"priceMax":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"listingsMin":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"listingsMax":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"sellersMin":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"sellersMax":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"salesMin":{"type":["number","null"],"minimum":0,"maximum":1000000000000},"salesMax":{"type":["number","null"],"minimum":0,"maximum":1000000000000}}},"seasons":{"type":"array","items":{"type":"object","properties":{"league":{"type":"string"},"firstHour":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}]},"latestHour":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}]}},"required":["league","firstHour","latestHour"]}},"season":{"type":"object","properties":{"league":{"type":"string"},"firstHour":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}]},"latestHour":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}]}},"required":["league","firstHour","latestHour"]},"rows":{"type":"array","items":{"type":"object","properties":{"realm":{"type":"string","maxLength":10},"league":{"type":"string","maxLength":100},"hour":{"type":"integer","minimum":0,"maximum":4294967295},"itemKey":{"type":"string","maxLength":255},"identified":{"type":"boolean"},"corrupted":{"type":"boolean"},"signatureKind":{"type":"string","maxLength":32},"signatureValue":{"type":"string","maxLength":255},"iconAsset":{"type":["string","null"],"maxLength":255},"name":{"type":["string","null"],"maxLength":100},"baseType":{"type":"string","maxLength":100},"frameType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"listingCount":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"uniqueSellers":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"newCount":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647},"soldAgeSeconds":{"type":["number","null"],"minimum":0,"description":"Mean age in seconds at likely sale, weighted across the selected link groups"},"removedCount":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"likelySales":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"relistedCount":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"pendingCount":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"salesPrices":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"object","additionalProperties":{}},{"type":"array","items":{}}]},"delistedPrices":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"object","additionalProperties":{}},{"type":"array","items":{}}]},"prices":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"object","additionalProperties":{}},{"type":"array","items":{}}]},"signatureData":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"object","additionalProperties":{}},{"type":"array","items":{}}]},"firstSeenAt":{"type":"string","maxLength":32},"lastSeenAt":{"type":"string","maxLength":32},"category":{"type":"string","enum":["currency","fragments","cards","oils","incubators","tattoos","omens","weapons","armour","accessories","flasks","jewels","forbidden","gems","tinctures","relics","maps","scarabs","delirium","invitations","memories","heist","wombgifts","legion","expedition","embers","ducats","encounters","fossils","resonators","essences","catalysts","runes","beasts","corpses","armour-bases","weapon-bases","accessory-bases","flask-bases","cluster-jewel-bases","other"]},"rank":{"type":["number","null"]},"periodSales":{"type":"number"},"periodRemovals":{"type":"number"},"periodPending":{"type":"number"},"baseDescription":{"type":["string","null"],"description":"A crafting base's item class, attributes and level requirement; null otherwise"},"recentSales":{"type":"object","properties":{"hourly":{"type":"array","items":{"type":"number"},"description":"Likely sales in each of the 24 hours to the season's latest, oldest first"},"daily":{"type":"array","items":{"type":"number"},"description":"Likely sales on each of the 7 UTC days to the season's latest hour, oldest first"}},"required":["hourly","daily"]},"priceTrend":{"type":"object","properties":{"hourly":{"type":"array","items":{"type":["number","null"]},"description":"Price in each of the 24 hours to the season's latest hour, oldest first; null where it had no price"},"daily":{"type":"array","items":{"type":["number","null"]},"description":"Price on each of the 7 UTC days to the season's latest hour at the day's newest priced hour, oldest first"},"change24h":{"type":["number","null"],"description":"Change from the first to the last price of `hourly`, as a fraction"},"change3d":{"type":["number","null"],"description":"Change from the first to the last price of the last 3 days of `daily`, as a fraction"},"change7d":{"type":["number","null"],"description":"Change from the first to the last price of `daily`, as a fraction"}},"required":["hourly","daily","change24h","change3d","change7d"],"description":"Prices in `currency`, each the price locked on the market hour when it was written (in chaos or divine, or chaos converted at that hour's rate for another currency), as the price cell and the price order read it. Every price and change is null in the `forbidden` category"}},"required":["realm","league","hour","itemKey","identified","corrupted","signatureKind","signatureValue","iconAsset","name","baseType","frameType","listingCount","uniqueSellers","newCount","soldAgeSeconds","removedCount","likelySales","relistedCount","pendingCount","salesPrices","delistedPrices","prices","signatureData","firstSeenAt","lastSeenAt","category","rank","periodSales","periodRemovals","periodPending","baseDescription","recentSales","priceTrend"]}},"hasMore":{"type":"boolean"},"baseDescription":{"type":["string","null"],"description":"With a crafting base item, its item class, attributes and level"},"exchange":{"type":"array","items":{"type":"object","properties":{"itemId":{"type":"string"},"name":{"type":"string"},"category":{"type":"string","enum":["currency","fragments","cards","oils","incubators","tattoos","omens","weapons","armour","accessories","flasks","jewels","forbidden","gems","tinctures","relics","maps","scarabs","delirium","invitations","memories","heist","wombgifts","legion","expedition","embers","ducats","encounters","fossils","resonators","essences","catalysts","runes","beasts","corpses","armour-bases","weapon-bases","accessory-bases","flask-bases","cluster-jewel-bases","other","abyssal-bones","vaal","verisium","uncut-gems","lineage-gems","ritual","breach"]},"price":{"type":["number","null"],"description":"Units of the exchange unit per unit from the latest completed hour's trades, or else from the newest of the last 7 UTC days that traded (`current` false); null without a path through chaos, divine, exalted or another traded item. A pair traded in under a tenth of the hours of the item's busiest pair over those days does not set it"},"via":{"type":["object","null"],"properties":{"itemId":{"type":"string"},"name":{"type":"string"}},"required":["itemId","name"],"description":"The item the price was converted through; the exchange unit itself for a direct pair"},"hour":{"type":["number","null"],"description":"The newest hour the price reflects, or without a price the newest hour the item traded in those days"},"current":{"type":"boolean","description":"The price comes from the latest completed hour"},"volume":{"type":["number","null"],"description":"Value traded per hour, in the exchange unit, over the last 7 UTC days, at the row's price"},"history":{"type":"array","items":{"type":["number","null"]},"description":"Price on each of the last 7 UTC days, oldest first"},"change":{"type":["number","null"],"description":"Change from the first to the last priced day of `history`, as a fraction"},"hourly":{"type":"array","items":{"type":["number","null"]},"description":"Price in each of the 24 hours to the latest completed hour, oldest first; null where the item did not trade"},"change24h":{"type":["number","null"],"description":"Change from the first to the last priced hour of `hourly`, as a fraction"},"change3d":{"type":["number","null"],"description":"Change from the first to the last priced day of the last 3 days of `history`, as a fraction"},"pair":{"type":["object","null"],"properties":{"quoteId":{"type":"string"},"name":{"type":"string"},"rate":{"type":"number"}},"required":["quoteId","name","rate"],"description":"The pair with the most units of this item traded in those days, with units of the other item per unit at its newest rate"},"recentVolume":{"type":"object","properties":{"hourly":{"type":"array","items":{"type":"number"},"description":"Units of the item traded in each of the 24 hours to the latest, oldest first"},"daily":{"type":"array","items":{"type":"number"},"description":"Units of the item traded on each of the last 7 UTC days, oldest first"}},"required":["hourly","daily"]}},"required":["itemId","name","category","price","via","hour","current","volume","history","change","hourly","change24h","change3d","pair","recentVolume"]},"description":"Items on the exchange, dearest first, priced in `exchangeUnit`; their stash listings are left out of rows. Read one with get_season_exchange_item"},"exchangeUnit":{"type":"string","enum":["chaos","exalted"],"description":"The currency exchange prices are in: chaos for PoE 1 realms, exalted for poe2"},"chaosRates":{"type":"object","additionalProperties":{"type":"number"},"description":"Chaos per unit of each listing currency on the page, at the season's latest hour"},"variants":{"type":"array","items":{"type":"object","properties":{"itemKey":{"type":"string","maxLength":255},"name":{"type":["string","null"],"maxLength":100},"baseType":{"type":"string","maxLength":100},"frameType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"identified":{"type":"boolean"},"corrupted":{"type":"boolean"},"signatureKind":{"type":"string","maxLength":32},"signatureValue":{"type":"string","maxLength":255},"signatureData":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"object","additionalProperties":{}},{"type":"array","items":{}}]},"periodSales":{"type":"number"},"latestHour":{"type":"number","description":"The latest hour in the period the variant was listed"},"listingCount":{"type":"number","description":"Listings in `latestHour`"},"prices":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"object","additionalProperties":{}},{"type":"array","items":{}}],"description":"Asking prices per listing currency in `latestHour`"},"links":{"type":["number","null"],"description":"5 or 6 linked sockets, 0 for fewer; null for the market merging every link count (pass it as `links` to read one)"}},"required":["itemKey","name","baseType","frameType","identified","corrupted","signatureKind","signatureValue","signatureData","periodSales","latestHour","listingCount","prices","links"]},"description":"The item's markets, plus the same unique's markets in the other identification state (unidentified uniques are keyed unid:<icon>). A market with 5- or 6-link copies also lists each link count"},"modValues":{"type":["array","null"],"items":{"type":"object","properties":{"signatureValue":{"type":"string"},"mod":{"type":"string"},"modCount":{"type":"number"},"listings":{"type":"number"},"cheapest":{"type":["number","null"]},"medianAsk":{"type":["number","null"]},"sales":{"type":"number"},"saleMedian":{"type":["number","null"]}},"required":["signatureValue","mod","modCount","listings","cheapest","medianAsk","sales","saleMedian"]},"description":"For a unique whose mods come from a pool (kinds watchers-eye, loreweave): each mod's value per mod count. Every item counts once for each of its mods at its full price, so these totals exceed the item's. Listings and asks are from the latest hour; likely sales and their median last ask cover the period, in the display currency. Open a mod's own market with its `signatureValue` as `value`. Lists and variants show such a unique as one market with an empty `value`."},"priceRates":{"type":"object","additionalProperties":{"type":"number"},"description":"Units of each of the game's price currencies (PoE 1 chaos and divine; PoE 2 exalted, chaos, annul and divine) per exchange unit at the season's latest hour, for the value display; currencies without an exchange rate are absent"},"historyUnit":{"type":"string","description":"The currency `history` prices are in: chaos for PoE 1 realms, exalted for poe2"},"priceTrend":{"type":["object","null"],"properties":{"hourly":{"type":"array","items":{"type":["number","null"]},"description":"Price in each of the 24 hours to the season's latest hour, oldest first; null where it had no price"},"daily":{"type":"array","items":{"type":["number","null"]},"description":"Price on each of the 7 UTC days to the season's latest hour at the day's newest priced hour, oldest first"},"change24h":{"type":["number","null"],"description":"Change from the first to the last price of `hourly`, as a fraction"},"change3d":{"type":["number","null"],"description":"Change from the first to the last price of the last 3 days of `daily`, as a fraction"},"change7d":{"type":["number","null"],"description":"Change from the first to the last price of `daily`, as a fraction"}},"required":["hourly","daily","change24h","change3d","change7d"],"description":"With an item, the median asking price of `history` in `currency`, merging every listing currency at each hour's exchange rate; null otherwise"},"history":{"type":"array","items":{"type":"object","properties":{"realm":{"type":"string","maxLength":10},"league":{"type":"string","maxLength":100},"hour":{"type":"integer","minimum":0,"maximum":4294967295},"itemKey":{"type":"string","maxLength":255},"identified":{"type":"boolean"},"corrupted":{"type":"boolean"},"signatureKind":{"type":"string","maxLength":32},"signatureValue":{"type":"string","maxLength":255},"iconAsset":{"type":["string","null"],"maxLength":255},"name":{"type":["string","null"],"maxLength":100},"baseType":{"type":"string","maxLength":100},"frameType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"listingCount":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"uniqueSellers":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"newCount":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647},"soldAgeSeconds":{"type":["number","null"],"minimum":0,"description":"Mean age in seconds at likely sale, weighted across the selected link groups"},"removedCount":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"likelySales":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"relistedCount":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"pendingCount":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"salesPrices":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"object","additionalProperties":{}},{"type":"array","items":{}}]},"delistedPrices":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"object","additionalProperties":{}},{"type":"array","items":{}}]},"prices":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"object","additionalProperties":{}},{"type":"array","items":{}}]},"signatureData":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"object","additionalProperties":{}},{"type":"array","items":{}}]},"firstSeenAt":{"type":"string","maxLength":32},"lastSeenAt":{"type":"string","maxLength":32},"merged":{"type":["object","null"],"properties":{"count":{"type":"integer","exclusiveMinimum":0},"unconverted":{"type":"integer","minimum":0},"mean":{"type":["number","null"],"exclusiveMinimum":0},"min":{"type":"number","exclusiveMinimum":0},"p10":{"type":"number","exclusiveMinimum":0},"p25":{"type":"number","exclusiveMinimum":0},"median":{"type":"number","exclusiveMinimum":0},"p75":{"type":"number","exclusiveMinimum":0},"p90":{"type":"number","exclusiveMinimum":0},"max":{"type":"number","exclusiveMinimum":0}},"required":["count","unconverted","mean","min","p10","p25","median","p75","p90","max"],"description":"Asking prices from every listing currency, each converted at this hour's exchange rate into `historyUnit`"},"mergedSales":{"type":["object","null"],"properties":{"count":{"type":"integer","exclusiveMinimum":0},"unconverted":{"type":"integer","minimum":0},"mean":{"type":["number","null"],"exclusiveMinimum":0},"min":{"type":"number","exclusiveMinimum":0},"p10":{"type":"number","exclusiveMinimum":0},"p25":{"type":"number","exclusiveMinimum":0},"median":{"type":"number","exclusiveMinimum":0},"p75":{"type":"number","exclusiveMinimum":0},"p90":{"type":"number","exclusiveMinimum":0},"max":{"type":"number","exclusiveMinimum":0}},"required":["count","unconverted","mean","min","p10","p25","median","p75","p90","max"],"description":"Last asks of likely sales, converted like `merged`"},"mergedDelisted":{"type":["object","null"],"properties":{"count":{"type":"integer","exclusiveMinimum":0},"unconverted":{"type":"integer","minimum":0},"mean":{"type":["number","null"],"exclusiveMinimum":0},"min":{"type":"number","exclusiveMinimum":0},"p10":{"type":"number","exclusiveMinimum":0},"p25":{"type":"number","exclusiveMinimum":0},"median":{"type":"number","exclusiveMinimum":0},"p75":{"type":"number","exclusiveMinimum":0},"p90":{"type":"number","exclusiveMinimum":0},"max":{"type":"number","exclusiveMinimum":0}},"required":["count","unconverted","mean","min","p10","p25","median","p75","p90","max"],"description":"Last asks of removals that are not likely sales, relists or undecided, converted like `merged`"},"priceRates":{"type":"object","additionalProperties":{"type":"number"},"description":"Units of each of the game's price currencies (PoE 1 chaos and divine; PoE 2 exalted, chaos, annul and divine) per exchange unit at this hour, for the value display; currencies without an exchange rate are absent"}},"required":["realm","league","hour","itemKey","identified","corrupted","signatureKind","signatureValue","iconAsset","name","baseType","frameType","listingCount","uniqueSellers","newCount","soldAgeSeconds","removedCount","likelySales","relistedCount","pendingCount","salesPrices","delistedPrices","prices","signatureData","firstSeenAt","lastSeenAt","merged","mergedSales","mergedDelisted","priceRates"]}}},"required":["filters","seasons","rows","hasMore","baseDescription","exchange","exchangeUnit","chaosRates","variants","modValues","priceRates","historyUnit","priceTrend","history"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/market/exchange-item":{"get":{"operationId":"get_season_exchange_item","summary":"Read one currency exchange item (an item ID from the season market's `exchange` rows, or the PoE 2 market's `rows` with realm `poe2`): its current price in `unit`, 24-hour, 3-day and 7-day changes, volume and most traded pair as listed, plus its hourly history over the last `days` days through its chaos, divine and exalted pairs and its eight other most traded pairs. An empty league reads the league whose exchange traded most recently.","tags":["market"],"security":[],"parameters":[{"schema":{"type":"string","enum":["pc","poe2","xbox","sony"],"default":"pc"},"required":false,"name":"realm","in":"query"},{"schema":{"type":"string","maxLength":100,"default":""},"required":false,"name":"league","in":"query"},{"schema":{"type":"string","enum":["7","30","90"],"default":"7"},"required":false,"name":"days","in":"query"},{"schema":{"type":"string","maxLength":255},"required":true,"name":"itemId","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"realm":{"type":"string"},"league":{"type":"string"},"seasons":{"type":"array","items":{"type":"object","properties":{"league":{"type":"string"},"firstHour":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}]},"latestHour":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}]}},"required":["league","firstHour","latestHour"]},"description":"Leagues with exchange data, active leagues first"},"latestHour":{"type":"number","description":"The latest completed hour"},"historyStart":{"type":"number","description":"The first hour of `history`"},"unit":{"type":"string","enum":["chaos","exalted"],"description":"The currency exchange prices are in: chaos for PoE 1 realms, exalted for poe2"},"item":{"type":["object","null"],"properties":{"itemId":{"type":"string"},"name":{"type":"string"},"category":{"type":"string","enum":["currency","fragments","cards","oils","incubators","tattoos","omens","weapons","armour","accessories","flasks","jewels","forbidden","gems","tinctures","relics","maps","scarabs","delirium","invitations","memories","heist","wombgifts","legion","expedition","embers","ducats","encounters","fossils","resonators","essences","catalysts","runes","beasts","corpses","armour-bases","weapon-bases","accessory-bases","flask-bases","cluster-jewel-bases","other","abyssal-bones","vaal","verisium","uncut-gems","lineage-gems","ritual","breach"]},"price":{"type":["number","null"],"description":"Units of the exchange unit per unit from the latest completed hour's trades, or else from the newest of the last 7 UTC days that traded (`current` false); null without a path through chaos, divine, exalted or another traded item. A pair traded in under a tenth of the hours of the item's busiest pair over those days does not set it"},"via":{"type":["object","null"],"properties":{"itemId":{"type":"string"},"name":{"type":"string"}},"required":["itemId","name"],"description":"The item the price was converted through; the exchange unit itself for a direct pair"},"hour":{"type":["number","null"],"description":"The newest hour the price reflects, or without a price the newest hour the item traded in those days"},"current":{"type":"boolean","description":"The price comes from the latest completed hour"},"volume":{"type":["number","null"],"description":"Value traded per hour, in the exchange unit, over the last 7 UTC days, at the row's price"},"history":{"type":"array","items":{"type":["number","null"]},"description":"Price on each of the last 7 UTC days, oldest first"},"change":{"type":["number","null"],"description":"Change from the first to the last priced day of `history`, as a fraction"},"hourly":{"type":"array","items":{"type":["number","null"]},"description":"Price in each of the 24 hours to the latest completed hour, oldest first; null where the item did not trade"},"change24h":{"type":["number","null"],"description":"Change from the first to the last priced hour of `hourly`, as a fraction"},"change3d":{"type":["number","null"],"description":"Change from the first to the last priced day of the last 3 days of `history`, as a fraction"},"pair":{"type":["object","null"],"properties":{"quoteId":{"type":"string"},"name":{"type":"string"},"rate":{"type":"number"}},"required":["quoteId","name","rate"],"description":"The pair with the most units of this item traded in those days, with units of the other item per unit at its newest rate"}},"required":["itemId","name","category","price","via","hour","current","volume","history","change","hourly","change24h","change3d","pair"],"description":"Null for an item ID outside the game's exchange item catalogue"},"divine":{"type":["number","null"],"description":"Exchange units per Divine Orb, as the list prices it, for display"},"priceRates":{"type":"object","additionalProperties":{"type":"number"},"description":"Units of each of the game's price currencies (PoE 1 chaos and divine; PoE 2 exalted, chaos, annul and divine) per exchange unit as the list prices them, for the value display; currencies without an exchange rate are absent"},"history":{"type":"object","properties":{"prices":{"type":"array","items":{"type":"object","properties":{"hour":{"type":"number"},"price":{"type":["number","null"]},"low":{"type":["number","null"]},"high":{"type":["number","null"]},"p25":{"type":["number","null"]},"p75":{"type":["number","null"]},"via":{"type":["string","null"]},"units":{"type":"number"}},"required":["hour","price","low","high","p25","p75","via","units"]},"description":"Each hour the item traded, oldest first: its volume-weighted price in the exchange unit (directly or through `via`; null when only `lowVolume` pairs traded, since they do not set it), the hour's lowest and highest rates of that pair in the exchange unit (scaled by `via`'s price), their interquartile range estimated from those rates and the volume-weighted price (null at 8 units or fewer on that pair), and units traded across its pairs"},"pairs":{"type":"array","items":{"type":"object","properties":{"quoteId":{"type":"string"},"name":{"type":"string"},"hours":{"type":"array","items":{"type":"object","properties":{"hour":{"type":"number"},"rate":{"type":"number"},"low":{"type":["number","null"]},"high":{"type":["number","null"]},"p25":{"type":["number","null"]},"p75":{"type":["number","null"]},"units":{"type":"number"}},"required":["hour","rate","low","high","p25","p75","units"]}},"lowVolume":{"type":"boolean","description":"Traded in under a tenth of the hours of the item's busiest pair over the period. These do not set the item's price, and the item page hides them by default"}},"required":["quoteId","name","hours","lowVolume"]},"description":"Each pair, most traded first: per traded hour, units of the other item per unit (volume-weighted, lowest, highest and estimated interquartile range) and units of this item traded"}},"required":["prices","pairs"]}},"required":["realm","league","seasons","latestHour","historyStart","unit","item","divine","priceRates","history"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}},"/api/v1/market/poe2-exchange":{"get":{"operationId":"get_poe2_season_exchange","summary":"Read the PoE 2 season market: every item on the currency exchange in a category (the trade site's bulk exchange groups), priced in exalted, dearest first. Each row has its 7-day trend, volume and most traded pair; read one with get_season_exchange_item and realm `poe2`. An empty league reads the season whose exchange traded most recently.","tags":["market"],"security":[],"parameters":[{"schema":{"type":"string","maxLength":100,"default":""},"required":false,"name":"league","in":"query"},{"schema":{"type":"string","maxLength":100,"default":""},"required":false,"name":"q","in":"query"},{"schema":{"type":"string","enum":["7","30","90"],"default":"7"},"required":false,"name":"days","in":"query"},{"schema":{"anyOf":[{"type":"string","enum":["currency","fragments","essences","runes","abyssal-bones","vaal","verisium","uncut-gems","lineage-gems","ritual","delirium","breach","expedition","other"]},{"type":"string","enum":["all"]}],"default":"all"},"required":false,"name":"category","in":"query"}],"responses":{"200":{"description":"Operation result.","content":{"application/json":{"schema":{"type":"object","properties":{"filters":{"type":"object","properties":{"league":{"type":"string","maxLength":100,"default":""},"q":{"type":"string","maxLength":100,"default":""},"days":{"type":"string","enum":["7","30","90"],"default":"7"},"category":{"anyOf":[{"type":"string","enum":["currency","fragments","essences","runes","abyssal-bones","vaal","verisium","uncut-gems","lineage-gems","ritual","delirium","breach","expedition","other"]},{"type":"string","enum":["all"]}],"default":"all"}}},"seasons":{"type":"array","items":{"type":"object","properties":{"league":{"type":"string"},"firstHour":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}]},"latestHour":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}]}},"required":["league","firstHour","latestHour"]}},"season":{"type":"object","properties":{"league":{"type":"string"},"firstHour":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}]},"latestHour":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}]}},"required":["league","firstHour","latestHour"]},"unit":{"type":"string","enum":["chaos","exalted"],"description":"The currency exchange prices are in: chaos for PoE 1 realms, exalted for poe2"},"divine":{"type":["number","null"],"description":"Exalted per Divine Orb, for display"},"priceRates":{"type":"object","additionalProperties":{"type":"number"},"description":"Units of each of the game's price currencies (PoE 1 chaos and divine; PoE 2 exalted, chaos, annul and divine) per exchange unit as the rows price them, for the value display; currencies without an exchange rate are absent"},"rows":{"type":"array","items":{"type":"object","properties":{"itemId":{"type":"string"},"name":{"type":"string"},"category":{"type":"string","enum":["currency","fragments","cards","oils","incubators","tattoos","omens","weapons","armour","accessories","flasks","jewels","forbidden","gems","tinctures","relics","maps","scarabs","delirium","invitations","memories","heist","wombgifts","legion","expedition","embers","ducats","encounters","fossils","resonators","essences","catalysts","runes","beasts","corpses","armour-bases","weapon-bases","accessory-bases","flask-bases","cluster-jewel-bases","other","abyssal-bones","vaal","verisium","uncut-gems","lineage-gems","ritual","breach"]},"price":{"type":["number","null"],"description":"Units of the exchange unit per unit from the latest completed hour's trades, or else from the newest of the last 7 UTC days that traded (`current` false); null without a path through chaos, divine, exalted or another traded item. A pair traded in under a tenth of the hours of the item's busiest pair over those days does not set it"},"via":{"type":["object","null"],"properties":{"itemId":{"type":"string"},"name":{"type":"string"}},"required":["itemId","name"],"description":"The item the price was converted through; the exchange unit itself for a direct pair"},"hour":{"type":["number","null"],"description":"The newest hour the price reflects, or without a price the newest hour the item traded in those days"},"current":{"type":"boolean","description":"The price comes from the latest completed hour"},"volume":{"type":["number","null"],"description":"Value traded per hour, in the exchange unit, over the last 7 UTC days, at the row's price"},"history":{"type":"array","items":{"type":["number","null"]},"description":"Price on each of the last 7 UTC days, oldest first"},"change":{"type":["number","null"],"description":"Change from the first to the last priced day of `history`, as a fraction"},"hourly":{"type":"array","items":{"type":["number","null"]},"description":"Price in each of the 24 hours to the latest completed hour, oldest first; null where the item did not trade"},"change24h":{"type":["number","null"],"description":"Change from the first to the last priced hour of `hourly`, as a fraction"},"change3d":{"type":["number","null"],"description":"Change from the first to the last priced day of the last 3 days of `history`, as a fraction"},"pair":{"type":["object","null"],"properties":{"quoteId":{"type":"string"},"name":{"type":"string"},"rate":{"type":"number"}},"required":["quoteId","name","rate"],"description":"The pair with the most units of this item traded in those days, with units of the other item per unit at its newest rate"},"recentVolume":{"type":"object","properties":{"hourly":{"type":"array","items":{"type":"number"},"description":"Units of the item traded in each of the 24 hours to the latest, oldest first"},"daily":{"type":"array","items":{"type":"number"},"description":"Units of the item traded on each of the last 7 UTC days, oldest first"}},"required":["hourly","daily"]}},"required":["itemId","name","category","price","via","hour","current","volume","history","change","hourly","change24h","change3d","pair","recentVolume"]}},"uniqueItems":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"base":{"type":"string"}},"required":["name","base"]},"description":"Unpriced PoE 2 catalog entries matching the search by unique name or base type"}},"required":["filters","seasons","unit","divine","priceRates","rows","uniqueItems"]}}}},"400":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"403":{"description":"Request refused.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"404":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"409":{"description":"Operation conflicts with the current state.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"413":{"description":"Request body exceeds 1 MiB.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"500":{"description":"Unexpected failure.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}},"503":{"description":"Data unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}}}}},"webhooks":{}}