# MetadataStructureContext

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.MetadataStructureContext/

Struct for a metadata structure context.

- **Full name:** `MFiles.MetadataStructureContext`
- **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-context_type"></a>`context_type` | [`MetadataStructureItem`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.MetadataStructureItem/index.md) | 1 | The structure element type of the context. |
| <a id="f-guid"></a>`guid` | `string` | 2 | The GUID of the source. |
| <a id="f-id"></a>`id` | `int32` | 3 | The internal ID of the source. |
| <a id="f-type_id"></a>`type_id` | `int32` | 4 | The internal type ID of the source. Relevant for value list items only, otherwise ignored. |
| <a id="f-name"></a>`name` | `string` | 5 | The name of the source. |

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

## Used in fields

- [`MetadataStructureAnomaly.context`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.MetadataStructureAnomaly/index.md#f-context): The anomaly context.
