{
  "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
          },
          "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": {
                "const": "treasury-v1"
              },
              "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"
              }
            },
            "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}$"
                    }
                  },
                  "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
                          }
                        }
                      },
                      "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
              },
              "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"
                              }
                            ]
                          },
                          "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
                          }
                        },
                        "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"
                              }
                            ]
                          },
                          "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
                          }
                        },
                        "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"
                              }
                            ]
                          },
                          "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
                          }
                        },
                        "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"
                              }
                            ]
                          },
                          "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
                          }
                        },
                        "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
                        }
                      },
                      "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": "^[^<>]*$"
                  },
                  "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"
                            }
                          ]
                        },
                        "week_start": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^[^<>]*$"
                        },
                        "partial": {
                          "type": "boolean"
                        }
                      },
                      "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
                  }
                },
                "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
              },
              "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"
                  }
                ]
              }
            },
            "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$"
    }
  },
  "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#"
}
