{"action":"created","issue":{"url":"https://api.github.com/repos/projecthydra/hydra-pcdm/issues/227","repository_url":"https://api.github.com/repos/projecthydra/hydra-pcdm","labels_url":"https://api.github.com/repos/projecthydra/hydra-pcdm/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/projecthydra/hydra-pcdm/issues/227/comments","events_url":"https://api.github.com/repos/projecthydra/hydra-pcdm/issues/227/events","html_url":"https://github.com/projecthydra/hydra-pcdm/pull/227","id":168079583,"number":227,"title":"Adding #member_of_collections","user":{"login":"escowles","id":856924,"avatar_url":"https://avatars.githubusercontent.com/u/856924?v=3","gravatar_id":"","url":"https://api.github.com/users/escowles","html_url":"https://github.com/escowles","followers_url":"https://api.github.com/users/escowles/followers","following_url":"https://api.github.com/users/escowles/following{/other_user}","gists_url":"https://api.github.com/users/escowles/gists{/gist_id}","starred_url":"https://api.github.com/users/escowles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escowles/subscriptions","organizations_url":"https://api.github.com/users/escowles/orgs","repos_url":"https://api.github.com/users/escowles/repos","events_url":"https://api.github.com/users/escowles/events{/privacy}","received_events_url":"https://api.github.com/users/escowles/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/projecthydra/hydra-pcdm/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-28T12:04:02Z","updated_at":"2016-08-12T15:26:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/projecthydra/hydra-pcdm/pulls/227","html_url":"https://github.com/projecthydra/hydra-pcdm/pull/227","diff_url":"https://github.com/projecthydra/hydra-pcdm/pull/227.diff","patch_url":"https://github.com/projecthydra/hydra-pcdm/pull/227.patch"},"body":"* Adding #member_of_collections for objects to link to collections they are members of\r\n* Updating PCDM RDF vocab"},"comment":{"url":"https://api.github.com/repos/projecthydra/hydra-pcdm/issues/comments/239477251","html_url":"https://github.com/projecthydra/hydra-pcdm/pull/227#issuecomment-239477251","issue_url":"https://api.github.com/repos/projecthydra/hydra-pcdm/issues/227","id":239477251,"user":{"login":"escowles","id":856924,"avatar_url":"https://avatars.githubusercontent.com/u/856924?v=3","gravatar_id":"","url":"https://api.github.com/users/escowles","html_url":"https://github.com/escowles","followers_url":"https://api.github.com/users/escowles/followers","following_url":"https://api.github.com/users/escowles/following{/other_user}","gists_url":"https://api.github.com/users/escowles/gists{/gist_id}","starred_url":"https://api.github.com/users/escowles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escowles/subscriptions","organizations_url":"https://api.github.com/users/escowles/orgs","repos_url":"https://api.github.com/users/escowles/repos","events_url":"https://api.github.com/users/escowles/events{/privacy}","received_events_url":"https://api.github.com/users/escowles/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T15:26:23Z","updated_at":"2016-08-12T15:26:23Z","body":"@jac244 Are you sure it returns without an error?  Adding a Work as a `member_of_collections` and saving should return false, and you should see a validation error in `page.errors`.  This line defines the validator that checks that `member_of_collections` is only used to link to Collections.\r\n\r\nThe rationale for this validator is that the member_of relationship makes an unordered list of members.  But members of a Work are typically ordered.  They can be accessed without order for the times when it's not important what order they are in.  But most of the use cases I know of for child Works are ordered.  Do you have a use for unordered child Works?"}}
{"actor":{"display_login":"escowles"}}