BRP API / Personen /
Features / dan-stap-definities-gezagsrelatie-expressief
Step definitions for specifying authority relationships
# language: en
@stap-documentatie
Feature: Step definitions for specifying authority relationships
This feature describes the Then steps for various authority rulings.
Background:
Given the person 'Gerda' with citizen service number '000000012'
And the person 'Aart' with citizen service number '000000024'
And the person 'Bert' has the following data
| burgerservicenummer (01.20) | geslachtsnaam (02.40) | geboortedatum (03.10) | geslachtsaanduiding (04.10) |
| 000000036 | Jansen | gisteren - 2 jaar | M |
And the person 'Jeanette' has the following data
| voornamen (02.10) | geslachtsnaam (02.40) | geslachtsaanduiding (04.10) |
| Jeanette | Sanders | V |
Rule: Then the authority over '{aanduiding minderjarige}' is joint parental authority with parent '{aanduiding ouder}' and parent '{aanduiding ouder}'
The order in which parents are named is arbitrary and not relevant
@info-api
Scenario: joint authority of two parents is expected
Given the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "GezamenlijkOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"volledigeNaam": "Jansen"
},
"leeftijd": 2
},
"ouders": [
{
"burgerservicenummer": "000000012",
"naam": {
"volledigeNaam": "Gerda"
}
},
{
"burgerservicenummer": "000000024",
"naam": {
"volledigeNaam": "Aart"
}
}
]
}
]
}
]
}
"""
Then the authority over 'Bert' is joint parental authority with parent 'Gerda' and parent 'Aart'
@data-api
Scenario: joint authority of two parents is expected
Given the person 'Bert' has the following data
| geboortedatum (03.10) |
| 20221201 |
And the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "GezamenlijkOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"geslachtsnaam": "Jansen"
},
"geslacht": {
"code": "M"
},
"geboorte": {
"datum": "20221201"
}
},
"ouders": [
{
"burgerservicenummer": "000000012",
"naam": {
"geslachtsnaam": "Gerda"
}
},
{
"burgerservicenummer": "000000024",
"naam": {
"geslachtsnaam": "Aart"
}
}
]
}
]
}
]
}
"""
Then the authority over 'Bert' is joint parental authority with parent 'Gerda' and parent 'Aart'
@gezag-api @nieuw
Scenario: joint authority of two parents is expected
Given the person 'Bert' has the following data
| geboortedatum (03.10) |
| 20221201 |
And the response body equals
"""
{
"personen": [
{
"burgerservicenummer": "000000036",
"gezag": [
{
"type": "GezamenlijkOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"geslachtsnaam": "Jansen"
},
"geslacht": {
"code": "M"
},
"geboorte": {
"datum": "20221201"
}
},
"ouders": [
{
"burgerservicenummer": "000000012",
"naam": {
"geslachtsnaam": "Gerda"
}
},
{
"burgerservicenummer": "000000024",
"naam": {
"geslachtsnaam": "Aart"
}
}
]
}
]
}
]
}
"""
Then the authority over 'Bert' is joint parental authority with parent 'Gerda' and parent 'Aart'
@deprecated @gezag-api
Scenario: joint parental authority of two parents is expected
Given the response body equals
"""
{
"personen": [
{
"burgerservicenummer": "000000036",
"gezag": [
{
"type": "TweehoofdigOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036"
},
"ouders": [
{
"burgerservicenummer": "000000012"
},
{
"burgerservicenummer": "000000024"
}
]
}
]
}
]
}
"""
Then the authority over 'Bert' is joint parental authority with parent 'Gerda' and parent 'Aart'
@info-api
Scenario: joint authority of two parents is expected and the parents supplied are in a different order from the parents returned
Given the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "GezamenlijkOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"volledigeNaam": "Jansen"
},
"leeftijd": 2
},
"ouders": [
{
"burgerservicenummer": "000000024",
"naam": {
"volledigeNaam": "Aart"
}
},
{
"burgerservicenummer": "000000012",
"naam": {
"volledigeNaam": "Gerda"
}
}
]
}
]
}
]
}
"""
Then the authority over 'Bert' is joint parental authority with parent 'Gerda' and parent 'Aart'
@data-api
Scenario: a parent without a BSN
Given the person 'Bert' has the following data
| geboortedatum (03.10) |
| 20221201 |
And the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "GezamenlijkOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"geslachtsnaam": "Jansen"
},
"geslacht": {
"code": "M"
},
"geboorte": {
"datum": "20221201"
}
},
"ouders": [
{
"burgerservicenummer": "000000024",
"naam": {
"geslachtsnaam": "Aart"
}
},
{
"naam": {
"voornamen": "Jeanette",
"geslachtsnaam": "Sanders"
},
"geslacht": {
"code": "V"
}
}
]
}
]
}
]
}
"""
Then the authority over 'Bert' is joint parental authority with parent 'Jeanette' and parent 'Aart'
@gezag-api @nieuw
Scenario: a parent without a BSN
Given the person 'Bert' has the following data
| geboortedatum (03.10) |
| 20221201 |
And the response body equals
"""
{
"personen": [
{
"burgerservicenummer": "000000036",
"gezag": [
{
"type": "GezamenlijkOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"geslachtsnaam": "Jansen"
},
"geslacht": {
"code": "M"
},
"geboorte": {
"datum": "20221201"
}
},
"ouders": [
{
"burgerservicenummer": "000000024",
"naam": {
"geslachtsnaam": "Aart"
}
},
{
"naam": {
"voornamen": "Jeanette",
"geslachtsnaam": "Sanders"
},
"geslacht": {
"code": "V"
}
}
]
}
]
}
]
}
"""
Then the authority over 'Bert' is joint parental authority with parent 'Jeanette' and parent 'Aart'
Rule: Then the authority over '{aanduiding minderjarige}' is sole parental authority with parent '{aanduiding ouder}'
@info-api
Scenario: sole parental authority is expected
Given the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "EenhoofdigOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"volledigeNaam": "Jansen"
},
"leeftijd": 2
},
"ouder": {
"burgerservicenummer": "000000012",
"naam": {
"volledigeNaam": "Gerda"
}
}
}
]
}
]
}
"""
Then the authority over 'Bert' is sole parental authority with parent 'Gerda'
Rule: Then the authority over '{aanduiding minderjarige}' is joint authority with parent '{aanduiding ouder}' and third party '{aanduiding derde}'
@info-api
Scenario: joint authority with a parent and a third party is expected
Given the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "GezamenlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"volledigeNaam": "Jansen"
},
"leeftijd": 2
},
"ouder": {
"burgerservicenummer": "000000012",
"naam": {
"volledigeNaam": "Gerda"
}
},
"derde": {
"type": "BekendeDerde",
"burgerservicenummer": "000000024",
"naam": {
"volledigeNaam": "Aart"
}
}
}
]
}
]
}
"""
Then the authority over 'Bert' is joint authority with parent 'Gerda' and third party 'Aart'
Rule: Then the authority over '{aanduiding minderjarige}' is joint authority with parent '{aanduiding ouder}' and an unknown third party
@info-api
Scenario: joint authority with a parent and an unknown third party is expected
Given the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "GezamenlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"volledigeNaam": "Jansen"
},
"leeftijd": 2
},
"ouder": {
"burgerservicenummer": "000000012",
"naam": {
"volledigeNaam": "Gerda"
}
},
"derde": {
"type": "OnbekendeDerde"
}
}
]
}
]
}
"""
Then the authority over 'Bert' is joint authority with parent 'Gerda' and an unknown third party
Rule: Then the authority over '{aanduiding minderjarige}' is guardianship
@info-api
Scenario: guardianship is expected
Given the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "Voogdij",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"volledigeNaam": "Jansen"
},
"leeftijd": 2
},
"derden": []
}
]
}
]
}
"""
Then the authority over 'Bert' is guardianship
Rule: Then the authority over '{aanduiding minderjarige}' is guardianship with third party '{aanduiding derde}'
@info-api
Scenario: guardianship with a known third party is expected
Given the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "Voogdij",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"volledigeNaam": "Jansen"
},
"leeftijd": 2
},
"derden": [
{
"type": "BekendeDerde",
"burgerservicenummer": "000000024",
"naam": {
"volledigeNaam": "Aart"
}
}
]
}
]
}
]
}
"""
Then the authority over 'Bert' is guardianship with third party 'Aart'
Rule: Then the authority over '{aanduiding minderjarige}' is temporarily no authority, with the explanation '{toelichting}'
@info-api
Scenario: temporarily no authority is expected
Given the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "TijdelijkGeenGezag",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"volledigeNaam": "Jansen"
},
"leeftijd": 2
},
"toelichting": "dit is de reden dat er tijdelijk geen gezag is."
}
]
}
]
}
"""
Then the authority over 'Bert' is temporarily no authority, with the explanation 'dit is de reden dat er tijdelijk geen gezag is.'
Rule: Then the authority over '{aanduiding minderjarige}' cannot be determined, with the explanation '{toelichting}'
@info-api
Scenario: gezag niet te bepalen is expected
Given the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "GezagNietTeBepalen",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"volledigeNaam": "Jansen"
},
"leeftijd": 2
},
"toelichting": "dit is de reden dat het gezag niet te bepalen is."
}
]
}
]
}
"""
Then the authority over 'Bert' cannot be determined, with the explanation 'dit is de reden dat het gezag niet te bepalen is.'
@info-api
Scenario: gezag niet te bepalen is expected with a colon in the explanation
Given the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "GezagNietTeBepalen",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"volledigeNaam": "Jansen"
},
"leeftijd": 2
},
"toelichting": "dit is de reden dat het gezag niet te bepalen is. Het gaat om de volgende gegevens: geboortedatum"
}
]
}
]
}
"""
Then the authority over 'Bert' cannot be determined, with the explanation 'dit is de reden dat het gezag niet te bepalen is. Het gaat om de volgende gegevens: geboortedatum'
Rule: Then '{aanduidingMinderjarige}' has no holder of authority
@info-api @data-api
Scenario: the person requested has no authority relationships
Given the response body equals
"""
{
"personen": [
{
"gezag": []
}
]
}
"""
Then 'Bert' has no holder of authority
@gezag-api
Scenario: the person requested has no authority relationships
Given the response body equals
"""
{
"personen": [
{
"burgerservicenummer": "000000036",
"gezag": []
}
]
}
"""
Then 'Bert' has no holder of authority
Rule: Then '{aanduidingMeerderjarige}' has no authority
@info-api @data-api
Scenario: the person requested has no authority relationships
Given the response body equals
"""
{
"personen": [
{
"gezag": []
}
]
}
"""
Then 'Bert' has no authority
@gezag-api
Scenario: the person requested has no authority relationships
Given the response body equals
"""
{
"personen": [
{
"burgerservicenummer": "000000036",
"gezag": []
}
]
}
"""
Then 'Bert' has no authority
Rule: Then '{aanduidingMeerderjarige}' has the following authority relationships And the authority over '{aanduidingMinderjarige}' is ...
That may be the minor, but also a parent or a third party.
@deprecated @gezag-api
Scenario: the authority of the <omschrijving> with joint parental authority is requested
Given the response body equals
"""
{
"personen": [
{
"burgerservicenummer": "<burgerservicenummer>",
"gezag": [
{
"type": "TweehoofdigOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036"
},
"ouders": [
{
"burgerservicenummer": "000000012"
},
{
"burgerservicenummer": "000000024"
}
]
}
]
}
]
}
"""
Then '<naam>' has the following authority relationships
* the authority over 'Bert' is joint parental authority with parent 'Gerda' and parent 'Aart'
Examples:
| naam | burgerservicenummer | omschrijving |
| Gerda | 000000012 | ouder 1 |
| Aart | 000000024 | ouder 2 |
| Bert | 000000036 | minderjarige |
@deprecated @gezag-api
Scenario: the authority of the <omschrijving> with joint authority is requested
Given the response body equals
"""
{
"personen": [
{
"burgerservicenummer": "<burgerservicenummer>",
"gezag": [
{
"type": "GezamenlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036"
},
"ouder": {
"burgerservicenummer": "000000012"
},
"derde": {
"type": "BekendeDerde",
"burgerservicenummer": "000000024"
}
}
]
}
]
}
"""
Then '<naam>' has the following authority relationships
* the authority over 'Bert' is joint authority with parent 'Gerda' and third party 'Aart'
Examples:
| naam | burgerservicenummer | omschrijving |
| Gerda | 000000012 | ouder |
| Aart | 000000024 | derde |
| Bert | 000000036 | minderjarige |
@deprecated @gezag-api
Scenario Outline: several authority relationships of one person
Given the person 'Ernie' with citizen service number '000000048'
And the person 'Ieniemienie' with citizen service number '000000061'
And the person 'Pino' with citizen service number '000000073'
And the person 'Tommy' with citizen service number '000000085'
And the person 'Kermit' with citizen service number '000000097'
Given the response body equals
"""
{
"personen": [
{
"burgerservicenummer": "<burgerservicenummer>",
"gezag": [
{
"type": "TweehoofdigOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036"
},
"ouders": [
{
"burgerservicenummer": "000000012"
},
{
"burgerservicenummer": "000000024"
}
]
},
{
"type": "EenhoofdigOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000048"
},
"ouder": {
"burgerservicenummer": "000000012"
}
},
{
"type": "GezamenlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000061"
},
"ouder": {
"burgerservicenummer": "000000012"
},
"derde": {
"type": "BekendeDerde",
"burgerservicenummer": "000000024"
}
},
{
"type": "GezamenlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000073"
},
"ouder": {
"burgerservicenummer": "000000012"
},
"derde": {
"type": "OnbekendeDerde"
}
},
{
"type": "Voogdij",
"minderjarige": {
"burgerservicenummer": "000000085"
},
"derden": []
},
{
"type": "Voogdij",
"minderjarige": {
"burgerservicenummer": "000000097"
},
"derden": [
{
"type": "BekendeDerde",
"burgerservicenummer": "000000024"
}
]
}
]
}
]
}
"""
Then '<naam>' has the following authority relationships
* the authority over 'Bert' is joint parental authority with parent 'Gerda' and parent 'Aart'
* the authority over 'Ernie' is sole parental authority with parent 'Gerda'
* the authority over 'Ieniemienie' is joint authority with parent 'Gerda' and third party 'Aart'
* the authority over 'Pino' is joint authority with parent 'Gerda' and an unknown third party
* the authority over 'Tommy' is guardianship
* the authority over 'Kermit' is guardianship with third party 'Aart'
Examples:
| naam | burgerservicenummer |
| Gerda | 000000012 |
| Aart | 000000024 |
@info-api
Scenario Outline: several authority relationships of one person
Given the person 'Ernie' has the following data
| burgerservicenummer (01.20) | geslachtsnaam (02.40) | geboortedatum (03.10) |
| 000000048 | Ernie | gisteren - 3 jaar |
And the person 'Ieniemienie' has the following data
| burgerservicenummer (01.20) | geslachtsnaam (02.40) | geboortedatum (03.10) |
| 000000061 | Ieniemienie | gisteren - 4 jaar |
And the person 'Pino' has the following data
| burgerservicenummer (01.20) | geslachtsnaam (02.40) | geboortedatum (03.10) |
| 000000073 | Pino | gisteren - 5 jaar |
And the person 'Tommy' has the following data
| burgerservicenummer (01.20) | geslachtsnaam (02.40) | geboortedatum (03.10) |
| 000000085 | Tommy | gisteren - 6 jaar |
And the person 'Kermit' has the following data
| burgerservicenummer (01.20) | geslachtsnaam (02.40) | geboortedatum (03.10) |
| 000000097 | Kermit | gisteren - 7 jaar |
Given the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "GezamenlijkOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"volledigeNaam": "Jansen"
},
"leeftijd": 2
},
"ouders": [
{
"burgerservicenummer": "000000012",
"naam": {
"volledigeNaam": "Gerda"
}
},
{
"burgerservicenummer": "000000024",
"naam": {
"volledigeNaam": "Aart"
}
}
]
},
{
"type": "EenhoofdigOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000048",
"naam": {
"volledigeNaam": "Ernie"
},
"leeftijd": 3
},
"ouder": {
"burgerservicenummer": "000000012",
"naam": {
"volledigeNaam": "Gerda"
}
}
},
{
"type": "GezamenlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000061",
"naam": {
"volledigeNaam": "Ieniemienie"
},
"leeftijd": 4
},
"ouder": {
"burgerservicenummer": "000000012",
"naam": {
"volledigeNaam": "Gerda"
}
},
"derde": {
"type": "BekendeDerde",
"burgerservicenummer": "000000024",
"naam": {
"volledigeNaam": "Aart"
}
}
},
{
"type": "GezamenlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000073",
"naam": {
"volledigeNaam": "Pino"
},
"leeftijd": 5
},
"ouder": {
"burgerservicenummer": "000000012",
"naam": {
"volledigeNaam": "Gerda"
}
},
"derde": {
"type": "OnbekendeDerde"
}
},
{
"type": "Voogdij",
"minderjarige": {
"burgerservicenummer": "000000085",
"naam": {
"volledigeNaam": "Tommy"
},
"leeftijd": 6
},
"derden": []
},
{
"type": "Voogdij",
"minderjarige": {
"burgerservicenummer": "000000097",
"naam": {
"volledigeNaam": "Kermit"
},
"leeftijd": 7
},
"derden": [
{
"type": "BekendeDerde",
"burgerservicenummer": "000000024",
"naam": {
"volledigeNaam": "Aart"
}
}
]
}
]
}
]
}
"""
Then '<naam>' has the following authority relationships
* the authority over 'Bert' is joint parental authority with parent 'Gerda' and parent 'Aart'
* the authority over 'Ernie' is sole parental authority with parent 'Gerda'
* the authority over 'Ieniemienie' is joint authority with parent 'Gerda' and third party 'Aart'
* the authority over 'Pino' is joint authority with parent 'Gerda' and an unknown third party
* the authority over 'Tommy' is guardianship
* the authority over 'Kermit' is guardianship with third party 'Aart'
Examples:
| naam | burgerservicenummer |
| Gerda | 000000012 |
| Aart | 000000024 |
Rule: Then the authority is under investigation
@info-api
Scenario: inOnderzoek is expected
Given the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "GezamenlijkOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"volledigeNaam": "Jansen"
},
"leeftijd": 2
},
"ouders": [
{
"burgerservicenummer": "000000012",
"naam": {
"volledigeNaam": "Gerda"
}
},
{
"burgerservicenummer": "000000024",
"naam": {
"volledigeNaam": "Aart"
}
}
],
"inOnderzoek": true
}
]
}
]
}
"""
Then the authority over 'Bert' is joint parental authority with parent 'Gerda' and parent 'Aart'
And the authority is under investigation
@data-api
Scenario: inOnderzoek is expected
Given the person 'Bert' has the following data
| geboortedatum (03.10) |
| 20221201 |
And the response body equals
"""
{
"personen": [
{
"gezag": [
{
"type": "GezamenlijkOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"geslachtsnaam": "Jansen"
},
"geslacht": {
"code": "M"
},
"geboorte": {
"datum": "20221201"
}
},
"ouders": [
{
"burgerservicenummer": "000000012",
"naam": {
"geslachtsnaam": "Gerda"
}
},
{
"burgerservicenummer": "000000024",
"naam": {
"geslachtsnaam": "Aart"
}
}
],
"inOnderzoek": true
}
]
}
]
}
"""
Then the authority over 'Bert' is joint parental authority with parent 'Gerda' and parent 'Aart'
And the authority is under investigation
@gezag-api @nieuw
Scenario: inOnderzoek is expected
Given the person 'Bert' has the following data
| geboortedatum (03.10) |
| 20221201 |
And the response body equals
"""
{
"personen": [
{
"burgerservicenummer": "000000036",
"gezag": [
{
"type": "GezamenlijkOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036",
"naam": {
"geslachtsnaam": "Jansen"
},
"geslacht": {
"code": "M"
},
"geboorte": {
"datum": "20221201"
}
},
"ouders": [
{
"burgerservicenummer": "000000012",
"naam": {
"geslachtsnaam": "Gerda"
}
},
{
"burgerservicenummer": "000000024",
"naam": {
"geslachtsnaam": "Aart"
}
}
],
"inOnderzoek": true
}
]
}
]
}
"""
Then the authority over 'Bert' is joint parental authority with parent 'Gerda' and parent 'Aart'
And the authority is under investigation
@deprecated @gezag-api
Scenario: inOnderzoek is expected
Given the response body equals
"""
{
"personen": [
{
"burgerservicenummer": "000000036",
"gezag": [
{
"type": "TweehoofdigOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036"
},
"ouders": [
{
"burgerservicenummer": "000000012"
},
{
"burgerservicenummer": "000000024"
}
],
"inOnderzoek": true
}
]
}
]
}
"""
Then the authority over 'Bert' is joint parental authority with parent 'Gerda' and parent 'Aart'
And the authority is under investigation
@deprecated @gezag-api
Scenario: requesting the authority of a person of full age where one of the authority relationships expects inOnderzoek
Given the person 'Ernie' with citizen service number '000000048'
Given the response body equals
"""
{
"personen": [
{
"burgerservicenummer": "000000048",
"gezag": [
{
"type": "TweehoofdigOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000036"
},
"ouders": [
{
"burgerservicenummer": "000000012"
},
{
"burgerservicenummer": "000000024"
}
],
"inOnderzoek": true
},
{
"type": "EenhoofdigOuderlijkGezag",
"minderjarige": {
"burgerservicenummer": "000000048"
},
"ouder": {
"burgerservicenummer": "000000012"
}
}
]
}
]
}
"""
Then 'Ernie' has the following authority relationships
* the authority over 'Bert' is joint parental authority with parent 'Gerda' and parent 'Aart'
And the authority is under investigation
* the authority over 'Ernie' is sole parental authority with parent 'Gerda'