{"success":true,"data":{"ext":"inx","name":"INX","description":"InDesign Interchange (INX) is an Adobe Systems file format for exchanging Adobe InDesign documents, created and maintained by Adobe. It is used to transfer layouts, text, images, and style definitions between InDesign versions and in document production workflows. The format is largely superseded by IDML, and like other XML-based files it is generally safe, though untrusted files should still be opened with current software.","mime":["application/x-adobe-indesign-interchange"],"risk_level":"Safe","signatures":[{"hex":"3C 3F 61 69 64","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"}]}],"related":[],"usage":{"python":"def is_inx(file_path: str) -> bool:\n    \"\"\"Check if file is a valid INX by magic bytes.\"\"\"\n    signature = bytes([0x3C, 0x3F, 0x61, 0x69, 0x64])\n    with open(file_path, \"rb\") as f:\n        return f.read(5) == signature","node":"function isINX(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x3C, 0x3F, 0x61, 0x69, 0x64]);\n  return buffer.subarray(0, 5).equals(signature);\n}","go":"func IsINX(data []byte) bool {\n    signature := []byte{0x3C, 0x3F, 0x61, 0x69, 0x64}\n    if len(data) < 5 {\n        return false\n    }\n    return bytes.Equal(data[:5], signature)\n}"}}}