{"action":"created","issue":{"url":"https://api.github.com/repos/HPInc/jipp/issues/29","repository_url":"https://api.github.com/repos/HPInc/jipp","labels_url":"https://api.github.com/repos/HPInc/jipp/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/HPInc/jipp/issues/29/comments","events_url":"https://api.github.com/repos/HPInc/jipp/issues/29/events","html_url":"https://github.com/HPInc/jipp/issues/29","id":358706769,"node_id":"MDU6SXNzdWUzNTg3MDY3Njk=","number":29,"title":"Allow multiple values only for 1-set-of types","user":{"login":"GladeDiviney","id":15674077,"node_id":"MDQ6VXNlcjE1Njc0MDc3","avatar_url":"https://avatars1.githubusercontent.com/u/15674077?v=4","gravatar_id":"","url":"https://api.github.com/users/GladeDiviney","html_url":"https://github.com/GladeDiviney","followers_url":"https://api.github.com/users/GladeDiviney/followers","following_url":"https://api.github.com/users/GladeDiviney/following{/other_user}","gists_url":"https://api.github.com/users/GladeDiviney/gists{/gist_id}","starred_url":"https://api.github.com/users/GladeDiviney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GladeDiviney/subscriptions","organizations_url":"https://api.github.com/users/GladeDiviney/orgs","repos_url":"https://api.github.com/users/GladeDiviney/repos","events_url":"https://api.github.com/users/GladeDiviney/events{/privacy}","received_events_url":"https://api.github.com/users/GladeDiviney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-10T16:49:05Z","updated_at":"2018-09-10T17:02:31Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Currently all `AttributeType` and `Attribute` objects support the storage of multiple values. This is not as per specification, since some items can be sets and others cannot. This encourages specification violations by allowing users to supply multiple values for an attribute type that doesn't support them.\r\n\r\nTo address this we would need separate types for single-value attributes (which could contain 0 or 1 values) and multi-value attributes (containing an ordered collection of 0 to `n` values, confusingly called \"1setOf\" in IPP specifications)."},"comment":{"url":"https://api.github.com/repos/HPInc/jipp/issues/comments/419986178","html_url":"https://github.com/HPInc/jipp/issues/29#issuecomment-419986178","issue_url":"https://api.github.com/repos/HPInc/jipp/issues/29","id":419986178,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTk4NjE3OA==","user":{"login":"wifiprintguy","id":8714934,"node_id":"MDQ6VXNlcjg3MTQ5MzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/8714934?v=4","gravatar_id":"","url":"https://api.github.com/users/wifiprintguy","html_url":"https://github.com/wifiprintguy","followers_url":"https://api.github.com/users/wifiprintguy/followers","following_url":"https://api.github.com/users/wifiprintguy/following{/other_user}","gists_url":"https://api.github.com/users/wifiprintguy/gists{/gist_id}","starred_url":"https://api.github.com/users/wifiprintguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wifiprintguy/subscriptions","organizations_url":"https://api.github.com/users/wifiprintguy/orgs","repos_url":"https://api.github.com/users/wifiprintguy/repos","events_url":"https://api.github.com/users/wifiprintguy/events{/privacy}","received_events_url":"https://api.github.com/users/wifiprintguy/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T17:02:30Z","updated_at":"2018-09-10T17:02:30Z","author_association":"NONE","body":"I don't believe it is OK for a single-value attribute to have \"zero values\". Instead of there being an absence of a value, one of the IPP \"out-of-band values\" (https://tools.ietf.org/html/rfc8011#section-5.1.1) should be present instead, if the attribute's syntax allows it."}}
{"actor":{"display_login":"wifiprintguy"}}