Skip to content

Enum: MLMediaType

Media types (MIME types) for different modalities of ML data including

images, audio, video, and text.

__

URI: valuesets:MLMediaType

Permissible Values

Value Meaning Description
IMAGE_JPEG EDAM:format_3579 JPEG image format
IMAGE_PNG EDAM:format_3603 PNG image format
IMAGE_GIF None GIF image format
IMAGE_TIFF None TIFF image format
AUDIO_WAV None Waveform Audio File Format
AUDIO_MP3 None MP3 audio format
AUDIO_FLAC None FLAC lossless audio format
VIDEO_MP4 EDAM:format_3997 MPEG-4 video format
VIDEO_AVI EDAM:format_3990 Audio Video Interleaved format
VIDEO_WEBM None WebM video format
TEXT_PLAIN None Plain text format
TEXT_HTML None HTML format

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/linkml/valuesets

LinkML Source

name: MLMediaType
description: 'Media types (MIME types) for different modalities of ML data including

  images, audio, video, and text.

  '
from_schema: https://w3id.org/linkml/valuesets
rank: 1000
permissible_values:
  IMAGE_JPEG:
    text: IMAGE_JPEG
    description: JPEG image format
    meaning: EDAM:format_3579
    annotations:
      mime_type:
        tag: mime_type
        value: image/jpeg
      modality:
        tag: modality
        value: image
    title: JPG
  IMAGE_PNG:
    text: IMAGE_PNG
    description: PNG image format
    meaning: EDAM:format_3603
    annotations:
      mime_type:
        tag: mime_type
        value: image/png
      modality:
        tag: modality
        value: image
    title: PNG
  IMAGE_GIF:
    text: IMAGE_GIF
    description: GIF image format
    annotations:
      mime_type:
        tag: mime_type
        value: image/gif
      modality:
        tag: modality
        value: image
  IMAGE_TIFF:
    text: IMAGE_TIFF
    description: TIFF image format
    annotations:
      mime_type:
        tag: mime_type
        value: image/tiff
      modality:
        tag: modality
        value: image
  AUDIO_WAV:
    text: AUDIO_WAV
    description: Waveform Audio File Format
    annotations:
      mime_type:
        tag: mime_type
        value: audio/wav
      modality:
        tag: modality
        value: audio
  AUDIO_MP3:
    text: AUDIO_MP3
    description: MP3 audio format
    annotations:
      mime_type:
        tag: mime_type
        value: audio/mpeg
      modality:
        tag: modality
        value: audio
  AUDIO_FLAC:
    text: AUDIO_FLAC
    description: FLAC lossless audio format
    annotations:
      mime_type:
        tag: mime_type
        value: audio/flac
      modality:
        tag: modality
        value: audio
  VIDEO_MP4:
    text: VIDEO_MP4
    description: MPEG-4 video format
    meaning: EDAM:format_3997
    annotations:
      mime_type:
        tag: mime_type
        value: video/mp4
      modality:
        tag: modality
        value: video
    title: MPEG-4
  VIDEO_AVI:
    text: VIDEO_AVI
    description: Audio Video Interleaved format
    meaning: EDAM:format_3990
    annotations:
      mime_type:
        tag: mime_type
        value: video/x-msvideo
      modality:
        tag: modality
        value: video
    title: AVI
  VIDEO_WEBM:
    text: VIDEO_WEBM
    description: WebM video format
    annotations:
      mime_type:
        tag: mime_type
        value: video/webm
      modality:
        tag: modality
        value: video
  TEXT_PLAIN:
    text: TEXT_PLAIN
    description: Plain text format
    annotations:
      mime_type:
        tag: mime_type
        value: text/plain
      modality:
        tag: modality
        value: text
  TEXT_HTML:
    text: TEXT_HTML
    description: HTML format
    annotations:
      mime_type:
        tag: mime_type
        value: text/html
      modality:
        tag: modality
        value: text