public class BooleanSchema extends ValueSchema
additionalItems, additionalProperties, allOf, anyOf, defaultValue, definitions, dependencies, description, enums, exclusiveMaximum, exclusiveMinimum, items, maximum, maxItems, maxLength, maxProperties, minimum, minItems, minLength, minProperties, multipleOf, not, oneOf, pattern, patternProperties, properties, required, schemaType, title, uniqueItems, unit| Constructor and Description |
|---|
BooleanSchema(ValueSchema schema) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
validate(java.lang.Object value) |
asArray, asBoolean, asInteger, asNumber, asObject, asString, getAllOf, getAnyOf, getDefaultValue, getDescription, getEnums, getNot, getOneOf, getSchemaType, getTitle, getUnit, isArraySchema, isBooleanSchema, isIntegerSchema, isNumberSchema, isObjectSchema, isStringSchema, validateNullpublic BooleanSchema(ValueSchema schema)
public boolean validate(java.lang.Object value)
validate in interface SchemaValidatorvalidate in class ValueSchema