{"action":"created","issue":{"url":"https://api.github.com/repos/diekhans/ga4gh-schemas-genome-ann/issues/13","labels_url":"https://api.github.com/repos/diekhans/ga4gh-schemas-genome-ann/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/diekhans/ga4gh-schemas-genome-ann/issues/13/comments","events_url":"https://api.github.com/repos/diekhans/ga4gh-schemas-genome-ann/issues/13/events","html_url":"https://github.com/diekhans/ga4gh-schemas-genome-ann/issues/13","id":55666878,"number":13,"title":"Switch to `parentId` field instead of recursive types","user":{"login":"laserson","id":118141,"avatar_url":"https://avatars.githubusercontent.com/u/118141?v=3","gravatar_id":"","url":"https://api.github.com/users/laserson","html_url":"https://github.com/laserson","followers_url":"https://api.github.com/users/laserson/followers","following_url":"https://api.github.com/users/laserson/following{/other_user}","gists_url":"https://api.github.com/users/laserson/gists{/gist_id}","starred_url":"https://api.github.com/users/laserson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laserson/subscriptions","organizations_url":"https://api.github.com/users/laserson/orgs","repos_url":"https://api.github.com/users/laserson/repos","events_url":"https://api.github.com/users/laserson/events{/privacy}","received_events_url":"https://api.github.com/users/laserson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-27T19:59:56Z","updated_at":"2015-02-07T20:18:48Z","closed_at":"2015-02-07T20:18:48Z","body":"The current schema will make a \"table\" of `SeqAnnRegion` objects to be a collection of trees, which seems unnecessarily complex to reason about.  My preference would be to make it a collection of non-recursive records, where each `SeqAnnRegion` can contain a `parentId` field.  This way the trees can be computed by aggregation if desired. It'll also be more compatible with a relational model, which may be easier for people to think about. It's also more denormalized that way, which is a bit more \"Hadoop-y\"."},"comment":{"url":"https://api.github.com/repos/diekhans/ga4gh-schemas-genome-ann/issues/comments/73381070","html_url":"https://github.com/diekhans/ga4gh-schemas-genome-ann/issues/13#issuecomment-73381070","issue_url":"https://api.github.com/repos/diekhans/ga4gh-schemas-genome-ann/issues/13","id":73381070,"user":{"login":"diekhans","id":110053,"avatar_url":"https://avatars.githubusercontent.com/u/110053?v=3","gravatar_id":"","url":"https://api.github.com/users/diekhans","html_url":"https://github.com/diekhans","followers_url":"https://api.github.com/users/diekhans/followers","following_url":"https://api.github.com/users/diekhans/following{/other_user}","gists_url":"https://api.github.com/users/diekhans/gists{/gist_id}","starred_url":"https://api.github.com/users/diekhans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diekhans/subscriptions","organizations_url":"https://api.github.com/users/diekhans/orgs","repos_url":"https://api.github.com/users/diekhans/repos","events_url":"https://api.github.com/users/diekhans/events{/privacy}","received_events_url":"https://api.github.com/users/diekhans/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T20:18:48Z","updated_at":"2015-02-07T20:18:48Z","body":"Done. Must have multiple parents, ugly, but a proved approach."}}