{"action":"created","issue":{"url":"https://api.github.com/repos/BlocklabNL/VEL/issues/22","repository_url":"https://api.github.com/repos/BlocklabNL/VEL","labels_url":"https://api.github.com/repos/BlocklabNL/VEL/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/BlocklabNL/VEL/issues/22/comments","events_url":"https://api.github.com/repos/BlocklabNL/VEL/issues/22/events","html_url":"https://github.com/BlocklabNL/VEL/issues/22","id":358298600,"node_id":"MDU6SXNzdWUzNTgyOTg2MDA=","number":22,"title":"Define data format for uploading in bigchaindb database","user":{"login":"bartwr","id":899234,"node_id":"MDQ6VXNlcjg5OTIzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/899234?v=4","gravatar_id":"","url":"https://api.github.com/users/bartwr","html_url":"https://github.com/bartwr","followers_url":"https://api.github.com/users/bartwr/followers","following_url":"https://api.github.com/users/bartwr/following{/other_user}","gists_url":"https://api.github.com/users/bartwr/gists{/gist_id}","starred_url":"https://api.github.com/users/bartwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartwr/subscriptions","organizations_url":"https://api.github.com/users/bartwr/orgs","repos_url":"https://api.github.com/users/bartwr/repos","events_url":"https://api.github.com/users/bartwr/events{/privacy}","received_events_url":"https://api.github.com/users/bartwr/received_events","type":"User","site_admin":false},"labels":[{"id":1043182711,"node_id":"MDU6TGFiZWwxMDQzMTgyNzEx","url":"https://api.github.com/repos/BlocklabNL/VEL/labels/dev","name":"dev","color":"1427b7","default":false}],"state":"open","locked":false,"assignee":{"login":"bartwr","id":899234,"node_id":"MDQ6VXNlcjg5OTIzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/899234?v=4","gravatar_id":"","url":"https://api.github.com/users/bartwr","html_url":"https://github.com/bartwr","followers_url":"https://api.github.com/users/bartwr/followers","following_url":"https://api.github.com/users/bartwr/following{/other_user}","gists_url":"https://api.github.com/users/bartwr/gists{/gist_id}","starred_url":"https://api.github.com/users/bartwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartwr/subscriptions","organizations_url":"https://api.github.com/users/bartwr/orgs","repos_url":"https://api.github.com/users/bartwr/repos","events_url":"https://api.github.com/users/bartwr/events{/privacy}","received_events_url":"https://api.github.com/users/bartwr/received_events","type":"User","site_admin":false},"assignees":[{"login":"bartwr","id":899234,"node_id":"MDQ6VXNlcjg5OTIzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/899234?v=4","gravatar_id":"","url":"https://api.github.com/users/bartwr","html_url":"https://github.com/bartwr","followers_url":"https://api.github.com/users/bartwr/followers","following_url":"https://api.github.com/users/bartwr/following{/other_user}","gists_url":"https://api.github.com/users/bartwr/gists{/gist_id}","starred_url":"https://api.github.com/users/bartwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartwr/subscriptions","organizations_url":"https://api.github.com/users/bartwr/orgs","repos_url":"https://api.github.com/users/bartwr/repos","events_url":"https://api.github.com/users/bartwr/events{/privacy}","received_events_url":"https://api.github.com/users/bartwr/received_events","type":"User","site_admin":false},{"login":"MickdeGraaf","id":1282116,"node_id":"MDQ6VXNlcjEyODIxMTY=","avatar_url":"https://avatars2.githubusercontent.com/u/1282116?v=4","gravatar_id":"","url":"https://api.github.com/users/MickdeGraaf","html_url":"https://github.com/MickdeGraaf","followers_url":"https://api.github.com/users/MickdeGraaf/followers","following_url":"https://api.github.com/users/MickdeGraaf/following{/other_user}","gists_url":"https://api.github.com/users/MickdeGraaf/gists{/gist_id}","starred_url":"https://api.github.com/users/MickdeGraaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MickdeGraaf/subscriptions","organizations_url":"https://api.github.com/users/MickdeGraaf/orgs","repos_url":"https://api.github.com/users/MickdeGraaf/repos","events_url":"https://api.github.com/users/MickdeGraaf/events{/privacy}","received_events_url":"https://api.github.com/users/MickdeGraaf/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-09-08T14:13:37Z","updated_at":"2018-09-08T15:18:11Z","closed_at":null,"author_association":"COLLABORATOR","body":"We need to define a data format which we will use to upload smart meter data to bigchaindb.\r\n\r\nThis issue can be used to brainstorm about this. The issue can be closed if we defined and agreed on the data format to use.\r\n"},"comment":{"url":"https://api.github.com/repos/BlocklabNL/VEL/issues/comments/419650415","html_url":"https://github.com/BlocklabNL/VEL/issues/22#issuecomment-419650415","issue_url":"https://api.github.com/repos/BlocklabNL/VEL/issues/22","id":419650415,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTY1MDQxNQ==","user":{"login":"MickdeGraaf","id":1282116,"node_id":"MDQ6VXNlcjEyODIxMTY=","avatar_url":"https://avatars2.githubusercontent.com/u/1282116?v=4","gravatar_id":"","url":"https://api.github.com/users/MickdeGraaf","html_url":"https://github.com/MickdeGraaf","followers_url":"https://api.github.com/users/MickdeGraaf/followers","following_url":"https://api.github.com/users/MickdeGraaf/following{/other_user}","gists_url":"https://api.github.com/users/MickdeGraaf/gists{/gist_id}","starred_url":"https://api.github.com/users/MickdeGraaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MickdeGraaf/subscriptions","organizations_url":"https://api.github.com/users/MickdeGraaf/orgs","repos_url":"https://api.github.com/users/MickdeGraaf/repos","events_url":"https://api.github.com/users/MickdeGraaf/events{/privacy}","received_events_url":"https://api.github.com/users/MickdeGraaf/received_events","type":"User","site_admin":false},"created_at":"2018-09-08T15:18:11Z","updated_at":"2018-09-08T15:18:11Z","author_association":"COLLABORATOR","body":"I believe bigchaindb works with mongodb for querying on the background.\r\n\r\nI'm not very experienced with mongodb and don't know the ins and outs but whatever is efficient there should work.\r\n\r\nAlso are there any countries where there are even more than two tariffs? Or only one?\r\nThis might work: \r\n\r\n```\r\n{\r\n    timestamp: 00000000001;\r\n    electricityReceived : {\r\n        total: 0.7,\r\n        tarrif1: 0.5,\r\n        tariff2: 0.2\r\n        (and so on)\r\n    }\r\n    electricityDelivered : {\r\n        total: 0.7,\r\n        tarrif1: 0.5,\r\n        tariff2: 0.2\r\n        (and so on)\r\n    },\r\n    gasReceived: 3\r\n}\r\n```\r\nKeeping track of the total would make querying less intensive I think."}}
{"actor":{"display_login":"MickdeGraaf"}}