- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/EnrichmentSource#SCHEMA_REPRESENTATION)

The enrichment source that an enrichment is from. For source that comes from external and does not have a log type, for example, `GEO_IP_SERVICE`, the `ExternalEnrichmentSource` field should be set.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "logType": string, "externalEnrichmentSource": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/ExternalEnrichmentSource`) // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| The source of an enrichment can be either a log type or an external enrichment source that does not have a log type. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `logType` | `string` Required. Raw LogType of an enrichment source. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{logType} |
| `externalEnrichmentSource` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/ExternalEnrichmentSource`)`` Required. Represents an enrichment source from external that does not have a log type. For example, GEO_IP_SERVICE for enrichment from the GeoIP service. |
| End of mutually exclusive fields. ||