# IdDataResponse Structure Reference



## Scope and provenance

- Product: mobile
- Status: Imported reference snapshot. Import date is not a verification date or guarantee of current release support.
- SDK version: Not declared for this page. Versions in examples must not be assumed current.
- Environment: Page-specific. Confirm the environment host, credentials, and service configuration; do not infer them from another product.
- Source: https://documentation.idmission.com/identity/iOS-SDK-2/Structs/IdDataResponse.html
- Imported at: 2026-10-25T05:00:44.899Z
- Canonical page: https://docs.idmission.com/mobile/reference/ios/Structs/IdDataResponse
- Agent index: https://docs.idmission.com/llms.txt

---

<a id="iddataresponse"></a>

# IdDataResponse

```
public struct IdDataResponse : Codable
```

Child structure of `CustomerDataValidateIdResponse`, `CustomerEnrollDataResponse`, and `CustomerValidateIdFaceMatchDataResponse`.

<a id="/Properties"></a>

[]()

<a id="//apple_ref/swift/Section/Properties"></a>

[]()

[](https://docs.idmission.com/markdown/mobile/reference/ios/Structs/IdDataResponse.md#/Properties)

<a id="properties"></a>

### Properties

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV6idTypeSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idType"></a>

  `idType`

  This is extracted id type that is returned in the response.

  <a id="declaration"></a>

  #### Declaration

  Swift

  ```
  public var idType: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV7idStateSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idState"></a>

  `idState`

  This is 2 or 3 digit ISO state code. Either extracted from the barcode or as defined in the template.

  <a id="declaration-2"></a>

  #### Declaration

  Swift

  ```
  public var idState: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV9idCountrySSSgvp"></a>

  <a id="//apple_ref/swift/Property/idCountry"></a>

  `idCountry`

  This is the 3-digit ISO country code in which the identity document was issued. Either extracted from the barcode / MRZ or as defined in the template.

  <a id="declaration-3"></a>

  #### Declaration

  Swift

  ```
  public var idCountry: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV8idNumberSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idNumber"></a>

  `idNumber`

  ID number extracted from either barcode, MRZ, or front of the ID when MRZ / barcode are not present.

  <a id="declaration-4"></a>

  #### Declaration

  Swift

  ```
  public var idNumber: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV9idNumber1SSSgvp"></a>

  <a id="//apple_ref/swift/Property/idNumber1"></a>

  `idNumber1`

  ID number1 extracted from either barcode, MRZ, or front of the ID when MRZ / barcode are not present.

  <a id="declaration-5"></a>

  #### Declaration

  Swift

  ```
  public var idNumber1: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV9idNumber2SSSgvp"></a>

  <a id="//apple_ref/swift/Property/idNumber2"></a>

  `idNumber2`

  ID number2 extracted from either barcode, MRZ, or front of the ID when MRZ / barcode are not present.

  <a id="declaration-6"></a>

  #### Declaration

  Swift

  ```
  public var idNumber2: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV9idNumber3SSSgvp"></a>

  <a id="//apple_ref/swift/Property/idNumber3"></a>

  `idNumber3`

  ID number3 extracted from either barcode, MRZ, or front of the ID when MRZ / barcode are not present.

  <a id="declaration-7"></a>

  #### Declaration

  Swift

  ```
  public var idNumber3: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV9idNumber4SSSgvp"></a>

  <a id="//apple_ref/swift/Property/idNumber4"></a>

  `idNumber4`

  ID number4 extracted from either barcode, MRZ, or front of the ID when MRZ / barcode are not present.

  <a id="declaration-8"></a>

  #### Declaration

  Swift

  ```
  public var idNumber4: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV13idDateOfBirthSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idDateOfBirth"></a>

  `idDateOfBirth`

  Date of Birth extracted from either barcode, MRZ, or front of the ID when MRZ / barcode are not present. Date will be formatted as dd/mm/yyyy format if parsed correctly after extraction. (DD/MM/YYYY)

  <a id="declaration-9"></a>

  #### Declaration

  Swift

  ```
  public var idDateOfBirth: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV22idDateOfBirthFormattedSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idDateOfBirthFormatted"></a>

  `idDateOfBirthFormatted`

  Date of Birth extracted from either barcode, MRZ, or front of the ID when MRZ / barcode are not present. Date will be formatted as dd/mm/yyyy format if parsed correctly after extraction. (DD/MM/YYYY)

  <a id="declaration-10"></a>

  #### Declaration

  Swift

  ```
  public var idDateOfBirthFormatted: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV16idExpirationDateSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idExpirationDate"></a>

  `idExpirationDate`

  Expiration Date extracted from either barcode, MRZ, or front of the ID when MRZ / barcode are not present. Date will be formatted as dd/mm/yyyy format if parsed correctly after extraction. (DD/MM/YYYY)

  <a id="declaration-11"></a>

  #### Declaration

  Swift

  ```
  public var idExpirationDate: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV25idExpirationDateFormattedSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idExpirationDateFormatted"></a>

  `idExpirationDateFormatted`

  Expiration Date extracted from either barcode, MRZ, or front of the ID when MRZ / barcode are not present. Date will be formatted as dd/mm/yyyy format if parsed correctly after extraction. (DD/MM/YYYY)

  <a id="declaration-12"></a>

  #### Declaration

  Swift

  ```
  public var idExpirationDateFormatted: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV11idIssueDateSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idIssueDate"></a>

  `idIssueDate`

  Issue Date extracted from either barcode, MRZ, or front of the ID when MRZ/barcode are not present. Date will be formatted as dd/mm/yyyy format if parsed correctly after extraction. (DD/MM/YYYY)

  <a id="declaration-13"></a>

  #### Declaration

  Swift

  ```
  public var idIssueDate: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV14idIssueCountrySSSgvp"></a>

  <a id="//apple_ref/swift/Property/idIssueCountry"></a>

  `idIssueCountry`

  This is the 3-digit ISO country code in which the identity document was issued. Either extracted from the barcode / MRZ or as defined in the template

  <a id="declaration-14"></a>

  #### Declaration

  Swift

  ```
  public var idIssueCountry: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV12placeOfIssueSSSgvp"></a>

  <a id="//apple_ref/swift/Property/placeOfIssue"></a>

  `placeOfIssue`

  Place of issue extracted from the ID.

  <a id="declaration-15"></a>

  #### Declaration

  Swift

  ```
  public var placeOfIssue: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV03mrzE0SSSgvp"></a>

  <a id="//apple_ref/swift/Property/mrzData"></a>

  `mrzData`

  This is the raw data extracted from the MRZ.

  <a id="declaration-16"></a>

  #### Declaration

  Swift

  ```
  public var mrzData: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV12idImageFrontSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idImageFront"></a>

  `idImageFront`

  This image is the front image provided by the client. (Base64)

  <a id="declaration-17"></a>

  #### Declaration

  Swift

  ```
  public var idImageFront: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV11idImageBackSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idImageBack"></a>

  `idImageBack`

  This image is the back image provided by the client. (Base64)

  <a id="declaration-18"></a>

  #### Declaration

  Swift

  ```
  public var idImageBack: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV19idProcessImageFrontSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idProcessImageFront"></a>

  `idProcessImageFront`

  Processed images are copies of the image that have been cropped, deskewed, rotated after the server processes them for template matching. (Base64)

  <a id="declaration-19"></a>

  #### Declaration

  Swift

  ```
  public var idProcessImageFront: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV18idProcessImageBackSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idProcessImageBack"></a>

  `idProcessImageBack`

  Processed images are copies of the image that have been cropped, deskewed, rotated after the server processes them for template matching. (Base64)

  <a id="declaration-20"></a>

  #### Declaration

  Swift

  ```
  public var idProcessImageBack: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV14idNumberNonEngSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idNumberNonEng"></a>

  `idNumberNonEng`

  Non English idNumber, extracted from the front or back of the ID.

  <a id="declaration-21"></a>

  #### Declaration

  Swift

  ```
  public var idNumberNonEng: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV15idNumber2NonEngSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idNumber2NonEng"></a>

  `idNumber2NonEng`

  Non English idNumber2, extracted from the front or back of the ID.

  <a id="declaration-22"></a>

  #### Declaration

  Swift

  ```
  public var idNumber2NonEng: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV19idDateOfBirthNonEngSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idDateOfBirthNonEng"></a>

  `idDateOfBirthNonEng`

  Non English date of birth, extracted from the front or back of the ID.

  <a id="declaration-23"></a>

  #### Declaration

  Swift

  ```
  public var idDateOfBirthNonEng: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV22idExpirationDateNonEngSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idExpirationDateNonEng"></a>

  `idExpirationDateNonEng`

  Non English expiration date, extracted from the front or back of the ID.

  <a id="declaration-24"></a>

  #### Declaration

  Swift

  ```
  public var idExpirationDateNonEng: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV17idIssueDateNonEngSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idIssueDateNonEng"></a>

  `idIssueDateNonEng`

  Non English issue date, extracted from the front or back of the ID.

  <a id="declaration-25"></a>

  #### Declaration

  Swift

  ```
  public var idIssueDateNonEng: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV07barcodeE6ParsedSSSgvp"></a>

  <a id="//apple_ref/swift/Property/barcodeDataParsed"></a>

  `barcodeDataParsed`

  Flag for barcode data parsed.

  Possible values include:

  - Y: Barcode data was parsed from ID
  - N: Barcode data was not parsed from ID

  <a id="declaration-26"></a>

  #### Declaration

  Swift

  ```
  public var barcodeDataParsed: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV07photoOnD0SSSgvp"></a>

  <a id="//apple_ref/swift/Property/photoOnId"></a>

  `photoOnId`

  Whether or not a photo was found on the ID.

  <a id="declaration-27"></a>

  #### Declaration

  Swift

  ```
  public var photoOnId: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV9ageOver18SSSgvp"></a>

  <a id="//apple_ref/swift/Property/ageOver18"></a>

  `ageOver18`

  Flag which indicates if the individual’s age is over 18 as calculated from the extracted Date of Birth. (Y/N).

  <a id="declaration-28"></a>

  #### Declaration

  Swift

  ```
  public var ageOver18: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV11nationalitySSSgvp"></a>

  <a id="//apple_ref/swift/Property/nationality"></a>

  `nationality`

  Nationality of individual based on the MRZ data from the submitted ID, if available.

  <a id="declaration-29"></a>

  #### Declaration

  Swift

  ```
  public var nationality: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV12idNotExpiredSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idNotExpired"></a>

  `idNotExpired`

  Flag which indicates if the submitted ID is expired. (Y/N).

  <a id="declaration-30"></a>

  #### Declaration

  Swift

  ```
  public var idNotExpired: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV05validD6NumberSSSgvp"></a>

  <a id="//apple_ref/swift/Property/validIdNumber"></a>

  `validIdNumber`

  Flag which indicates if the ID number extracted from the ID is in a valid format. (Y/N).

  <a id="declaration-31"></a>

  #### Declaration

  Swift

  ```
  public var validIdNumber: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV20negativeDBMatchFoundSSSgvp"></a>

  <a id="//apple_ref/swift/Property/negativeDBMatchFound"></a>

  `negativeDBMatchFound`

  Flag which indicates if there is a biometric match against the negative database which will automatically decline the transaction. (Y/N).

  <a id="declaration-32"></a>

  #### Declaration

  Swift

  ```
  public var negativeDBMatchFound: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV15mrzErrorMessageSSSgvp"></a>

  <a id="//apple_ref/swift/Property/mrzErrorMessage"></a>

  `mrzErrorMessage`

  Will display any error if the MRZ extraction fails, this will be blank if there are no errors.

  <a id="declaration-33"></a>

  #### Declaration

  Swift

  ```
  public var mrzErrorMessage: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV12idNumber_docSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idNumber_doc"></a>

  `idNumber_doc`

  ID number extracted from front of the ID.

  <a id="declaration-34"></a>

  #### Declaration

  Swift

  ```
  public var idNumber_doc: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV13idNumber1_docSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idNumber1_doc"></a>

  `idNumber1_doc`

  ID number1 extracted from front of the ID.

  <a id="declaration-35"></a>

  #### Declaration

  Swift

  ```
  public var idNumber1_doc: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV13idNumber2_docSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idNumber2_doc"></a>

  `idNumber2_doc`

  ID number2 extracted from front of the ID.

  <a id="declaration-36"></a>

  #### Declaration

  Swift

  ```
  public var idNumber2_doc: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV13idNumber3_docSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idNumber3_doc"></a>

  `idNumber3_doc`

  ID number3 extracted from front of the ID.

  <a id="declaration-37"></a>

  #### Declaration

  Swift

  ```
  public var idNumber3_doc: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV13idNumber4_docSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idNumber4_doc"></a>

  `idNumber4_doc`

  ID number4 extracted from front of the ID.

  <a id="declaration-38"></a>

  #### Declaration

  Swift

  ```
  public var idNumber4_doc: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV20idExpirationDate_docSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idExpirationDate_doc"></a>

  `idExpirationDate_doc`

  Expiration Date extracted from front of the ID.

  <a id="declaration-39"></a>

  #### Declaration

  Swift

  ```
  public var idExpirationDate_doc: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV15idIssueDate_docSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idIssueDate_doc"></a>

  `idIssueDate_doc`

  Issue Date extracted from front of the ID.

  <a id="declaration-40"></a>

  #### Declaration

  Swift

  ```
  public var idIssueDate_doc: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV10professionSSSgvp"></a>

  <a id="//apple_ref/swift/Property/profession"></a>

  `profession`

  Profession extracted from front of the ID.

  <a id="declaration-41"></a>

  #### Declaration

  Swift

  ```
  public var profession: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV16professionNonEngSSSgvp"></a>

  <a id="//apple_ref/swift/Property/professionNonEng"></a>

  `professionNonEng`

  Non English profession, extracted from the front or back of the ID.

  <a id="declaration-42"></a>

  #### Declaration

  Swift

  ```
  public var professionNonEng: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV8employerSSSgvp"></a>

  <a id="//apple_ref/swift/Property/employer"></a>

  `employer`

  Employer extracted from the ID.

  <a id="declaration-43"></a>

  #### Declaration

  Swift

  ```
  public var employer: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV12vehicleClassSSSgvp"></a>

  <a id="//apple_ref/swift/Property/vehicleClass"></a>

  `vehicleClass`

  vehicleClass extracted from barcode of the ID.

  <a id="declaration-44"></a>

  #### Declaration

  Swift

  ```
  public var vehicleClass: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV11endorsementSSSgvp"></a>

  <a id="//apple_ref/swift/Property/endorsement"></a>

  `endorsement`

  endorsement extracted from barcode of the ID.

  <a id="declaration-45"></a>

  #### Declaration

  Swift

  ```
  public var endorsement: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV11licenseTypeSSSgvp"></a>

  <a id="//apple_ref/swift/Property/licenseType"></a>

  `licenseType`

  licenseType extracted from barcode of the ID.

  <a id="declaration-46"></a>

  #### Declaration

  Swift

  ```
  public var licenseType: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV11restrictionSSSgvp"></a>

  <a id="//apple_ref/swift/Property/restriction"></a>

  `restriction`

  restriction extracted from barcode of the ID.

  <a id="declaration-47"></a>

  #### Declaration

  Swift

  ```
  public var restriction: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV16registrationDateSSSgvp"></a>

  <a id="//apple_ref/swift/Property/registrationDate"></a>

  `registrationDate`

  registrationDate extracted from barcode of the ID.

  <a id="declaration-48"></a>

  #### Declaration

  Swift

  ```
  public var registrationDate: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV15replacementDateSSSgvp"></a>

  <a id="//apple_ref/swift/Property/replacementDate"></a>

  `replacementDate`

  replacementDate extracted from barcode of the ID.

  <a id="declaration-49"></a>

  #### Declaration

  Swift

  ```
  public var replacementDate: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV13maritalStatusSSSgvp"></a>

  <a id="//apple_ref/swift/Property/maritalStatus"></a>

  `maritalStatus`

  Marital Status extracted from the ID.

  <a id="declaration-50"></a>

  #### Declaration

  Swift

  ```
  public var maritalStatus: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV12placeOfBirthSSSgvp"></a>

  <a id="//apple_ref/swift/Property/placeOfBirth"></a>

  `placeOfBirth`

  Place of birth extracted from the ID.

  <a id="declaration-51"></a>

  #### Declaration

  Swift

  ```
  public var placeOfBirth: String?
  ```

- <a id="/s:17IDentitySDK_Swift14IdDataResponseV013signatureFromD0SSSgvp"></a>

  <a id="//apple_ref/swift/Property/signatureFromId"></a>

  `signatureFromId`

  Signature extracted from the ID.

  <a id="declaration-52"></a>

  #### Declaration

  Swift

  ```
  public var signatureFromId: String?
  ```

<a id="footer"></a>

© 2026 [IDmission](https://www.idmission.com/). All rights reserved. (Last updated: 2026-10-16)

Generated by [jazzy ♪♫ v0.15.3](https://github.com/realm/jazzy), a [Realm](https://realm.io/) project.
