{"action":"opened","issue":{"url":"https://api.github.com/repos/qualipool/swissrets/issues/51","repository_url":"https://api.github.com/repos/qualipool/swissrets","labels_url":"https://api.github.com/repos/qualipool/swissrets/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/qualipool/swissrets/issues/51/comments","events_url":"https://api.github.com/repos/qualipool/swissrets/issues/51/events","html_url":"https://github.com/qualipool/swissrets/issues/51","id":379657552,"node_id":"MDU6SXNzdWUzNzk2NTc1NTI=","number":51,"title":"Improve the media element","user":{"login":"adi-de-masi","id":1737864,"node_id":"MDQ6VXNlcjE3Mzc4NjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1737864?v=4","gravatar_id":"","url":"https://api.github.com/users/adi-de-masi","html_url":"https://github.com/adi-de-masi","followers_url":"https://api.github.com/users/adi-de-masi/followers","following_url":"https://api.github.com/users/adi-de-masi/following{/other_user}","gists_url":"https://api.github.com/users/adi-de-masi/gists{/gist_id}","starred_url":"https://api.github.com/users/adi-de-masi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adi-de-masi/subscriptions","organizations_url":"https://api.github.com/users/adi-de-masi/orgs","repos_url":"https://api.github.com/users/adi-de-masi/repos","events_url":"https://api.github.com/users/adi-de-masi/events{/privacy}","received_events_url":"https://api.github.com/users/adi-de-masi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-12T07:48:16Z","updated_at":"2018-11-12T07:48:16Z","closed_at":null,"author_association":"NONE","body":"**Is your feature request related to a problem? Please describe.**\r\nThe \\<media\\> element as it exists now contains a few problems:\r\n- what should \"alt\" be used for?\r\n- why are there \"file\" and a \"url\" elements, the url should be sufficient.\r\n- why are there \"caption\" and \"description\" elements, what's the difference and expected rendering on a real estate platform? Would one of those be enough?\r\n\r\n**Describe the solution you'd like**\r\nWe suggest to introduce a more generic and slim \"attachments\" element (note that we also would rename from media to attachments):\r\n```\r\n<attachments>\r\n    <attachment type=\"image\">\r\n        <title>Küche</title>\r\n        <url>http://cdn.casasoft.ch/3lk2j34kj23ljkj34/1234.jpg</url>\r\n        <caption>Wunderschöne Kücke neu saniert.</caption>\r\n        <description>Die Küche wurde am 2015 komplett neu eingebaut. Die   </description>\r\n    </attachment>\r\n</attachments>\r\n```\r\n\r\n**Additional context**\r\nOf course, the type of attachments must be narrowed down, e.g. to MIME types."}}
{"actor":{"display_login":"adi-de-masi"}}