{"action":"created","issue":{"url":"https://api.github.com/repos/hathitrust/ht_sip_validator/issues/72","repository_url":"https://api.github.com/repos/hathitrust/ht_sip_validator","labels_url":"https://api.github.com/repos/hathitrust/ht_sip_validator/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/hathitrust/ht_sip_validator/issues/72/comments","events_url":"https://api.github.com/repos/hathitrust/ht_sip_validator/issues/72/events","html_url":"https://github.com/hathitrust/ht_sip_validator/issues/72","id":185737384,"number":72,"title":"write spec for use of message fields","user":{"login":"aelkiss","id":3856018,"avatar_url":"https://avatars.githubusercontent.com/u/3856018?v=3","gravatar_id":"","url":"https://api.github.com/users/aelkiss","html_url":"https://github.com/aelkiss","followers_url":"https://api.github.com/users/aelkiss/followers","following_url":"https://api.github.com/users/aelkiss/following{/other_user}","gists_url":"https://api.github.com/users/aelkiss/gists{/gist_id}","starred_url":"https://api.github.com/users/aelkiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aelkiss/subscriptions","organizations_url":"https://api.github.com/users/aelkiss/orgs","repos_url":"https://api.github.com/users/aelkiss/repos","events_url":"https://api.github.com/users/aelkiss/events{/privacy}","received_events_url":"https://api.github.com/users/aelkiss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-27T17:52:16Z","updated_at":"2016-10-28T13:27:37Z","closed_at":null,"body":"Figure out a use case for the content of the `extras` fields would be used for as well as:\r\n\r\n- `validation` (which should have a controlled vocabulary in the future and needs to be renamed?)\r\n- `validator` (class of validator)\r\n\r\nIf we have no use cases, we should not be putting those in the messages, or at least not caring about what goes in there."},"comment":{"url":"https://api.github.com/repos/hathitrust/ht_sip_validator/issues/comments/256919851","html_url":"https://github.com/hathitrust/ht_sip_validator/issues/72#issuecomment-256919851","issue_url":"https://api.github.com/repos/hathitrust/ht_sip_validator/issues/72","id":256919851,"user":{"login":"aelkiss","id":3856018,"avatar_url":"https://avatars.githubusercontent.com/u/3856018?v=3","gravatar_id":"","url":"https://api.github.com/users/aelkiss","html_url":"https://github.com/aelkiss","followers_url":"https://api.github.com/users/aelkiss/followers","following_url":"https://api.github.com/users/aelkiss/following{/other_user}","gists_url":"https://api.github.com/users/aelkiss/gists{/gist_id}","starred_url":"https://api.github.com/users/aelkiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aelkiss/subscriptions","organizations_url":"https://api.github.com/users/aelkiss/orgs","repos_url":"https://api.github.com/users/aelkiss/repos","events_url":"https://api.github.com/users/aelkiss/events{/privacy}","received_events_url":"https://api.github.com/users/aelkiss/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T13:27:37Z","updated_at":"2016-10-28T13:27:37Z","body":"Yeah, the automatic remediation based on messages is a good one, since for the image validation we were thinking of having the image validation validate to stricter specs but then something else that filters out problems known to be automatically remediable. I think that would be a good use case for field, file, and `validation`. \r\n\r\nSo, fields and use cases:\r\n\r\n- `validation`: automatic remediation, maybe display; I have a hard time seeing utility for filtering for this one. In the current ingest code I have a similar field (basically 'error type') where sometimes I filter a database for things like 'Unexpected Error' or for something like 'Field Missing' with a given field. That might have less utility here, but I could maybe see it if people were validating a large number of packages at once.\r\n\r\n- `validator`: automatic remediation, output filtering, display\r\n- `filename`: automatic remediation, output filtering, display\r\n- `field`: automatic remediation, output filtering, display\r\n- `actual`: display, perhaps remediation, perhaps output filtering (for large scale validation)\r\n- `expected`: maybe display\r\n- `root_cause` (error returned by underlying parser): display, perhaps remediation\r\n"}}
{"actor":{"display_login":"aelkiss"}}