How licensed business records are delivered: formats, schemas and masking

By Plety. Updated

Licensed business records are usually delivered as structured files: JSON Lines or Parquet for messages and tables, mbox or EML for email, and the native exports of tools such as Slack, Microsoft Teams and Zendesk. Names and other identifiers are replaced with masking tokens before delivery. A manifest with checksums lets both sides confirm the buyer received exactly what was licensed.

Which file formats are used?

Most deliveries use a small set of open formats that keep structure: who wrote what, when, and in reply to what. The choice of format matters less than keeping threads, timestamps, roles and links between records intact.

mbox needs care. RFC 4155, published in September 2005, says the mbox format is not documented in an authoritative specification and that implementations differ in how they escape body lines beginning with 'From'. Agree the variant before export, or deliver one EML file per message instead.

Common delivery formats for licensed business records
FormatWhat it isTypical use
JSON Lines (.jsonl)One JSON value per line, in UTF-8 without a byte order mark (jsonlines.org)Messages, tickets and other records, one per line
Apache ParquetAn open source, column-oriented data file format designed for efficient storage and retrieval (Apache Parquet documentation)Large tables such as CRM records, logs and record metadata
mboxOne file holding a series of email messages, each starting with a separator line (RFC 4155)Whole mailboxes exported from a mail system
EMLA single email saved as a file, with the header fields and body defined in RFC 5322Single messages, with threads rebuilt from headers
Native tool exportsJSON exports from Slack, the Microsoft Teams Export APIs or ZendeskChat, channel and ticket histories in the tool's own structure

What do exports from Slack, Teams and ticketing tools contain?

Each tool exports its own JSON structure, and the plan and admin rights decide what can be exported. Slack's help centre, checked in November 2026, says owners and admins on Free and Pro plans can export public channel messages and file links, that exporting private channels and direct messages on Business+ needs an application to Slack, and that exports contain messages and file links rather than the files themselves. It also says Free workspaces can only export links to files from the last 90 days.

Microsoft's Teams Export APIs, documented on Microsoft Learn in a page dated July 2026, export one-to-one, group, meeting chat and channel messages through Microsoft Graph. The page says messages deleted by users can be retrieved for up to 21 days, attachments appear as metadata or links, and meeting transcripts come in VTT format by default.

Zendesk's help centre, checked in November 2026, says its JSON export is newline-delimited and includes ticket comments, but leaves out the comments of any single ticket over 1 MB, while its CSV export leaves comments out entirely. Exports are off by default, and the account owner has to ask Zendesk support to enable them.

How are masking tokens applied?

A masking token is a placeholder that replaces a name, email address, phone number or other identifier before records leave the company, such as [PERSON_0412] in place of a name. Good masking is consistent: the same person gets the same token in every record, so threads, handoffs and repeat contacts still make sense.

The ICO's pseudonymisation guidance describes tokenisation as replacing identifiers with randomly generated tokens that have no mathematical relationship to the original. It says pseudonymised data is personal data in the hands of anyone who holds the additional information, which must be kept separate. It also advises adding a salt or pepper before hashing and avoiding outdated algorithms such as MD5 and SHA-1. A buyer should therefore ask for random or keyed tokens, not plain hashes of email addresses, and confirm that the lookup table stays with the company.

What metadata should travel with each record?

Each record should carry enough metadata to rebuild its context without the personal data. Useful fields are a stable record ID, the source system, the record type, created and modified timestamps, a thread or parent ID, the author's role rather than name, the language, the masking applied and the licence reference.

For email, the Message-ID, In-Reply-To and References header fields defined in RFC 5322 are how threads are rebuilt, so they should be kept, with any addresses inside them masked. A schema file should describe every field, its type and its allowed values, so the buyer can load the delivery without guessing.

How do manifests and checksums prove what was delivered?

A manifest is a list of every delivered file with its size and checksum, so both sides can prove what was sent and that nothing changed in transit. The buyer recomputes each checksum on receipt and confirms in writing that the delivery matches.

The BagIt packaging format, published as RFC 8493 in October 2018, is a ready-made structure for this: the files sit in a data directory, a payload manifest lists each file with its checksum, and an optional bag-info file holds descriptive metadata. RFC 8493 says BagIt 1.0 tools must support SHA-256 and SHA-512. Delivery itself runs straight from the company's systems to the buyer, and Plety never holds, views or passes on records, samples, logins or money.

Questions

Are attachments included in a delivery?
Only where the licence covers them. Slack and Teams exports carry links or metadata for files rather than the files, according to their own documentation, so attachments need a separate export and their own de-identification.
Can conversation threads survive masking?
Yes, if each person keeps one token across all records and message IDs and parent IDs are preserved.
Which checksum algorithm should be used?
SHA-256 or SHA-512. RFC 8493 requires BagIt 1.0 tools to support both.

Looking for licensed records from UK companies?

Email Herman or book a 30-minute call with what you license: record types, languages, volume, date range and terms.

Sources

This page is general information, not legal advice. Take advice on your own company's records and contracts.

Read next