added to hal.js using json schema format