<!--
{
  "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/ASImportableLinkedItem",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "s:22AuthenticationServices22ASImportableLinkedItemV"
  },
  "title" : "ASImportableLinkedItem"
}
-->

# ASImportableLinkedItem

A linked item for use in import and export.

```
struct ASImportableLinkedItem
```

## Overview

A linked item serves as a reference to an item, and contains no data of its own.

This type is a representation of `LinkedItem` as defined in the Credential Exchange Format (CXF) specification.
You can supply a JSON representation of a CXF `Item` 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 linked item

[`init(item: Data, account: Data?)`](/documentation/AuthenticationServices/ASImportableLinkedItem/init(item:account:))

Creates a linked item from the identifiers of an item and an account.

### Accessing linked item properties

[`var item: Data`](/documentation/AuthenticationServices/ASImportableLinkedItem/item)

The unique identifier of the item linked by this linked item.

[`var account: Data?`](/documentation/AuthenticationServices/ASImportableLinkedItem/account)

The unique identifier of the account, if any, to which the linked item belongs.

### Hashing

### Encoding and decoding

### Comparing instances

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)