{"success":true,"data":{"ext":"jtp","name":"MS Windows journal file","description":"Microsoft Journal is a file format created and maintained by Microsoft for storing handwritten notes and sketches in Windows Journal. It is used with Windows Journal and related pen-input applications to save ink annotations, diagrams, and page layouts for later editing or printing. The format is associated with older Windows versions and is considered legacy; files from untrusted sources should still be opened with standard caution.","mime":[],"risk_level":"Safe","signatures":[{"hex":"4E 42 2A 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["jnt"],"usage":{"python":"def is_jtp(file_path: str) -> bool:\n    \"\"\"Check if file is a valid JTP by magic bytes.\"\"\"\n    signature = bytes([0x4E, 0x42, 0x2A, 0x00])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isJTP(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4E, 0x42, 0x2A, 0x00]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsJTP(data []byte) bool {\n    signature := []byte{0x4E, 0x42, 0x2A, 0x00}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}