{
  "type": "object",
  "properties": {
    "schema_version": {
      "const": "shroom-observatory-v2"
    },
    "snapshot_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "generated_at": {
      "type": "string",
      "format": "date-time",
      "pattern": "Z$"
    },
    "evidence_asof": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time",
          "pattern": "Z$"
        },
        {
          "type": "null"
        }
      ]
    },
    "chain_id": {
      "const": 4663
    },
    "token_address": {
      "const": "0xab093def657f15df31b33922a95e047add645b29"
    },
    "historical": {
      "const": false
    },
    "methodology_version": {
      "const": "standalone-v2.0"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z0-9_-]+$",
            "maxLength": 100
          },
          "name": {
            "type": "string",
            "maxLength": 2000,
            "pattern": "^[^<>]*$"
          },
          "url": {
            "type": "string",
            "format": "uri",
            "maxLength": 500
          },
          "status": {
            "enum": [
              "available",
              "partial",
              "unavailable"
            ]
          },
          "checked_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "Z$"
          },
          "capability": {
            "type": "string",
            "maxLength": 2000,
            "pattern": "^[^<>]*$"
          },
          "credential_required": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "url",
          "status",
          "checked_at",
          "capability",
          "credential_required"
        ],
        "additionalProperties": false
      }
    },
    "components": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "enum": [
              "identity",
              "market",
              "liquidity",
              "rewards",
              "fees",
              "demand",
              "synthesis",
              "project_reported",
              "valuation",
              "reconciliation",
              "position_history",
              "fee_ledger",
              "burns",
              "discovery",
              "issuer_parity",
              "external_positions",
              "burn_provenance",
              "changes",
              "liquidity_census",
              "pendle_census",
              "treasury",
              "destinations"
            ]
          },
          "title": {
            "type": "string",
            "maxLength": 2000,
            "pattern": "^[^<>]*$"
          },
          "status": {
            "enum": [
              "verified",
              "indexed",
              "estimated",
              "project_reported",
              "partial",
              "unavailable",
              "stale"
            ]
          },
          "observed_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              {
                "type": "null"
              }
            ]
          },
          "available_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              {
                "type": "null"
              }
            ]
          },
          "metrics": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^[a-z0-9_-]+$",
                  "maxLength": 100
                },
                "label": {
                  "type": "string",
                  "maxLength": 2000,
                  "pattern": "^[^<>]*$"
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                      "maxLength": 120
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "unit": {
                  "type": "string",
                  "maxLength": 2000,
                  "pattern": "^[^<>]*$"
                },
                "raw_amount": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^-?(0|[1-9][0-9]*)$",
                      "maxLength": 79
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "decimals": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 36
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "status": {
                  "enum": [
                    "verified",
                    "indexed",
                    "estimated",
                    "project_reported",
                    "partial",
                    "unavailable",
                    "stale"
                  ]
                },
                "observed_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "Z$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "available_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "Z$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "window_start": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "Z$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "window_end": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "Z$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "block_number": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "block_hash": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^0x[a-f0-9]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "coverage": {
                  "type": "object",
                  "properties": {
                    "numerator": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "denominator": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "complete": {
                      "type": "boolean"
                    },
                    "scope": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    }
                  },
                  "required": [
                    "numerator",
                    "denominator",
                    "complete",
                    "scope"
                  ],
                  "additionalProperties": false
                },
                "source_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-z0-9_-]+$",
                    "maxLength": 100
                  }
                },
                "evidence_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  }
                },
                "method": {
                  "type": "string",
                  "maxLength": 2000,
                  "pattern": "^[^<>]*$"
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  }
                },
                "temporal_kind": {
                  "enum": [
                    "fixed_window"
                  ]
                },
                "basis": {
                  "type": "object",
                  "properties": {
                    "population_id": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "ownership_basis": {
                      "enum": [
                        "historical_attribution",
                        "current_tracked_operator_title",
                        "other_recorded_title"
                      ]
                    },
                    "liquidity_basis": {
                      "const": "all_measured_including_empty"
                    },
                    "pricing_basis_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[a-f0-9]{64}$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "evidence_block_number": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "evidence_block_hash": {
                      "type": "string",
                      "pattern": "^0x[a-f0-9]{64}$"
                    },
                    "window_start": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "Z$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "window_end": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "Z$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "pricing_observation_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[a-f0-9]{64}$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "population_id",
                    "ownership_basis",
                    "liquidity_basis",
                    "pricing_basis_id",
                    "evidence_block_number",
                    "evidence_block_hash",
                    "window_start",
                    "window_end"
                  ],
                  "additionalProperties": false
                },
                "comparison_basis": {
                  "type": "object",
                  "properties": {
                    "opening_population_id": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "closing_population_id": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "matched_population_id": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "opening_positions": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "closing_positions": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "matched_positions": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "absent_from_opening": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "absent_from_closing": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "changed_title_or_identity": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "unsupported_positions": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "opening_population_id",
                    "closing_population_id",
                    "matched_population_id",
                    "opening_positions",
                    "closing_positions",
                    "matched_positions",
                    "absent_from_opening",
                    "absent_from_closing",
                    "changed_title_or_identity",
                    "unsupported_positions"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "label",
                "value",
                "unit",
                "raw_amount",
                "decimals",
                "status",
                "observed_at",
                "available_at",
                "window_start",
                "window_end",
                "block_number",
                "block_hash",
                "coverage",
                "source_ids",
                "evidence_ids",
                "method",
                "limitations"
              ],
              "additionalProperties": false
            }
          },
          "table": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string",
                      "pattern": "^[a-z0-9_-]+$",
                      "maxLength": 100
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    }
                  },
                  "required": [
                    "key",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z0-9_-]+$",
                      "maxLength": 100
                    },
                    "cells": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "status": {
                      "enum": [
                        "verified",
                        "indexed",
                        "estimated",
                        "project_reported",
                        "partial",
                        "unavailable",
                        "stale"
                      ]
                    },
                    "observed_at": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "Z$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "source_ids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-z0-9_-]+$",
                        "maxLength": 100
                      }
                    },
                    "evidence_ids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      }
                    },
                    "limitations": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 2000,
                        "pattern": "^[^<>]*$"
                      }
                    },
                    "evidence_basis": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "enum": [
                            "bounded_accounting",
                            "burn_sender_ledger",
                            "noncomparable_juxtaposition"
                          ]
                        },
                        "verified_claim": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "unresolved_claim": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        }
                      },
                      "required": [
                        "kind",
                        "verified_claim",
                        "unresolved_claim"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "id",
                    "cells",
                    "status",
                    "observed_at",
                    "source_ids",
                    "evidence_ids",
                    "limitations"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "columns",
              "rows"
            ],
            "additionalProperties": false
          },
          "limitations": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 2000,
              "pattern": "^[^<>]*$"
            }
          },
          "status_reason": {
            "type": "string",
            "maxLength": 2000,
            "pattern": "^[^<>]*$"
          },
          "delivery_value_history": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "window_start": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "Z$"
                },
                "window_end": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "Z$"
                },
                "mu_raw": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]*)$",
                      "maxLength": 78
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "priced_mu_raw": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$",
                  "maxLength": 78
                },
                "unpriced_mu_raw": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$",
                  "maxLength": 78
                },
                "estimated_usd": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                      "maxLength": 120
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "receipt_count": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "priced_receipt_count": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "receipt_complete": {
                  "type": "boolean"
                },
                "pricing_complete": {
                  "type": "boolean"
                },
                "observed_at": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "Z$"
                },
                "available_at": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "Z$"
                },
                "evidence_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  }
                },
                "pricing_methods": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  }
                },
                "max_quote_age_seconds": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "window_start",
                "window_end",
                "mu_raw",
                "priced_mu_raw",
                "unpriced_mu_raw",
                "estimated_usd",
                "receipt_count",
                "priced_receipt_count",
                "receipt_complete",
                "pricing_complete",
                "observed_at",
                "available_at",
                "evidence_ids"
              ],
              "additionalProperties": false
            }
          },
          "shroom_pool_volume_cumulative": {
            "type": "object",
            "properties": {
              "schema_version": {
                "const": "shroom-turnover-hourly-v1"
              },
              "metric_id": {
                "enum": [
                  "shroom_pool_volume_all_time",
                  "census_shroom_pool_volume_all_time"
                ]
              },
              "population_id": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "window_start": {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              "window_end": {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              "observed_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              "available_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              "evidence_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "limitations": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "pattern": "^[^<>]*$"
                }
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "bucket_start": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "Z$"
                    },
                    "bucket_end": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "Z$"
                    },
                    "cumulative_raw": {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]*)$",
                      "maxLength": 78
                    },
                    "cumulative_amount": {
                      "type": "string",
                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                      "maxLength": 120
                    },
                    "volume_raw": {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]*)$",
                      "maxLength": 78
                    },
                    "decimals": {
                      "const": 18
                    },
                    "swaps_in_bucket": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "pools_covered": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "pools_total": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "complete": {
                      "type": "boolean"
                    },
                    "closed_hour": {
                      "type": "boolean"
                    },
                    "population_id": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "status": {
                      "enum": [
                        "verified",
                        "indexed",
                        "estimated",
                        "project_reported",
                        "partial",
                        "unavailable",
                        "stale"
                      ]
                    }
                  },
                  "required": [
                    "bucket_start",
                    "bucket_end",
                    "cumulative_raw",
                    "cumulative_amount",
                    "volume_raw",
                    "decimals",
                    "swaps_in_bucket",
                    "pools_covered",
                    "pools_total",
                    "complete",
                    "closed_hour",
                    "population_id",
                    "status"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "schema_version",
              "metric_id",
              "population_id",
              "window_start",
              "window_end",
              "observed_at",
              "available_at",
              "evidence_ids",
              "limitations",
              "rows"
            ],
            "additionalProperties": false
          },
          "shroom_fee_collections_cumulative": {
            "type": "object",
            "properties": {
              "schema_version": {
                "const": "shroom-fee-collections-hourly-v1"
              },
              "measurement": {
                "const": "zero_principal_erc20_collections"
              },
              "population_id": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "position_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "pattern": "^[^<>]*$"
                }
              },
              "window_start": {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              "window_end": {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              "observed_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              "available_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              "evidence_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "limitations": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "pattern": "^[^<>]*$"
                }
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "bucket_start": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "Z$"
                    },
                    "bucket_end": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "Z$"
                    },
                    "collected_raw": {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]*)$",
                      "maxLength": 78
                    },
                    "collected_cumulative_raw": {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]*)$",
                      "maxLength": 78
                    },
                    "collected_cumulative_amount": {
                      "type": "string",
                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                      "maxLength": 120
                    },
                    "decimals": {
                      "const": 18
                    },
                    "receipt_count": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "complete": {
                      "type": "boolean"
                    },
                    "closed_hour": {
                      "type": "boolean"
                    },
                    "status": {
                      "enum": [
                        "verified",
                        "partial"
                      ]
                    },
                    "population_id": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "evidence_ids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      }
                    },
                    "accrued_uncollected_amount": {
                      "type": "null"
                    },
                    "generated_amount": {
                      "type": "null"
                    }
                  },
                  "required": [
                    "bucket_start",
                    "bucket_end",
                    "collected_raw",
                    "collected_cumulative_raw",
                    "collected_cumulative_amount",
                    "decimals",
                    "receipt_count",
                    "complete",
                    "closed_hour",
                    "status",
                    "population_id",
                    "evidence_ids",
                    "accrued_uncollected_amount",
                    "generated_amount"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "schema_version",
              "measurement",
              "population_id",
              "position_ids",
              "window_start",
              "window_end",
              "observed_at",
              "available_at",
              "evidence_ids",
              "limitations",
              "rows"
            ],
            "additionalProperties": false
          },
          "ledgers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "asset_address": {
                  "type": "string",
                  "pattern": "^0x[a-f0-9]{40}$"
                },
                "recorded_account": {
                  "type": "string",
                  "pattern": "^0x[a-f0-9]{40}$"
                },
                "decimals": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "window_start": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "Z$"
                },
                "window_end": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "Z$"
                },
                "opening_block": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "closing_block": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "closing_block_hash": {
                  "type": "string",
                  "pattern": "^0x[a-f0-9]{64}$"
                },
                "observed_at": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "Z$"
                },
                "complete": {
                  "type": "boolean"
                },
                "opening_raw": {
                  "type": "string",
                  "pattern": "^-?(0|[1-9][0-9]*)$",
                  "maxLength": 79
                },
                "inflow_raw": {
                  "type": "string",
                  "pattern": "^-?(0|[1-9][0-9]*)$",
                  "maxLength": 79
                },
                "outflow_raw": {
                  "type": "string",
                  "pattern": "^-?(0|[1-9][0-9]*)$",
                  "maxLength": 79
                },
                "closing_raw": {
                  "type": "string",
                  "pattern": "^-?(0|[1-9][0-9]*)$",
                  "maxLength": 79
                },
                "residual_raw": {
                  "type": "string",
                  "pattern": "^-?(0|[1-9][0-9]*)$",
                  "maxLength": 79
                },
                "selected_fees_raw": {
                  "type": "string",
                  "pattern": "^-?(0|[1-9][0-9]*)$",
                  "maxLength": 79
                },
                "selected_retained_min_raw": {
                  "type": "string",
                  "pattern": "^-?(0|[1-9][0-9]*)$",
                  "maxLength": 79
                },
                "selected_retained_max_raw": {
                  "type": "string",
                  "pattern": "^-?(0|[1-9][0-9]*)$",
                  "maxLength": 79
                },
                "destinations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "pattern": "^[a-z0-9_-]+$",
                        "maxLength": 100
                      },
                      "gross": {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)$",
                        "maxLength": 79
                      },
                      "selected_min": {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)$",
                        "maxLength": 79
                      },
                      "selected_max": {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)$",
                        "maxLength": 79
                      }
                    },
                    "required": [
                      "kind",
                      "gross",
                      "selected_min",
                      "selected_max"
                    ],
                    "additionalProperties": false
                  }
                },
                "evidence_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  }
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  }
                }
              },
              "required": [
                "id",
                "asset_address",
                "recorded_account",
                "decimals",
                "window_start",
                "window_end",
                "opening_block",
                "closing_block",
                "closing_block_hash",
                "observed_at",
                "complete",
                "opening_raw",
                "inflow_raw",
                "outflow_raw",
                "closing_raw",
                "residual_raw",
                "selected_fees_raw",
                "selected_retained_min_raw",
                "selected_retained_max_raw",
                "destinations",
                "evidence_ids",
                "limitations"
              ],
              "additionalProperties": false
            }
          },
          "supply_events": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string",
                      "pattern": "^[a-z0-9_-]+$",
                      "maxLength": 100
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    }
                  },
                  "required": [
                    "key",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z0-9_-]+$",
                      "maxLength": 100
                    },
                    "cells": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "status": {
                      "enum": [
                        "verified",
                        "indexed",
                        "estimated",
                        "project_reported",
                        "partial",
                        "unavailable",
                        "stale"
                      ]
                    },
                    "observed_at": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "Z$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "source_ids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-z0-9_-]+$",
                        "maxLength": 100
                      }
                    },
                    "evidence_ids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      }
                    },
                    "limitations": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 2000,
                        "pattern": "^[^<>]*$"
                      }
                    },
                    "evidence_basis": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "enum": [
                            "bounded_accounting",
                            "burn_sender_ledger",
                            "noncomparable_juxtaposition"
                          ]
                        },
                        "verified_claim": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "unresolved_claim": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        }
                      },
                      "required": [
                        "kind",
                        "verified_claim",
                        "unresolved_claim"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "id",
                    "cells",
                    "status",
                    "observed_at",
                    "source_ids",
                    "evidence_ids",
                    "limitations"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "columns",
              "rows"
            ],
            "additionalProperties": false
          },
          "hook_burns": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string",
                      "pattern": "^[a-z0-9_-]+$",
                      "maxLength": 100
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    }
                  },
                  "required": [
                    "key",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z0-9_-]+$",
                      "maxLength": 100
                    },
                    "cells": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "status": {
                      "enum": [
                        "verified",
                        "indexed",
                        "estimated",
                        "project_reported",
                        "partial",
                        "unavailable",
                        "stale"
                      ]
                    },
                    "observed_at": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "Z$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "source_ids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-z0-9_-]+$",
                        "maxLength": 100
                      }
                    },
                    "evidence_ids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      }
                    },
                    "limitations": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 2000,
                        "pattern": "^[^<>]*$"
                      }
                    },
                    "evidence_basis": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "enum": [
                            "bounded_accounting",
                            "burn_sender_ledger",
                            "noncomparable_juxtaposition"
                          ]
                        },
                        "verified_claim": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "unresolved_claim": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        }
                      },
                      "required": [
                        "kind",
                        "verified_claim",
                        "unresolved_claim"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "id",
                    "cells",
                    "status",
                    "observed_at",
                    "source_ids",
                    "evidence_ids",
                    "limitations"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "columns",
              "rows"
            ],
            "additionalProperties": false
          },
          "unreviewed_hooks": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string",
                      "pattern": "^[a-z0-9_-]+$",
                      "maxLength": 100
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    }
                  },
                  "required": [
                    "key",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z0-9_-]+$",
                      "maxLength": 100
                    },
                    "cells": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "status": {
                      "enum": [
                        "verified",
                        "indexed",
                        "estimated",
                        "project_reported",
                        "partial",
                        "unavailable",
                        "stale"
                      ]
                    },
                    "observed_at": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "Z$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "source_ids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-z0-9_-]+$",
                        "maxLength": 100
                      }
                    },
                    "evidence_ids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      }
                    },
                    "limitations": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 2000,
                        "pattern": "^[^<>]*$"
                      }
                    },
                    "evidence_basis": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "enum": [
                            "bounded_accounting",
                            "burn_sender_ledger",
                            "noncomparable_juxtaposition"
                          ]
                        },
                        "verified_claim": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "unresolved_claim": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        }
                      },
                      "required": [
                        "kind",
                        "verified_claim",
                        "unresolved_claim"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "id",
                    "cells",
                    "status",
                    "observed_at",
                    "source_ids",
                    "evidence_ids",
                    "limitations"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "columns",
              "rows"
            ],
            "additionalProperties": false,
            "description": "Burns only (backend/hook_holdings.py, rollout switch runtime/unreviewed-hooks.json): SHROOM held by hook contracts and burn senders without reviewed burn-hook source, one row per address: hook, verified contract name (or that no source is published or checked), SHROOM pools using it as hook, SHROOM balanceOf, PoolManager ERC-6909 SHROOM claims, their sum, and the contract source URL. Context only: never part of the burned, pending (hook_burns) or removed figures."
          },
          "wallet_balances": {
            "$ref": "#/properties/components/items/properties/table"
          },
          "pendle_positions": {
            "$ref": "#/properties/components/items/properties/table"
          },
          "income": {
            "$ref": "#/properties/components/items/properties/table"
          },
          "treasury_scope": {
            "type": "object",
            "properties": {
              "version": {
                "enum": [
                  "treasury-v1",
                  "treasury-v2"
                ]
              },
              "chain_id": {
                "const": 4663
              },
              "wallets": {
                "type": "array",
                "minItems": 1,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "pattern": "^0x[a-f0-9]{40}$"
                }
              },
              "scope_id": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "designation": {
                "const": "user_designated"
              },
              "recorded_at": {
                "type": "string",
                "format": "date-time"
              },
              "exposure_basis": {
                "const": "wallet_SHROOM_plus_v4_SHROOM_principal_plus_direct_Pendle_LP_equivalent_excluding_unclaimed_fees"
              },
              "position_population_id": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "position_ids": {
                "type": "array",
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "pattern": "^4663:position:0x[a-f0-9]{40}:[0-9]+$"
                }
              },
              "v4_complete": {
                "type": "boolean"
              },
              "pendle_complete": {
                "type": "boolean"
              },
              "wallet_inventory_complete": {
                "const": false
              },
              "performance_status": {
                "const": "unavailable"
              },
              "history_start": {
                "type": "object",
                "properties": {
                  "block": {
                    "type": "integer"
                  },
                  "observed_at": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "tx": {
                    "type": "string",
                    "pattern": "^0x[a-f0-9]{64}$"
                  }
                },
                "required": [
                  "block",
                  "observed_at",
                  "tx"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "version",
              "chain_id",
              "wallets",
              "scope_id",
              "designation",
              "recorded_at",
              "exposure_basis",
              "position_population_id",
              "position_ids",
              "v4_complete",
              "pendle_complete",
              "wallet_inventory_complete",
              "performance_status"
            ],
            "additionalProperties": false
          },
          "reference_valuation": {
            "$ref": "#/properties/components/items/properties/table"
          },
          "treasury_history": {
            "type": "object",
            "properties": {
              "schema_version": {
                "const": "treasury-history-v1"
              },
              "scope_id": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "decimals": {
                "const": 18
              },
              "available_at": {
                "type": "string",
                "format": "date-time"
              },
              "first_activity": {
                "type": "object",
                "properties": {
                  "observed_at": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "block_number": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "transaction_hash": {
                    "type": "string",
                    "pattern": "^0x[a-fA-F0-9]{64}$"
                  }
                },
                "required": [
                  "observed_at",
                  "block_number",
                  "transaction_hash"
                ],
                "additionalProperties": false
              },
              "evidence_ids": {
                "type": "array",
                "minItems": 1,
                "maxItems": 1,
                "items": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "rows": {
                "type": "array",
                "maxItems": 9000,
                "items": {
                  "type": "object",
                  "properties": {
                    "observed_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "block_number": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "block_hash": {
                      "type": "string",
                      "pattern": "^0x[a-fA-F0-9]{64}$"
                    },
                    "wallet_raw": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "pattern": "^[0-9]+$"
                    },
                    "v4_raw": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "pattern": "^[0-9]+$"
                    },
                    "pendle_raw": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "pattern": "^[0-9]+$"
                    },
                    "total_raw": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "pattern": "^[0-9]+$"
                    },
                    "complete": {
                      "type": "boolean"
                    },
                    "evidence_id": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    }
                  },
                  "required": [
                    "observed_at",
                    "block_number",
                    "block_hash",
                    "wallet_raw",
                    "v4_raw",
                    "pendle_raw",
                    "total_raw",
                    "complete"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "schema_version",
              "scope_id",
              "decimals",
              "available_at",
              "first_activity",
              "evidence_ids",
              "rows"
            ],
            "additionalProperties": false
          },
          "treasury_value_history": {
            "type": "object",
            "properties": {
              "schema_version": {
                "enum": [
                  "treasury-pool-spot-usd-v1",
                  "treasury-pool-spot-usd-v2"
                ]
              },
              "scope_id": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "available_at": {
                "type": "string",
                "format": "date-time"
              },
              "unit": {
                "const": "USD"
              },
              "limitations": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 700
                }
              },
              "evidence_ids": {
                "type": "array",
                "minItems": 1,
                "maxItems": 1,
                "items": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "rows": {
                "type": "array",
                "maxItems": 9000,
                "items": {
                  "type": "object",
                  "properties": {
                    "observed_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "block_number": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "block_hash": {
                      "type": "string",
                      "pattern": "^0x[a-f0-9]{64}$"
                    },
                    "value": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "pattern": "^[0-9]+\\.[0-9]{6}$"
                    },
                    "priced_subtotal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "pattern": "^[0-9]+\\.[0-9]{6}$"
                    },
                    "complete": {
                      "type": "boolean"
                    },
                    "unpriced_assets": {
                      "type": "array",
                      "uniqueItems": true,
                      "items": {
                        "type": "string",
                        "pattern": "^0x[a-f0-9]{40}$"
                      }
                    },
                    "priced_assets": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "nonzero_assets": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "evidence_id": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "price_population_id": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "secondary_prices": {
                      "type": "array",
                      "minItems": 1,
                      "items": {
                        "type": "object",
                        "properties": {
                          "asset": {
                            "type": "string",
                            "pattern": "^0x[a-f0-9]{40}$"
                          },
                          "pool_id": {
                            "type": "string",
                            "pattern": "^0x[a-f0-9]{64}$"
                          },
                          "counter_asset": {
                            "type": "string",
                            "pattern": "^0x[a-f0-9]{40}$"
                          },
                          "source": {
                            "const": "secondary_pool"
                          }
                        },
                        "required": [
                          "asset",
                          "pool_id",
                          "counter_asset",
                          "source"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "observed_at",
                    "block_number",
                    "block_hash",
                    "value",
                    "priced_subtotal",
                    "complete",
                    "unpriced_assets",
                    "priced_assets",
                    "nonzero_assets",
                    "price_population_id"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "schema_version",
              "scope_id",
              "available_at",
              "unit",
              "limitations",
              "evidence_ids",
              "rows"
            ],
            "additionalProperties": false
          },
          "treasury_dashboard": {
            "type": "object",
            "properties": {
              "schema_version": {
                "const": "treasury-dashboard-v1"
              },
              "scope_id": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "observed_at": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "block_number": {
                "type": "integer"
              },
              "block_hash": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "scope_label": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "value_usd": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                    "maxLength": 240
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "priced_subtotal_usd": {
                "type": "string",
                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                "maxLength": 240
              },
              "complete": {
                "type": "boolean"
              },
              "valuation_basis": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "fees_usd": {
                "type": "string",
                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                "maxLength": 240
              },
              "fees_complete": {
                "type": "boolean"
              },
              "value_including_fees_usd": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                    "maxLength": 240
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    },
                    "value_usd": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "priced_subtotal_usd": {
                      "type": "string",
                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                      "maxLength": 240
                    },
                    "complete": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "id",
                    "value_usd",
                    "priced_subtotal_usd",
                    "complete"
                  ],
                  "additionalProperties": false
                }
              },
              "assets": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    },
                    "symbol": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    },
                    "decimals": {
                      "type": "integer"
                    },
                    "wallet_raw": {
                      "type": "string",
                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                      "maxLength": 240
                    },
                    "v4_raw": {
                      "type": "string",
                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                      "maxLength": 240
                    },
                    "pendle_raw": {
                      "type": "string",
                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                      "maxLength": 240
                    },
                    "fees_raw": {
                      "type": "string",
                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                      "maxLength": 240
                    },
                    "wallet_complete": {
                      "type": "boolean"
                    },
                    "fees_complete": {
                      "type": "boolean"
                    },
                    "total_raw": {
                      "type": "string",
                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                      "maxLength": 240
                    },
                    "amount": {
                      "type": "string",
                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                      "maxLength": 240
                    },
                    "price_usd": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "price_pool_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "price_basis": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    },
                    "value_usd": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "fees_usd": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "reference_price_usd": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "reference_quoted_at": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "price_difference_percent": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "allocation_percent": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "address",
                    "symbol",
                    "decimals",
                    "wallet_raw",
                    "v4_raw",
                    "pendle_raw",
                    "fees_raw",
                    "wallet_complete",
                    "fees_complete",
                    "total_raw",
                    "amount",
                    "price_usd",
                    "price_pool_id",
                    "price_basis",
                    "value_usd",
                    "fees_usd",
                    "reference_price_usd",
                    "reference_quoted_at",
                    "price_difference_percent",
                    "allocation_percent"
                  ],
                  "additionalProperties": false
                }
              },
              "positions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "token_id": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    },
                    "pool_id": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    },
                    "owner": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    },
                    "extra_pair": {
                      "type": "boolean"
                    },
                    "liquidity_raw": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "lower_tick": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "upper_tick": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "current_tick": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "range_status": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    },
                    "amounts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "asset": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "raw_amount": {
                            "type": "string",
                            "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                            "maxLength": 240
                          },
                          "fees_raw": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "asset",
                          "raw_amount",
                          "fees_raw"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "fees_complete": {
                      "type": "boolean"
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    },
                    "value_usd": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "token_id",
                    "pool_id",
                    "owner",
                    "extra_pair",
                    "liquidity_raw",
                    "lower_tick",
                    "upper_tick",
                    "current_tick",
                    "range_status",
                    "amounts",
                    "fees_complete",
                    "label",
                    "value_usd"
                  ],
                  "additionalProperties": false
                }
              },
              "coverage": {
                "type": "object",
                "properties": {
                  "assets": {
                    "type": "integer"
                  },
                  "priced_assets": {
                    "type": "integer"
                  },
                  "positions": {
                    "type": "integer"
                  },
                  "positions_with_liquidity": {
                    "type": "integer"
                  },
                  "in_range": {
                    "type": "integer"
                  },
                  "fee_positions": {
                    "type": "integer"
                  },
                  "inventory_complete": {
                    "type": "boolean"
                  },
                  "wallet_inventory_complete": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "assets",
                  "priced_assets",
                  "positions",
                  "positions_with_liquidity",
                  "in_range",
                  "fee_positions",
                  "inventory_complete",
                  "wallet_inventory_complete"
                ],
                "additionalProperties": false
              },
              "limitations": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "pattern": "^[^<>]*$"
                }
              },
              "evidence_id": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "accounting": {
                "type": "object",
                "properties": {
                  "schema_version": {
                    "const": "treasury-accounting-v1"
                  },
                  "scope_id": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "observed_at": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "entries": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "legs": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "asset": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "raw_amount": {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              "source": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "destination": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              }
                            },
                            "required": [
                              "asset",
                              "raw_amount",
                              "source",
                              "destination"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nfts": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "asset": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "token_id": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "direction": {
                                "type": "integer"
                              },
                              "source": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "destination": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              }
                            },
                            "required": [
                              "asset",
                              "token_id",
                              "direction",
                              "source",
                              "destination"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "gas_raw": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "tx": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "observed_at": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "block_number": {
                          "type": "integer"
                        },
                        "block_hash": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "transaction_index": {
                          "type": "integer"
                        },
                        "flow_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "classification_complete": {
                          "type": "boolean"
                        },
                        "evidence_ids": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          }
                        },
                        "flow_assets": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "asset": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "raw_amount": {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              }
                            },
                            "required": [
                              "asset",
                              "raw_amount"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "income_assets": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "asset": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "raw_amount": {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              }
                            },
                            "required": [
                              "asset",
                              "raw_amount"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "income_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "scope_id": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "route": {
                          "enum": [
                            "launch"
                          ]
                        },
                        "labels": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          }
                        },
                        "fees_raw": {
                          "type": "object",
                          "propertyNames": {
                            "pattern": "^0x[0-9a-f]{40}$"
                          },
                          "additionalProperties": {
                            "type": "string",
                            "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                            "maxLength": 240
                          }
                        }
                      },
                      "required": [
                        "kind",
                        "legs",
                        "nfts",
                        "gas_raw",
                        "tx",
                        "observed_at",
                        "block_number",
                        "block_hash",
                        "transaction_index",
                        "flow_usd",
                        "classification_complete",
                        "evidence_ids"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "points": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "observed_at": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "block_number": {
                          "type": "integer"
                        },
                        "scope_id": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "nav_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "complete": {
                          "type": "boolean"
                        },
                        "evidence_id": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        }
                      },
                      "required": [
                        "observed_at",
                        "block_number",
                        "scope_id",
                        "nav_usd",
                        "complete",
                        "evidence_id"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "coverage": {
                    "type": "object",
                    "properties": {
                      "complete": {
                        "type": "boolean"
                      },
                      "start": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "end": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "native_index_complete": {
                        "type": "boolean"
                      },
                      "candidates": {
                        "type": "integer"
                      },
                      "decoded": {
                        "type": "integer"
                      },
                      "status": {
                        "type": "string",
                        "maxLength": 2000,
                        "pattern": "^[^<>]*$"
                      }
                    },
                    "required": [
                      "complete",
                      "start",
                      "end"
                    ],
                    "additionalProperties": false
                  },
                  "periods": {
                    "type": "object",
                    "properties": {
                      "1d": {
                        "type": "object",
                        "properties": {
                          "status": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "reason": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "return_percent": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "start": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "end": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "opening_value": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "closing_value": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "net_funding_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "investment_result_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "method": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "status",
                          "reason",
                          "return_percent"
                        ],
                        "additionalProperties": false
                      },
                      "7d": {
                        "type": "object",
                        "properties": {
                          "status": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "reason": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "return_percent": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "start": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "end": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "opening_value": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "closing_value": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "net_funding_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "investment_result_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "method": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "status",
                          "reason",
                          "return_percent"
                        ],
                        "additionalProperties": false
                      },
                      "30d": {
                        "type": "object",
                        "properties": {
                          "status": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "reason": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "return_percent": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "start": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "end": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "opening_value": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "closing_value": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "net_funding_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "investment_result_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "method": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "status",
                          "reason",
                          "return_percent"
                        ],
                        "additionalProperties": false
                      },
                      "all": {
                        "type": "object",
                        "properties": {
                          "status": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "reason": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "return_percent": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "start": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "end": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "opening_value": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "closing_value": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "net_funding_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "investment_result_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "method": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "status",
                          "reason",
                          "return_percent"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  "evidence_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000,
                        "pattern": "^[^<>]*$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "limitations": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    }
                  }
                },
                "required": [
                  "schema_version",
                  "scope_id",
                  "observed_at",
                  "entries",
                  "points",
                  "coverage",
                  "periods",
                  "evidence_id",
                  "limitations"
                ],
                "additionalProperties": false
              },
              "reference_context": {
                "type": "object",
                "properties": {
                  "version": {
                    "const": 1
                  },
                  "pool_observed_at": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "max_spread_percent": {
                    "type": "string",
                    "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                    "maxLength": 240
                  },
                  "max_quote_age_seconds": {
                    "type": "integer"
                  },
                  "max_quote_after_snapshot_seconds": {
                    "type": "integer"
                  },
                  "assets": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "object",
                      "properties": {
                        "asset_type": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "classification_basis": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "reference_status": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "bid_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "ask_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "spread_percent": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "multiplier": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "quoted_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 2000,
                              "pattern": "^[^<>]*$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "quote_offset_seconds": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "issuer_name": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 2000,
                              "pattern": "^[^<>]*$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "asset_type",
                        "classification_basis",
                        "reference_status",
                        "bid_usd",
                        "ask_usd",
                        "spread_percent",
                        "multiplier",
                        "quoted_at",
                        "quote_offset_seconds",
                        "issuer_name"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "version",
                  "pool_observed_at",
                  "max_spread_percent",
                  "max_quote_age_seconds",
                  "max_quote_after_snapshot_seconds",
                  "assets"
                ],
                "additionalProperties": false
              },
              "productivity": {
                "type": "object",
                "properties": {
                  "schema_version": {
                    "const": "treasury-productivity-v1"
                  },
                  "scope_id": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "start": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "end": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "observations": {
                    "type": "integer"
                  },
                  "donation_events": {
                    "type": "integer"
                  },
                  "income_label": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "periods": {
                    "type": "object",
                    "properties": {
                      "1d": {
                        "type": "object",
                        "properties": {
                          "status": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "reason": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "start": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "end": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "return_percent": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "return_method": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "groups": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "maxLength": 2000,
                                  "pattern": "^[^<>]*$"
                                },
                                "fees_usd": {
                                  "type": "string",
                                  "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                  "maxLength": 240
                                },
                                "average_lp_usd": {
                                  "type": "string",
                                  "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                  "maxLength": 240
                                },
                                "fee_apr": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "fees_usd",
                                "average_lp_usd",
                                "fee_apr"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "days": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "rewards_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "gas_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "burns_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "net_income_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fee_apr": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "income_apr": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "average_lp_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "average_nav_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "deployment_percent": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_shroom_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_other_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "daily_fees_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "net_result_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "requested_start": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "restart": {
                            "type": "object",
                            "properties": {
                              "start": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "end": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 2000,
                                    "pattern": "^[^<>]*$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "reason": {
                                "enum": [
                                  "incomplete_observations",
                                  "observation_gap"
                                ]
                              },
                              "incomplete_points": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "start",
                              "end",
                              "reason",
                              "incomplete_points"
                            ],
                            "additionalProperties": false
                          },
                          "concentration": {
                            "type": "object",
                            "properties": {
                              "fees_usd": {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              "earning_pools": {
                                "type": "integer"
                              },
                              "top_three_percent": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                    "maxLength": 240
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "pools": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "pool_id": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "currencies": {
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "maxLength": 2000,
                                        "pattern": "^[^<>]*$"
                                      }
                                    },
                                    "fees_usd": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    },
                                    "share_percent": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "pool_id",
                                    "currencies",
                                    "fees_usd",
                                    "share_percent"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "fees_usd",
                              "earning_pools",
                              "top_three_percent",
                              "pools"
                            ],
                            "additionalProperties": false
                          },
                          "settlement_balance": {
                            "type": "object",
                            "properties": {
                              "opening": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "closing": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "imported": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "opening",
                              "closing",
                              "imported"
                            ],
                            "additionalProperties": false
                          },
                          "native": {
                            "type": "object",
                            "properties": {
                              "fees_raw": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "attribution": {
                                "type": "object",
                                "properties": {
                                  "usd": {
                                    "type": "object",
                                    "properties": {
                                      "opening_usd": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "closing_usd": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "price_shroom": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "price_other": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "rebalancing": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "fees": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "rewards": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "trades": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "burns": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "gas": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "transfers": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "unattributed": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      }
                                    },
                                    "required": [
                                      "opening_usd",
                                      "closing_usd",
                                      "price_shroom",
                                      "price_other",
                                      "rebalancing",
                                      "fees",
                                      "rewards",
                                      "trades",
                                      "burns",
                                      "gas",
                                      "transfers",
                                      "unattributed"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "shroom": {
                                    "type": "object",
                                    "properties": {
                                      "opening_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "closing_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "fees_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "inventory_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "transfers_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "trades_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "burns_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "rewards_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "unattributed_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      }
                                    },
                                    "required": [
                                      "opening_raw",
                                      "closing_raw",
                                      "fees_raw",
                                      "inventory_raw",
                                      "transfers_raw",
                                      "trades_raw",
                                      "burns_raw",
                                      "rewards_raw",
                                      "unattributed_raw"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "usd",
                                  "shroom"
                                ],
                                "additionalProperties": false
                              },
                              "shroom_mark_usd": {
                                "type": "object",
                                "properties": {
                                  "opening": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "closing": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "opening",
                                  "closing"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "fees_raw",
                              "attribution",
                              "shroom_mark_usd"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "status",
                          "reason"
                        ],
                        "additionalProperties": false
                      },
                      "7d": {
                        "type": "object",
                        "properties": {
                          "status": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "reason": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "start": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "end": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "return_percent": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "return_method": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "groups": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "maxLength": 2000,
                                  "pattern": "^[^<>]*$"
                                },
                                "fees_usd": {
                                  "type": "string",
                                  "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                  "maxLength": 240
                                },
                                "average_lp_usd": {
                                  "type": "string",
                                  "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                  "maxLength": 240
                                },
                                "fee_apr": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "fees_usd",
                                "average_lp_usd",
                                "fee_apr"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "days": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "rewards_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "gas_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "burns_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "net_income_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fee_apr": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "income_apr": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "average_lp_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "average_nav_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "deployment_percent": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_shroom_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_other_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "daily_fees_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "net_result_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "requested_start": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "restart": {
                            "type": "object",
                            "properties": {
                              "start": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "end": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 2000,
                                    "pattern": "^[^<>]*$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "reason": {
                                "enum": [
                                  "incomplete_observations",
                                  "observation_gap"
                                ]
                              },
                              "incomplete_points": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "start",
                              "end",
                              "reason",
                              "incomplete_points"
                            ],
                            "additionalProperties": false
                          },
                          "concentration": {
                            "type": "object",
                            "properties": {
                              "fees_usd": {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              "earning_pools": {
                                "type": "integer"
                              },
                              "top_three_percent": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                    "maxLength": 240
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "pools": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "pool_id": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "currencies": {
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "maxLength": 2000,
                                        "pattern": "^[^<>]*$"
                                      }
                                    },
                                    "fees_usd": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    },
                                    "share_percent": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "pool_id",
                                    "currencies",
                                    "fees_usd",
                                    "share_percent"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "fees_usd",
                              "earning_pools",
                              "top_three_percent",
                              "pools"
                            ],
                            "additionalProperties": false
                          },
                          "settlement_balance": {
                            "type": "object",
                            "properties": {
                              "opening": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "closing": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "imported": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "opening",
                              "closing",
                              "imported"
                            ],
                            "additionalProperties": false
                          },
                          "native": {
                            "type": "object",
                            "properties": {
                              "fees_raw": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "attribution": {
                                "type": "object",
                                "properties": {
                                  "usd": {
                                    "type": "object",
                                    "properties": {
                                      "opening_usd": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "closing_usd": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "price_shroom": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "price_other": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "rebalancing": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "fees": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "rewards": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "trades": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "burns": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "gas": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "transfers": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "unattributed": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      }
                                    },
                                    "required": [
                                      "opening_usd",
                                      "closing_usd",
                                      "price_shroom",
                                      "price_other",
                                      "rebalancing",
                                      "fees",
                                      "rewards",
                                      "trades",
                                      "burns",
                                      "gas",
                                      "transfers",
                                      "unattributed"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "shroom": {
                                    "type": "object",
                                    "properties": {
                                      "opening_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "closing_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "fees_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "inventory_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "transfers_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "trades_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "burns_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "rewards_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "unattributed_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      }
                                    },
                                    "required": [
                                      "opening_raw",
                                      "closing_raw",
                                      "fees_raw",
                                      "inventory_raw",
                                      "transfers_raw",
                                      "trades_raw",
                                      "burns_raw",
                                      "rewards_raw",
                                      "unattributed_raw"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "usd",
                                  "shroom"
                                ],
                                "additionalProperties": false
                              },
                              "shroom_mark_usd": {
                                "type": "object",
                                "properties": {
                                  "opening": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "closing": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "opening",
                                  "closing"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "fees_raw",
                              "attribution",
                              "shroom_mark_usd"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "status",
                          "reason"
                        ],
                        "additionalProperties": false
                      },
                      "30d": {
                        "type": "object",
                        "properties": {
                          "status": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "reason": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "start": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "end": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "return_percent": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "return_method": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "groups": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "maxLength": 2000,
                                  "pattern": "^[^<>]*$"
                                },
                                "fees_usd": {
                                  "type": "string",
                                  "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                  "maxLength": 240
                                },
                                "average_lp_usd": {
                                  "type": "string",
                                  "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                  "maxLength": 240
                                },
                                "fee_apr": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "fees_usd",
                                "average_lp_usd",
                                "fee_apr"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "days": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "rewards_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "gas_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "burns_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "net_income_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fee_apr": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "income_apr": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "average_lp_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "average_nav_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "deployment_percent": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_shroom_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_other_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "daily_fees_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "net_result_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "requested_start": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "restart": {
                            "type": "object",
                            "properties": {
                              "start": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "end": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 2000,
                                    "pattern": "^[^<>]*$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "reason": {
                                "enum": [
                                  "incomplete_observations",
                                  "observation_gap"
                                ]
                              },
                              "incomplete_points": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "start",
                              "end",
                              "reason",
                              "incomplete_points"
                            ],
                            "additionalProperties": false
                          },
                          "concentration": {
                            "type": "object",
                            "properties": {
                              "fees_usd": {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              "earning_pools": {
                                "type": "integer"
                              },
                              "top_three_percent": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                    "maxLength": 240
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "pools": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "pool_id": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "currencies": {
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "maxLength": 2000,
                                        "pattern": "^[^<>]*$"
                                      }
                                    },
                                    "fees_usd": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    },
                                    "share_percent": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "pool_id",
                                    "currencies",
                                    "fees_usd",
                                    "share_percent"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "fees_usd",
                              "earning_pools",
                              "top_three_percent",
                              "pools"
                            ],
                            "additionalProperties": false
                          },
                          "settlement_balance": {
                            "type": "object",
                            "properties": {
                              "opening": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "closing": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "imported": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "opening",
                              "closing",
                              "imported"
                            ],
                            "additionalProperties": false
                          },
                          "native": {
                            "type": "object",
                            "properties": {
                              "fees_raw": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "attribution": {
                                "type": "object",
                                "properties": {
                                  "usd": {
                                    "type": "object",
                                    "properties": {
                                      "opening_usd": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "closing_usd": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "price_shroom": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "price_other": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "rebalancing": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "fees": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "rewards": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "trades": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "burns": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "gas": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "transfers": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "unattributed": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      }
                                    },
                                    "required": [
                                      "opening_usd",
                                      "closing_usd",
                                      "price_shroom",
                                      "price_other",
                                      "rebalancing",
                                      "fees",
                                      "rewards",
                                      "trades",
                                      "burns",
                                      "gas",
                                      "transfers",
                                      "unattributed"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "shroom": {
                                    "type": "object",
                                    "properties": {
                                      "opening_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "closing_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "fees_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "inventory_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "transfers_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "trades_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "burns_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "rewards_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "unattributed_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      }
                                    },
                                    "required": [
                                      "opening_raw",
                                      "closing_raw",
                                      "fees_raw",
                                      "inventory_raw",
                                      "transfers_raw",
                                      "trades_raw",
                                      "burns_raw",
                                      "rewards_raw",
                                      "unattributed_raw"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "usd",
                                  "shroom"
                                ],
                                "additionalProperties": false
                              },
                              "shroom_mark_usd": {
                                "type": "object",
                                "properties": {
                                  "opening": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "closing": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "opening",
                                  "closing"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "fees_raw",
                              "attribution",
                              "shroom_mark_usd"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "status",
                          "reason"
                        ],
                        "additionalProperties": false
                      },
                      "all": {
                        "type": "object",
                        "properties": {
                          "status": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "reason": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "start": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "end": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "return_percent": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "return_method": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "groups": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "maxLength": 2000,
                                  "pattern": "^[^<>]*$"
                                },
                                "fees_usd": {
                                  "type": "string",
                                  "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                  "maxLength": 240
                                },
                                "average_lp_usd": {
                                  "type": "string",
                                  "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                  "maxLength": 240
                                },
                                "fee_apr": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "fees_usd",
                                "average_lp_usd",
                                "fee_apr"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "days": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "rewards_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "gas_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "burns_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "net_income_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fee_apr": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "income_apr": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "average_lp_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "average_nav_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "deployment_percent": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_shroom_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_other_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "daily_fees_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "net_result_usd": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "requested_start": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          "restart": {
                            "type": "object",
                            "properties": {
                              "start": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "end": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 2000,
                                    "pattern": "^[^<>]*$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "reason": {
                                "enum": [
                                  "incomplete_observations",
                                  "observation_gap"
                                ]
                              },
                              "incomplete_points": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "start",
                              "end",
                              "reason",
                              "incomplete_points"
                            ],
                            "additionalProperties": false
                          },
                          "concentration": {
                            "type": "object",
                            "properties": {
                              "fees_usd": {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              "earning_pools": {
                                "type": "integer"
                              },
                              "top_three_percent": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                    "maxLength": 240
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "pools": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "pool_id": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "currencies": {
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "maxLength": 2000,
                                        "pattern": "^[^<>]*$"
                                      }
                                    },
                                    "fees_usd": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    },
                                    "share_percent": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "pool_id",
                                    "currencies",
                                    "fees_usd",
                                    "share_percent"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "fees_usd",
                              "earning_pools",
                              "top_three_percent",
                              "pools"
                            ],
                            "additionalProperties": false
                          },
                          "settlement_balance": {
                            "type": "object",
                            "properties": {
                              "opening": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "closing": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "imported": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "opening",
                              "closing",
                              "imported"
                            ],
                            "additionalProperties": false
                          },
                          "native": {
                            "type": "object",
                            "properties": {
                              "fees_raw": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "asset": {
                                      "type": "string",
                                      "maxLength": 2000,
                                      "pattern": "^[^<>]*$"
                                    },
                                    "raw_amount": {
                                      "type": "string",
                                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                      "maxLength": 240
                                    }
                                  },
                                  "required": [
                                    "asset",
                                    "raw_amount"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "attribution": {
                                "type": "object",
                                "properties": {
                                  "usd": {
                                    "type": "object",
                                    "properties": {
                                      "opening_usd": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "closing_usd": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "price_shroom": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "price_other": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "rebalancing": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "fees": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "rewards": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "trades": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "burns": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "gas": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "transfers": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "unattributed": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      }
                                    },
                                    "required": [
                                      "opening_usd",
                                      "closing_usd",
                                      "price_shroom",
                                      "price_other",
                                      "rebalancing",
                                      "fees",
                                      "rewards",
                                      "trades",
                                      "burns",
                                      "gas",
                                      "transfers",
                                      "unattributed"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "shroom": {
                                    "type": "object",
                                    "properties": {
                                      "opening_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "closing_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "fees_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "inventory_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "transfers_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "trades_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "burns_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "rewards_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      "unattributed_raw": {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      }
                                    },
                                    "required": [
                                      "opening_raw",
                                      "closing_raw",
                                      "fees_raw",
                                      "inventory_raw",
                                      "transfers_raw",
                                      "trades_raw",
                                      "burns_raw",
                                      "rewards_raw",
                                      "unattributed_raw"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "usd",
                                  "shroom"
                                ],
                                "additionalProperties": false
                              },
                              "shroom_mark_usd": {
                                "type": "object",
                                "properties": {
                                  "opening": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "closing": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                        "maxLength": 240
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "opening",
                                  "closing"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "fees_raw",
                              "attribution",
                              "shroom_mark_usd"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "status",
                          "reason"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  "series": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "observed_at": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "nav_usd": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "lp_usd": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "fees_usd": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "rewards_usd": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "cumulative_fees_usd": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "cumulative_rewards_usd": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "net_result_usd": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "after_break": {
                          "type": "boolean"
                        },
                        "native": {
                          "type": "object",
                          "properties": {
                            "fees_shroom_raw": {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            "inventory_shroom_raw": {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            "price_shroom_usd": {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            "price_other_usd": {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            "rebalancing_usd": {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            }
                          },
                          "required": [
                            "fees_shroom_raw",
                            "inventory_shroom_raw",
                            "price_shroom_usd",
                            "price_other_usd",
                            "rebalancing_usd"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "observed_at",
                        "nav_usd",
                        "lp_usd",
                        "fees_usd",
                        "rewards_usd",
                        "cumulative_fees_usd",
                        "cumulative_rewards_usd",
                        "net_result_usd"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "limitations": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    }
                  },
                  "evidence_id": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "breaks": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "start": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "end": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 2000,
                              "pattern": "^[^<>]*$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "reason": {
                          "enum": [
                            "incomplete_observations",
                            "observation_gap"
                          ]
                        },
                        "incomplete_points": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "start",
                        "end",
                        "reason",
                        "incomplete_points"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "weeks": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "reason": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "start": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "end": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "return_percent": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "return_method": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 2000,
                              "pattern": "^[^<>]*$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "groups": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "fees_usd": {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              "average_lp_usd": {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              },
                              "fee_apr": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                    "maxLength": 240
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "fees_usd",
                              "average_lp_usd",
                              "fee_apr"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "days": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "fees_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "rewards_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "gas_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "burns_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "net_income_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "fee_apr": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "income_apr": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "average_lp_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "average_nav_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "deployment_percent": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "fees_shroom_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "fees_other_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "daily_fees_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "net_result_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "requested_start": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "restart": {
                          "type": "object",
                          "properties": {
                            "start": {
                              "type": "string",
                              "maxLength": 2000,
                              "pattern": "^[^<>]*$"
                            },
                            "end": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 2000,
                                  "pattern": "^[^<>]*$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "reason": {
                              "enum": [
                                "incomplete_observations",
                                "observation_gap"
                              ]
                            },
                            "incomplete_points": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "start",
                            "end",
                            "reason",
                            "incomplete_points"
                          ],
                          "additionalProperties": false
                        },
                        "week_start": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "partial": {
                          "type": "boolean"
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "start": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "end": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 2000,
                                    "pattern": "^[^<>]*$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "reason": {
                                "enum": [
                                  "incomplete_observations",
                                  "observation_gap"
                                ]
                              },
                              "incomplete_points": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "start",
                              "end",
                              "reason",
                              "incomplete_points"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "fees_shroom_raw": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        }
                      },
                      "required": [
                        "status",
                        "reason",
                        "week_start",
                        "partial"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "observation_streaks": {
                    "type": "object",
                    "properties": {
                      "observed_at": {
                        "type": "string",
                        "maxLength": 2000,
                        "pattern": "^[^<>]*$"
                      },
                      "wallet": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "asset": {
                              "type": "string",
                              "maxLength": 2000,
                              "pattern": "^[^<>]*$"
                            },
                            "since": {
                              "type": "string",
                              "maxLength": 2000,
                              "pattern": "^[^<>]*$"
                            },
                            "samples": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "asset",
                            "since",
                            "samples"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "outside": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "token_id": {
                              "type": "string",
                              "maxLength": 2000,
                              "pattern": "^[^<>]*$"
                            },
                            "pool_id": {
                              "type": "string",
                              "maxLength": 2000,
                              "pattern": "^[^<>]*$"
                            },
                            "lower_tick": {
                              "type": "integer"
                            },
                            "upper_tick": {
                              "type": "integer"
                            },
                            "since": {
                              "type": "string",
                              "maxLength": 2000,
                              "pattern": "^[^<>]*$"
                            },
                            "samples": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "token_id",
                            "pool_id",
                            "lower_tick",
                            "upper_tick",
                            "since",
                            "samples"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "observed_at",
                      "wallet",
                      "outside"
                    ],
                    "additionalProperties": false
                  },
                  "settlements": {
                    "type": "object",
                    "properties": {
                      "version": {
                        "const": 1
                      },
                      "complete": {
                        "type": "boolean"
                      },
                      "start": {
                        "type": "string",
                        "maxLength": 2000,
                        "pattern": "^[^<>]*$"
                      },
                      "end": {
                        "type": "string",
                        "maxLength": 2000,
                        "pattern": "^[^<>]*$"
                      },
                      "entries": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "tx": {
                              "type": "string",
                              "maxLength": 2000,
                              "pattern": "^[^<>]*$"
                            },
                            "observed_at": {
                              "type": "string",
                              "maxLength": 2000,
                              "pattern": "^[^<>]*$"
                            },
                            "kind": {
                              "type": "string",
                              "maxLength": 2000,
                              "pattern": "^[^<>]*$"
                            },
                            "principal_in": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "asset": {
                                    "type": "string",
                                    "maxLength": 2000,
                                    "pattern": "^[^<>]*$"
                                  },
                                  "raw_amount": {
                                    "type": "string",
                                    "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                    "maxLength": 240
                                  }
                                },
                                "required": [
                                  "asset",
                                  "raw_amount"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "principal_out": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "asset": {
                                    "type": "string",
                                    "maxLength": 2000,
                                    "pattern": "^[^<>]*$"
                                  },
                                  "raw_amount": {
                                    "type": "string",
                                    "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                    "maxLength": 240
                                  }
                                },
                                "required": [
                                  "asset",
                                  "raw_amount"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "income": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "asset": {
                                    "type": "string",
                                    "maxLength": 2000,
                                    "pattern": "^[^<>]*$"
                                  },
                                  "raw_amount": {
                                    "type": "string",
                                    "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                    "maxLength": 240
                                  }
                                },
                                "required": [
                                  "asset",
                                  "raw_amount"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "positions": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "token_id": {
                                    "type": "string",
                                    "maxLength": 2000,
                                    "pattern": "^[^<>]*$"
                                  },
                                  "pool_id": {
                                    "type": "string",
                                    "maxLength": 2000,
                                    "pattern": "^[^<>]*$"
                                  }
                                },
                                "required": [
                                  "token_id",
                                  "pool_id"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "evidence_ids": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              }
                            }
                          },
                          "required": [
                            "tx",
                            "observed_at",
                            "kind",
                            "principal_in",
                            "principal_out",
                            "income",
                            "positions",
                            "evidence_ids"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "version",
                      "complete",
                      "start",
                      "end",
                      "entries"
                    ],
                    "additionalProperties": false
                  },
                  "positions_since_open": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "token_id": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "pool_id": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "currencies": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          }
                        },
                        "opened_at": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "opened_tx": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "deposited": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "asset": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "raw_amount": {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              }
                            },
                            "required": [
                              "asset",
                              "raw_amount"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "withdrawn": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "asset": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "raw_amount": {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              }
                            },
                            "required": [
                              "asset",
                              "raw_amount"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "fees_earned": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "asset": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "raw_amount": {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              }
                            },
                            "required": [
                              "asset",
                              "raw_amount"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "fees_settled": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "asset": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "raw_amount": {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              }
                            },
                            "required": [
                              "asset",
                              "raw_amount"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "principal": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "asset": {
                                "type": "string",
                                "maxLength": 2000,
                                "pattern": "^[^<>]*$"
                              },
                              "raw_amount": {
                                "type": "string",
                                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                                "maxLength": 240
                              }
                            },
                            "required": [
                              "asset",
                              "raw_amount"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "opening_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "held_usd": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "lp_usd": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "fees_usd": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "inventory_usd": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "result_usd": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "readings": {
                          "type": "integer"
                        },
                        "in_range_readings": {
                          "type": "integer"
                        },
                        "observed_at": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "income_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "token_id",
                        "pool_id",
                        "currencies",
                        "opened_at",
                        "opened_tx",
                        "deposited",
                        "withdrawn",
                        "fees_earned",
                        "fees_settled",
                        "principal",
                        "opening_usd",
                        "held_usd",
                        "lp_usd",
                        "fees_usd",
                        "inventory_usd",
                        "result_usd",
                        "readings",
                        "in_range_readings",
                        "observed_at"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "schema_version",
                  "scope_id",
                  "start",
                  "end",
                  "observations",
                  "donation_events",
                  "income_label",
                  "periods",
                  "series",
                  "limitations",
                  "evidence_id"
                ],
                "additionalProperties": false
              },
              "contribution": {
                "type": "object",
                "properties": {
                  "schema_version": {
                    "const": "treasury-contribution-v1"
                  },
                  "scope_id": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "observed_at": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "block_number": {
                    "type": "integer"
                  },
                  "block_hash": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "inventory_complete": {
                    "type": "boolean"
                  },
                  "pools_supported": {
                    "type": "integer"
                  },
                  "markets_supported": {
                    "type": "integer"
                  },
                  "active_pools": {
                    "type": "integer"
                  },
                  "matched_pools": {
                    "type": "integer"
                  },
                  "pools": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "pool_id": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "label": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "currencies": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          }
                        },
                        "positions": {
                          "type": "integer"
                        },
                        "treasury_value_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "in_range_value_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "treasury_active_liquidity_raw": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "pool_active_liquidity_raw": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "active_share_percent": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "current_tick": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "status": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        }
                      },
                      "required": [
                        "pool_id",
                        "label",
                        "currencies",
                        "positions",
                        "treasury_value_usd",
                        "in_range_value_usd",
                        "treasury_active_liquidity_raw",
                        "pool_active_liquidity_raw",
                        "active_share_percent",
                        "current_tick",
                        "status"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "limitations": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    }
                  },
                  "evidence_id": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  }
                },
                "required": [
                  "schema_version",
                  "scope_id",
                  "observed_at",
                  "block_number",
                  "block_hash",
                  "inventory_complete",
                  "pools_supported",
                  "markets_supported",
                  "active_pools",
                  "matched_pools",
                  "pools",
                  "limitations",
                  "evidence_id"
                ],
                "additionalProperties": false
              },
              "shroom_bridge": {
                "type": "object",
                "properties": {
                  "schema_version": {
                    "const": "treasury-shroom-bridge-v1"
                  },
                  "scope_id": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "wallets": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    }
                  },
                  "start": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "end": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "method": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "labels": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    }
                  },
                  "wallet_rows": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "object",
                      "properties": {
                        "opening": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "bought": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "fees": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "inventory": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "received": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "sent": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "burned": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "internal": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "closing": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        }
                      },
                      "required": [
                        "opening",
                        "bought",
                        "fees",
                        "inventory",
                        "received",
                        "sent",
                        "burned",
                        "internal",
                        "closing"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "rows": {
                    "type": "object",
                    "properties": {
                      "opening": {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                        "maxLength": 240
                      },
                      "bought": {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                        "maxLength": 240
                      },
                      "fees": {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                        "maxLength": 240
                      },
                      "inventory": {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                        "maxLength": 240
                      },
                      "received": {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                        "maxLength": 240
                      },
                      "sent": {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                        "maxLength": 240
                      },
                      "burned": {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                        "maxLength": 240
                      },
                      "burned_for_treasury": {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                        "maxLength": 240
                      },
                      "closing": {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                        "maxLength": 240
                      }
                    },
                    "required": [
                      "opening",
                      "bought",
                      "fees",
                      "inventory",
                      "received",
                      "sent",
                      "burned",
                      "burned_for_treasury",
                      "closing"
                    ],
                    "additionalProperties": false
                  },
                  "on_behalf": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "burner": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "tx": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "observed_at": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "raw_amount": {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        "label": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        }
                      },
                      "required": [
                        "burner",
                        "tx",
                        "observed_at",
                        "raw_amount",
                        "label"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "sent_out_labels": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    }
                  },
                  "launch_entries": {
                    "type": "integer"
                  },
                  "covered_from": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  }
                },
                "required": [
                  "schema_version",
                  "scope_id",
                  "wallets",
                  "start",
                  "end",
                  "method",
                  "labels",
                  "wallet_rows",
                  "rows",
                  "on_behalf",
                  "sent_out_labels",
                  "launch_entries",
                  "covered_from"
                ],
                "additionalProperties": false
              },
              "two_wallet": {
                "type": "object",
                "properties": {
                  "schema_version": {
                    "const": "treasury-two-wallet-v1"
                  },
                  "scope_id": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "status": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "mode": {
                    "const": "pipeline"
                  },
                  "wallets": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "address": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "role": {
                          "enum": [
                            "safe",
                            "launch_wallet"
                          ]
                        },
                        "label": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "value_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "address",
                        "role",
                        "label",
                        "value_usd"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "holdings_usd": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                        "maxLength": 240
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "coverage": {
                    "type": "object",
                    "properties": {
                      "shroom_bridge": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accounting_entries": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accounting_periods": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "productivity": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "native": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "weeks": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "positions_since_open": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 2000,
                            "pattern": "^[^<>]*$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "shroom_bridge",
                      "accounting_entries",
                      "accounting_periods",
                      "productivity",
                      "native",
                      "weeks",
                      "positions_since_open"
                    ],
                    "additionalProperties": false
                  },
                  "treatments": {
                    "type": "object",
                    "properties": {
                      "on_behalf_burn_usd": {
                        "enum": [
                          "excluded",
                          "funding_and_expense"
                        ]
                      },
                      "sent_out_usd": {
                        "enum": [
                          "withdrawal",
                          "internal"
                        ]
                      }
                    },
                    "required": [
                      "on_behalf_burn_usd",
                      "sent_out_usd"
                    ],
                    "additionalProperties": false
                  },
                  "limitations": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    }
                  }
                },
                "required": [
                  "schema_version",
                  "scope_id",
                  "status",
                  "mode",
                  "wallets",
                  "holdings_usd",
                  "coverage",
                  "treatments",
                  "limitations"
                ],
                "additionalProperties": false
              },
              "attention": {
                "type": "object",
                "properties": {
                  "observed_at": {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  "history_observed_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000,
                        "pattern": "^[^<>]*$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "wallet": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "asset": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "symbol": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "value_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "since": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "samples": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "asset",
                        "symbol",
                        "value_usd",
                        "since",
                        "samples"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "outside": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "token_id": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "pool_id": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "label": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "value_usd": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                              "maxLength": 240
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "since": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "samples": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "token_id",
                        "pool_id",
                        "label",
                        "value_usd",
                        "since",
                        "samples"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "range_complete": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "observed_at",
                  "history_observed_at",
                  "wallet",
                  "outside",
                  "range_complete"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "schema_version",
              "scope_id",
              "observed_at",
              "block_number",
              "block_hash",
              "scope_label",
              "value_usd",
              "priced_subtotal_usd",
              "complete",
              "valuation_basis",
              "fees_usd",
              "fees_complete",
              "value_including_fees_usd",
              "locations",
              "assets",
              "positions",
              "coverage",
              "limitations",
              "evidence_id",
              "accounting"
            ],
            "additionalProperties": false
          },
          "holder_reward_rate": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "schema_version": {
                "const": "shroom-holder-reward-rate-v1"
              },
              "eligibility_basis": {
                "const": "estimated_exclusions"
              },
              "price_pool_id": {
                "type": "string",
                "pattern": "^0x[a-f0-9]{64}$"
              },
              "max_observation_age_seconds": {
                "const": 7200
              },
              "exclusions": {
                "type": "array",
                "minItems": 3,
                "maxItems": 3,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "address": {
                      "type": "string",
                      "pattern": "^0x[a-f0-9]{40}$"
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 2000
                    }
                  },
                  "required": [
                    "address",
                    "label"
                  ]
                }
              },
              "limitations": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000
                }
              },
              "observations": {
                "type": "array",
                "maxItems": 2500,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "observed_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "available_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "block_number": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "block_hash": {
                      "type": "string",
                      "pattern": "^0x[a-f0-9]{64}$"
                    },
                    "supply_raw": {
                      "type": "string",
                      "pattern": "^[0-9]+$",
                      "maxLength": 79
                    },
                    "pool_raw": {
                      "type": "string",
                      "pattern": "^[0-9]+$",
                      "maxLength": 79
                    },
                    "locker_raw": {
                      "type": "string",
                      "pattern": "^[0-9]+$",
                      "maxLength": 79
                    },
                    "dead_raw": {
                      "type": "string",
                      "pattern": "^[0-9]+$",
                      "maxLength": 79
                    },
                    "eligible_raw": {
                      "type": "string",
                      "pattern": "^[0-9]+$",
                      "maxLength": 79
                    },
                    "shroom_price_usd": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "complete": {
                      "type": "boolean"
                    },
                    "evidence_ids": {
                      "type": "array",
                      "minItems": 1,
                      "items": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      }
                    }
                  },
                  "required": [
                    "observed_at",
                    "available_at",
                    "block_number",
                    "block_hash",
                    "supply_raw",
                    "pool_raw",
                    "locker_raw",
                    "dead_raw",
                    "eligible_raw",
                    "shroom_price_usd",
                    "complete",
                    "evidence_ids"
                  ]
                }
              },
              "series": {
                "type": "array",
                "maxItems": 1000,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "window_start": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "window_end": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "complete": {
                      "type": "boolean"
                    },
                    "apr": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "mu_per_100k": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "usd_per_100k": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "average_eligible_shroom": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "average_eligible_usd": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "paid_mu": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "paid_usd": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "window_start",
                    "window_end",
                    "complete",
                    "apr",
                    "mu_per_100k",
                    "usd_per_100k",
                    "average_eligible_shroom",
                    "average_eligible_usd",
                    "paid_mu",
                    "paid_usd"
                  ]
                }
              },
              "current": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "window_start": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "window_end": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "complete": {
                        "type": "boolean"
                      },
                      "apr": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                            "maxLength": 120
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "mu_per_100k": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                            "maxLength": 120
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "usd_per_100k": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                            "maxLength": 120
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "average_eligible_shroom": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                            "maxLength": 120
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "average_eligible_usd": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                            "maxLength": 120
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "paid_mu": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                            "maxLength": 120
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "paid_usd": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                            "maxLength": 120
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "window_start",
                      "window_end",
                      "complete",
                      "apr",
                      "mu_per_100k",
                      "usd_per_100k",
                      "average_eligible_shroom",
                      "average_eligible_usd",
                      "paid_mu",
                      "paid_usd"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "historical_estimates": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "schema_version": {
                    "const": "shroom-holder-reward-history-v1"
                  },
                  "evidence_id": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "available_at": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "mu_quote_max_age_seconds": {
                    "const": 345600
                  },
                  "limitations": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    }
                  },
                  "series": {
                    "type": "array",
                    "maxItems": 1000,
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "window_start": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "window_end": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "apr": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "paid_mu": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "paid_usd": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "average_eligible_usd": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "average_eligible_shroom": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "carried_quote_mu": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "max_mu_quote_age_seconds": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 345600
                        },
                        "early_mu_pool_capital": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "window_start",
                        "window_end",
                        "apr",
                        "paid_mu",
                        "paid_usd",
                        "average_eligible_usd",
                        "average_eligible_shroom",
                        "carried_quote_mu",
                        "max_mu_quote_age_seconds",
                        "early_mu_pool_capital"
                      ]
                    }
                  }
                },
                "required": [
                  "schema_version",
                  "evidence_id",
                  "available_at",
                  "mu_quote_max_age_seconds",
                  "limitations",
                  "series"
                ]
              },
              "all_time": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "schema_version": {
                        "const": "shroom-holder-reward-lifetime-v1"
                      },
                      "evidence_id": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      },
                      "available_at": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "complete": {
                        "const": true
                      },
                      "coverage_basis": {
                        "const": "since_first_reliable_capital"
                      },
                      "window_start": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "window_end": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "duration_seconds": {
                        "type": "integer",
                        "minimum": 1
                      },
                      "apr": {
                        "type": "string",
                        "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                        "maxLength": 120
                      },
                      "paid_mu": {
                        "type": "string",
                        "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                        "maxLength": 120
                      },
                      "paid_usd": {
                        "type": "string",
                        "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                        "maxLength": 120
                      },
                      "average_eligible_shroom": {
                        "type": "string",
                        "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                        "maxLength": 120
                      },
                      "average_eligible_usd": {
                        "type": "string",
                        "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                        "maxLength": 120
                      },
                      "period_reward_percent": {
                        "type": "string",
                        "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                        "maxLength": 120
                      },
                      "carried_quote_mu": {
                        "type": "string",
                        "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                        "maxLength": 120
                      },
                      "max_mu_quote_age_seconds": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 345600
                      },
                      "limitations": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 2000
                        }
                      }
                    },
                    "required": [
                      "schema_version",
                      "evidence_id",
                      "available_at",
                      "complete",
                      "coverage_basis",
                      "window_start",
                      "window_end",
                      "duration_seconds",
                      "apr",
                      "paid_mu",
                      "paid_usd",
                      "average_eligible_shroom",
                      "average_eligible_usd",
                      "period_reward_percent",
                      "carried_quote_mu",
                      "max_mu_quote_age_seconds",
                      "limitations"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "current_carry": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "schema_version": {
                    "const": "shroom-holder-reward-carry-v1"
                  },
                  "evidence_id": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "available_at": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "window_start": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "window_end": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "mu_quote_max_age_seconds": {
                    "const": 345600
                  },
                  "apr": {
                    "type": "string",
                    "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                    "maxLength": 120
                  },
                  "paid_mu": {
                    "type": "string",
                    "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                    "maxLength": 120
                  },
                  "paid_usd": {
                    "type": "string",
                    "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                    "maxLength": 120
                  },
                  "average_eligible_shroom": {
                    "type": "string",
                    "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                    "maxLength": 120
                  },
                  "average_eligible_usd": {
                    "type": "string",
                    "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                    "maxLength": 120
                  },
                  "carried_quote_mu": {
                    "type": "string",
                    "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                    "maxLength": 120
                  },
                  "max_mu_quote_age_seconds": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 345600
                  }
                },
                "required": [
                  "schema_version",
                  "evidence_id",
                  "available_at",
                  "window_start",
                  "window_end",
                  "mu_quote_max_age_seconds",
                  "apr",
                  "paid_mu",
                  "paid_usd",
                  "average_eligible_shroom",
                  "average_eligible_usd",
                  "carried_quote_mu",
                  "max_mu_quote_age_seconds"
                ]
              },
              "series_carry": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "schema_version": {
                    "const": "shroom-holder-reward-series-carry-v1"
                  },
                  "mu_quote_max_age_seconds": {
                    "const": 345600
                  },
                  "series": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 1000,
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "window_start": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "window_end": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "evidence_id": {
                          "type": "string",
                          "pattern": "^[a-f0-9]{64}$"
                        },
                        "available_at": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "apr": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "paid_mu": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "paid_usd": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "average_eligible_shroom": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "average_eligible_usd": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "carried_quote_mu": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "max_mu_quote_age_seconds": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 345600
                        }
                      },
                      "required": [
                        "window_start",
                        "window_end",
                        "evidence_id",
                        "available_at",
                        "apr",
                        "paid_mu",
                        "paid_usd",
                        "average_eligible_shroom",
                        "average_eligible_usd",
                        "carried_quote_mu",
                        "max_mu_quote_age_seconds"
                      ]
                    }
                  }
                },
                "required": [
                  "schema_version",
                  "mu_quote_max_age_seconds",
                  "series"
                ]
              },
              "delivered_all_time": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "schema_version": {
                    "const": "shroom-mu-delivered-value-v1"
                  },
                  "window_start": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "window_end": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "first_delivery_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "head_evidence_id": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "lifetime_evidence_id": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "ledger_evidence_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tail_evidence_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "available_at": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "paid_mu": {
                    "type": "string",
                    "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                    "maxLength": 120
                  },
                  "paid_usd": {
                    "type": "string",
                    "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                    "maxLength": 120
                  },
                  "carried_quote_mu": {
                    "type": "string",
                    "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                    "maxLength": 120
                  },
                  "unpriced_mu": {
                    "type": "string",
                    "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                    "maxLength": 120
                  },
                  "priced_mu": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                        "maxLength": 120
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "priced_usd": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                        "maxLength": 120
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "carried_usd": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                        "maxLength": 120
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "max_mu_quote_age_seconds": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 345600
                  },
                  "mu_quote_max_age_seconds": {
                    "const": 345600
                  },
                  "complete": {
                    "type": "boolean"
                  },
                  "carried_deliveries": {
                    "anyOf": [
                      {
                        "type": "array",
                        "maxItems": 5000,
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "tx": {
                              "type": "string",
                              "pattern": "^0x[a-f0-9]{64}$"
                            },
                            "delivered_at": {
                              "type": "string",
                              "format": "date-time"
                            },
                            "mu": {
                              "type": "string",
                              "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                              "maxLength": 120
                            },
                            "usd": {
                              "type": "string",
                              "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                              "maxLength": 120
                            },
                            "quote_age_seconds": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 345600
                            }
                          },
                          "required": [
                            "tx",
                            "delivered_at",
                            "mu",
                            "usd",
                            "quote_age_seconds"
                          ]
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "schema_version",
                  "window_start",
                  "window_end",
                  "first_delivery_at",
                  "head_evidence_id",
                  "lifetime_evidence_id",
                  "ledger_evidence_id",
                  "tail_evidence_id",
                  "available_at",
                  "paid_mu",
                  "paid_usd",
                  "carried_quote_mu",
                  "unpriced_mu",
                  "priced_mu",
                  "priced_usd",
                  "carried_usd",
                  "max_mu_quote_age_seconds",
                  "mu_quote_max_age_seconds",
                  "complete",
                  "carried_deliveries"
                ]
              },
              "sent_carry": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "schema_version": {
                    "const": "shroom-mu-sent-carry-v1"
                  },
                  "mu_quote_max_age_seconds": {
                    "const": 345600
                  },
                  "windows": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 2,
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "label": {
                          "enum": [
                            "24h",
                            "7d"
                          ]
                        },
                        "window_start": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "window_end": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "evidence_id": {
                          "type": "string",
                          "pattern": "^[a-f0-9]{64}$"
                        },
                        "available_at": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "paid_mu": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "paid_usd": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "priced_mu": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "priced_usd": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "carried_quote_mu": {
                          "type": "string",
                          "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
                          "maxLength": 120
                        },
                        "max_mu_quote_age_seconds": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 345600
                        }
                      },
                      "required": [
                        "label",
                        "window_start",
                        "window_end",
                        "evidence_id",
                        "available_at",
                        "paid_mu",
                        "paid_usd",
                        "priced_mu",
                        "priced_usd",
                        "carried_quote_mu",
                        "max_mu_quote_age_seconds"
                      ]
                    }
                  }
                },
                "required": [
                  "schema_version",
                  "mu_quote_max_age_seconds",
                  "windows"
                ]
              }
            },
            "required": [
              "schema_version",
              "eligibility_basis",
              "price_pool_id",
              "max_observation_age_seconds",
              "exclusions",
              "limitations",
              "observations",
              "series",
              "current"
            ]
          },
          "census_shroom_pool_volume_cumulative": {
            "type": "object",
            "properties": {
              "schema_version": {
                "const": "shroom-turnover-hourly-v1"
              },
              "metric_id": {
                "enum": [
                  "shroom_pool_volume_all_time",
                  "census_shroom_pool_volume_all_time"
                ]
              },
              "population_id": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "window_start": {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              "window_end": {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              "observed_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              "available_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              "evidence_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "limitations": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "pattern": "^[^<>]*$"
                }
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "bucket_start": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "Z$"
                    },
                    "bucket_end": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "Z$"
                    },
                    "cumulative_raw": {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]*)$",
                      "maxLength": 78
                    },
                    "cumulative_amount": {
                      "type": "string",
                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                      "maxLength": 120
                    },
                    "volume_raw": {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]*)$",
                      "maxLength": 78
                    },
                    "decimals": {
                      "const": 18
                    },
                    "swaps_in_bucket": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "pools_covered": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "pools_total": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "complete": {
                      "type": "boolean"
                    },
                    "closed_hour": {
                      "type": "boolean"
                    },
                    "population_id": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "status": {
                      "enum": [
                        "verified",
                        "indexed",
                        "estimated",
                        "project_reported",
                        "partial",
                        "unavailable",
                        "stale"
                      ]
                    }
                  },
                  "required": [
                    "bucket_start",
                    "bucket_end",
                    "cumulative_raw",
                    "cumulative_amount",
                    "volume_raw",
                    "decimals",
                    "swaps_in_bucket",
                    "pools_covered",
                    "pools_total",
                    "complete",
                    "closed_hour",
                    "population_id",
                    "status"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "schema_version",
              "metric_id",
              "population_id",
              "window_start",
              "window_end",
              "observed_at",
              "available_at",
              "evidence_ids",
              "limitations",
              "rows"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "id",
          "title",
          "status",
          "observed_at",
          "available_at",
          "metrics",
          "table",
          "limitations"
        ],
        "additionalProperties": false
      }
    },
    "history": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "observed_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "Z$"
          },
          "available_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "Z$"
          },
          "metric_id": {
            "type": "string",
            "pattern": "^[a-z0-9_-]+$",
            "maxLength": 100
          },
          "value": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                "maxLength": 120
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "enum": [
              "verified",
              "indexed",
              "estimated",
              "project_reported",
              "partial",
              "unavailable",
              "stale"
            ]
          },
          "scope": {
            "type": "string",
            "maxLength": 2000,
            "pattern": "^[^<>]*$"
          },
          "bucket_start": {
            "type": "string",
            "format": "date-time",
            "pattern": "Z$"
          },
          "snapshot_id": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              {
                "type": "null"
              }
            ]
          },
          "unit": {
            "type": "string",
            "maxLength": 2000,
            "pattern": "^[^<>]*$"
          },
          "raw_amount": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^-?(0|[1-9][0-9]*)$",
                "maxLength": 79
              },
              {
                "type": "null"
              }
            ]
          },
          "decimals": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 36
              },
              {
                "type": "null"
              }
            ]
          },
          "window_start": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              {
                "type": "null"
              }
            ]
          },
          "window_end": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "Z$"
              },
              {
                "type": "null"
              }
            ]
          },
          "sampling_interval_seconds": {
            "enum": [
              3600,
              86400
            ]
          },
          "scope_id": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              {
                "type": "null"
              }
            ]
          },
          "coverage_complete": {
            "type": "boolean"
          },
          "method": {
            "type": "string",
            "maxLength": 2000,
            "pattern": "^[^<>]*$"
          },
          "gap": {
            "type": "boolean"
          }
        },
        "required": [
          "observed_at",
          "available_at",
          "metric_id",
          "value",
          "status",
          "scope"
        ],
        "additionalProperties": false
      }
    },
    "notices": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 2000,
        "pattern": "^[^<>]*$"
      }
    },
    "cadence_seconds": {
      "const": 3600
    },
    "next_expected_at": {
      "type": "string",
      "format": "date-time",
      "pattern": "Z$"
    },
    "treasury_parked": {
      "type": "object",
      "properties": {
        "schema_version": {
          "const": "treasury-parked-v1"
        },
        "record": {
          "const": "treasury-baseline-v1"
        },
        "wallet": {
          "type": "string",
          "maxLength": 2000,
          "pattern": "^[^<>]*$"
        },
        "label": {
          "type": "string",
          "maxLength": 2000,
          "pattern": "^[^<>]*$"
        },
        "since": {
          "type": "string",
          "maxLength": 2000,
          "pattern": "^[^<>]*$"
        },
        "observed_at": {
          "type": "string",
          "maxLength": 2000,
          "pattern": "^[^<>]*$"
        },
        "block_number": {
          "type": "integer"
        },
        "scan": {
          "type": "object",
          "properties": {
            "from_block": {
              "type": "integer"
            },
            "through": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "evidence_ids": {
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              }
            }
          },
          "required": [
            "from_block",
            "through",
            "evidence_ids"
          ],
          "additionalProperties": false
        },
        "shroom_receipts": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "block_number": {
                "type": "integer"
              },
              "log_index": {
                "type": "integer"
              },
              "tx": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "raw_amount": {
                "type": "string",
                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                "maxLength": 240
              },
              "direction": {
                "enum": [
                  "in",
                  "out"
                ]
              },
              "counterparty": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "evidence_id": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              }
            },
            "required": [
              "block_number",
              "log_index",
              "tx",
              "raw_amount",
              "direction",
              "counterparty",
              "evidence_id"
            ],
            "additionalProperties": false
          }
        },
        "rows": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "observed_at": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "block_number": {
                "type": "integer"
              },
              "shroom_raw": {
                "type": "string",
                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                "maxLength": 240
              },
              "mu_raw": {
                "type": "string",
                "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                "maxLength": 240
              },
              "nonce": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "marks": {
                "type": "object",
                "properties": {
                  "0xab093def657f15df31b33922a95e047add645b29": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                        "maxLength": 240
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "0xff080c8ce2e5feadaca0da81314ae59d232d4afd": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                        "maxLength": 240
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "0x0000000000000000000000000000000000000000": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                        "maxLength": 240
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "0xab093def657f15df31b33922a95e047add645b29",
                  "0xff080c8ce2e5feadaca0da81314ae59d232d4afd",
                  "0x0000000000000000000000000000000000000000"
                ],
                "additionalProperties": false
              },
              "basis": {
                "enum": [
                  "read",
                  "receipts"
                ]
              },
              "evidence_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "pattern": "^[^<>]*$"
                }
              },
              "marks_from": {
                "enum": [
                  "dashboard",
                  "seal",
                  "snapshot"
                ]
              },
              "marks_source": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 2000,
                    "pattern": "^[^<>]*$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "value_usd": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                    "maxLength": 240
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "observed_at",
              "block_number",
              "shroom_raw",
              "mu_raw",
              "nonce",
              "marks",
              "basis",
              "evidence_ids",
              "marks_from",
              "marks_source",
              "value_usd"
            ],
            "additionalProperties": false
          }
        },
        "complete": {
          "type": "boolean"
        },
        "missing": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 2000,
            "pattern": "^[^<>]*$"
          }
        },
        "missing_count": {
          "type": "integer"
        },
        "alerts": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 2000,
            "pattern": "^[^<>]*$"
          }
        },
        "limitations": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 2000,
            "pattern": "^[^<>]*$"
          }
        }
      },
      "required": [
        "schema_version",
        "record",
        "wallet",
        "label",
        "since",
        "observed_at",
        "block_number",
        "scan",
        "shroom_receipts",
        "rows",
        "complete",
        "missing",
        "missing_count",
        "alerts",
        "limitations"
      ],
      "additionalProperties": false
    },
    "history_window": {
      "type": "object",
      "properties": {
        "schema_version": {
          "const": "shroom-history-window-v1"
        },
        "start": {
          "type": "string",
          "format": "date-time",
          "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T00:00:00Z$"
        },
        "days": {
          "const": 14
        },
        "index": {
          "const": "/data/history-index.json"
        },
        "points": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "inline_points": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "schema_version",
        "start",
        "days",
        "index",
        "points",
        "inline_points"
      ],
      "additionalProperties": false
    },
    "treasury_outside": {
      "type": "object",
      "properties": {
        "schema_version": {
          "const": "treasury-outside-v1"
        },
        "wallet": {
          "type": "string",
          "maxLength": 2000,
          "pattern": "^[^<>]*$"
        },
        "observed_at": {
          "type": "string",
          "maxLength": 2000,
          "pattern": "^[^<>]*$"
        },
        "block_number": {
          "type": "integer"
        },
        "positions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "holder": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "pool_id": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "currencies": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "pattern": "^[^<>]*$"
                }
              },
              "decimals": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              "lower": {
                "type": "integer"
              },
              "upper": {
                "type": "integer"
              },
              "salt": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "first_block": {
                "type": "integer"
              },
              "label": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "share_id": {
                "type": "string",
                "maxLength": 2000,
                "pattern": "^[^<>]*$"
              },
              "scan": {
                "type": "object",
                "properties": {
                  "from_block": {
                    "type": "integer"
                  },
                  "through": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "evidence_ids": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    }
                  }
                },
                "required": [
                  "from_block",
                  "through",
                  "evidence_ids"
                ],
                "additionalProperties": false
              },
              "transfers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "block_number": {
                      "type": "integer"
                    },
                    "log_index": {
                      "type": "integer"
                    },
                    "tx": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    },
                    "amount_raw": {
                      "type": "string",
                      "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                      "maxLength": 240
                    },
                    "evidence_id": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    },
                    "from": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    },
                    "to": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    }
                  },
                  "required": [
                    "block_number",
                    "log_index",
                    "tx",
                    "amount_raw",
                    "evidence_id",
                    "from",
                    "to"
                  ],
                  "additionalProperties": false
                }
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "observed_at": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^[^<>]*$"
                    },
                    "block_number": {
                      "type": "integer"
                    },
                    "basis": {
                      "enum": [
                        "read",
                        "estimated",
                        "carried",
                        "cost"
                      ]
                    },
                    "reason": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "evidence_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "carried_from": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "carry_seconds": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "shares_raw": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "supply_raw": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "liquidity_raw": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sqrt_price_x96": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "tick": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "composition": {
                      "anyOf": [
                        {
                          "enum": [
                            "pool",
                            "marks"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "amounts_raw": {
                      "anyOf": [
                        {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                            "maxLength": 240
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "marks": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                            "maxLength": 240
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "value_usd": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
                          "maxLength": 240
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "observed_at",
                    "block_number",
                    "basis",
                    "reason",
                    "evidence_id",
                    "carried_from",
                    "carry_seconds",
                    "shares_raw",
                    "supply_raw",
                    "liquidity_raw",
                    "sqrt_price_x96",
                    "tick",
                    "composition",
                    "amounts_raw",
                    "marks",
                    "value_usd"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "holder",
              "pool_id",
              "currencies",
              "decimals",
              "lower",
              "upper",
              "salt",
              "first_block",
              "label",
              "share_id",
              "scan",
              "transfers",
              "rows"
            ],
            "additionalProperties": false
          }
        },
        "limitations": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 2000,
            "pattern": "^[^<>]*$"
          }
        }
      },
      "required": [
        "schema_version",
        "wallet",
        "observed_at",
        "block_number",
        "positions",
        "limitations"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "schema_version",
    "snapshot_id",
    "generated_at",
    "evidence_asof",
    "chain_id",
    "token_address",
    "historical",
    "methodology_version",
    "sources",
    "components",
    "history",
    "notices"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
