Skip to content
On this page

Image Schema

txt
https://schema.vinv.io/log/0.0.1.json#/properties/image_log
1

Image of the log

AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusNoForbiddenAllowednonedereferenced.doc.json*

image_log Type

object (Image)

image_log Properties

PropertyTypeRequiredNullableDefined by
uristringRequiredcannot be nullLog
encoderstringOptionalcan be nullLog
compressionnumberOptionalcan be nullLog
widthintegerOptionalcan be nullLog
heightintegerOptionalcan be nullLog

uri

A universal resource identifier (URI), according to RFC3986.

uri

  • is required

  • Type: string (Image)

  • cannot be null

  • defined in: Log

uri Type

string (Image)

uri Constraints

URI: the string must be a URI, according to RFC 3986

uri Examples

json
"https://schema.vinv.io/asset/img/logo.png"
1

encoder

The encoder used to encode the image.

encoder

  • is optional

  • Type: string (Encoder)

  • can be null

  • defined in: Log

encoder Type

string (Encoder)

encoder Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
"image/jpeg"
"image/webp"

encoder Default Value

The default value is:

json
"image/webp"
1

encoder Examples

json
"image/webp"
1
json
"image/jpeg"
1

compression

The compression used to encode the image.

compression

compression Type

number (Compression)

compression Constraints

maximum: the value of this number must smaller than or equal to: 1

minimum: the value of this number must greater than or equal to: 0

compression Default Value

The default value is:

json
1
1

compression Examples

json
0.8
1

width

Width of the image.

width

  • is optional

  • Type: integer (Width)

  • can be null

  • defined in: Log

width Type

integer (Width)

width Constraints

maximum: the value of this number must smaller than or equal to: 10000

minimum: the value of this number must greater than or equal to: 25

width Examples

json
500
1

height

Height of the image

height

  • is optional

  • Type: integer (Height)

  • can be null

  • defined in: Log

height Type

integer (Height)

height Constraints

maximum: the value of this number must smaller than or equal to: 10000

minimum: the value of this number must greater than or equal to: 25

height Examples

json
500
1

Released under the GNU GENERAL PUBLIC LICENSE.