Computer Vision Mappings
The Automation Blocks mappings match the field names as returned by the OCR processor (keys) with the populated entities' attributes (values).
| Setting Name | Description |
|---|---|
| DocumentsMapping | Holds attribute mappings for various types of scanned documents. |
| Type | Scanned document type as defined in the list of Available document types. |
| Map | Key-value pairs that match the field name as returned by the OCR processor (the key) to the attribute name in the destination entity (the value). See OCR Processor Field Names and Populated entities for details. |
Examples
Copy
{
"DocumentsMapping":
[
{
"type": "IdRom",
"Map":
{
"PictureAttribute": "pictureOcr",
"LastName": "lastName",
"GivenName": "firstName",
"DocumentNumber": "IdCardSeries",
"StreetType": "streetType",
"PersonalNumber": "PIN",
"BirthDate": "dateOfBirth",
"PlaceOfBirthBody": "placeOfBirth",
"BirthCountryBody": "birthCountry",
"Address": "fullAddress",
"Sex": "gender",
"DistrictCode": "DistrictId",
"Nationality": "nationality",
"City": "CityId",
"Street": "StreetName",
"StreetNo": "StreetNo",
"Storey": "FloorNo",
"Stairway": "Stairway",
"ApartmentNo": "ApartmentNo",
"ApHouse": "BuildingNo",
"IssuedBy": "IdIssueInstitution",
"IssuedAt": "IdIssueDate",
"IssuedUntil": "IdExpirationDate",
"IssuingCountry": "issuingCountry"
}
}
]
}