OptionalanyOptional. The value should be validated against any (one or more) of the subschemas in the list.
OptionaldefaultOptional. Default value of the data.
OptionaldescriptionOptional. The description of the data.
OptionalenumOptional. Possible values of the element of primitive type with enum format. Examples: 1. We can define direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} 2. We can define apartment number as : {type:INTEGER, format:enum, enum:["101", "201", "301"]}
OptionalexampleOptional. Example of the object. Will only populated when the object is the root.
OptionalformatOptional. The format of the data. Supported formats: for NUMBER type: "float", "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte", etc
OptionalitemsOptional. SCHEMA FIELDS FOR TYPE ARRAY Schema of the elements of Type.ARRAY.
OptionalmaximumOptional. Maximum value of the Type.INTEGER and Type.NUMBER
OptionalmaxOptional. Maximum number of the elements for Type.ARRAY.
OptionalmaxOptional. Maximum length of the Type.STRING
OptionalmaxOptional. Maximum number of the properties for Type.OBJECT.
OptionalminimumOptional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.INTEGER and Type.NUMBER
OptionalminOptional. Minimum number of the elements for Type.ARRAY.
OptionalminOptional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING
OptionalminOptional. Minimum number of the properties for Type.OBJECT.
OptionalnullableOptional. Indicates if the value may be null.
OptionalpatternOptional. Pattern of the Type.STRING to restrict a string to a regular expression.
OptionalpropertiesOptional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT.
OptionalpropertyOptional. The order of the properties. Not a standard field in open api spec. Only used to support the order of the properties.
OptionalrequiredOptional. Required properties of Type.OBJECT.
OptionaltitleOptional. The title of the Schema.
OptionaltypeOptional. The type of the data.
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.