Replaces the contents of an existing draft. The draft must already exist —
create one with POST /v1/export-schemas/{id}/draft first.
Your API key. Get one from the dashboard at https://app.ticksupply.com/api-keys
Export schema ID
^sch_[a-f0-9]{32}$Body for replacing a schema's content. Used by atomic update (PUT /v1/export-schemas/{id}), and by draft create/update (POST / PUT /v1/export-schemas/{id}/draft). name and stream_category are immutable — they are set when the schema is first created and cannot be changed by these endpoints.
Replacement column definitions, in output order. Must contain at least one column. Capped at 100 columns by default; contact support to request a higher limit. Exceeding the limit returns 400 invalid_argument.
1Per-exchange unfold rules. Omit (or send null) to clear any previously configured unfold rules.
Per-exchange derived-field rules (same shape as on create). Omit (or send null) to clear any previously configured derive rules.
Draft updated.
Export schema with the content of its latest published version. Returned by create and get-by-id. Exports that reference the schema by name or ID snapshot the latest published version at the time the export is created.
Export schema ID
^sch_[a-f0-9]{32}$"sch_0194a1b2c3d4e5f6a7b8c9d0e1f2a3b4"
Schema name
"normalized"
Stream category this schema applies to
trade, orderbook, book_update, quote, kline, ticker, liquidation "trade"
true for schemas provided by Ticksupply (e.g., normalized, book_5, book_20). Built-ins are read-only and cannot be deleted. false for schemas you created.
false
Creation timestamp
Published version number reflected in this response. 1 for a newly created schema.
1
Whether an unpublished draft version exists for this schema.
false
Column definitions from the latest published version, in output order.
Per-exchange unfold rules. When an exchange packs multiple events into one JSON array, unfold expands each element into its own row. Keys are exchange codes, values specify the JSON path to the array. Omitted when no unfold rules are configured.
Per-exchange derived-field rules. Each exchange maps to a list of synthetic fields computed before column extraction. Omitted when no derive rules are configured.