pinf / genesis.pinf.org

PINF.Genesis Web Software Systems Foundation
http://genesis.pinf.org
0 stars 0 forks source link

Use JSON-LD to model descriptors #1

Open cadorn opened 9 years ago

cadorn commented 9 years ago

Use http://json-ld.org/ to model the pinf-it normalized descriptors:

cc @kriskowal I am going to try and use JSON-LD to hold configs in the virtual system and write converters to and from this format. It should be trivial to integrate the JSON-LD model into the layered filesystem and feed properties on the prototype chain of an object. I am going to explore some minimal extensions to JSON-LD + JSON-SCHEMA that will add support for mapping to JS code bundles that can be executed when processing schemas or when data passes through it ... This will be the foundation of the meta system that maps in every aspect used within a given context and can attach tooling components to API responses.

cadorn commented 9 years ago

JSON-LD intro video & docs: https://github.com/digitalbazaar/jsonld.js/issues/96#issuecomment-82366048