Skip to content

Enum: DocumentFormatEnum

Document and text file formats

URI: valuesets:DocumentFormatEnum

Permissible Values

Value Title Meaning Description Application Creator Encoding Extension Mime Type Use
PDF EDAM:format_3508 Portable Document Format Adobe .pdf application/pdf
DOCX Microsoft Word Open XML Microsoft Word .docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
DOC Microsoft Word legacy format Microsoft Word (legacy) .doc application/msword
TXT TXT EDAM:format_1964 Plain text file UTF-8, ASCII .txt text/plain
RTF Rich Text Format .rtf application/rtf
ODT OpenDocument Text LibreOffice, OpenOffice .odt application/vnd.oasis.opendocument.text
LATEX LATEX EDAM:format_3817 LaTeX document .tex application/x-latex scientific documents
MARKDOWN Markdown formatted text .md, .markdown text/markdown
HTML EDAM:format_2331 HyperText Markup Language .html, .htm text/html
XML EDAM:format_2332 Extensible Markup Language .xml application/xml
EPUB Electronic Publication .epub application/epub+zip e-books

Slots

Name Description
document_format Document and text file formats

Identifier and Mapping Information

Schema Source

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

LinkML Source

name: DocumentFormatEnum
instantiates:
- valuesets_meta:ValueSetEnumDefinition
description: Document and text file formats
title: Document Format
from_schema: https://w3id.org/linkml/valuesets
contributors:
- orcid:0000-0002-6601-2165
- https://github.com/anthropics/claude-code
status: DRAFT
rank: 1000
permissible_values:
  PDF:
    text: PDF
    description: Portable Document Format
    meaning: EDAM:format_3508
    annotations:
      extension:
        tag: extension
        value: .pdf
      mime_type:
        tag: mime_type
        value: application/pdf
      creator:
        tag: creator
        value: Adobe
  DOCX:
    text: DOCX
    description: Microsoft Word Open XML
    annotations:
      extension:
        tag: extension
        value: .docx
      mime_type:
        tag: mime_type
        value: application/vnd.openxmlformats-officedocument.wordprocessingml.document
      application:
        tag: application
        value: Microsoft Word
  DOC:
    text: DOC
    description: Microsoft Word legacy format
    annotations:
      extension:
        tag: extension
        value: .doc
      mime_type:
        tag: mime_type
        value: application/msword
      application:
        tag: application
        value: Microsoft Word (legacy)
  TXT:
    text: TXT
    description: Plain text file
    meaning: EDAM:format_1964
    annotations:
      extension:
        tag: extension
        value: .txt
      mime_type:
        tag: mime_type
        value: text/plain
      encoding:
        tag: encoding
        value: UTF-8, ASCII
    title: TXT
    aliases:
    - plain text format (unformatted)
  RTF:
    text: RTF
    description: Rich Text Format
    annotations:
      extension:
        tag: extension
        value: .rtf
      mime_type:
        tag: mime_type
        value: application/rtf
  ODT:
    text: ODT
    description: OpenDocument Text
    annotations:
      extension:
        tag: extension
        value: .odt
      mime_type:
        tag: mime_type
        value: application/vnd.oasis.opendocument.text
      application:
        tag: application
        value: LibreOffice, OpenOffice
  LATEX:
    text: LATEX
    description: LaTeX document
    meaning: EDAM:format_3817
    annotations:
      extension:
        tag: extension
        value: .tex
      mime_type:
        tag: mime_type
        value: application/x-latex
      use:
        tag: use
        value: scientific documents
    title: LATEX
    aliases:
    - latex
    - LaTeX
  MARKDOWN:
    text: MARKDOWN
    description: Markdown formatted text
    annotations:
      extension:
        tag: extension
        value: .md, .markdown
      mime_type:
        tag: mime_type
        value: text/markdown
  HTML:
    text: HTML
    description: HyperText Markup Language
    meaning: EDAM:format_2331
    annotations:
      extension:
        tag: extension
        value: .html, .htm
      mime_type:
        tag: mime_type
        value: text/html
  XML:
    text: XML
    description: Extensible Markup Language
    meaning: EDAM:format_2332
    annotations:
      extension:
        tag: extension
        value: .xml
      mime_type:
        tag: mime_type
        value: application/xml
  EPUB:
    text: EPUB
    description: Electronic Publication
    annotations:
      extension:
        tag: extension
        value: .epub
      mime_type:
        tag: mime_type
        value: application/epub+zip
      use:
        tag: use
        value: e-books