Re: About @type, @ and other tokens

Yes, this is obviously also more in the spirit of applying context to
existing JSON.

On Fri, Jul 8, 2011 at 11:07 AM, Alexandre Passant <alex@seevl.net> wrote:

> Hi all,
>
> Regarding the "@source instead of @" and "@type instead of a" issues
> on the current spec.
> I'd favor a way to let this be defined in a context, in addition to
> the default value.
>
> E.g.
>
> {
>  "@context":
>  {
>     "#tokens":
>     {
>       "@" : "uri",
>       "@type" : "type"
>     }
>  }
> }
>
> so then I can use
>
> {
>   "uri" : "http://example.org/alex",
>   "type: : "foaf:Person"
> }
>
> I will make the spec more flexible as allowing people to use the
> naming they prefer - while keeping the RDF similar.
>
> Alex.
>
> --
> Dr. Alexandre Passant - @terraces
> Founder, CEO - seevl.net - @seevl
> Reinventing Music Discovery
>

Received on Friday, 8 July 2011 15:46:26 UTC