Added json schemas

closes #399