object field has its own schema, and is very similar to an
array field. However there is always exactly one object, represented as an object property of the doc in the database (a sub-object).
object instead of
array when only dealing with a single object prevents unnecessary prefixing of field names and nesting docs in the form.
|name|| ||Sets the name of the field in the database|
|label|| ||Sets the label of the field that the user sees|
|required|| ||false||If true, the field is mandatory|
|contextual|| ||false||If true, it will prevent the field from appearing in a dialog box|
|type|| ||Specifies the field type|
|readOnly|| ||false||If true, prevents the user from editing the field|
|help|| ||Help text for the field that will appear with the field's label|
|htmlHelp|| ||Help text with support for HTML markup|
|schema|| ||The set of fields present for configuring the object|