{"action":"created","issue":{"url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/98","labels_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/98/comments","events_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/98/events","html_url":"https://github.com/jagi/meteor-astronomy/issues/98","id":107079789,"number":98,"title":"Enum type","user":{"login":"Deadly0","id":4887213,"avatar_url":"https://avatars.githubusercontent.com/u/4887213?v=3","gravatar_id":"","url":"https://api.github.com/users/Deadly0","html_url":"https://github.com/Deadly0","followers_url":"https://api.github.com/users/Deadly0/followers","following_url":"https://api.github.com/users/Deadly0/following{/other_user}","gists_url":"https://api.github.com/users/Deadly0/gists{/gist_id}","starred_url":"https://api.github.com/users/Deadly0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deadly0/subscriptions","organizations_url":"https://api.github.com/users/Deadly0/orgs","repos_url":"https://api.github.com/users/Deadly0/repos","events_url":"https://api.github.com/users/Deadly0/events{/privacy}","received_events_url":"https://api.github.com/users/Deadly0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-17T21:42:00Z","updated_at":"2015-09-19T13:19:54Z","closed_at":null,"body":"Hi @jagi, thank you for 1.0 update, it's looks nice!\r\n\r\nHow about to add something like `enum` type to default types?\r\n\r\n```\r\nmyEnum: {\r\n      type: 'enum',\r\n      values: ['OPENED', 'NEW', 'CLOSED'],\r\n      default: 'NEW'\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/comments/141667717","html_url":"https://github.com/jagi/meteor-astronomy/issues/98#issuecomment-141667717","issue_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/98","id":141667717,"user":{"login":"davidystephenson","id":3091951,"avatar_url":"https://avatars.githubusercontent.com/u/3091951?v=3","gravatar_id":"","url":"https://api.github.com/users/davidystephenson","html_url":"https://github.com/davidystephenson","followers_url":"https://api.github.com/users/davidystephenson/followers","following_url":"https://api.github.com/users/davidystephenson/following{/other_user}","gists_url":"https://api.github.com/users/davidystephenson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidystephenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidystephenson/subscriptions","organizations_url":"https://api.github.com/users/davidystephenson/orgs","repos_url":"https://api.github.com/users/davidystephenson/repos","events_url":"https://api.github.com/users/davidystephenson/events{/privacy}","received_events_url":"https://api.github.com/users/davidystephenson/received_events","type":"User","site_admin":false},"created_at":"2015-09-19T13:19:54Z","updated_at":"2015-09-19T13:19:54Z","body":"@jagi I'm not sure how helpful this is, but mongoose does have this functionality: http://mongoosejs.com/docs/api.html#schema_string_SchemaString-enum"}}