{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reservoir/json-schema/reservoir-post-execute-solve-capacity-v2-response-schema.json",
  "title": "postExecuteSolveCapacityV2Response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reservoir-misc-api-openapi.yml#/components/schemas/postExecuteSolveCapacityV2Response",
  "type": "object",
  "properties": {
    "capacityPerRequest": {
      "type": "string",
      "pattern": "^-?[0-9]+$"
    },
    "totalCapacity": {
      "type": "string",
      "pattern": "^-?[0-9]+$"
    },
    "userBalance": {
      "$ref": "#/$defs/userBalance"
    },
    "maxPricePerItem": {
      "type": "string",
      "pattern": "^-?[0-9]+$"
    }
  },
  "required": [
    "capacityPerRequest",
    "totalCapacity",
    "maxPricePerItem"
  ],
  "$defs": {
    "userBalance": {
      "type": "object",
      "properties": {
        "currentChain": {
          "type": "string",
          "pattern": "^-?[0-9]+$"
        },
        "allChains": {
          "type": "string",
          "pattern": "^-?[0-9]+$"
        }
      },
      "required": [
        "currentChain",
        "allChains"
      ]
    }
  }
}