{
  "type": "object",
  "properties": {
    "schema_version": {
      "const": "shroom-loading-summary-v1"
    },
    "summary_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "parent_snapshot_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "atlas_snapshot_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "generated_at": {
      "type": "string",
      "format": "date-time"
    },
    "evidence_asof": {
      "type": "string",
      "format": "date-time"
    },
    "scope": {
      "type": "object"
    },
    "root_asset_id": {
      "type": "string"
    },
    "assets": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "symbol": {
            "type": [
              "string",
              "null"
            ]
          },
          "decimals": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 36
          }
        },
        "required": [
          "id",
          "address",
          "symbol",
          "decimals"
        ],
        "additionalProperties": false
      }
    },
    "pools": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "asset_ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "maxItems": 2
          }
        },
        "required": [
          "id",
          "asset_ids"
        ],
        "additionalProperties": false
      }
    },
    "detail_state": {
      "const": "pending_full_matching_pair"
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "schema_version",
    "summary_id",
    "parent_snapshot_id",
    "atlas_snapshot_id",
    "generated_at",
    "evidence_asof",
    "scope",
    "root_asset_id",
    "assets",
    "pools",
    "detail_state",
    "limitations"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
