{"action":"created","issue":{"url":"https://api.github.com/repos/ocpi/ocpi/issues/177","repository_url":"https://api.github.com/repos/ocpi/ocpi","labels_url":"https://api.github.com/repos/ocpi/ocpi/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/ocpi/ocpi/issues/177/comments","events_url":"https://api.github.com/repos/ocpi/ocpi/issues/177/events","html_url":"https://github.com/ocpi/ocpi/issues/177","id":330154541,"node_id":"MDU6SXNzdWUzMzAxNTQ1NDE=","number":177,"title":"Tariff id not unique when OCPI is used with some clearing house.","user":{"login":"aaggarwal-cpi","id":39577976,"node_id":"MDQ6VXNlcjM5NTc3OTc2","avatar_url":"https://avatars2.githubusercontent.com/u/39577976?v=4","gravatar_id":"","url":"https://api.github.com/users/aaggarwal-cpi","html_url":"https://github.com/aaggarwal-cpi","followers_url":"https://api.github.com/users/aaggarwal-cpi/followers","following_url":"https://api.github.com/users/aaggarwal-cpi/following{/other_user}","gists_url":"https://api.github.com/users/aaggarwal-cpi/gists{/gist_id}","starred_url":"https://api.github.com/users/aaggarwal-cpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaggarwal-cpi/subscriptions","organizations_url":"https://api.github.com/users/aaggarwal-cpi/orgs","repos_url":"https://api.github.com/users/aaggarwal-cpi/repos","events_url":"https://api.github.com/users/aaggarwal-cpi/events{/privacy}","received_events_url":"https://api.github.com/users/aaggarwal-cpi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-07T07:44:52Z","updated_at":"2018-06-26T09:17:14Z","closed_at":null,"author_association":"NONE","body":"OCPI is a peer to peer protocol but there are clearing houses which have used it as well.\r\n\r\nNow if I am integrated with a Clearing house C as eMSP E. And I received LocA (having tariff id = 1 and LocB (having tariff id =1) from CPO A & B respectively.\r\nThen upon receiving tariff (id = 1) from clearing house C, how will I deduce that this tariff belongs to A and not B.\r\n\r\nI was able to distinguish locations because there evse_id follows eMi3 standard according to which CountryCode and PartyId is part of evse_id. So even if I got both locations through clearing house C, I am able to figure out which one belongs to A and which one to B. \r\n\r\nBut since tariff.id doesn't have to follow any standard, this problem exists.\r\n\r\nMy suggestion is to update OCPI standard and use eMi3 for tariffs as well. We can use instance_type T for tariff.  "},"comment":{"url":"https://api.github.com/repos/ocpi/ocpi/issues/comments/400239995","html_url":"https://github.com/ocpi/ocpi/issues/177#issuecomment-400239995","issue_url":"https://api.github.com/repos/ocpi/ocpi/issues/177","id":400239995,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDIzOTk5NQ==","user":{"login":"aaggarwal-cpi","id":39577976,"node_id":"MDQ6VXNlcjM5NTc3OTc2","avatar_url":"https://avatars2.githubusercontent.com/u/39577976?v=4","gravatar_id":"","url":"https://api.github.com/users/aaggarwal-cpi","html_url":"https://github.com/aaggarwal-cpi","followers_url":"https://api.github.com/users/aaggarwal-cpi/followers","following_url":"https://api.github.com/users/aaggarwal-cpi/following{/other_user}","gists_url":"https://api.github.com/users/aaggarwal-cpi/gists{/gist_id}","starred_url":"https://api.github.com/users/aaggarwal-cpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaggarwal-cpi/subscriptions","organizations_url":"https://api.github.com/users/aaggarwal-cpi/orgs","repos_url":"https://api.github.com/users/aaggarwal-cpi/repos","events_url":"https://api.github.com/users/aaggarwal-cpi/events{/privacy}","received_events_url":"https://api.github.com/users/aaggarwal-cpi/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T09:17:14Z","updated_at":"2018-06-26T09:17:14Z","author_association":"NONE","body":"OCHP has taken care of this issue. \r\nhttps://github.com/e-clearing-net/OCHP/blob/master/types/data-types.xsd#L1192\r\nhttps://github.com/e-clearing-net/OCHP/blob/master/OCHP.md#tariffid\r\n"}}
{"actor":{"display_login":"aaggarwal-cpi"}}