While I was studying the article I mentioned the other day on adding structured data to Canada.ca web pages I noticed the use of '@type' in the JSON example. Today I say the same sort of thing in an example on the ODRL mailing list. It's not JSON itself, of course, it's JSON Linked Data (JSON-LD). OK, I knew about that, but what's the '@type' notation? Well, JSON-LD is designed to be compatible with RDF, and the '@' symbol is used to point to schemas as defined (usually) at schema.org. So, for example, if we have "@type": "Hotel" then what we mean is 'Hotel' as defined by https://schema.org/Hotel. This article explains all that (and I found it surprisingly hard to find when I was searching).
Today: 1 Total: 101 [Share]
] [