- From: TJ Koury <tjkoury@gmail.com>
- Date: Tue, 24 Oct 2017 18:30:48 -0400
- To: public-json-ld@w3.org
- Message-Id: <B8D1480A-92E8-4419-959B-5E951AC4D27B@gmail.com>
ALCON, This has been asked before several times, but the answers always seem to get muddled down and lost in semantics (which is what we’re doing here, so I get it….). For reference: https://github.com/json-ld/json-ld.org/commit/019de59e296c39d7b5c0298d49d95b99fceb294a <https://github.com/json-ld/json-ld.org/commit/019de59e296c39d7b5c0298d49d95b99fceb294a> So there is a JSON-Schema document to validate ANY JSON-LD document against to make sure that it’s a valid JSON-LD document. Awesome! Now, if I have a http://schema.org/Person, and an associated JSON-Schema document that defines the fields associated with Person, how do I add a URL to the associated JSON-LD document to reference that schema? My specific use case is to generate JSON-LD documents from NIEM instances, then create JSON-Schema documents for each persistence engine (database, file system, etc) that will store the instances, and embed within the JSON-Schema documents themselves the metadata required to create the tables. Basically an Schema->SQL engine (another ORM!), but entirely based on the JSON-LD and JSON-Schema specs. -TJ
Received on Tuesday, 24 October 2017 22:31:15 UTC