I was tasked on putting json-ld schema on a website - seeing however that the particular schema is biggish I wanted to link it, as you would link any other script (so - it would be <script src='http://foo.bar/json.jsonld' type="application/ld+json"></script>
). Is there a way to do it?
Browsing through the documentation at json-ld.org gives me nothing of such thing; on the other hand I'd find it surprising, as I'd gather crawling an external resource shouldn't be a bother and it would certainly spare me administrative headache (have each object json-ld schema be defined in a json
file, identified by id
of object). I can echo the contents of those files as well, so it's not really an obstacle, but was wondering if I couldn't just link these files.