---
title: ASImportableCollection
framework: authenticationservices
role: symbol
role_heading: Structure
path: authenticationservices/asimportablecollection
---

# ASImportableCollection

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

## Declaration

```swift
struct ASImportableCollection
```

## Overview

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 JSONDecoder and calling decode(_:from:).

## Topics

### Accessing collection properties

- [id](authenticationservices/asimportablecollection/id.md)
- [title](authenticationservices/asimportablecollection/title.md)
- [subtitle](authenticationservices/asimportablecollection/subtitle.md)
- [items](authenticationservices/asimportablecollection/items.md)
- [ASImportableLinkedItem](authenticationservices/asimportablelinkeditem.md)
- [subcollections](authenticationservices/asimportablecollection/subcollections.md)

### Initializers

- [init(id:created:lastModified:title:subtitle:items:subcollections:)](authenticationservices/asimportablecollection/init(id:created:lastmodified:title:subtitle:items:subcollections:).md)

### Instance Properties

- [created](authenticationservices/asimportablecollection/created.md)
- [lastModified](authenticationservices/asimportablecollection/lastmodified.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Accessing account properties

- [id](authenticationservices/asimportableaccount/id.md)
- [userName](authenticationservices/asimportableaccount/username.md)
- [email](authenticationservices/asimportableaccount/email.md)
- [fullName](authenticationservices/asimportableaccount/fullname.md)
- [collections](authenticationservices/asimportableaccount/collections.md)
- [items](authenticationservices/asimportableaccount/items.md)
- [ASImportableItem](authenticationservices/asimportableitem.md)
