---
title: identifier
framework: vision
role: symbol
role_heading: Instance Property
path: vision/classificationobservation/identifier
---

# identifier

The classification label that identifies the type of observation.

## Declaration

```swift
let identifier: String
```

## Discussion

Discussion An example classification could be a string like ‘cat’ or ‘hotdog’. The model used for the classification defines the domain of strings that may result. Usually, these strings aren’t localized technical labels not meant for direct presentation to the user.

## See Also

### Inspecting an observation

- [RequestDescriptor](vision/requestdescriptor.md)
- [hasPrecisionRecallCurve](vision/classificationobservation/hasprecisionrecallcurve.md)
