limit the values available to select based on the value of the dependent field
Optionalelement_reference
element_reference?:boolean
Deprecated
Use elementReference instead
OptionalelementReference
elementReference?:boolean
Indicates if the value of this field connotes the "element type"
Optionalformula
formula?:string
Formula script for a formula-type virtual field. Sets virtual=true and virtual_type='formula'. Mutually exclusive with dynamicValueDefinitions of type 'calculated_value', which uses virtual_type='script'.
Unique label for the column that appears on list headers and form fields
Optionalmandatory
mandatory?:boolean
Indicates whether the field must contain a value to save a record
OptionalmaxLength
maxLength?:string|number
Maximum length of the field value
Optionalplural
plural?:string
Plural form of the field name
Optionalprimary
primary?:boolean
Indicates the primary key for a table
OptionalprotectionPolicy
protectionPolicy?:"read"|"protected"
Controls edit/view access for other developers after the application is installed.
read: Others can see the script logic but not change it.
protected: Others cannot change this record.
Omit to allow other developers to customize this record.
Optionalread_only
read_only?:boolean
Deprecated
Use readOnly instead
OptionalreadOnly
readOnly?:boolean
Indicates whether you can edit the field value. Equivalent to
readOnlyOption: 'instance_configured'. Prefer readOnlyOption when you
need a non-default behavior such as 'display_read_only',
'client_script_modifiable', or 'strict_read_only'.
Specifies the read-only behavior for the field. Preferred over readOnly
because it is more expressive: in addition to the default 'instance_configured'
(equivalent to readOnly: true), it lets you choose 'display_read_only',
'client_script_modifiable', or 'strict_read_only'.
Optionalspell_check
spell_check?:boolean
Deprecated
Use spellCheck instead
OptionalspellCheck
spellCheck?:boolean
Enables spell check for this field
Optionaltable_reference
table_reference?:boolean
Deprecated
Use tableReference instead
OptionaltableReference
tableReference?:boolean
Indicates if the value of this field is a reference to another table in the schema
Optionaltext_index
text_index?:boolean
Deprecated
Use textIndex instead
OptionaltextIndex
textIndex?:boolean
Enables a natural language search on this field
Optionalunique
unique?:boolean
Creates a unique index on this field
OptionalvirtualType
virtualType?:"formula"|"script"
Specifies the type of virtual/calculated field. Derived automatically: 'formula' when formula is set, 'script' when dynamicValueDefinitions type is 'calculated_value'. Only set explicitly to override.
Set properties not directly supported by this API.