Trip Interface Description 1.2.2 Help

License

A question of type license can be used to ask the user for a license plate number. Depending on the country, we validate the license plate.

{ "id": 0, "key": "license_nl", "label": "License Plate Netherlands", "type": "license", "answers": [ { "id": 0, "nextQuestionId": 1, "options": { "countryCode": "nl" } } ] }

Answer Options

This chapter describes the option possibilities for an answer.

Name

Type

Description

Required

Default

countryCode

String

The country code of the license plate. This is used to validate the license plate (see examples below). The country code is a two-letter lowercase code, for example nl for the Netherlands.

At this moment we support the following country codes:

  • nl

  • de

  • be (no validation)

false

nl

Examples

Netherlands

License Netherlands
{ "id": 0, "key": "license_nl", "label": "License Plate Netherlands", "type": "license", "answers": [ { "id": 0, "nextQuestionId": 1, "options": { "countryCode": "nl" } } ] }

Germany

License Germany
{ "id": 0, "key": "license_de", "label": "License Plate Germany", "type": "license", "answers": [ { "id": 0, "nextQuestionId": 1, "options": { "countryCode": "de" } } ] }

Belgium

Container question with format option 1
{ "id": 0, "key": "license_be", "label": "License Plate Belgium", "type": "license", "answers": [ { "id": 0, "nextQuestionId": 1, "options": { "countryCode": "be" } } ] }
Last modified: 04 June 2025