public BooleanSchema booleanSchema() { return new BooleanSchema(); }
public BooleanSchema booleanSchema() { return new BooleanSchema(); }
BooleanSchema booleanSchema = new BooleanSchema(); booleanSchema.setTitle(name); result = booleanSchema;
BooleanSchema booleanSchema = new BooleanSchema(); booleanSchema.setTitle(name); result = booleanSchema;
BooleanSchema booleanSchema = new BooleanSchema(); booleanSchema.setTitle(name); result = booleanSchema;
BooleanSchema booleanSchema = new BooleanSchema(); booleanSchema.setTitle(name); result = booleanSchema;
BooleanSchema booleanSchema = new BooleanSchema(); booleanSchema.setTitle(name); result = booleanSchema;
/** * Create a schema which verifies only that an object is of the given format. * @param format the format to expect * @return the schema verifying the given format */ public static JsonSchema minimalForFormat(JsonFormatTypes format) { if (format != null) { switch (format) { case ARRAY: return new ArraySchema(); case OBJECT: return new ObjectSchema(); case BOOLEAN: return new BooleanSchema(); case INTEGER: return new IntegerSchema(); case NUMBER: return new NumberSchema(); case STRING: return new StringSchema(); case NULL: return new NullSchema(); case ANY: default: } } return new AnySchema(); }
/** * Create a schema which verifies only that an object is of the given format. * @param format the format to expect * @return the schema verifying the given format */ public static JsonSchema minimalForFormat(JsonFormatTypes format) { if (format != null) { switch (format) { case ARRAY: return new ArraySchema(); case OBJECT: return new ObjectSchema(); case BOOLEAN: return new BooleanSchema(); case INTEGER: return new IntegerSchema(); case NUMBER: return new NumberSchema(); case STRING: return new StringSchema(); case NULL: return new NullSchema(); case ANY: default: } } return new AnySchema(); }