I am writing my first api (express/node) and one of the endpoints receives json data in the body like:

```
{
    "text": "some comment here...",
    "tags": [ 
        {"id": 0, "tag": "some tag 1"}, 
        {"id": 123, "tag": "some tag 2"}
    ],
    "date": "1452305028289",
}

```

Is there some way you can check that all the properties exist on the object and that they have values? Or do you have to write a custom function checking for each required property and values?