OptionalanyOptional. The instance must be valid against any (one or more) of the subschemas listed in any_of.
OptionaldefaultOptional. Default value to use if the field is not specified.
OptionaldescriptionOptional. Description of the schema.
OptionalenumOptional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set format to enum and provide the list of possible values in enum. For example: 1. To define directions: {type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]} 2. To define apartment numbers: {type:INTEGER, format:enum, enum:["101", "201", "301"]}
OptionalexampleOptional. Example of an instance of this schema.
OptionalformatOptional. The format of the data. For NUMBER type, format can be float or double. For INTEGER type, format can be int32 or int64. For STRING type, format can be email, byte, date, date-time, password, and other formats to further refine the data type.
OptionalitemsOptional. If type is ARRAY, items specifies the schema of elements in the array.
OptionalmaximumOptional. If type is INTEGER or NUMBER, maximum specifies the maximum allowed value.
OptionalmaxOptional. If type is ARRAY, max_items specifies the maximum number of items in an array.
OptionalmaxOptional. If type is STRING, max_length specifies the maximum length of the string.
OptionalmaxOptional. If type is OBJECT, max_properties specifies the maximum number of properties that can be provided.
OptionalminimumOptional. If type is INTEGER or NUMBER, minimum specifies the minimum allowed value.
OptionalminOptional. If type is ARRAY, min_items specifies the minimum number of items in an array.
OptionalminOptional. If type is STRING, min_length specifies the minimum length of the string.
OptionalminOptional. If type is OBJECT, min_properties specifies the minimum number of properties that can be provided.
OptionalnullableOptional. Indicates if the value of this field can be null.
OptionalpatternOptional. If type is STRING, pattern specifies a regular expression that the string must match.
OptionalpropertiesOptional. If type is OBJECT, properties is a map of property names to schema definitions for each property of the object.
OptionalpropertyOptional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.
OptionalrequiredOptional. If type is OBJECT, required lists the names of properties that must be present.
OptionaltitleOptional. Title for the schema.
OptionaltypeOptional. Data type of the schema field.
Schema is used to define the format of input/output data.
Represents a select subset of an OpenAPI 3.0 schema object. More fields may be added in the future as needed.