[SERVER-29570] Establish the JSON Schema library Created: 12/Jun/17  Updated: 16/Jun/17  Resolved: 16/Jun/17

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

Type: Task Priority: Major - P3
Reporter: Kyle Suarez Assignee: Anne Lim
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Query 2017-06-19
Participants:

 Description   

Create a src/mongo/db/matcher/schema subdirectory and define the public interface of the JSON Schema library. It should have at least a validate function (names subject to change):

/**
 * Returns true if 'obj' is valid against this schema.
 */
bool JSONSchema::isValid(BSONObj obj);

We should also be able to create a no-op JSON Schema object whose validation always returns true.


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