I've been paying attention to development of CBOR and I am quite interested in the CDDL standard that is being developed for validating CBOR data.
https://tools.ietf.org/html/draft-ietf-cbor-cddl-00#section-4.2
However it is not quite like XML, especially how XML DTD tag links to a document type definition file.
What would be the trajectory of JSON in regards to self validation and is it even needed?
----------
Side Note: I quite like the semantic tagging of CBOR and it would be great if JSON or anything that succeeds JSON would take semantic tagging into mind.