Last modified: 2014-02-26 12:53:23 UTC
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.
*** Bug 44937 has been marked as a duplicate of this bug. ***
[moving from MediaWiki extensions to Analytics product - see bug 61946]