Format provided via the format:
property of schema(string
, number
or integer
)
string
formatsThose formats can be used to specify a more accurate type of data that is sent as string
over the wire.
char
: A single characterbinary
:
Any sequence of octets. (ie, a sequence of unencoded bytes)
byte
: A base64 string of characters. Represents a byte arraycertificate
: A certificate treated as an array of bytes.date
: A date as defined by full-date - RFC3339time
: A time as defined by ISO 8661date-time
: A Date-Time as defined by date-time - RFC3339date-time-rfc1123
: A Date-Time as defined by date-time - RFC1123duration
: A duration of timepassword
: A hint to UIs to obscure input.uuid
: Universally Unique Identifierbase64url
: a base64url string of characters, represented as a byte array (see RFC 4648 )uri
/url
: Represent a URL/URIAzure specific:
arm-id
: Represent a Azure Resource Manager Resource ID.integer
formatsint32
: A 32 bit integerint64
: A 64 bit integerunixtime
: a UnixTime (number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970)number
formatsfloat
: A 32 bit floatdouble
: A 64 bit floatdecimal
: A 128 bit float