Skip to content

CustomField

A model for defining custom fields on a record.

PropertyTypeRequiredDescription
namestringYesName of the custom field
typeCustomFieldTypeYesThe 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 field is:

{
"name": "programArea",
"type": "string",
"value": "Healthcare Innovation",
"description": "Primary focus area of the grant program",
"schema": "https://example.com/program-areas.json"
}

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

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

The JSON schema for this enum is:

$schema: https://json-schema.org/draft/2020-12/schema
$id: CustomFieldType.yaml
type: string
enum:
- string
- number
- boolean
- object
- array
description: The set of JSON schema types supported by a custom field