Schema.org context issue

Hi

About 2 weeks ago, Schema.org underwent some online attack which resulted in them changing the way they serve the @context file. This change breaks many frameworks that attempt to read the context file in dynamically.

Two workarounds that I know of are:

  1.  Replace the short context reference of “@context”:”https://schema.org”  with “@context”:“https://schema.org/docs/jsonldcontext.jsonld”

  2.  Take a local copy of https://schema.org/docs/jsonldcontext.jsonld and overwrite things locally

I hope that helps people to understand why anything using JSON-LD with the Schema.org context has recently stopped working.

Best regards

Alasdair

--
Alasdair J G Gray
Associate Professor in Computer Science,
School of Mathematical and Computer Sciences
Heriot-Watt University, Edinburgh, UK.

Email: A.J.G.Gray@hw.ac.uk<mailto:A.J.G.Gray@hw.ac.uk>
Web: http://www.macs.hw.ac.uk/~ajg33

ORCID: http://orcid.org/0000-0002-5711-4872

Office: Earl Mountbatten Building 1.39
Twitter: @gray_alasdair

To arrange a meeting: https://doodle.com/mm/alasdairgray/book-a-time


________________________________

Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campuses and students across the entire globe we span the world, delivering innovation and educational excellence in business, engineering, design and the physical, social and life sciences. This email is generated from the Heriot-Watt University Group, which includes:

  1.  Heriot-Watt University, a Scottish charity registered under number SC000278
  2.  Heriot- Watt Services Limited (Oriam), Scotland's national performance centre for sport. Heriot-Watt Services Limited is a private limited company registered is Scotland with registered number SC271030 and registered office at Research & Enterprise Services Heriot-Watt University, Riccarton, Edinburgh, EH14 4AS.

The contents (including any attachments) are confidential. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system.

Received on Tuesday, 2 June 2020 10:28:46 UTC