>>

File Metadata

The enum representing all the possible Effis supported file metadatas.

>>

Text

FieldTypeDescription
type“Text”The type of this FileMetadata variant.
>>

Image

FieldTypeDescription
type“Image”The type of this FileMetadata variant.
width?NumberThe width of the image in pixels.
height?NumberThe height of the image in pixels.
>>

Video

FieldTypeDescription
type“Video”The type of this FileMetadata variant.
width?NumberThe width of the video in pixels.
height?NumberThe height of the video in pixels.
>>

Other

FieldTypeDescription
type“Other”The type of this FileMetadata variant.
>>

Examples

{
  "type": "text"
}
{
  "type": "image",
  "width": 5120,
  "height": 1440
}
{
  "type": "video",
  "width": 1920,
  "height": 1080
}
{
  "type": "other"
}