---
title: "init(documentType:namespaces:issuerKeyIdentifiers:)"
framework: IdentityDocumentServices
role: symbol
role_heading: Initializer
platforms: [iOS 27.0+, iPadOS 27.0+, macOS 27.0+]
path: "identitydocumentservices/iso18013mobiledocumentrequest/documentrequest/init(documenttype:namespaces:issuerkeyidentifiers:)"
---

# init(documentType:namespaces:issuerKeyIdentifiers:)

Initialize a document request.

## Declaration

```swift
init(documentType: String, namespaces: [String : [String : ISO18013MobileDocumentRequest.ElementInfo]], issuerKeyIdentifiers: [Data])
```

## Parameters

- `documentType`: The document type being requested.
- `namespaces`: The namespaces in the document to request.
- `issuerKeyIdentifiers`: A list of X.509 authority key identifiers corresponding to the issuer certificates accepted by the relying party.
