Skip to content

Schema.org moving from HTTP Content Negotiation to JSON-LD 1.1 "Link:" header for context file #85

Open
@danbri

Description

@danbri

This happened faster than planned due to a DOS attack this week, details in schemaorg/schemaorg#2578 (comment)

Schema.org no longer publishes a JSON-LD context file using HTTP content negotiation. Our homepage URL always returns HTML. This affects the parsing of all JSON-LD that expects to get a context definition from URLs "http://schema.org", "https://schema.org", "http://schema.org/", "https://schema.org/".

The URL of our context file is https://schema.org/docs/jsonldcontext.jsonld

We will shortly update the site to declare this URL via a Link header (see above issue for details).

I am filing this issue

  • Firstly to give you background knowledge in case people report JSON-LD parsing problems here
  • To encourage implementation of the JSON-LD 1.1 "Link" header discovery mechanism which AFAIK from my quick tests isn't yet supported in RDFLib
  • To encourage discussion of caching / robustness, since there is no guarantee that this file will remain accessible 24x7 indefinitely.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions