# ObjectTypeDecl

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjectTypeDecl/

Object type.

- **Full name:** `MFiles.ObjectTypeDecl`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-ot_admin"></a>`ot_admin` | [`ValueListAdmin`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ValueListAdmin/index.md) | 1 | Object type admin data. |
| <a id="f-icon"></a>`icon` | [`MetadataStructureResourceRef`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.MetadataStructureResourceRef/index.md) | 2 | The icon resource reference. |
| <a id="f-secrets"></a>`secrets` | repeated [`MetadataStructureSecretRef`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.MetadataStructureSecretRef/index.md) | 3 | Per-language translations. |
| <a id="f-translations"></a>`translations` | repeated [`ElementTranslationsDecl`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ElementTranslationsDecl/index.md) | 4 | Per-language translations. |
| <a id="f-unknown_json"></a>`unknown_json` | `string` | 5 | Opaque JSON object of schema-recognized, converter-unmapped properties for this element, keyed by original property name. |

<a id="used-in-fields"></a>

## Used in fields

- [`DeclarativeMetadataStructure.object_types`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DeclarativeMetadataStructure/index.md#f-object_types): An array of the ObjectTypeDecl structures.
- [`DeclarativeMetadataStructure.value_lists`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DeclarativeMetadataStructure/index.md#f-value_lists): An array of the ObjectTypeDecl structures.
