{"action":"created","issue":{"url":"https://api.github.com/repos/popolo-project/popolo-spec/issues/84","labels_url":"https://api.github.com/repos/popolo-project/popolo-spec/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/popolo-project/popolo-spec/issues/84/comments","events_url":"https://api.github.com/repos/popolo-project/popolo-spec/issues/84/events","html_url":"https://github.com/popolo-project/popolo-spec/issues/84","id":58340538,"number":84,"title":"Add identifiers to classes with a single identifier","user":{"login":"KrzysztofMadejski","id":849975,"avatar_url":"https://avatars.githubusercontent.com/u/849975?v=3","gravatar_id":"","url":"https://api.github.com/users/KrzysztofMadejski","html_url":"https://github.com/KrzysztofMadejski","followers_url":"https://api.github.com/users/KrzysztofMadejski/followers","following_url":"https://api.github.com/users/KrzysztofMadejski/following{/other_user}","gists_url":"https://api.github.com/users/KrzysztofMadejski/gists{/gist_id}","starred_url":"https://api.github.com/users/KrzysztofMadejski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrzysztofMadejski/subscriptions","organizations_url":"https://api.github.com/users/KrzysztofMadejski/orgs","repos_url":"https://api.github.com/users/KrzysztofMadejski/repos","events_url":"https://api.github.com/users/KrzysztofMadejski/events{/privacy}","received_events_url":"https://api.github.com/users/KrzysztofMadejski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/popolo-project/popolo-spec/labels/New%20property","name":"New property","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-20T11:34:39Z","updated_at":"2015-08-10T14:20:58Z","closed_at":null,"body":"I really like the concept of `identifiers` property in organization and people. It allows to include many IDs which is very often the case (web id, some social id numbers, etc.)\r\n\r\n```\r\n\"identifiers\": {\r\n\"description\": \"Issued identifiers\",\r\n\"type\": \"array\",\r\n\"items\": {\r\n\"$ref\": \"http://www.popoloproject.com/schemas/identifier.json#\"\r\n}\r\n},\r\n```\r\n\r\nI wonder why you're not coherent and in vote-event there is:\r\n```\r\n\"identifier\": {\r\n\"description\": \"An issued identifier\",\r\n\"type\": [\r\n\"string\",\r\n\"null\"\r\n]\r\n},\r\n```\r\n\r\nMultiple identifiers is much more robust approach and I propose to include that in all Popolo classes (same as sources).\r\n\r\nCC: https://github.com/KohoVolit/api.parldata.eu/issues/5"},"comment":{"url":"https://api.github.com/repos/popolo-project/popolo-spec/issues/comments/129471013","html_url":"https://github.com/popolo-project/popolo-spec/issues/84#issuecomment-129471013","issue_url":"https://api.github.com/repos/popolo-project/popolo-spec/issues/84","id":129471013,"user":{"login":"tmtmtmtm","id":57483,"avatar_url":"https://avatars.githubusercontent.com/u/57483?v=3","gravatar_id":"","url":"https://api.github.com/users/tmtmtmtm","html_url":"https://github.com/tmtmtmtm","followers_url":"https://api.github.com/users/tmtmtmtm/followers","following_url":"https://api.github.com/users/tmtmtmtm/following{/other_user}","gists_url":"https://api.github.com/users/tmtmtmtm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmtmtmtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmtmtmtm/subscriptions","organizations_url":"https://api.github.com/users/tmtmtmtm/orgs","repos_url":"https://api.github.com/users/tmtmtmtm/repos","events_url":"https://api.github.com/users/tmtmtmtm/events{/privacy}","received_events_url":"https://api.github.com/users/tmtmtmtm/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T14:20:58Z","updated_at":"2015-08-10T14:20:58Z","body":"As an example of where multiple identifiers are needed, consider migrating the `constituencies.json` file from parlparse (https://github.com/mysociety/parlparse/blob/master/members/constituencies.json) to Popolo Areas.\r\n"}}