{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/browser-payment-api/issues/132","repository_url":"https://api.github.com/repos/w3c/browser-payment-api","labels_url":"https://api.github.com/repos/w3c/browser-payment-api/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/w3c/browser-payment-api/issues/132/comments","events_url":"https://api.github.com/repos/w3c/browser-payment-api/issues/132/events","html_url":"https://github.com/w3c/browser-payment-api/issues/132","id":147187773,"number":132,"title":"Should payment method specifications contain WebIDL?","user":{"login":"adrianhopebailie","id":49902,"avatar_url":"https://avatars.githubusercontent.com/u/49902?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianhopebailie","html_url":"https://github.com/adrianhopebailie","followers_url":"https://api.github.com/users/adrianhopebailie/followers","following_url":"https://api.github.com/users/adrianhopebailie/following{/other_user}","gists_url":"https://api.github.com/users/adrianhopebailie/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianhopebailie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianhopebailie/subscriptions","organizations_url":"https://api.github.com/users/adrianhopebailie/orgs","repos_url":"https://api.github.com/users/adrianhopebailie/repos","events_url":"https://api.github.com/users/adrianhopebailie/events{/privacy}","received_events_url":"https://api.github.com/users/adrianhopebailie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/browser-payment-api/labels/Doc:BasicCardPayment","name":"Doc:BasicCardPayment","color":"c7def8"},{"url":"https://api.github.com/repos/w3c/browser-payment-api/labels/Functionality","name":"Functionality","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/w3c/browser-payment-api/milestones/2","html_url":"https://github.com/w3c/browser-payment-api/milestones/Priority:%20Medium","labels_url":"https://api.github.com/repos/w3c/browser-payment-api/milestones/2/labels","id":1657715,"number":2,"title":"Priority: Medium","description":"","creator":{"login":"mattsaxon","id":11351127,"avatar_url":"https://avatars.githubusercontent.com/u/11351127?v=3","gravatar_id":"","url":"https://api.github.com/users/mattsaxon","html_url":"https://github.com/mattsaxon","followers_url":"https://api.github.com/users/mattsaxon/followers","following_url":"https://api.github.com/users/mattsaxon/following{/other_user}","gists_url":"https://api.github.com/users/mattsaxon/gists{/gist_id}","starred_url":"https://api.github.com/users/mattsaxon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattsaxon/subscriptions","organizations_url":"https://api.github.com/users/mattsaxon/orgs","repos_url":"https://api.github.com/users/mattsaxon/repos","events_url":"https://api.github.com/users/mattsaxon/events{/privacy}","received_events_url":"https://api.github.com/users/mattsaxon/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":0,"state":"open","created_at":"2016-03-21T15:50:21Z","updated_at":"2016-04-10T03:17:37Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-04-10T03:17:37Z","updated_at":"2016-04-10T04:04:09Z","closed_at":null,"body":"I wonder if we need to use WebIDL in the payment method specifications.\r\n\r\nThis data is supposed to be passed through the user agent with no processing so I think we could simply use a JSON schema definition of some form or just examples and explanations?\r\n\r\nWebIDL is over-kill in my opinion and may be a barrier to payments domain experts defining these specifications (which is what we desire)."},"comment":{"url":"https://api.github.com/repos/w3c/browser-payment-api/issues/comments/207913539","html_url":"https://github.com/w3c/browser-payment-api/issues/132#issuecomment-207913539","issue_url":"https://api.github.com/repos/w3c/browser-payment-api/issues/132","id":207913539,"user":{"login":"sideshowbarker","id":194984,"avatar_url":"https://avatars.githubusercontent.com/u/194984?v=3","gravatar_id":"","url":"https://api.github.com/users/sideshowbarker","html_url":"https://github.com/sideshowbarker","followers_url":"https://api.github.com/users/sideshowbarker/followers","following_url":"https://api.github.com/users/sideshowbarker/following{/other_user}","gists_url":"https://api.github.com/users/sideshowbarker/gists{/gist_id}","starred_url":"https://api.github.com/users/sideshowbarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sideshowbarker/subscriptions","organizations_url":"https://api.github.com/users/sideshowbarker/orgs","repos_url":"https://api.github.com/users/sideshowbarker/repos","events_url":"https://api.github.com/users/sideshowbarker/events{/privacy}","received_events_url":"https://api.github.com/users/sideshowbarker/received_events","type":"User","site_admin":false},"created_at":"2016-04-10T04:04:09Z","updated_at":"2016-04-10T04:04:09Z","body":"> I wonder if we need to use WebIDL in the payment method specifications.\r\n\r\nI think we do not when I first saw it I wondered why a choice has been made to use WebIDL.\r\n\r\n> This data is supposed to be passed through the user agent with no processing so I think we could simply use a JSON schema definition of some form or just examples and explanations?\r\n\r\nI personally have no strong preference as far as how to express it without WebIDL. But as you point out, given that the UAs need to implement no parsing or handling of the parsed data, I can’t see any value to expressing it using WebIDL.\r\n\r\n> WebIDL is over-kill in my opinion and may be a barrier to payments domain experts defining these specifications (which is what we desire).\r\n\r\nYes. WebIDL is a necessary evil in cases where it can’t be avoided. In any cases where it can be avoided, it should be avoided. At least as far as web authors-developers go, WebIDL is an expression language completely foreign/unfamiliar to the experiences of anyone except browser-engine developers."}}