-
Notifications
You must be signed in to change notification settings - Fork 4
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
Test that every JSON-LD file has the minimum @context values #50
Comments
The "https://w3id.org/security/v1" There is no hard requirement for "https://www.w3.org/ns/activitystreams" to be in the
The requirement for the explicit "https://www.w3.org/ns/activitystreams" URL is a Mastodon-ism, AFAICT. Mastodon requires that string in the Non-LD consumers should probably ignore the |
So is there a weaker form of the test we should do instead, and if so, which, or none at all? |
I’ll think about it. One option is to do JSON-LD expansion with the implicit context handling policy defined in AS2 and check for “blank node” properties that indicate they weren’t defined in any context entries. However, if the goal is to ensure Mastodon compatibility, we’d want to go ahead do the explicit context URL check. |
Perfectly fine to leave this as an open issue, not everything has to be solved in the short term. |
@context
.The text was updated successfully, but these errors were encountered: