<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASImportableCollection",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "s:22AuthenticationServices22ASImportableCollectionV"
  },
  "title" : "ASImportableCollection"
}
-->

# ASImportableCollection

A collection of items and subcollections for use in import and export.

```
struct ASImportableCollection
```

## Overview

A collection represents a group of items such as a vault or folder.

This type is a representation of `Collection` as defined in the Credential Exchange Format (CXF) specification.
You can supply a JSON representation of a CXF `Collection` to initialize an instance of this struct by using a <doc://com.apple.documentation/documentation/Foundation/JSONDecoder> and calling <doc://com.apple.documentation/documentation/Foundation/JSONDecoder/decode(_:from:)>.

## Topics

### Creating a collection

### Accessing collection properties

[`id`](/documentation/AuthenticationServices/ASImportableCollection/id)

A unique identifier for the collection.

[`title`](/documentation/AuthenticationServices/ASImportableCollection/title)

The title of the collection.

[`subtitle`](/documentation/AuthenticationServices/ASImportableCollection/subtitle)

The subtitle of the collection, if any.

[`items`](/documentation/AuthenticationServices/ASImportableCollection/items)

The items that are part of the collection.

[`ASImportableLinkedItem`](/documentation/AuthenticationServices/ASImportableLinkedItem)

A linked item for use in import and export.

[`subcollections`](/documentation/AuthenticationServices/ASImportableCollection/subcollections)

Subcollections that are part of the collection.

### Hashing

### Encoding and decoding

### Comparing instances

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)