Skip to content

Codify document options #32

@hsyed

Description

@hsyed

We just heard from Onfido that the document check can return address information if the document contained it (driving license). This need to enabled in options as follows:

{
	"type": "express",
	"asynchronous": true,
	"reports": [{
		"name": "document",
		"options": [
        {
          "name": "document_address_information"
        }
      ]
	}]
}

Since a lot of the fields are type-safe (ish) is there a nice way to encode this ? At the moment the options field is map[string]interface{}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions