Skip to main content

Registries (registries/)

The fixed lists dfe-engine validates and renders against live in registries/, and nowhere else.

FileWhat it listsRead for
engines.yamlTable engine variants a source may select. arguments is none, optional or required, and argument_hint is what goes inside the parenthesesdfe-engine's source save validation and GET /api/v1/sources/engines, the console's engine list
types.yamlColumn primitives and their ClickHouse type, codec and nullability, plus use-case, attribute and ch_override rules, and the labels and override options a schema form offersdfe-engine's column validation and the schema form vocabulary it serves, and DDL rendering
ddl.yamlThe DDL catalogue: table defaults (index granularity, partition column and functions) and the index each use case rendersDDL rendering
field-maps/<standard>/_default.yamlThe default field map for each view standard: cim, ecs, ocsf and sigmaSeeding dfe-engine's field-map store
catalogue-tags.yamlThe catalogue's folders, with the name and description the console showsGET /api/v1/sources/catalogue-tags
elastic-variants.yamlEvery variant dfe-transform-elastic registers, with the intakes each acceptstests/test_catalogue.py, which checks the catalogue's elastic entries against it

make validate checks every engines.yaml entry and loads types.yaml through dfe-engine's registry. make test checks the rest.

An entry in ddl.yaml renders as INDEX <name> <expression> TYPE <type> GRANULARITY <n>. expression defaults to {col}, the backticked column, suffix is appended to the index name for a use case that needs two indexes, and {dims} in type is the use case's argument, as in similarity_search(768). indexes is a list, or by_cardinality with a list each for low, high and unknown. An entry's when_nullable replaces it on a column with a Nullable type, because set(0) prunes nothing on a Nullable column on ClickHouse 26.3.