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

Extend JSON Schema implementation to support conditional application of subschemas

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Query Optimization

      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.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: