Members type :string Description Get the field type type :string Description Set the field type with validation Throws Error If type is not in the allowed types list