Open Register
Stable · v3.1 EN ▾

Create object

Create a new validated object in the given register, against the given schema. The body is validated against the schema's JSON Schema before the object is stored. Validation errors return a 422 with a JSON-Pointer path to each failing property.

POST /api/objects/{register}/{schema}

Path parameters

NameTypeDescription
registerstringSlug of the target register.required
schemastringSlug of the schema the object must validate against.required

Request body

Any valid JSON object matching the referenced schema. Unknown properties are rejected unless the schema sets additionalProperties: true.

Responses

StatusMeaningBody
201CreatedStored object, persistent ID, audit-log reference.
422Validation failedJSON-Pointer errors per property.
403ForbiddenCaller lacks write on the register.

Validation errors

422 responses follow RFC 9457 · Problem Details for HTTP APIs with a list of pointer-tagged errors under errors[]. Each entry carries instancePath, schemaPath, and a human message.

↩ Product pages