- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Thu, 15 Dec 2011 21:11:02 -0500
- To: public-webpayments@w3.org
On 12/14/2011 09:26 AM, Melvin Carvalho wrote: >> { >> "@context": "http://example.com/contexts/IOU", >> "type": "com:Transfer", >> "forTransaction": >> "http://redbankexample.com/transactions/20110104#7827982"; >> "source": "http://redbankexample.com/accounts/12345#account", >> "destination": "http://greencardexample.com/accounts/54321#account", >> "amount": "8.00", >> "currency": "USD", >> >> "comment": "Transfer of $8.00 on 2010-10-16 at 12:34pm - Paying Jane back >> for pizza last Monday" >> } > > Thanks Manu, this version looks great. Assume I can replace > com:Transfer with just Transfer? Yup :) If you need some guidance creating the @context file, just let us know. Would be happy to give an example of what it should look like. Keep in mind that JSON-LD @context syntax was changed just recently (as in this week), so the specs haven't been updated fully... yet. -- manu -- Manu Sporny (skype: msporny, twitter: manusporny) Founder/CEO - Digital Bazaar, Inc. blog: The Need for Data-Driven Standards http://manu.sporny.org/2011/data-driven-standards/
Received on Friday, 16 December 2011 02:13:58 UTC