For example:
DL in the Philippines does not have a date of issue and in the US, UK it does.
Right now I added a hack for Philippines.
We need to create a mapping of the document types to the list of the fields (that are the props in tradle.PhotoID) for the documents for different countries. We can use the US set of props as default templates. Mappings are gonna be created only for docs with a different set of fields. The file with a mapping could be in S3 and loaded at app start.
For example: DL in the Philippines does not have a date of issue and in the US, UK it does.
Right now I added a hack for Philippines.
We need to create a mapping of the document types to the list of the fields (that are the props in tradle.PhotoID) for the documents for different countries. We can use the US set of props as default templates. Mappings are gonna be created only for docs with a different set of fields. The file with a mapping could be in S3 and loaded at app start.