{
  "name": "An example name",
  "enabled": true,
  "required": true,
  "fieldType": "text",
  "validationRules": {
    "unique": true,
    "regex": "^0x",
    "validOptions": [
      {
        "label": "small"
      },
      {
        "label": "medium"
      },
      {
        "label": "large"
      }
    ],
    "checkboxText": "Agree to the terms and conditions"
  }
}
name
string
required
enabled
boolean
required
required
boolean
required
fieldType
enum<string>
required
Available options:
text,
checkbox,
select
validationRules
object

Optional validation rules for the custom field