{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/1bc7d14d4722fc291fc996a96b020115?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1bc7d14d4722fc291fc996a96b020115","url":"https://api.github.com/users/ericmbarnard","login":"ericmbarnard","id":890542},"milestone":null,"labels":[],"assignee":{"avatar_url":"https://secure.gravatar.com/avatar/1bc7d14d4722fc291fc996a96b020115?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1bc7d14d4722fc291fc996a96b020115","url":"https://api.github.com/users/ericmbarnard","login":"ericmbarnard","id":890542},"updated_at":"2011-11-01T20:47:59Z","comments":0,"closed_at":null,"url":"https://api.github.com/repos/ericmbarnard/Knockout-Validation/issues/1","body":"HTML 5 input validation attributes seem to allow a 'step' attribute that denotes a valid increment for a number.\r\n\r\nWe could implement this as:\r\n\r\n```javascript\r\nko.validation.rules['step'] = {\r\n    validator: function(val, step){\r\n        return val % step === 0;\r\n    },\r\n    message: 'The value must increment by {0}'\r\n};\r\n```","html_url":"https://github.com/ericmbarnard/Knockout-Validation/issues/1","number":1,"title":"Add 'step' rule","id":2114883,"created_at":"2011-11-01T20:47:59Z"},"action":"opened"}