{
  "id": "ctzn.network/notifications-count-view",
  "title": "Notifications view",
  "description": "Get notification records of a user.",
  "type": "json-view",
  "parameters": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "array",
    "additionalItems": false,
    "items": [
      {
        "type": "object",
        "properties": {
          "limit": {"type": "number"},
          "lt": {"type": "string"},
          "gt": {"type": "string"},
          "after": {"type": "string", "format": "date-time"},
          "before": {"type": "string", "format": "date-time"}
        }
      }
    ]
  },
  "definition": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "required": ["count"],
    "properties": {
      "count": {"type": "number"}
    }
  }
}