Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support JSON-LD @type in JSON Table Schema #89

Closed
rufuspollock opened this issue Jan 12, 2014 · 8 comments
Closed

Support JSON-LD @type in JSON Table Schema #89

rufuspollock opened this issue Jan 12, 2014 · 8 comments

Comments

@rufuspollock
Copy link
Contributor

@type and/or @context + @id

@sballesteros welcome your thoughts here ...

@rufuspollock
Copy link
Contributor Author

@ldodds wdyt?

@rufuspollock
Copy link
Contributor Author

@ldodds @sballesteros @jbenet welcome +1 / -1 etc

@jpmckinney
Copy link

+1, I don't know what the disadvantages would be

@rufuspollock
Copy link
Contributor Author

@type conflicts with json-ld. Maybe we want @datatype (cf #126)

@jbenet
Copy link

jbenet commented Jun 26, 2014

@rgrp It doesn't actually.

  1. As msporny mentions in Reconciling with package.jsonld #110 (comment) you can rebind anything (except @context) in JSON-LD.
  2. And, i think this use case is precisely what @type is made for.

@rufuspollock
Copy link
Contributor Author

@jbenet perfect - I'd been told this recently and saw @ldodds had suggested this as an issue. Still not sure rebinding is great (i mean you can do it but is it recommended). I'd be delighted to see @type in there but just need more +1s from knowledgeable people.

@ldodds
Copy link
Contributor

ldodds commented Jul 22, 2014

Perhaps it would be useful to try and define a JSON-LD context for JTS. Then type could be aliased as equivalent to @type? I've not tried that in practice though.

That keeps some background compatibility. Otherwise I'm happy to see @type.

@rufuspollock
Copy link
Contributor Author

INVALID / DUPLICATE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants