public static enum JSONSchema.Type extends java.lang.Enum<JSONSchema.Type>
| Enum Constant and Description |
|---|
AllOf |
Any |
AnyOf |
Array |
Boolean |
Const |
Enum |
Integer |
Null |
Number |
Object |
OneOf |
String |
UnresolvedReference |
| Modifier and Type | Method and Description |
|---|---|
static JSONSchema.Type |
of(java.lang.String typeStr) |
static JSONSchema.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JSONSchema.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSONSchema.Type Null
public static final JSONSchema.Type Boolean
public static final JSONSchema.Type Object
public static final JSONSchema.Type Array
public static final JSONSchema.Type Number
public static final JSONSchema.Type String
public static final JSONSchema.Type Integer
public static final JSONSchema.Type Enum
public static final JSONSchema.Type Const
public static final JSONSchema.Type OneOf
public static final JSONSchema.Type AllOf
public static final JSONSchema.Type AnyOf
public static final JSONSchema.Type Any
public static final JSONSchema.Type UnresolvedReference
public static JSONSchema.Type[] values()
for (JSONSchema.Type c : JSONSchema.Type.values()) System.out.println(c);
public static JSONSchema.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static JSONSchema.Type of(java.lang.String typeStr)