{"action":"created","issue":{"url":"https://api.github.com/repos/apiaryio/snowcrash/issues/286","repository_url":"https://api.github.com/repos/apiaryio/snowcrash","labels_url":"https://api.github.com/repos/apiaryio/snowcrash/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/apiaryio/snowcrash/issues/286/comments","events_url":"https://api.github.com/repos/apiaryio/snowcrash/issues/286/events","html_url":"https://github.com/apiaryio/snowcrash/issues/286","id":56571946,"node_id":"MDU6SXNzdWU1NjU3MTk0Ng==","number":286,"title":"MSON: Complex samples are parsed as distinct values","user":{"login":"honzajavorek","id":283441,"node_id":"MDQ6VXNlcjI4MzQ0MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/283441?v=4","gravatar_id":"","url":"https://api.github.com/users/honzajavorek","html_url":"https://github.com/honzajavorek","followers_url":"https://api.github.com/users/honzajavorek/followers","following_url":"https://api.github.com/users/honzajavorek/following{/other_user}","gists_url":"https://api.github.com/users/honzajavorek/gists{/gist_id}","starred_url":"https://api.github.com/users/honzajavorek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honzajavorek/subscriptions","organizations_url":"https://api.github.com/users/honzajavorek/orgs","repos_url":"https://api.github.com/users/honzajavorek/repos","events_url":"https://api.github.com/users/honzajavorek/events{/privacy}","received_events_url":"https://api.github.com/users/honzajavorek/received_events","type":"User","site_admin":false},"labels":[{"id":34303432,"node_id":"MDU6TGFiZWwzNDMwMzQzMg==","url":"https://api.github.com/repos/apiaryio/snowcrash/labels/bug","name":"bug","color":"e11d21","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2015-02-04T19:05:33Z","updated_at":"2018-10-01T13:01:35Z","closed_at":null,"author_association":"MEMBER","body":"### Protagonist version\n\n`\"protagonist-experimental\": \"0.18.2\"`\n### MSON Specs\n\nhttps://github.com/apiaryio/mson/blob/master/MSON%20Specification.md#44-sample\n### Example MSON (copy pasted from specs)\n\n``` markdown\n- list: *3, 4* (enum)\n```\n### Result of parsing\n\n``` json\n{\n  \"name\": {\n    \"literal\": \"...\",\n    \"variable\": false\n  },\n  \"sections\": [\n    {\n      \"class\": \"memberType\",\n      \"content\": [\n        {\n          \"class\": \"property\",\n          \"content\": {\n            \"name\": {\n              \"literal\": \"list\"\n            },\n            \"valueDefinition\": {\n              \"values\": [\n                {\n                  \"literal\": \"*3\",\n                  \"variable\": false\n                },\n                {\n                  \"literal\": \"4*\",\n                  \"variable\": false\n                }\n              ],\n              \"typeDefinition\": {\n                \"typeSpecification\": {\n                  \"name\": \"enum\"\n                }\n              }\n            }\n          }\n        }\n      ]\n    }\n  ]\n}\n```\n### Expected\n\nProbably sth like\n\n``` json\n                {\n                  \"literal\": \"3\",\n                  \"variable\": true\n                },\n                {\n                  \"literal\": \"4\",\n                  \"variable\": true\n                }\n```\n\nOther possible option: the spec is wrong.\n"},"comment":{"url":"https://api.github.com/repos/apiaryio/snowcrash/issues/comments/425899038","html_url":"https://github.com/apiaryio/snowcrash/issues/286#issuecomment-425899038","issue_url":"https://api.github.com/repos/apiaryio/snowcrash/issues/286","id":425899038,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTg5OTAzOA==","user":{"login":"abtris","id":100356,"node_id":"MDQ6VXNlcjEwMDM1Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/100356?v=4","gravatar_id":"","url":"https://api.github.com/users/abtris","html_url":"https://github.com/abtris","followers_url":"https://api.github.com/users/abtris/followers","following_url":"https://api.github.com/users/abtris/following{/other_user}","gists_url":"https://api.github.com/users/abtris/gists{/gist_id}","starred_url":"https://api.github.com/users/abtris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abtris/subscriptions","organizations_url":"https://api.github.com/users/abtris/orgs","repos_url":"https://api.github.com/users/abtris/repos","events_url":"https://api.github.com/users/abtris/events{/privacy}","received_events_url":"https://api.github.com/users/abtris/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T13:01:35Z","updated_at":"2018-10-01T13:01:35Z","author_association":"MEMBER","body":"Migrated to apiaryio/drafter#639"}}
{"actor":{"display_login":"abtris"}}