Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Hiloop API key sent as an HTTP Bearer token.

Body

application/json
name
string

The schema name — unique per organization across versions. A new registration of an existing name creates the next version; an unseen name starts at version 1.

json_schema
string

The JSON Schema document (draft 2020-12) as a JSON string. Must be a JSON object.

description
string

An optional human-readable description for this version.

promoted_fields
object[]

The payload fields to promote into typed columns for this version. The caller sets field/type/identity/bloom; the server assigns each field's slot, keeping a previously promoted field's slot and type. Registration is rejected if a field re-declares a different type, or if the schema has bound more fields of a type, across all its versions, than the slot pool holds.

Response

OK

schema
object

The registered config version.