https://bugzilla.wikimedia.org/show_bug.cgi?id=45878

       Web browser: ---
            Bug ID: 45878
           Summary: Support JSON Reference specification
           Product: MediaWiki extensions
           Version: master
          Hardware: All
               URL: http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-0
                    34
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: EventLogging
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
            Blocks: 44809
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to