Skip to main content

Product flow & architecture

This page maps the journey a user takes across the three DataChord suites and shows how the platform's objects flow from one stage to the next. If you read only one page of these docs before opening the product, read this one.


The DataChord journey

At each step, DataChord produces a named object that the next step consumes. Nothing is implicit:

StepYou produceThe next step consumes
StructScanSourceProfileMapCraft uses the profile to bootstrap the source schema
MapCraftProject with confirmed MappingFields, Rules, LookupsFlowBridge compiles a DAGDocument from them
FlowBridgeDAGDocument + DAGRuns + PackageArtifactsYour warehouse, partner, or runtime

The platform surface

The three suites share a single workspace and a single tenancy model.

  • Auth and tenancy. Every user signs in via JWT and is bound to an organisation. Every object (profile, project, DAG, run, package) is scoped to that organisation; you can never see another org's data.
  • Activity Feed. The Dashboard surfaces a unified feed of recent StructScan profiles, MapCraft projects, and FlowBridge runs so you can pick up where you left off.
  • Contracts. Every shared object shape is defined by a JSON Schema checked into the platform. You can validate exports against the same contracts the server uses.

Object hand-off model

The objects below are the canonical building blocks. You will see each one named in the walkthroughs.

ObjectProduced byHoldsLives in
UploadedFileStructScan uploadFile metadata, storage pathStructScan
SourceProfileStructScan profilingfield_profiles, quality_summary, ai_insightsStructScan
ProjectMapCraft create / Push from StructScanLane, status, source & target schema refsMapCraft
SchemaMapCraft schema upload (or auto from profile)canonical_fields (JSON)MapCraft
Mapping / MappingFieldMapCraft canvas / table / auto-mapSource path → target path, status, confidenceMapCraft
TransformationRuleMapCraft rules editorNatural language → Python / SQL / JSONataMapCraft
LookupTableMapCraft lookupsKey column, value column, rowsMapCraft
VersionMapCraft save versionProject snapshot, change summaryMapCraft
DAGDocumentMapCraft DAG view (compile)Nodes, edges, metadata (the IR)FlowBridge
DAGRunFlowBridge trigger / scheduleStatus, trigger, records_processed, errorsFlowBridge
DeliveryAdapterFlowBridge DeliverAdapter type (SFTP/HTTP/FILE/WEBHOOK), configFlowBridge
PolicyFlowBridge Policy-as-CodeMask / tokenize / redact rules per fieldFlowBridge
PackageArtifactFlowBridge PackageLambda / Cloud Run / Cloud Function bundleFlowBridge
note

Two practical consequences of the hand-off model:

  1. You can start at any stage. If you already have a target schema and a source file, you can skip StructScan and create a MapCraft Project directly. If you already have a compiled DAG, you can schedule it in FlowBridge without opening MapCraft again.
  2. Each step is reproducible from its predecessor. Re-running StructScan on a refreshed file gives you a new SourceProfile, not an in-place edit. Re-compiling a MapCraft project gives you a new DAGDocument version. History is the default.

Status lifecycles at a glance


API surface at a glance

The product is a single UI, but it is backed by clearly-prefixed APIs. You do not need to know these to use DataChord — they are listed here so the glossary feels less magical.

Top-level API prefixes (click to expand)
PrefixWhat it powers
/api/v1/authSign-in, session, org context
/api/v1/structscanUpload, profile, raw preview, push-to-MapCraft
/api/v1/mapcraftProjects, schemas, mappings, rules, lookups, versions, export
/api/v1/executionDAG compile, trigger, runs, schedules, preview SQL
/api/v1/flowbridge/extract-loadWarehouse extract / load + CDC config
/api/v1/flowbridge/deliverDelivery adapters (SFTP / HTTP / FILE / WEBHOOK)
/api/v1/flowbridge/syncOAuth grants, sync-to-app targets
/api/v1/flowbridge/packageServerless build / publish
/api/v1/policyField-level masking / tokenizing / redacting
/api/v1/driftDrift events, fix proposals
/api/v1/activityUnified Dashboard activity feed

Where to go next

Open the walkthrough for the suite you want to start with. The three walkthroughs share a single sample dataset (customer_orders.csv) and read naturally end-to-end:

  1. StructScan walkthrough — upload the file, get a profile, push to MapCraft.
  2. MapCraft walkthrough — confirm mappings, add a lookup and a rule, compile the DAG.
  3. FlowBridge walkthrough — apply a policy, schedule it, deliver it, package it.