{"action":"created","issue":{"url":"https://api.github.com/repos/ryanfitz/vogels/issues/42","repository_url":"https://api.github.com/repos/ryanfitz/vogels","labels_url":"https://api.github.com/repos/ryanfitz/vogels/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/ryanfitz/vogels/issues/42/comments","events_url":"https://api.github.com/repos/ryanfitz/vogels/issues/42/events","html_url":"https://github.com/ryanfitz/vogels/issues/42","id":43766963,"number":42,"title":"Empty value on String field is not allowed","user":{"login":"marko-ciric","id":574259,"avatar_url":"https://avatars.githubusercontent.com/u/574259?v=3","gravatar_id":"","url":"https://api.github.com/users/marko-ciric","html_url":"https://github.com/marko-ciric","followers_url":"https://api.github.com/users/marko-ciric/followers","following_url":"https://api.github.com/users/marko-ciric/following{/other_user}","gists_url":"https://api.github.com/users/marko-ciric/gists{/gist_id}","starred_url":"https://api.github.com/users/marko-ciric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marko-ciric/subscriptions","organizations_url":"https://api.github.com/users/marko-ciric/orgs","repos_url":"https://api.github.com/users/marko-ciric/repos","events_url":"https://api.github.com/users/marko-ciric/events{/privacy}","received_events_url":"https://api.github.com/users/marko-ciric/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ryanfitz/vogels/labels/feature","name":"feature","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-09-24T13:52:19Z","updated_at":"2016-05-02T10:54:01Z","closed_at":"2015-11-12T14:24:11Z","body":"When defining a schema like: \r\n<pre>\r\nvar Item = vogels.define('Item', function (schema) {\r\n    schema.UUID('id', {hashKey: true});\r\n    schema.Number('asset_id').required();\r\n    schema.Number('user_id').required();\r\n    schema.String('asset');\r\n</pre>\r\nCalling\r\n<pre>Item.create({id: 1, asset_id: 2, user_id: 3, asset: ''})</pre>\r\nfails with \r\n<pre>details=[message=the value of asset is not allowed to be empty, path=asset, type=any.empty]</pre>"},"comment":{"url":"https://api.github.com/repos/ryanfitz/vogels/issues/comments/216197926","html_url":"https://github.com/ryanfitz/vogels/issues/42#issuecomment-216197926","issue_url":"https://api.github.com/repos/ryanfitz/vogels/issues/42","id":216197926,"user":{"login":"RodH257","id":289169,"avatar_url":"https://avatars.githubusercontent.com/u/289169?v=3","gravatar_id":"","url":"https://api.github.com/users/RodH257","html_url":"https://github.com/RodH257","followers_url":"https://api.github.com/users/RodH257/followers","following_url":"https://api.github.com/users/RodH257/following{/other_user}","gists_url":"https://api.github.com/users/RodH257/gists{/gist_id}","starred_url":"https://api.github.com/users/RodH257/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RodH257/subscriptions","organizations_url":"https://api.github.com/users/RodH257/orgs","repos_url":"https://api.github.com/users/RodH257/repos","events_url":"https://api.github.com/users/RodH257/events{/privacy}","received_events_url":"https://api.github.com/users/RodH257/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T10:54:01Z","updated_at":"2016-05-02T10:54:01Z","body":"I'm still having an issue with empty strings on nested properties, does this fix only work on the parent keys?"}}