- From: Ian Jacobs <ij@w3.org>
- Date: Mon, 8 Feb 2016 22:55:22 -0600
- To: Manu Sporny <msporny@digitalbazaar.com>
- Cc: public-payments-wg@w3.org
- Message-Id: <60ADB226-F2EC-4E77-839E-8F54C7253D93@w3.org>
> On Feb 8, 2016, at 10:40 PM, Manu Sporny <msporny@digitalbazaar.com> wrote: > > On 02/08/2016 10:33 PM, Ian Jacobs wrote: >> Until then, I am more comfortable saying "here is one way to do >> things" > > That's exactly what the current proposal says. Im looking at the extensibility text in [1] and its not clear to me that it allows different approaches using JSON-LD. The document says: "If a @context property does not exist, add one and assign the value "https://w3id.org/payments/v1" to it. If a @context does exist, ensure its value is "https://w3id.org/payments/v1. and later: "In this case, the application MUST ensure that if the @context property exists and that the value associated is "https://w3id.org/payments/v1". If the @context does not exist, it MUST be assumed that the object has a @context property with the value of "https://w3id.org/payments/v1. That seems to me to be forcing a single way to extend using JSON-LD. An alternative would be to say: * This spec defines the meaning when the @context value "https://w3id.org/payments/v1 is specified. Other specs could define other behavior for other @context values. An approach that does not force a single @context value would allow experimentation while still providing a known set of semantics. Ian [1] https://wicg.github.io/web-payments-browser-api/ -- Ian Jacobs <ij@w3.org> http://www.w3.org/People/Jacobs Tel: +1 718 260 9447
Received on Tuesday, 9 February 2016 04:55:30 UTC