fix some validation errors
Merge pull request #5 from mgax/schema-fixes

fix some validation errors