Skip to main content
Detection decides which spec applies to an incoming file. It’s a match_mode plus a list of rules.

Match modes

Rule types

data_source codes

The codes array uses the canonical data-source identifiers, including:
These are validated when specs are seeded — an unknown code fails fast.

A composite example

Reads as: the file comes from Ginkoia (or a manual upload) and its name contains “tickets” and its header has all four columns.
When several specs could match, the winner is chosen by priority then spec_version — see Anatomy → priority.