Skip to content

CustomField

A model for defining custom fields on a record.

PropertyTypeRequiredDescription
namestringYesName of the custom field
fieldTypeCustomFieldTypeYesThe JSON schema type to use when de-serializing the value
schemaurlNoLink to the full JSON schema for this custom field
valueanyYesValue of the custom field
descriptionstringNoDescription of the custom field’s purpose

A JSON example of this model.

{
"name": "Sample string value",
"fieldType": "string",
"value": "Sample value",
"schema": "https://example.com",
"description": "Sample string value"
}

The set of JSON schema types supported by a custom field.

ValueDescription
stringText values
integerWhole numbers
numberNumeric values
booleanTrue/false values
objectStructured data objects
arrayLists of values

A JSON example of this model.

string