{"action":"created","issue":{"url":"https://api.github.com/repos/apiaryio/mson/issues/55","repository_url":"https://api.github.com/repos/apiaryio/mson","labels_url":"https://api.github.com/repos/apiaryio/mson/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/apiaryio/mson/issues/55/comments","events_url":"https://api.github.com/repos/apiaryio/mson/issues/55/events","html_url":"https://github.com/apiaryio/mson/issues/55","id":141706707,"number":55,"title":"sets","user":{"login":"LinusU","id":189580,"avatar_url":"https://avatars.githubusercontent.com/u/189580?v=3","gravatar_id":"","url":"https://api.github.com/users/LinusU","html_url":"https://github.com/LinusU","followers_url":"https://api.github.com/users/LinusU/followers","following_url":"https://api.github.com/users/LinusU/following{/other_user}","gists_url":"https://api.github.com/users/LinusU/gists{/gist_id}","starred_url":"https://api.github.com/users/LinusU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinusU/subscriptions","organizations_url":"https://api.github.com/users/LinusU/orgs","repos_url":"https://api.github.com/users/LinusU/repos","events_url":"https://api.github.com/users/LinusU/events{/privacy}","received_events_url":"https://api.github.com/users/LinusU/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-17T21:05:48Z","updated_at":"2016-03-17T21:10:31Z","closed_at":null,"body":"How about having sets, which is really just arrays that can have predefined values at most one time?\r\n\r\nProposed syntax:\r\n\r\n```md\r\n+ privileges (set[string], required)\r\n    + network\r\n    + mailman\r\n    + procmod\r\n    + procview\r\n    + lpadmin\r\n    + lpoperator\r\n```"},"comment":{"url":"https://api.github.com/repos/apiaryio/mson/issues/comments/198083831","html_url":"https://github.com/apiaryio/mson/issues/55#issuecomment-198083831","issue_url":"https://api.github.com/repos/apiaryio/mson/issues/55","id":198083831,"user":{"login":"zdne","id":613617,"avatar_url":"https://avatars.githubusercontent.com/u/613617?v=3","gravatar_id":"","url":"https://api.github.com/users/zdne","html_url":"https://github.com/zdne","followers_url":"https://api.github.com/users/zdne/followers","following_url":"https://api.github.com/users/zdne/following{/other_user}","gists_url":"https://api.github.com/users/zdne/gists{/gist_id}","starred_url":"https://api.github.com/users/zdne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdne/subscriptions","organizations_url":"https://api.github.com/users/zdne/orgs","repos_url":"https://api.github.com/users/zdne/repos","events_url":"https://api.github.com/users/zdne/events{/privacy}","received_events_url":"https://api.github.com/users/zdne/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T21:10:31Z","updated_at":"2016-03-17T21:10:31Z","body":"```apib\r\n+ privileges (array[string], fixed)\r\n    + network\r\n    + mailman\r\n    + procmod\r\n    + procview\r\n    + lpadmin\r\n    + lpoperator\r\n```\r\n\r\nIs what you looking at. Do not forget that the `required` there makes `privileges` key mandatory in its parent object. "}}