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

Reserved keywords #88

Closed
lanthaler opened this issue Mar 21, 2012 · 2 comments
Closed

Reserved keywords #88

lanthaler opened this issue Mar 21, 2012 · 2 comments

Comments

@lanthaler
Copy link
Member

I think to be able to make JSON-LD forward-compatible we shouldn't allow terms that start with an @. We don't necessarily have to throw an exception at this point, but we make it clear that any term starting with an @ might be used in a future version of JSON-LD. If we don't do that, we won't be able to introduce new keywords without breaking stuff in the future.

This came up while discussing fa8a035

@dlongley
Copy link
Member

I think we should strongly discourage the use of terms starting with '@' but we should not throw an exception.

@lanthaler
Copy link
Member Author

RESOLVED: Terms MAY be defined as any valid JSON string. Terms starting with an '@' character SHOULD NOT be used as they may create forward-compatibility issues.

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

No branches or pull requests

2 participants