[SERVER-29571] Implement parser for a subset of JSON Schema Created: 12/Jun/17  Updated: 30/Oct/23  Resolved: 17/Jul/17

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

Type: New Feature Priority: Major - P3
Reporter: Kyle Suarez Assignee: David Storch
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-29592 Matcher must reject $jsonSchema durin... Closed
is depended on by SERVER-30175 Extend the JSON Schema parser to hand... Closed
is depended on by SERVER-30176 Extend the JSON Schema parser to hand... Closed
is depended on by SERVER-30177 Extend the JSON Schema parser to hand... Closed
is depended on by SERVER-30178 Extend the JSON Schema parser to hand... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2017-06-19, Query 2017-07-31
Participants:

 Description   

We should allow the matcher to recognize $jsonSchema, and have it recognize a small subset of JSON Schema keywords and compile them into MatchExpressions. The initial version will be able to handle schemas that only use the following JSON Schema keywords:

  • type
  • properties
  • maximum


 Comments   
Comment by Githook User [ 17/Jul/17 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-29571 Parse a subset of $jsonSchema into a MatchExpression.

Adds support for $jsonSchema containing only the following
JSON Schema keywords:

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