As a user of the API I do not want to receive unknown values within verblijfplaatsBuitenland
# language: en Feature: As a user of the API I do not want to receive unknown values within verblijfplaatsBuitenland so that I do not have to interpret it and do not have to write code to handle this situation Where specific values are reserved in the registry for an unknown value, these values are not passed on in the API. Where an element in the registry has a default value, meaning that the value is unknown, the corresponding field is not included in the response. Rule: date fields with value "00000000" are translated into DatumOnbekend Scenario: an entirely unknown date in verblijfplaats buitenland Given the person with citizen service number '000000383' has the following 'verblijfplaats' data | naam | waarde | | land adres buitenland (13.10) | 6014 | | datum aanvang adres buitenland (13.20) | 00000000 | When persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000383 | | fields | verblijfplaats.datumVan | Then the response has a person with only the following 'verblijfplaats' data | naam | waarde | | type | VerblijfplaatsBuitenland | | datumVan.type | DatumOnbekend | | datumVan.onbekend | true | | datumVan.langFormaat | onbekend |