Last modified: 2014-02-26 12:53:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47878, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45878 - Support JSON Reference specification
Support JSON Reference specification
Status: NEW
Product: Analytics
Classification: Unclassified
EventLogging (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
http://tools.ietf.org/html/draft-pbry...
:
: 44937 (view as bug list)
Depends on:
Blocks: 44809 45886
  Show dependency treegraph
 
Reported: 2013-03-08 03:41 UTC by Ori Livneh
Modified: 2014-02-26 12:53 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ori Livneh 2013-03-08 03:41:15 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.
Comment 1 Ori Livneh 2013-04-15 16:55:34 UTC
*** Bug 44937 has been marked as a duplicate of this bug. ***
Comment 2 Andre Klapper 2014-02-26 12:53:23 UTC
[moving from MediaWiki extensions to Analytics product - see bug 61946]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links