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

Extend JSON Schema implementation to support conditional application of subschemas

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Querying
    • None
    • Query Optimization

    Description

      JSON Schema draft 7 added an if, then, else construct for conditionally applying a subschema: https://json-schema.org/draft-07/json-schema-release-notes.html. This would be a useful feature for users with $jsonSchema match expressions inside a document validator. We should add support for this in MongoDB's implementation of JSON Schema.

      Attachments

        Issue Links

          Activity

            People

              backlog-query-optimization Backlog - Query Optimization
              david.storch@mongodb.com David Storch
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: