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": "eligibilityType",
"fieldType": "array",
"value": [
"nonprofit",
"academic"
],
"description": "Types of eligible organizations"
}
Version Changes
0.1.0
  • Added CustomField model

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
Version Changes
0.1.0
  • Added CustomFieldType enum