authority relationship for a minor with a parent without a citizen service number
# language: en Feature: authority relationship for a minor with a parent without a citizen service number # rules or scenarios without an @[xxx]-api tag describe the functionality of the BRP API (personen, bewoning, verblijfplaatshistorie, reisdocumenten) # - this was chosen because a scenario is assumed by default to describe functionality of the BRP API # - a scenario without an @[xxx]-api tag is executable for all underlying microservices # - if a scenario describes the functionality of an underlying microservice (the informatie, data or gezag service), the scenario is tagged with @info-api, @data-api or @gezag-api respectively # - the rules and scenarios without tags, or with the @info-api tag, are published as documentation # - a rule or scenario that is deprecated is tagged with @deprecated. A deprecated rule or scenario is not published as documentation, but is still executed in order to validate the behaviour of the functionality being deprecated # - scenarios that are not executed are tagged with @skip-verify Background: Given address 'A1' | gemeentecode (92.10) | identificatiecode verblijfplaats (11.80) | | 0599 | 0599010000208579 | And the person 'Albers' with citizen service number '000000024' * is of full age And the person 'Jansen' without a citizen service number * is of full age And 'Albers' and 'Jansen' are married to each other with the following data | datum huwelijkssluiting/aangaan geregistreerd partnerschap (06.10) | | 20000401 | And the person 'Gerda' with citizen service number '000000012' * was born in the Netherlands And the person 'Gerda' has the following data | geboortedatum (03.10) | | vandaag - 2 jaar | And 'Gerda' was registered at address 'A1' 2 years ago today Rule: a minor born (or acknowledged) after 1-1-2023 with two parents, one of them without a citizen service number, is under joint parental authority @info-api @data-api Scenario Outline: a minor born after 1-1-2023 has two parents, one of them without a citizen service number Given person 'Gerda' * has 'Jansen' as parent 1 * has 'Albers' as parent 2 When 'gezag' is requested for persons searched by addressable object identification of 'A1' Then the authority over 'Gerda' is joint parental authority with parent 'Jansen' and parent 'Albers' Scenario: a minor born after 1-1-2023 has two parents, one of them without a citizen service number Given person 'Gerda' * has 'Jansen' as parent 1 * has 'Albers' as parent 2 When 'gezag' is requested for persons searched by citizen service number of 'Gerda' Then the authority over 'Gerda' is joint parental authority with parent 'Jansen' and parent 'Albers' @deprecated Rule: for a minor born (or acknowledged) after 1-1-2023 with two parents, one of them without a citizen service number, the authority cannot be determined @info-api @data-api Scenario: a minor born after 1-1-2023 has two parents, one of them without a citizen service number Given person 'Gerda' * has 'Jansen' as parent 1 * has 'Albers' as parent 2 When 'gezag' is requested for persons searched by addressable object identification of 'A1' Then the authority over 'Gerda' cannot be determined, with the explanation 'Van één of beide ouders is de burgerservicenummer niet bekend' Scenario: a minor born after 1-1-2023 has two parents, one of them without a citizen service number Given person 'Gerda' * has 'Jansen' as parent 1 * has 'Albers' as parent 2 When 'gezag' is requested for persons searched by citizen service number of 'Gerda' Then the authority over 'Gerda' cannot be determined, with the explanation 'Van één of beide ouders is de burgerservicenummer niet bekend' # TODO: add a scenario for joint authority with a parent without a citizen service number