{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ActivitySearchFilter",
  "type": "object",
  "properties": {
    "blockchains": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Blockchain"
      }
    },
    "types": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ActivityType"
      }
    },
    "collections": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CollectionId"
      }
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ItemId"
      }
    },
    "users": {
      "$ref": "#/components/schemas/ActivityUserFilter"
    },
    "currencies": {
      "$ref": "#/components/schemas/ActivityCurrencyFilter"
    },
    "from": {
      "type": "string",
      "format": "date-time"
    },
    "to": {
      "type": "string",
      "format": "date-time"
    },
    "fromBlockInclusive": {
      "type": "integer",
      "format": "int64"
    },
    "toBlockExclusive": {
      "type": "integer",
      "format": "int64"
    },
    "sources": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/OrderActivitySource"
      }
    },
    "hasRaribleFees": {
      "type": "boolean",
      "description": "Filter SELL activities by Rarible fee receivers"
    }
  }
}