[SERVER-29579] Implement the JSON Schema "minimum" and "exclusiveMinimum" keywords Created: 12/Jun/17  Updated: 06/Dec/22  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: Backlog - Query Team (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query
Participants:

 Description   

Draft specification:

5.1.3.1. Valid values

The value of "minimum" MUST be a JSON number. The value of
"exclusiveMinimum" MUST be a boolean.

If "exclusiveMinimum" is present, "minimum" MUST also be present.

5.1.3.2. Conditions for successful validation

Successful validation depends on the presence and value of
"exclusiveMinimum":

if "exclusiveMinimum" is not present, or has boolean value false,
then the instance is valid if it is greater than, or equal to, the
value of "minimum";

if "exclusiveMinimum" is present and has boolean value true, the
instance is valid if it is strictly greater than the value of
"minimum".

5.1.3.3. Default value

"exclusiveMinimum", if absent, may be considered as being present
with boolean value false.



 Comments   
Comment by Kyle Suarez [ 16/Jun/17 ]

Closing this ticket as we're implementing JSON Schema in a different way.

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