The JSON Reference specification defines a notation by which a JSON document may transclude another document by reference. It looks like this:
{ "$ref": "http://example.com/example.json#/foo/bar" }
The JSON Schema specification requires JSON Reference -- it allows one to declare a composite data model that is made up of a combination of JSON Schema primitives and other schema.
Supporting JSON Reference in EventLogging would allow us to build up a model library. For example, we could have a standard definition of a 'user' object, etc.
Both Rob's JsonData library and the json-schema library for Python provide some level of support for JSON Reference. We don't need support in client-side JavaScript; instead, we'll ensure ResourceLoaderSchemaModule dereferences all $refs and emit the fully-expanded schema.
Version: unspecified
Severity: normal
URL: http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-034