{
  "datasource": {
    "key": "articles",
    "name": "Articles DS",
    "source": {
      "host": "127.0.0.1",
      "port": "3000",
      "endpoint": "vjoin/testdb/books"
    },
    "caching": {
      "ttl": 300,
      "directory": {
        "enabled": true,
        "path": "./cache/web/",
        "extension": "json"
      },
      "redis": {
        "enabled": false
      }
    },
    "auth": {
      "type": "bearer",
      "host": "127.0.0.1",
      "port": "3000",
      "tokenUrl": "/token",
      "credentials": {
        "clientId": "testClient",
        "secret": "superSecret"
      }
    },
    "paginate": true,
    "count": 5,
    "sort": [
      {
        "field": "_id",
        "order": "asc"
      }
    ],
    "search": {},
    "fields": [
      "name",
      "authorId"
    ],
    "requestParams": [
      {
        "param": "name",
        "field": "name"
      }
    ]
  }
}