{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "OlapVolumeForPeriodData",
  "type": "object",
  "required": [
    "collectionId",
    "volumeNative",
    "volumeUsd",
    "updatedAt"
  ],
  "properties": {
    "collectionId": {
      "$ref": "#/components/schemas/CollectionId"
    },
    "period": {
      "$ref": "#/components/schemas/OlapLeaderboardPeriod"
    },
    "volumeNative": {
      "type": "number",
      "format": "bigdecimal",
      "description": "volume in native currency for the given period, if period is null it is total volume"
    },
    "volumeUsd": {
      "type": "number",
      "format": "bigdecimal",
      "description": "volume in usd for the given period, if period is null it is total volume"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "when the value was updated in the olap database"
    }
  }
}