Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17049

Allow $ref and $schema keywords to support JSON Schema management

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 2.6.7, 3.0.0-rc6
    • Component/s: JavaScript, Querying, Usability
    • Labels:
      None

      JSON Schema requires two fields to include the $ prefix.

      First is the $schema keyword that defines the version and URI of the schema to be stored.

      Second is the $ref used to describe pointers to additional schema data.

      More info on JSON Schema is available here: http://json-schema.org/documentation.html

      As JSON Schema is becoming a more heavily used tool for JSON data management

      As JSON is requested for config file support SERVER-16819
      And JSON Schema validation as well SERVER-3536

      I see it as a useful exception to the no $ prefix error and it could even be useful to allow $ref resolution and caching in future (as a separate issue).

            Assignee:
            Unassigned Unassigned
            Reporter:
            mbennett@uecomm.com.au Marcel Bennett
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'slack.nextup.jira:slack-integration-plus'. Please contact your Jira administrators.