<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/BarcodeObservation/CompositeType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "s:6Vision18BarcodeObservationV13CompositeTypeO"
  },
  "title" : "BarcodeObservation.CompositeType"
}
-->

# BarcodeObservation.CompositeType

Composite types for barcode requests.

```
enum CompositeType
```

## Topics

### Getting the composite types

[`case gs1TypeA`](/documentation/Vision/BarcodeObservation/CompositeType/gs1TypeA)

A type that represents trade items in bulk.

[`case gs1TypeB`](/documentation/Vision/BarcodeObservation/CompositeType/gs1TypeB)

A type that represents trade items by piece.

[`case gs1TypeC`](/documentation/Vision/BarcodeObservation/CompositeType/gs1TypeC)

A type that represents trade items in varying quantity.

[`case linked`](/documentation/Vision/BarcodeObservation/CompositeType/linked)

A type that represents a linked composite type.

## Relationships

### Conforms To

[`Decodable`](/documentation/Swift/Decodable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Encodable`](/documentation/Swift/Encodable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)