[ { "description": "exclusiveMinimum validation", "database": { "types": [ { "name": "exclusiveMinimum_0_0", "schemas": { "exclusiveMinimum_0_0": { "exclusiveMinimum": 1.1 } } } ] }, "tests": [ { "description": "above the exclusiveMinimum is valid", "data": 1.2, "schema_id": "exclusiveMinimum_0_0", "action": "validate", "expect": { "success": true } }, { "description": "boundary point is invalid", "data": 1.1, "schema_id": "exclusiveMinimum_0_0", "action": "validate", "expect": { "success": false, "errors": [ { "code": "EXCLUSIVE_MINIMUM_VIOLATED", "values": { "value": "1.1", "limit": "1.1" }, "details": { "path": "", "schema": "exclusiveMinimum_0_0" } } ] } }, { "description": "below the exclusiveMinimum is invalid", "data": 0.6, "schema_id": "exclusiveMinimum_0_0", "action": "validate", "expect": { "success": false, "errors": [ { "code": "EXCLUSIVE_MINIMUM_VIOLATED", "values": { "limit": "1.1", "value": "0.6" }, "details": { "path": "", "schema": "exclusiveMinimum_0_0" } } ] } }, { "description": "ignores non-numbers", "data": "x", "schema_id": "exclusiveMinimum_0_0", "action": "validate", "expect": { "success": true } } ] } ]