void (JsonSchemaObject schema, Number value, PsiElement propertyValue, JsonValidationHost consumer) { // schema v6 - exclusiveMinimum is numeric now Number exclusiveMinimumNumber = schema.getExclusiveMinimumNumber(); if (exclusiveMinimumNumber != null) { final double doubleValue = exclusiveMinimumNumber.doubleValue(); if (value.doubleValue() <= doubleValue) { consumer.error(JsonBundle.message("schema.validation.less.than.exclusive.minimum", exclusiveMinimumNumber), propertyValue, JsonErrorPriority.LOW_PRIORITY); } } Number minimum = schema.getMinimum(); if (minimum == null) return; boolean isExclusive = Boolean.TRUE.equals(schema.isExclusiveMinimum()); final double doubleValue = minimum.doubleValue(); if (isExclusive) { if (value.doubleValue() <= doubleValue) { consumer.error(JsonBundle.message("schema.validation.less.than.exclusive.minimum", minimum), propertyValue, JsonErrorPriority.LOW_PRIORITY); } } else { if (value.doubleValue() < doubleValue) { consumer.error(JsonBundle.message("schema.validation.less.than.minimum", minimum), propertyValue, JsonErrorPriority.LOW_PRIORITY); } } }