Skip to content

Commit

Permalink
Merge pull request #14 from niscy-eudiw/main
Browse files Browse the repository at this point in the history
new metadata keys
  • Loading branch information
stzouvaras authored Feb 7, 2024
2 parents 8414e87 + 08527e0 commit 01d5c6a
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,15 @@ import org.json.JSONObject
private fun getMandatoryFields(docType: DocumentTypeUi): List<String> = when (docType) {

DocumentTypeUi.PID -> listOf(
"age_over_18",
"family_name",
"given_name",
"birth_date",
"issuance_date",
"expiry_date",
"issuing_authority",
"document_number",
"administrative_number",
"issuing_country",
"issuing_jurisdiction",
"portrait",
"portrait_capture_date"
)

else -> emptyList()
Expand Down

0 comments on commit 01d5c6a

Please sign in to comment.