Property |
Type |
Description |
|
$_nested |
|
|
|
$_parents |
|
|
|
$_types |
|
|
|
$additionalProperties |
boolean | object |
http://json-schema.org/latest/json-schema-validation.html#anchor64 |
|
$allOf |
Schema[] |
An instance validates successfully against this property if it validates successfully against all schemas defined by this property's value. |
|
$collectionFormat |
|
Determines the format of the array if type array is used. Possible values are: csv - comma separated values foo,bar. ssv - space separated values foo bar. tsv - tab separated values foo\tbar. pipes - pipe separated values foo|bar. multi - corresponds to multiple parameter instances instead of multiple values for a single instance foo=bar&foo=baz. This is valid only for parameters in "query" or "formData". Default value is csv. |
|
$default |
mixed |
Sets a default value to the parameter. The type of the value depends on the defined type. See http://json-schema.org/latest/json-schema-validation.html#anchor101. |
|
$description |
string |
A description will provide explanation about the purpose of the instance described by this schema. |
|
$discriminator |
string |
Adds support for polymorphism. The discriminator is the schema property name that is used to differentiate between other schemas that inherit this schema. The property name used MUST be defined at this schema and it MUST be in the required property list. When used, the value MUST be the name of this schema or any schema that inherits it. |
|
$enum |
array |
See http://json-schema.org/latest/json-schema-validation.html#anchor76. |
|
$example |
array |
A free-form property to include a an example of an instance for this schema. |
|
$exclusiveMaximum |
boolean |
See http://json-schema.org/latest/json-schema-validation.html#anchor17. |
|
$exclusiveMinimum |
boolean |
See http://json-schema.org/latest/json-schema-validation.html#anchor21. |
|
$externalDocs |
ExternalDocumentation |
Additional external documentation for this schema. |
|
$format |
string |
The extending format for the previously mentioned type. See Data Type Formats for further details. |
|
$items |
Items |
Required if type is "array". Describes the type of items in the array. |
|
$maxItems |
integer |
See http://json-schema.org/latest/json-schema-validation.html#anchor42. |
|
$maxLength |
integer |
See http://json-schema.org/latest/json-schema-validation.html#anchor26. |
|
$maxProperties |
integer |
An object instance is valid against "maxProperties" if its number of properties is less than, or equal to, the value of this property. |
|
$maximum |
number |
See http://json-schema.org/latest/json-schema-validation.html#anchor17. |
|
$minItems |
integer |
See http://json-schema.org/latest/json-schema-validation.html#anchor45. |
|
$minLength |
integer |
See http://json-schema.org/latest/json-schema-validation.html#anchor29. |
|
$minProperties |
integer |
An object instance is valid against "minProperties" if its number of properties is greater than, or equal to, the value of this property. |
|
$minimum |
number |
See http://json-schema.org/latest/json-schema-validation.html#anchor21. |
|
$multipleOf |
number |
A numeric instance is valid against "multipleOf" if the result of the division of the instance by this property's value is an integer. |
|
$pattern |
string |
A string instance is considered valid if the regular expression matches the instance successfully. |
|
$properties |
Property[] |
|
|
$readOnly |
boolean |
Relevant only for Schema "properties" definitions. Declares the property as "read only". This means that it MAY be sent as part of a response but MUST NOT be sent as part of the request. Properties marked as readOnly being true SHOULD NOT be in the required list of the defined schema. Default value is false. |
|
$ref |
string |
$ref See http://json-schema.org/latest/json-schema-core.html#rfc.section.7 |
|
$required |
string[] |
An object instance is valid against this property if its property set contains all elements in this property's array value. |
|
$title |
string |
Can be used to decorate a user interface with information about the data produced by this user interface. preferrably be short. |
|
$type |
string |
The type of the parameter. Since the parameter is not located at the request body, it is limited to simple types (that is, not an object). The value MUST be one of "string", "number", "integer", "boolean", "array" or "file". If type is "file", the consumes MUST be either "multipart/form-data" or " application/x-www-form-urlencoded" and the parameter MUST be in "formData". |
|
$uniqueItems |
boolean |
See http://json-schema.org/latest/json-schema-validation.html#anchor49. |
|
$xml |
Xml |
This MAY be used only on properties schemas. It has no effect on root schemas. Adds Additional metadata to describe the XML representation format of this property. |
|