Create a custom schema

Beta
POST
/api/custom-schemas/v1

Create custom schema with a set of typed keys. Schema keys can be referenced as inputs in user-configurable rules in the Rules Engine, and key-value pairs can be attached to claims via the Encounters API.

Request

This endpoint expects an object.
namestringRequired
fieldslist of objectsRequired
descriptionstringOptional

Response

This endpoint returns an object.
idUUID
namestring
fieldslist of objects
descriptionstringOptional

Errors