Interface: IJSONSchema
Properties of a JSONSchema.
Extends
Properties
array?
optionalarray?:string[] |null
Items in 'array' must be unique.
Inherited from
default?
optionaldefault?:string|null
JSONSchema default
Inherited from
description?
optionaldescription?:string|null
A short description of the schema.
Inherited from
enum?
optionalenum?:string[] |null
Items in enum must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
Inherited from
example?
optionalexample?:string|null
A free-form property to include a JSON example of this field. This is copied verbatim to the output swagger.json. Quotes must be escaped. This property is the same for 2.0 and 3.0.0 https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/3.0.0.md#schemaObject https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
Inherited from
exclusiveMaximum?
optionalexclusiveMaximum?:boolean|null
JSONSchema exclusiveMaximum
Inherited from
exclusiveMinimum?
optionalexclusiveMinimum?:boolean|null
JSONSchema exclusiveMinimum
Inherited from
extensions?
optionalextensions?: {[k:string]:$Properties; } |null
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
Inherited from
fieldConfiguration?
optionalfieldConfiguration?:$Properties|null
Additional field level properties used when generating the OpenAPI v2 file.
Inherited from
$Properties.fieldConfiguration
format?
optionalformat?:string|null
Format
Inherited from
maximum?
optionalmaximum?:number|null
Maximum represents an inclusive upper limit for a numeric instance. The value of MUST be a number,
Inherited from
maxItems?
optionalmaxItems?:Long|null
JSONSchema maxItems
Inherited from
maxLength?
optionalmaxLength?:Long|null
JSONSchema maxLength
Inherited from
maxProperties?
optionalmaxProperties?:Long|null
JSONSchema maxProperties
Inherited from
minimum?
optionalminimum?:number|null
minimum represents an inclusive lower limit for a numeric instance. The value of MUST be a number,
Inherited from
minItems?
optionalminItems?:Long|null
JSONSchema minItems
Inherited from
minLength?
optionalminLength?:Long|null
JSONSchema minLength
Inherited from
minProperties?
optionalminProperties?:Long|null
JSONSchema minProperties
Inherited from
multipleOf?
optionalmultipleOf?:number|null
JSONSchema multipleOf
Inherited from
pattern?
optionalpattern?:string|null
JSONSchema pattern
Inherited from
readOnly?
optionalreadOnly?:boolean|null
JSONSchema readOnly
Inherited from
ref?
optionalref?:string|null
Ref is used to define an external reference to include in the message.
This could be a fully qualified proto message reference, and that type must
be imported into the protofile. If no message is identified, the Ref will
be used verbatim in the output.
For example:
ref: ".google.protobuf.Timestamp".
Inherited from
required?
optionalrequired?:string[] |null
JSONSchema required
Inherited from
title?
optionaltitle?:string|null
The title of the schema.
Inherited from
type?
optionaltype?:JSONSchemaSimpleTypes[] |null
JSONSchema type
Inherited from
uniqueItems?
optionaluniqueItems?:boolean|null
JSONSchema uniqueItems