Page MenuHomePhabricator

Support JSON Reference specification
Open, Needs TriagePublic

Description

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

Details

Reference
bz45878

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:29 AM
bzimport set Reference to bz45878.
bzimport added a subscriber: Unknown Object (MLST).
ori created this task.Mar 8 2013, 3:41 AM
ori added a comment.Apr 15 2013, 4:55 PM
  • Bug 44937 has been marked as a duplicate of this bug. ***

[moving from MediaWiki extensions to Analytics product - see bug 61946]

Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptNov 29 2015, 2:06 PM
Restricted Application added a project: Analytics. · View Herald TranscriptMay 26 2019, 3:46 PM
fdans moved this task from Incoming to Radar on the Analytics board.Jun 3 2019, 3:57 PM