- 
    Type:Task 
- 
    Resolution: Fixed
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: None
- 
    None
- 
        Query Optimization
- 
        Fully Compatible
- 
        QO 2025-02-03, QO 2025-02-17
- 
        200
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
db.adminCommand({setParameter:1, planRankerMode: "heuristicCE"}) 
db.c.find({$jsonSchema: {required: ['bax', 'foo'], properties: {name: {bsonType: "string"}}}}) // Success
db.c.find({"$jsonSchema":{"properties":{"a":{"items":{},"additionalItems":false}}}}) // Assertion
The task in this ticket is to audit all the internal MatchExpression stages that $jsonSchema can desugar to and ensure they have the ability to be estimated.