# ConditionType

> Enum in domain **Assets**

- HTML: [ConditionType.html](ConditionType.html)
- Raw SDL: [ConditionType.sdl](ConditionType.sdl)
- Covered by: [llms.txt](../llms.txt)

Condition types. A Condition defines which field value of the `Asset` is compared against a given value.
We currently support 4 different kinds of Conditions on `Assets`:
- **TAG**: Refers to a tag of the `Asset`.
- **METADATA_VALUE**: Refers to a value of a custom `MetadataField` of an `Asset`.
- **CUSTOM_METADATA_VALUE**: Refers to a value of a `CustomMetadata` of an `Asset`.
- **EXTERNAL_ID**: Refers to the `externalId` assigned to the `Asset`.
- **FILE_EXTENSION**: Refers to the file extension of an `Asset`.

## Values

- `METADATA_VALUE`
- `CUSTOM_METADATA_VALUE`
- `EXTERNAL_ID`
- `TAG`
- `FILE_EXTENSION`
