{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/averray-com/json-schema/averray-com-account-summary-schema.json",
  "title": "AccountSummary",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/averray-com-openapi.json#/components/schemas/AccountSummary",
  "type": "object",
  "required": [
    "wallet",
    "liquid",
    "reserved",
    "strategyAllocated",
    "collateralLocked",
    "jobStakeLocked",
    "debtOutstanding"
  ],
  "properties": {
    "wallet": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$"
    },
    "liquid": {
      "$ref": "#/$defs/AssetAmountMap"
    },
    "walletBalance": {
      "$ref": "#/$defs/AssetAmountMap"
    },
    "reserved": {
      "$ref": "#/$defs/AssetAmountMap"
    },
    "strategyAllocated": {
      "$ref": "#/$defs/AssetAmountMap"
    },
    "strategyShares": {
      "type": "object",
      "additionalProperties": true
    },
    "strategyActivity": {
      "type": "object",
      "additionalProperties": true
    },
    "strategyAccounting": {
      "type": "object",
      "additionalProperties": true
    },
    "treasuryTimeline": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "collateralLocked": {
      "$ref": "#/$defs/AssetAmountMap"
    },
    "jobStakeLocked": {
      "$ref": "#/$defs/AssetAmountMap"
    },
    "debtOutstanding": {
      "$ref": "#/$defs/AssetAmountMap"
    },
    "raw": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": true,
  "$defs": {
    "AssetAmountMap": {
      "type": "object",
      "additionalProperties": {
        "type": "number"
      }
    }
  }
}