5 ms·
json-schema has nothing to do with JSON-LD. If you want shape constraints on your JSON-LD data, you'll need SHACL: https://www.w3.org/TR/shacl/ https://www.w3.o
by lcrz 3y ago
json-schema has nothing to do with JSON-LD. If you want shape constraints on your JSON-LD data, you'll need SHACL: https://www.w3.org/TR/shacl/ https://www.w3.org/TR/shacl/
JSON itself has a much simpler specification than XML, and feels much more lightweight for a lot of devs.
Under the hood though, linked data is all RDF.
- HelloNurse 3y ago"Over the hood" JSON is less complicated but less correct than XML, not a good positioning for long-term data storage.
- seabass-labrax 3y agoAre you claiming that A: plain (non-LD) JSON is less correct than plain XML, or that B: JSON-LD is less correct than RDF/XML?
- berkes 3y agoI wasn't implying they are related in that way. Just that both make me think "this thing has long been solved in XML, why re-invent it in JSON?"