---
url: "https://vueda.dev/v3/reference/api/rest/schemas/ModelInfoField.md"
title: "ModelInfoField"
---

# ModelInfoField

## Properties

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| label | `string` | yes |  | Displayed name of the field. |
| type_db | `string` | yes |  | Database field type, or null without a column. |
| type_model | `string` | yes |  | Django model field type, or null without a model field. |
| type_serializer | `string` | yes |  | Django REST framework serializer field class name. |
| many | `boolean` | yes |  | Whether the value is a list. |
| read_only | `boolean` | yes |  |  |
| required | `boolean` | yes |  | Whether a value is required on submit. |
| hidden | `boolean` | yes |  | Whether the serializer field sets `style={'hidden': True}`. |
| choices | `object[] \| boolean` | yes |  |  |
| app_label | `string` | no |  | If &quot;choices&quot; is true, this will be in the results, because you need it to get the choices with <a href="/v3/reference/api/rest/schemas/ModelInfoField.md#tag/vueda.info/operation/vueda.info_model_info_choices_list">List field choices</a>. |
| model | `string` | no |  | If &quot;choices&quot; is true, this will be in the results, because you need it to get the choices with <a href="/v3/reference/api/rest/schemas/ModelInfoField.md#tag/vueda.info/operation/vueda.info_model_info_choices_list">List field choices</a>. |
| list_default | `boolean` | no |  | Present when the serializer field sets `style={'list_default': ...}`. |
| pk | `boolean` | no |  | Present, and true, on the primary key field. |
| help_text | `string` | no |  |  |
| max_value | `number \| string` | no |  |  |
| min_value | `number \| string` | no |  |  |
| max_length | `integer` | no |  |  |
| min_length | `integer` | no |  |  |
| max_digits | `integer` | no |  |  |
| decimal_places | `integer` | no |  |  |
| display_choices | `ModelInfoChoice[]` | no |  | Labels for read-only display, from `field_display_choices`. |
