A linked data layer over PouchDB with built in schema validation