{"action":"closed","issue":{"url":"https://api.github.com/repos/ibm-watson-iot/blockchain-samples/issues/10","repository_url":"https://api.github.com/repos/ibm-watson-iot/blockchain-samples","labels_url":"https://api.github.com/repos/ibm-watson-iot/blockchain-samples/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/ibm-watson-iot/blockchain-samples/issues/10/comments","events_url":"https://api.github.com/repos/ibm-watson-iot/blockchain-samples/issues/10/events","html_url":"https://github.com/ibm-watson-iot/blockchain-samples/issues/10","id":157373627,"number":10,"title":"monitoring UI should not send empty properties","user":{"login":"kletkeman","id":3819677,"avatar_url":"https://avatars.githubusercontent.com/u/3819677?v=3","gravatar_id":"","url":"https://api.github.com/users/kletkeman","html_url":"https://github.com/kletkeman","followers_url":"https://api.github.com/users/kletkeman/followers","following_url":"https://api.github.com/users/kletkeman/following{/other_user}","gists_url":"https://api.github.com/users/kletkeman/gists{/gist_id}","starred_url":"https://api.github.com/users/kletkeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kletkeman/subscriptions","organizations_url":"https://api.github.com/users/kletkeman/orgs","repos_url":"https://api.github.com/users/kletkeman/repos","events_url":"https://api.github.com/users/kletkeman/events{/privacy}","received_events_url":"https://api.github.com/users/kletkeman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ibm-watson-iot/blockchain-samples/labels/bug","name":"bug","color":"ee0701"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-29T07:25:59Z","updated_at":"2016-05-29T08:34:12Z","closed_at":"2016-05-29T08:34:12Z","body":"The \"partial state as event\" pattern requires that only those properties that are set be sent to the contract. This allows the contract to differentiate between an empty property and one that was never sent. For example, there is a difference between a location with no values in it and no location. In the latter case, the contract can assert that the device is not sending, which may be an alert condition. By sending empty locations, the contract can no longer assert that condition, even though it is true."}}
{"actor":{"display_login":"kletkeman"}}