[SERVER-30868] Explicitly whitelist certain non-functional JSON Schema keywords Created: 28/Aug/17  Updated: 30/Oct/23  Resolved: 07/Sep/17

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

Type: Task Priority: Major - P3
Reporter: Kyle Suarez Assignee: Nicholas Zolnierz
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2017-09-11
Participants:

 Description   

The following JSON Schema words are commonly used and should be ignored without error:

  • title
  • description
  • definitions

"default" is another keyword that we should consider, but since we won't support having default values, it may not make sense to silently ignore it.



 Comments   
Comment by Githook User [ 07/Sep/17 ]

Author:

{'username': 'nzolnierzmdb', 'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com'}

Message: SERVER-30868: Explicitly whitelist certain non-functional JSON Schema keywords
Branch: master
https://github.com/mongodb/mongo/commit/f2dc3780cdfb7337edc273d3427ffb7289c9c169

Comment by Githook User [ 06/Sep/17 ]

Author:

{'username': 'nzolnierzmdb', 'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com'}

Message: SERVER-30868: Explicitly handle JSON Schema keywords that aren't supported
Branch: master
https://github.com/mongodb/mongo/commit/250181f4feb7ac49cec8ff7251f844d69c4710be

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