Package io.zerocopy.json.schema
Enum JsonSchemaV7.Rule
- java.lang.Object
-
- java.lang.Enum<JsonSchemaV7.Rule>
-
- io.zerocopy.json.schema.JsonSchemaV7.Rule
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JsonSchemaV7.Rule>
- Enclosing class:
- JsonSchemaV7
public static enum JsonSchemaV7.Rule extends java.lang.Enum<JsonSchemaV7.Rule>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringvalue
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonSchemaV7.RulevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JsonSchemaV7.Rule[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REF
public static final JsonSchemaV7.Rule REF
-
TYPE
public static final JsonSchemaV7.Rule TYPE
-
MAX_PROPERTIES
public static final JsonSchemaV7.Rule MAX_PROPERTIES
-
MIN_PROPERTIES
public static final JsonSchemaV7.Rule MIN_PROPERTIES
-
DEPENDENCY
public static final JsonSchemaV7.Rule DEPENDENCY
-
PATTERN_PROPERTIES
public static final JsonSchemaV7.Rule PATTERN_PROPERTIES
-
PROPERTY_NAMES
public static final JsonSchemaV7.Rule PROPERTY_NAMES
-
REQUIRED
public static final JsonSchemaV7.Rule REQUIRED
-
ADDITIONAL_PROPERTIES
public static final JsonSchemaV7.Rule ADDITIONAL_PROPERTIES
-
MIN_ITEMS
public static final JsonSchemaV7.Rule MIN_ITEMS
-
MAX_ITEMS
public static final JsonSchemaV7.Rule MAX_ITEMS
-
ITEMS
public static final JsonSchemaV7.Rule ITEMS
-
NOT
public static final JsonSchemaV7.Rule NOT
-
UNIQUE_ITEMS
public static final JsonSchemaV7.Rule UNIQUE_ITEMS
-
CONTENT_ENCODING
public static final JsonSchemaV7.Rule CONTENT_ENCODING
-
CONTENT_MEDIA_TYPE
public static final JsonSchemaV7.Rule CONTENT_MEDIA_TYPE
-
FORMAT
public static final JsonSchemaV7.Rule FORMAT
-
PATTERN
public static final JsonSchemaV7.Rule PATTERN
-
MIN_LENGTH
public static final JsonSchemaV7.Rule MIN_LENGTH
-
MAX_LENGTH
public static final JsonSchemaV7.Rule MAX_LENGTH
-
MINIMUM
public static final JsonSchemaV7.Rule MINIMUM
-
EXCLUSIVE_MINIMUM
public static final JsonSchemaV7.Rule EXCLUSIVE_MINIMUM
-
MAXIMUM
public static final JsonSchemaV7.Rule MAXIMUM
-
EXCLUSIVE_MAXIMUM
public static final JsonSchemaV7.Rule EXCLUSIVE_MAXIMUM
-
MULTIPLE_OF
public static final JsonSchemaV7.Rule MULTIPLE_OF
-
CONST
public static final JsonSchemaV7.Rule CONST
-
ENUM
public static final JsonSchemaV7.Rule ENUM
-
ANY_OF
public static final JsonSchemaV7.Rule ANY_OF
-
ONE_OF
public static final JsonSchemaV7.Rule ONE_OF
-
ALL_OF
public static final JsonSchemaV7.Rule ALL_OF
-
BOOLEAN_SCHEMA
public static final JsonSchemaV7.Rule BOOLEAN_SCHEMA
-
-
Method Detail
-
values
public static JsonSchemaV7.Rule[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JsonSchemaV7.Rule c : JsonSchemaV7.Rule.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonSchemaV7.Rule valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-