{"action":"opened","issue":{"url":"https://api.github.com/repos/tangrams/eraser-map/issues/161","repository_url":"https://api.github.com/repos/tangrams/eraser-map","labels_url":"https://api.github.com/repos/tangrams/eraser-map/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/tangrams/eraser-map/issues/161/comments","events_url":"https://api.github.com/repos/tangrams/eraser-map/issues/161/events","html_url":"https://github.com/tangrams/eraser-map/issues/161","id":136842125,"number":161,"title":"Remove duplicate YAML keys","user":{"login":"bcamper","id":16733,"avatar_url":"https://avatars.githubusercontent.com/u/16733?v=3","gravatar_id":"","url":"https://api.github.com/users/bcamper","html_url":"https://github.com/bcamper","followers_url":"https://api.github.com/users/bcamper/followers","following_url":"https://api.github.com/users/bcamper/following{/other_user}","gists_url":"https://api.github.com/users/bcamper/gists{/gist_id}","starred_url":"https://api.github.com/users/bcamper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcamper/subscriptions","organizations_url":"https://api.github.com/users/bcamper/orgs","repos_url":"https://api.github.com/users/bcamper/repos","events_url":"https://api.github.com/users/bcamper/events{/privacy}","received_events_url":"https://api.github.com/users/bcamper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-26T23:17:52Z","updated_at":"2016-02-26T23:17:52Z","closed_at":null,"body":"There are currently two places with invalid YAML keys in the scene file:\r\n\r\nhttps://github.com/tangrams/eraser-map/blob/gh-pages/eraser-map.yaml#L2107-L2109\r\n(in this case, the `cap` is being inherited from the parent anyway, so maybe it could be removed, along with the `cap` setting under `outline`)\r\n\r\nhttps://github.com/tangrams/eraser-map/blob/gh-pages/eraser-map.yaml#L4328-L4330\r\n(this one is a pretty significant divergence in `priority`)\r\n\r\nI would like to upgrade to a newer version of our YAML parser, but it turns out that duplicate keys are invalid, and the YAML parser now enforces this, meaning we can't upgrade until we fix these.\r\n\r\nUnfortunately it seems that other styles (at least Refill and Cinnabar so far) also have duplicate keys (but different from these), so we'll need to do a sweep across them all.\r\n"}}