{"success":true,"data":{"ext":"indd","name":"Adobe InDesign document","description":"Adobe InDesign Document (INDD) is a proprietary desktop publishing file format created and maintained by Adobe for Adobe InDesign. It is used to store page layouts, text, images, typography, and design assets for magazines, brochures, books, newspapers, and other print or digital publications. INDD files are generally safe to open, though they may reference linked resources and embedded content; compatibility is best ensured with current Adobe InDesign versions.","mime":["application/x-adobe-indesign"],"risk_level":"Safe","signatures":[{"hex":"06 06 ED F5 D8 1D 46 E5 BD 31 EF E7 FE 74 B7 1D","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"},{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_indd(file_path: str) -> bool:\n    \"\"\"Check if file is a valid INDD by magic bytes.\"\"\"\n    signature = bytes([0x06, 0x06, 0xED, 0xF5, 0xD8, 0x1D, 0x46, 0xE5, 0xBD, 0x31, 0xEF, 0xE7, 0xFE, 0x74, 0xB7, 0x1D])\n    with open(file_path, \"rb\") as f:\n        return f.read(16) == signature","node":"function isINDD(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x06, 0x06, 0xED, 0xF5, 0xD8, 0x1D, 0x46, 0xE5, 0xBD, 0x31, 0xEF, 0xE7, 0xFE, 0x74, 0xB7, 0x1D]);\n  return buffer.subarray(0, 16).equals(signature);\n}","go":"func IsINDD(data []byte) bool {\n    signature := []byte{0x06, 0x06, 0xED, 0xF5, 0xD8, 0x1D, 0x46, 0xE5, 0xBD, 0x31, 0xEF, 0xE7, 0xFE, 0x74, 0xB7, 0x1D}\n    if len(data) < 16 {\n        return false\n    }\n    return bytes.Equal(data[:16], signature)\n}"}}}