{"issue":{"created_at":"2011-11-28T09:34:24Z","state":"open","updated_at":"2011-12-06T15:24:10Z","comments":2,"user":{"gravatar_id":"6d7d4aa2b3f1602705b599cdd5dc72bd","id":41628,"url":"https://api.github.com/users/pudo","login":"pudo","avatar_url":"https://secure.gravatar.com/avatar/6d7d4aa2b3f1602705b599cdd5dc72bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"We should move from the compound syntax of \"fields\" to a syntax of \"attributes\", where the \"name\" key in each fields entry evolves into the key of an attribute. ","assignee":{"gravatar_id":"6d7d4aa2b3f1602705b599cdd5dc72bd","id":41628,"url":"https://api.github.com/users/pudo","login":"pudo","avatar_url":"https://secure.gravatar.com/avatar/6d7d4aa2b3f1602705b599cdd5dc72bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2365475,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":340,"title":"Compound dimensions: \"fields\" (list) to \"attributes\" (dicts)","html_url":"https://github.com/okfn/openspending/issues/340","closed_at":null,"url":"https://api.github.com/repos/okfn/openspending/issues/340","milestone":{"created_at":"2011-10-03T09:29:14Z","state":"open","due_on":"2011-11-28T08:00:00Z","closed_issues":32,"creator":{"gravatar_id":"7c753fa710877b55f7596b47f5a554b1","id":3602,"url":"https://api.github.com/users/nickstenning","login":"nickstenning","avatar_url":"https://secure.gravatar.com/avatar/7c753fa710877b55f7596b47f5a554b1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":15,"description":"","title":"current-2011-12-25","url":"https://api.github.com/repos/okfn/openspending/milestones/15","open_issues":20}},"action":"created","comment":{"created_at":"2011-12-06T15:24:10Z","updated_at":"2011-12-06T15:24:10Z","user":{"gravatar_id":"6d7d4aa2b3f1602705b599cdd5dc72bd","id":41628,"url":"https://api.github.com/users/pudo","login":"pudo","avatar_url":"https://secure.gravatar.com/avatar/6d7d4aa2b3f1602705b599cdd5dc72bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Current: \r\n\r\n    \"mapping\": {\r\n       \"from\": {\r\n          \"label\": \"Spender\", \r\n          \"type\": \"compound\",\r\n          \"fields\": [\r\n               {\"name\": \"name\", \"datatype\": \"id\", \"column\": \"from_id\"},\r\n               {\"name\": \"label\", \"datatype\": \"string\", \"column\": \"from_label\"}\r\n          ]\r\n       }\r\n    }\r\n\r\nProposed:\r\n\r\n    \"mapping\": {\r\n       \"from\": {\r\n          \"label\": \"Spender\", \r\n          \"type\": \"compound\",\r\n          \"fields\": {\r\n               \"name\": {\"datatype\": \"id\", \"column\": \"from_id\"},\r\n               \"label\": {\"datatype\": \"string\", \"column\": \"from_label\"}\r\n          }\r\n       }\r\n    }","id":3033540,"url":"https://api.github.com/repos/okfn/openspending/issues/comments/3033540"}}