[SERVER-42035] Extend JSON Schema implementation to support conditional application of subschemas Created: 02/Jul/19  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: David Storch Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-48451 Enhance JSON Schema validation to sup... Backlog
is related to SERVER-42036 Extend JSON Schema implementation to ... Backlog
Assigned Teams:
Query Optimization
Participants:

 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.


Generated at Thu Feb 08 04:59:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.