{"action":"created","issue":{"url":"https://api.github.com/repos/refugeetech/platform/issues/30","labels_url":"https://api.github.com/repos/refugeetech/platform/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/refugeetech/platform/issues/30/comments","events_url":"https://api.github.com/repos/refugeetech/platform/issues/30/events","html_url":"https://github.com/refugeetech/platform/issues/30","id":119958045,"number":30,"title":"Design Project links field display and data structure","user":{"login":"brylie","id":17307,"avatar_url":"https://avatars.githubusercontent.com/u/17307?v=3","gravatar_id":"","url":"https://api.github.com/users/brylie","html_url":"https://github.com/brylie","followers_url":"https://api.github.com/users/brylie/followers","following_url":"https://api.github.com/users/brylie/following{/other_user}","gists_url":"https://api.github.com/users/brylie/gists{/gist_id}","starred_url":"https://api.github.com/users/brylie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brylie/subscriptions","organizations_url":"https://api.github.com/users/brylie/orgs","repos_url":"https://api.github.com/users/brylie/repos","events_url":"https://api.github.com/users/brylie/events{/privacy}","received_events_url":"https://api.github.com/users/brylie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/refugeetech/platform/labels/design","name":"design","color":"bfe5bf"},{"url":"https://api.github.com/repos/refugeetech/platform/labels/documentation","name":"documentation","color":"fef2c0"},{"url":"https://api.github.com/repos/refugeetech/platform/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/refugeetech/platform/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/refugeetech/platform/milestones/2","html_url":"https://github.com/refugeetech/platform/milestones/Sprint%201","labels_url":"https://api.github.com/repos/refugeetech/platform/milestones/2/labels","id":1435375,"number":2,"title":"Sprint 1","description":"","creator":{"login":"brylie","id":17307,"avatar_url":"https://avatars.githubusercontent.com/u/17307?v=3","gravatar_id":"","url":"https://api.github.com/users/brylie","html_url":"https://github.com/brylie","followers_url":"https://api.github.com/users/brylie/followers","following_url":"https://api.github.com/users/brylie/following{/other_user}","gists_url":"https://api.github.com/users/brylie/gists{/gist_id}","starred_url":"https://api.github.com/users/brylie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brylie/subscriptions","organizations_url":"https://api.github.com/users/brylie/orgs","repos_url":"https://api.github.com/users/brylie/repos","events_url":"https://api.github.com/users/brylie/events{/privacy}","received_events_url":"https://api.github.com/users/brylie/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":16,"state":"open","created_at":"2015-11-30T15:01:51Z","updated_at":"2015-12-23T13:56:54Z","due_on":"2015-12-24T22:00:00Z","closed_at":null},"comments":4,"created_at":"2015-12-02T14:51:58Z","updated_at":"2015-12-23T13:57:47Z","closed_at":null,"body":"The Projects schema has a `links` field. Determine the data structure for links, and how the data should display. E.g. are there pre-set link types? Should the link be an object with type/link keys and corresponding values for link type and the URI?\r\n\r\n# Task\r\n## Links field\r\n* [ ] Project schema contains `links` field\r\n* [ ] Links field type is 'array of objects' `[Object]`\r\n* [ ] Links field contains sub-fields\r\n  * [ ] `name` (type: string)\r\n  * [ ] `uri` (type: string)\r\n    * [ ] `uri` field uses URI RegEx for validation\r\n\r\n## Social media links field\r\n* [ ] Project schema contains `socialMedia` field\r\n* [ ] `socialMedia` field type is 'object' `[Object]`\r\n* [ ] `socialMedia` field contains sub-fields\r\n  * [ ] `facebook` (type: string, RegEx: URL)\r\n  * [ ] `linkedIn` (type: string, RegEx: URL)\r\n  * [ ] `twitter` (type: string, RegEx: URL)\r\n\r\n## Display links in project cards\r\n* [ ] `individualProject` template updated to display `each links` field value\r\n  * {{# each links }} ... {{/ each }}\r\n* [ ] `individualProject` template updated to display `each socialMedia` field value\r\n  * {{# each socialMedia }} ... {{/ each }}"},"comment":{"url":"https://api.github.com/repos/refugeetech/platform/issues/comments/166901012","html_url":"https://github.com/refugeetech/platform/issues/30#issuecomment-166901012","issue_url":"https://api.github.com/repos/refugeetech/platform/issues/30","id":166901012,"user":{"login":"brylie","id":17307,"avatar_url":"https://avatars.githubusercontent.com/u/17307?v=3","gravatar_id":"","url":"https://api.github.com/users/brylie","html_url":"https://github.com/brylie","followers_url":"https://api.github.com/users/brylie/followers","following_url":"https://api.github.com/users/brylie/following{/other_user}","gists_url":"https://api.github.com/users/brylie/gists{/gist_id}","starred_url":"https://api.github.com/users/brylie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brylie/subscriptions","organizations_url":"https://api.github.com/users/brylie/orgs","repos_url":"https://api.github.com/users/brylie/repos","events_url":"https://api.github.com/users/brylie/events{/privacy}","received_events_url":"https://api.github.com/users/brylie/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T13:57:47Z","updated_at":"2015-12-23T13:57:47Z","body":"@leosa83 would you take this task?"}}