{"action":"created","issue":{"url":"https://api.github.com/repos/votinginfoproject/vip-specification/issues/75","labels_url":"https://api.github.com/repos/votinginfoproject/vip-specification/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/votinginfoproject/vip-specification/issues/75/comments","events_url":"https://api.github.com/repos/votinginfoproject/vip-specification/issues/75/events","html_url":"https://github.com/votinginfoproject/vip-specification/issues/75","id":66037877,"number":75,"title":"Decide style re: ID attribute names","user":{"login":"cjerdonek","id":355822,"avatar_url":"https://avatars.githubusercontent.com/u/355822?v=3","gravatar_id":"","url":"https://api.github.com/users/cjerdonek","html_url":"https://github.com/cjerdonek","followers_url":"https://api.github.com/users/cjerdonek/followers","following_url":"https://api.github.com/users/cjerdonek/following{/other_user}","gists_url":"https://api.github.com/users/cjerdonek/gists{/gist_id}","starred_url":"https://api.github.com/users/cjerdonek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjerdonek/subscriptions","organizations_url":"https://api.github.com/users/cjerdonek/orgs","repos_url":"https://api.github.com/users/cjerdonek/repos","events_url":"https://api.github.com/users/cjerdonek/events{/privacy}","received_events_url":"https://api.github.com/users/cjerdonek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-03T00:11:58Z","updated_at":"2015-04-03T20:35:15Z","closed_at":"2015-04-03T20:35:15Z","body":"I think the style guide should clarify how to name attributes and elements that correspond to ID's.  The two cases that come to mind are--\r\n\r\n1. The ID attribute for a type definition (i.e. a primary key).  1622.2 uses `object_id`, but VIP currently has `id`.  The style guide currently says camelCase, but not what the name should be.  I am okay with following the 1622.2 convention.\r\n2. An ID attribute or element that refers to an ID (e.g. an xs:IDREF).  1622.2 uses names of the form \"PartyID\", presumably the type name followed by \"ID\", with camelCase for attributes and TitleCase for elements.  VIP currently uses snake case but follows the same naming convention (e.g. `electoral_district_id`).  The style guide changes this to match VIP, but doesn't say what the name should be.  I would be okay following the 1622.2 convention here as well.\r\n\r\nFor reference, here is a link to the [latest 1622.2 spec](http://grouper.ieee.org/groups/1622/groups/2/WorkingDocuments/V39/ElectionResultsV39.xsd).\r\n"},"comment":{"url":"https://api.github.com/repos/votinginfoproject/vip-specification/issues/comments/89412088","html_url":"https://github.com/votinginfoproject/vip-specification/issues/75#issuecomment-89412088","issue_url":"https://api.github.com/repos/votinginfoproject/vip-specification/issues/75","id":89412088,"user":{"login":"cjerdonek","id":355822,"avatar_url":"https://avatars.githubusercontent.com/u/355822?v=3","gravatar_id":"","url":"https://api.github.com/users/cjerdonek","html_url":"https://github.com/cjerdonek","followers_url":"https://api.github.com/users/cjerdonek/followers","following_url":"https://api.github.com/users/cjerdonek/following{/other_user}","gists_url":"https://api.github.com/users/cjerdonek/gists{/gist_id}","starred_url":"https://api.github.com/users/cjerdonek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjerdonek/subscriptions","organizations_url":"https://api.github.com/users/cjerdonek/orgs","repos_url":"https://api.github.com/users/cjerdonek/repos","events_url":"https://api.github.com/users/cjerdonek/events{/privacy}","received_events_url":"https://api.github.com/users/cjerdonek/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T20:35:15Z","updated_at":"2015-04-03T20:35:15Z","body":"Addressed by PR #78."}}