{
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "CLM Canonical Polyglot Type Dictionary Single Source of Truth (SSOT)",
"invariants": [
"INV-444",
"INV-10"
],
"types": {
"application/3d-obj": {
"category": "model",
"description": "Wavefront OBJ 3D model geometry.",
"extensions": [
".obj"
],
"is_binary": false,
"magic_bytes": [],
"mime": "application/3d-obj",
"text_patterns": [],
"universe": "U0"
},
"application/geo+json": {
"category": "text",
"description": "Content type for GeoJSON geospatial data.",
"extensions": [
".geojson"
],
"is_binary": false,
"magic_bytes": [],
"mime": "application/geo+json",
"text_patterns": [
"FeatureCollection",
"\"type\"",
"\"geometry\"",
"\"coordinates\""
],
"universe": "U0"
},
"application/geopackage+sqlite3": {
"category": "blob",
"description": "Content type for GeoPackage geospatial database files.",
"extensions": [
".gpkg"
],
"is_binary": true,
"magic_bytes": [
{
"description": "Magic bytes for application/geopackage+sqlite3",
"hex": "53514c69746520666f726d6174203300",
"offset": 0
}
],
"mime": "application/geopackage+sqlite3",
"text_patterns": [],
"universe": "U0"
},
"application/gzip": {
"category": "archive",
"description": "Gzip compressed archive.",
"extensions": [
".gz",
".tgz"
],
"is_binary": true,
"magic_bytes": [
{
"description": "Gzip magic header",
"hex": "1f8b",
"offset": 0
}
],
"mime": "application/gzip",
"text_patterns": [],
"universe": "U0"
},
"application/javascript": {
"category": "code",
"description": "Content type for JavaScript source.",
"extensions": [
".js"
],
"is_binary": false,
"magic_bytes": [],
"mime": "application/javascript",
"text_patterns": [
"^'use strict'",
"^import ",
"^const ",
"^function ",
"^export "
],
"universe": "U0"
},
"application/json": {
"category": "text",
"description": "Content type for JSON data.",
"extensions": [
".json"
],
"is_binary": false,
"magic_bytes": [],
"mime": "application/json",
"text_patterns": [
"^\\s*[{\\[]"
],
"universe": "U0"
},
"application/octet-stream": {
"category": "blob",
"description": "Content type for arbitrary binary data (fallback).",
"extensions": [
".bin"
],
"is_binary": true,
"magic_bytes": [],
"mime": "application/octet-stream",
"text_patterns": [],
"universe": "U0"
},
"application/pdf": {
"category": "blob",
"description": "Content type for PDF documents.",
"extensions": [
".pdf"
],
"is_binary": true,
"magic_bytes": [
{
"description": "Magic bytes for application/pdf",
"hex": "25504446",
"offset": 0
}
],
"mime": "application/pdf",
"text_patterns": [],
"universe": "U0"
},
"application/vnd.google-earth.kml+xml": {
"category": "text",
"description": "Content type for KML (Keyhole Markup Language) geospatial data.",
"extensions": [
".kml"
],
"is_binary": false,
"magic_bytes": [],
"mime": "application/vnd.google-earth.kml+xml",
"text_patterns": [
"<kml",
"xmlns.*opengis.net/kml",
"<Placemark>",
"<Document>"
],
"universe": "U0"
},
"application/vnd.mcard+json": {
"category": "data",
"description": "CLM MCard continuation carrier format.",
"extensions": [
".mcard"
],
"is_binary": false,
"magic_bytes": [],
"mime": "application/vnd.mcard+json",
"text_patterns": [
"\"mcard_version\""
],
"universe": "U1"
},
"application/vnd.pcard+json": {
"category": "data",
"description": "CLM PCard packet specification format.",
"extensions": [
".pcard"
],
"is_binary": false,
"magic_bytes": [],
"mime": "application/vnd.pcard+json",
"text_patterns": [
"\"pcard_version\""
],
"universe": "U1"
},
"application/vnd.vcard+json": {
"category": "data",
"description": "CLM VCard verification certificate format.",
"extensions": [
".vcard"
],
"is_binary": false,
"magic_bytes": [],
"mime": "application/vnd.vcard+json",
"text_patterns": [
"\"vcard_version\""
],
"universe": "U1"
},
"application/wasm": {
"category": "code",
"description": "WebAssembly binary format.",
"extensions": [
".wasm"
],
"is_binary": true,
"magic_bytes": [
{
"description": "WASM magic header",
"hex": "0061736d",
"offset": 0
}
],
"mime": "application/wasm",
"text_patterns": [],
"universe": "U0"
},
"application/x-shapefile": {
"category": "blob",
"description": "Content type for Esri Shapefile geospatial data.",
"extensions": [
".shp"
],
"is_binary": true,
"magic_bytes": [
{
"description": "Magic bytes for application/x-shapefile",
"hex": "0000270a",
"offset": 0
}
],
"mime": "application/x-shapefile",
"text_patterns": [],
"universe": "U0"
},
"application/x-sqlite3": {
"category": "blob",
"description": "Content type for SQLite database files.",
"extensions": [
".db"
],
"is_binary": true,
"magic_bytes": [
{
"description": "Magic bytes for application/x-sqlite3",
"hex": "53514c69746520666f726d6174203300",
"offset": 0
}
],
"mime": "application/x-sqlite3",
"text_patterns": [],
"universe": "U0"
},
"application/x-tar": {
"category": "archive",
"description": "POSIX tar archive.",
"extensions": [
".tar"
],
"is_binary": true,
"magic_bytes": [
{
"description": "USTAR magic",
"hex": "7573746172",
"offset": 257
}
],
"mime": "application/x-tar",
"text_patterns": [],
"universe": "U0"
},
"application/x-yaml": {
"category": "text",
"description": "YAML Ain't Markup Language data serialization.",
"extensions": [
".yaml",
".yml"
],
"is_binary": false,
"magic_bytes": [],
"mime": "application/x-yaml",
"text_patterns": [
"^---\\s*\\n"
],
"universe": "U0"
},
"application/xml": {
"category": "text",
"description": "Extensible Markup Language data.",
"extensions": [
".xml"
],
"is_binary": false,
"magic_bytes": [],
"mime": "application/xml",
"text_patterns": [
"^<\\?xml"
],
"universe": "U0"
},
"application/yaml": {
"category": "text",
"description": "Content type for YAML documents.",
"extensions": [
".yaml"
],
"is_binary": false,
"magic_bytes": [],
"mime": "application/yaml",
"text_patterns": [
"^---",
"^\\w+:"
],
"universe": "U0"
},
"application/zip": {
"category": "blob",
"description": "Content type for ZIP archives.",
"extensions": [
".zip"
],
"is_binary": true,
"magic_bytes": [
{
"description": "Magic bytes for application/zip",
"hex": "504b0304",
"offset": 0
}
],
"mime": "application/zip",
"text_patterns": [],
"universe": "U0"
},
"audio/mpeg": {
"category": "media",
"description": "MPEG Audio Layer III stream.",
"extensions": [
".mp3"
],
"is_binary": true,
"magic_bytes": [
{
"description": "ID3v2 container",
"hex": "494433",
"offset": 0
},
{
"description": "MPEG ADTS sync",
"hex": "fffb",
"offset": 0
}
],
"mime": "audio/mpeg",
"text_patterns": [],
"universe": "U0"
},
"font/woff2": {
"category": "media",
"description": "Web Open Font Format 2.0.",
"extensions": [
".woff2"
],
"is_binary": true,
"magic_bytes": [
{
"description": "wOF2 header",
"hex": "774f4632",
"offset": 0
}
],
"mime": "font/woff2",
"text_patterns": [],
"universe": "U0"
},
"image/gif": {
"category": "media",
"description": "Content type for GIF images.",
"extensions": [
".gif"
],
"is_binary": true,
"magic_bytes": [
{
"description": "Magic bytes for image/gif",
"hex": "47494638",
"offset": 0
}
],
"mime": "image/gif",
"text_patterns": [],
"universe": "U0"
},
"image/jpeg": {
"category": "media",
"description": "Content type for JPEG images.",
"extensions": [
".jpg"
],
"is_binary": true,
"magic_bytes": [
{
"description": "Magic bytes for image/jpeg",
"hex": "ffd8ff",
"offset": 0
}
],
"mime": "image/jpeg",
"text_patterns": [],
"universe": "U0"
},
"image/jpx": {
"category": "media",
"description": "JPEG 2000 Part 2 (JPX) extended image format.",
"extensions": [
".jpf",
".jpx"
],
"is_binary": true,
"magic_bytes": [
{
"description": "JPX signature and ftyp box header",
"hex": "0000000c6a5020200d0a870a00000000667479706a707820",
"mask": "ffffffffffffffffffffffff00000000ffffffffffffffff",
"offset": 0
},
{
"description": "JPEG 2000 signature box",
"hex": "0000000c6a5020200d0a870a",
"offset": 0
},
{
"description": "JPX brand marker in ftyp box",
"hex": "6a707820",
"offset": 20
}
],
"mime": "image/jpx",
"text_patterns": [],
"universe": "U0"
},
"image/png": {
"category": "media",
"description": "Content type for Portable Network Graphics images.",
"extensions": [
".png"
],
"is_binary": true,
"magic_bytes": [
{
"description": "Magic bytes for image/png",
"hex": "89504e470d0a1a0a",
"offset": 0
}
],
"mime": "image/png",
"text_patterns": [],
"universe": "U0"
},
"image/svg+xml": {
"category": "media",
"description": "Content type for SVG vector graphics.",
"extensions": [
".svg"
],
"is_binary": false,
"magic_bytes": [],
"mime": "image/svg+xml",
"text_patterns": [
"<svg",
"xmlns.*svg"
],
"universe": "U0"
},
"image/vnd.djvu": {
"category": "blob",
"description": "Content type for DjVu document files.",
"extensions": [
".djvu"
],
"is_binary": true,
"magic_bytes": [
{
"description": "Magic bytes for image/vnd.djvu",
"hex": "41542654464f524d",
"offset": 0
}
],
"mime": "image/vnd.djvu",
"text_patterns": [],
"universe": "U0"
},
"image/vnd.dxf": {
"category": "blob",
"description": "Content type for AutoCAD DXF (Drawing Exchange Format) files.",
"extensions": [
".dxf"
],
"is_binary": false,
"magic_bytes": [],
"mime": "image/vnd.dxf",
"text_patterns": [
"^\\s*0",
"SECTION",
"HEADER",
"ENDSEC"
],
"universe": "U0"
},
"image/webp": {
"category": "media",
"description": "WebP image format.",
"extensions": [
".webp"
],
"is_binary": true,
"magic_bytes": [
{
"description": "RIFF container for WebP",
"hex": "52494646",
"offset": 0
}
],
"mime": "image/webp",
"text_patterns": [],
"universe": "U0"
},
"model/gltf+json": {
"category": "blob",
"description": "Content type for glTF (GL Transmission Format) 3D scenes.",
"extensions": [
".gltf"
],
"is_binary": false,
"magic_bytes": [],
"mime": "model/gltf+json",
"text_patterns": [
"\"asset\"",
"\"scene\"",
"\"nodes\"",
"\"meshes\""
],
"universe": "U0"
},
"model/obj": {
"category": "blob",
"description": "Content type for Wavefront OBJ 3D model files.",
"extensions": [
".obj"
],
"is_binary": false,
"magic_bytes": [],
"mime": "model/obj",
"text_patterns": [
"^v ",
"^# ",
"^f ",
"^mtllib "
],
"universe": "U0"
},
"model/stl": {
"category": "blob",
"description": "Content type for STL (Stereolithography) 3D model files.",
"extensions": [
".stl"
],
"is_binary": true,
"magic_bytes": [],
"mime": "model/stl",
"text_patterns": [
"^solid "
],
"universe": "U0"
},
"text/css": {
"category": "text",
"description": "Cascading Style Sheets.",
"extensions": [
".css"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/css",
"text_patterns": [],
"universe": "U0"
},
"text/csv": {
"category": "data",
"description": "Comma-separated values tabular text.",
"extensions": [
".csv"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/csv",
"text_patterns": [],
"universe": "U0"
},
"text/html": {
"category": "text",
"description": "Content type for HTML documents.",
"extensions": [
".html"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/html",
"text_patterns": [
"^\\s*<!doctype html",
"^\\s*<html"
],
"universe": "U0"
},
"text/javascript": {
"category": "code",
"description": "JavaScript programming language source.",
"extensions": [
".cjs",
".js",
".mjs"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/javascript",
"text_patterns": [
"^'use strict'",
"^import ",
"^const ",
"^function ",
"^export "
],
"universe": "U0"
},
"text/markdown": {
"category": "text",
"description": "Content type for Markdown documents.",
"extensions": [
".md"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/markdown",
"text_patterns": [
"^#",
"^\\*\\*",
"^- "
],
"universe": "U0"
},
"text/plain": {
"category": "text",
"description": "Content type for plain text documents.",
"extensions": [
".txt"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/plain",
"text_patterns": [],
"universe": "U0"
},
"text/x-mermaid": {
"category": "text",
"description": "Mermaid diagram specification.",
"extensions": [
".mermaid",
".mmd"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/x-mermaid",
"text_patterns": [
"^\\s*(graph|flowchart|sequenceDiagram|classDiagram|stateDiagram|erDiagram|gantt|pie|gitGraph)"
],
"universe": "U0"
},
"text/x-python": {
"category": "code",
"description": "Content type for Python scripts.",
"extensions": [
".py"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/x-python",
"text_patterns": [
"^#!/usr/bin/env python",
"^#!/usr/bin/python",
"^import ",
"^from .* import",
"^def ",
"^class "
],
"universe": "U0"
},
"text/x-rust": {
"category": "code",
"description": "Rust systems programming language source.",
"extensions": [
".rs"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/x-rust",
"text_patterns": [],
"universe": "U0"
},
"text/x-shellscript": {
"category": "code",
"description": "Content type for shell scripts.",
"extensions": [
".sh"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/x-shellscript",
"text_patterns": [
"^#!/bin/(ba)?sh",
"^#!/usr/bin/env (ba)?sh"
],
"universe": "U0"
},
"text/x-sql": {
"category": "code",
"description": "Structured Query Language script.",
"extensions": [
".sql"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/x-sql",
"text_patterns": [
"^\\s*(SELECT|INSERT|UPDATE|DELETE|CREATE|DROP|ALTER)\\b"
],
"universe": "U0"
},
"text/x-tex": {
"category": "code",
"description": "Content type for LaTeX source files.",
"extensions": [
".tex"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/x-tex",
"text_patterns": [
"\\\\documentclass",
"\\\\begin\\{document\\}",
"\\\\usepackage",
"\\\\section",
"\\\\title"
],
"universe": "U0"
},
"text/x-tikz": {
"category": "code",
"description": "Content type for TikZ/PGF diagram source files.",
"extensions": [
".tikz"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/x-tikz",
"text_patterns": [
"\\\\begin\\{tikzpicture\\}",
"\\\\tikz",
"\\\\draw",
"\\\\node",
"\\\\path",
"\\\\usetikzlibrary"
],
"universe": "U0"
},
"text/x-typescript": {
"category": "code",
"description": "TypeScript typed programming language source.",
"extensions": [
".ts",
".tsx"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/x-typescript",
"text_patterns": [],
"universe": "U0"
},
"text/xml": {
"category": "text",
"description": "Content type for XML documents.",
"extensions": [
".xml"
],
"is_binary": false,
"magic_bytes": [],
"mime": "text/xml",
"text_patterns": [
"^\\s*<\\?xml",
"^\\s*<[a-zA-Z]"
],
"universe": "U0"
},
"video/mp4": {
"category": "media",
"description": "MPEG-4 Part 14 video container.",
"extensions": [
".m4v",
".mp4"
],
"is_binary": true,
"magic_bytes": [
{
"description": "ISO Base Media file type box (ftyp)",
"hex": "66747970",
"offset": 4
}
],
"mime": "video/mp4",
"text_patterns": [],
"universe": "U0"
}
},
"types_count": 49,
"version": "1.0.0"
}