{"action":"created","issue":{"url":"https://api.github.com/repos/metarhia/metaschema/issues/171","repository_url":"https://api.github.com/repos/metarhia/metaschema","labels_url":"https://api.github.com/repos/metarhia/metaschema/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/metarhia/metaschema/issues/171/comments","events_url":"https://api.github.com/repos/metarhia/metaschema/issues/171/events","html_url":"https://github.com/metarhia/metaschema/issues/171","id":387349673,"node_id":"MDU6SXNzdWUzODczNDk2NzM=","number":171,"title":"ApplicationMenu description","user":{"login":"nechaido","id":17278974,"node_id":"MDQ6VXNlcjE3Mjc4OTc0","avatar_url":"https://avatars2.githubusercontent.com/u/17278974?v=4","gravatar_id":"","url":"https://api.github.com/users/nechaido","html_url":"https://github.com/nechaido","followers_url":"https://api.github.com/users/nechaido/followers","following_url":"https://api.github.com/users/nechaido/following{/other_user}","gists_url":"https://api.github.com/users/nechaido/gists{/gist_id}","starred_url":"https://api.github.com/users/nechaido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nechaido/subscriptions","organizations_url":"https://api.github.com/users/nechaido/orgs","repos_url":"https://api.github.com/users/nechaido/repos","events_url":"https://api.github.com/users/nechaido/events{/privacy}","received_events_url":"https://api.github.com/users/nechaido/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tshemsedinov","id":4405297,"node_id":"MDQ6VXNlcjQ0MDUyOTc=","avatar_url":"https://avatars2.githubusercontent.com/u/4405297?v=4","gravatar_id":"","url":"https://api.github.com/users/tshemsedinov","html_url":"https://github.com/tshemsedinov","followers_url":"https://api.github.com/users/tshemsedinov/followers","following_url":"https://api.github.com/users/tshemsedinov/following{/other_user}","gists_url":"https://api.github.com/users/tshemsedinov/gists{/gist_id}","starred_url":"https://api.github.com/users/tshemsedinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tshemsedinov/subscriptions","organizations_url":"https://api.github.com/users/tshemsedinov/orgs","repos_url":"https://api.github.com/users/tshemsedinov/repos","events_url":"https://api.github.com/users/tshemsedinov/events{/privacy}","received_events_url":"https://api.github.com/users/tshemsedinov/received_events","type":"User","site_admin":false},"assignees":[{"login":"tshemsedinov","id":4405297,"node_id":"MDQ6VXNlcjQ0MDUyOTc=","avatar_url":"https://avatars2.githubusercontent.com/u/4405297?v=4","gravatar_id":"","url":"https://api.github.com/users/tshemsedinov","html_url":"https://github.com/tshemsedinov","followers_url":"https://api.github.com/users/tshemsedinov/followers","following_url":"https://api.github.com/users/tshemsedinov/following{/other_user}","gists_url":"https://api.github.com/users/tshemsedinov/gists{/gist_id}","starred_url":"https://api.github.com/users/tshemsedinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tshemsedinov/subscriptions","organizations_url":"https://api.github.com/users/tshemsedinov/orgs","repos_url":"https://api.github.com/users/tshemsedinov/repos","events_url":"https://api.github.com/users/tshemsedinov/events{/privacy}","received_events_url":"https://api.github.com/users/tshemsedinov/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-12-04T15:46:04Z","updated_at":"2018-12-04T20:35:36Z","closed_at":null,"author_association":"MEMBER","body":"We need a way to define a Menu in an application schema. The proposed structure is:\r\n```js\r\nMenuItem = {\r\n  type: Enum('caterory', 'projection', 'group', 'separator'),\r\n  name: { domain: 'Nomen',\r\n  icon: { domain: 'Nomen', comment: 'resource key for menu entry icon'},\r\n  items: Array('MenuItem'),\r\n};\r\n\r\nApplicationMenu = Array('MenuItem');\r\n```"},"comment":{"url":"https://api.github.com/repos/metarhia/metaschema/issues/comments/444248357","html_url":"https://github.com/metarhia/metaschema/issues/171#issuecomment-444248357","issue_url":"https://api.github.com/repos/metarhia/metaschema/issues/171","id":444248357,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDI0ODM1Nw==","user":{"login":"lundibundi","id":9109612,"node_id":"MDQ6VXNlcjkxMDk2MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/9109612?v=4","gravatar_id":"","url":"https://api.github.com/users/lundibundi","html_url":"https://github.com/lundibundi","followers_url":"https://api.github.com/users/lundibundi/followers","following_url":"https://api.github.com/users/lundibundi/following{/other_user}","gists_url":"https://api.github.com/users/lundibundi/gists{/gist_id}","starred_url":"https://api.github.com/users/lundibundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lundibundi/subscriptions","organizations_url":"https://api.github.com/users/lundibundi/orgs","repos_url":"https://api.github.com/users/lundibundi/repos","events_url":"https://api.github.com/users/lundibundi/events{/privacy}","received_events_url":"https://api.github.com/users/lundibundi/received_events","type":"User","site_admin":false},"created_at":"2018-12-04T20:35:36Z","updated_at":"2018-12-04T20:35:36Z","author_association":"MEMBER","body":"I'd propose:\r\n```js\r\nMenuItem = {\r\n  type: Enum('category', 'projection', 'group', 'separator'),\r\n  name: { domain: 'text' },\r\n  icon: { domain: 'text', comment: 'resource key for menu entry icon' },\r\n  items: List('MenuItem'),\r\n};\r\n\r\nApplicationMenu = List('MenuItem');\r\n```\r\n\r\nFixed a few typos.\r\nI think 'Nomen' is way too limited, so switched to text.\r\nI don't think we have 'Array' decorator, 'List'?\r\n"}}
{"actor":{"display_login":"lundibundi"}}