Skip to content

Function: validateMapping() ​

ts
function validateMapping(mapping): string[];

Defined in: application/services/transformers/rdf/rdf-mapping-engine.ts:1019

Validate a mapping-rules document: every rule must reference a known transform (unless it is a container rule or an explicit drop), and carry a source + target. Returns a list of human-readable problems ([] = valid). Used by the build-time validation test.

Parameters ​

ParameterType
mappingany

Returns ​

string[]