{
    "openapi": "3.0.0",
    "info": {
        "title": "Scouts Online API",
        "description": "Get access to the data in Scouts Online",
        "version": "0.0.0"
    },
    "paths": {
        "/v1/token/info": {
            "get": {
                "operationId": "get_app_accesstokeninfo__invoke",
                "responses": {
                    "200": {
                        "description": "Inspect the layout of the access token.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiUser"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "403": {
                        "description": "Access denied"
                    }
                },
                "security": [
                    {
                        "bearer": []
                    },
                    {
                        "oauth2": []
                    }
                ]
            }
        },
        "/v1/accommodations": {
            "get": {
                "tags": [
                    "Accommodation"
                ],
                "operationId": "get_app_asset_accommodations__invoke",
                "parameters": [
                    {
                        "name": "organisationCategory[]",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/OrganisationCategory"
                            },
                            "default": []
                        }
                    },
                    {
                        "name": "excludeOrganisationCategories",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean",
                            "default": false
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returns all accommodations",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccommodationListDto"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "403": {
                        "description": "Access denied"
                    }
                },
                "security": [
                    {
                        "bearer": []
                    },
                    {
                        "oauth2": [
                            "api.accommodations.all"
                        ]
                    }
                ]
            }
        },
        "/groepenzoeker_dataset.xml": {
            "get": {
                "tags": [
                    "Legacy"
                ],
                "operationId": "get_app_legacy_groupfinder_groupfinder__invoke",
                "responses": {
                    "200": {
                        "description": "Returns information about all active organisations",
                        "content": {
                            "application/xml": {
                                "schema": {
                                    "$ref": "#/components/schemas/GroupfinderDto"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "The source file has not been generated yet"
                    }
                },
                "deprecated": true,
                "security": []
            }
        },
        "/ma/organisation/{organisationId}/members/api.{format}": {
            "get": {
                "tags": [
                    "Legacy"
                ],
                "operationId": "get_app_legacy_organisation_organisationmembers__invoke",
                "parameters": [
                    {
                        "name": "organisationId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "pattern": "[0-9]+"
                        }
                    },
                    {
                        "name": "format",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "pattern": "json|php|xml",
                            "enum": [
                                "json",
                                "php",
                                "xml"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returns all the members of the organisation",
                        "content": {
                            "text/plain": {
                                "schema": {
                                    "properties": {
                                        "result": {
                                            "$ref": "#/components/schemas/LegacyOrganisationMembersDto"
                                        }
                                    },
                                    "type": "object"
                                },
                                "example": "a:1:{s:6:\"result\";a:0:{}}"
                            },
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "result": {
                                            "$ref": "#/components/schemas/LegacyOrganisationMembersDto"
                                        }
                                    },
                                    "type": "object"
                                }
                            },
                            "application/xml": {
                                "schema": {
                                    "$ref": "#/components/schemas/result"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "403": {
                        "description": "Access denied"
                    },
                    "404": {
                        "description": "Organisation not found"
                    }
                },
                "deprecated": true
            }
        },
        "/ma/person/api.{format}": {
            "get": {
                "tags": [
                    "Legacy"
                ],
                "description": "* `a=scoutshop` returns some information about the person, this will be replaced by\n  [/person](#operations-Person-get_app_person_person__invoke).\n* `a=scoutshop_mail` returns `true` if the email address belongs to a person or guardian of a person with an\n  active function or membership.",
                "operationId": "get_app_legacy_person_person__invoke",
                "parameters": [
                    {
                        "name": "a",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "$ref": "#/components/schemas/LegacyPersonApiAction"
                        }
                    },
                    {
                        "name": "mail_address",
                        "in": "query",
                        "description": "Used when a=scoutshop_mail",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "nullable": true,
                            "default": null
                        }
                    },
                    {
                        "name": "format",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "pattern": "json|php|xml",
                            "enum": [
                                "json",
                                "php",
                                "xml"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returns information about the person"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "403": {
                        "description": "Access denied"
                    },
                    "404": {
                        "description": "Person not found"
                    }
                },
                "deprecated": true
            }
        },
        "/ma/person/{memberId}/api.{format}": {
            "get": {
                "tags": [
                    "Legacy"
                ],
                "description": "* `a=scoutshop` returns some information about the person, this will be replaced by\n  [/person](#operations-Person-get_app_person_person__invoke).\n* `a=scoutshop_mail` returns `true` if the email address belongs to a person or guardian of a person with an\n  active function or membership.",
                "operationId": "get_app_legacy_person_person__invoke_1",
                "parameters": [
                    {
                        "name": "a",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "$ref": "#/components/schemas/LegacyPersonApiAction"
                        }
                    },
                    {
                        "name": "mail_address",
                        "in": "query",
                        "description": "Used when a=scoutshop_mail",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "nullable": true,
                            "default": null
                        }
                    },
                    {
                        "name": "memberId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "pattern": "[0-9]+"
                        }
                    },
                    {
                        "name": "format",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "pattern": "json|php|xml",
                            "enum": [
                                "json",
                                "php",
                                "xml"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returns information about the person"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "403": {
                        "description": "Access denied"
                    },
                    "404": {
                        "description": "Person not found"
                    }
                },
                "deprecated": true
            }
        },
        "/ma/person/{memberId}/organisation/{organisationId}/functions/api.{format}": {
            "get": {
                "tags": [
                    "Legacy"
                ],
                "description": "This will be replaced by [/person/roleAssignments](#operations-Person-get_app_person_personroleassignment__invoke)",
                "operationId": "get_app_legacy_person_personorganisationfunctions__invoke",
                "parameters": [
                    {
                        "name": "returnUrl",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "nullable": true,
                            "default": null
                        }
                    },
                    {
                        "name": "memberId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "pattern": "[0-9]+"
                        }
                    },
                    {
                        "name": "organisationId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "pattern": "[0-9]+"
                        }
                    },
                    {
                        "name": "format",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "pattern": "json|php|xml",
                            "enum": [
                                "json",
                                "php",
                                "xml"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returns the active functions and memberships of the person in the organisation",
                        "content": {
                            "text/plain": {
                                "schema": {
                                    "properties": {
                                        "result": {
                                            "properties": {
                                                "string": {
                                                    "$ref": "#/components/schemas/LegacyRoleAssignmentDto"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                },
                                "example": "a:1:{s:6:\"result\";a:0:{}}"
                            },
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "result": {
                                            "properties": {
                                                "string": {
                                                    "$ref": "#/components/schemas/LegacyRoleAssignmentDto"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            },
                            "application/xml": {
                                "schema": {
                                    "properties": {
                                        "string": {
                                            "$ref": "#/components/schemas/result2"
                                        }
                                    },
                                    "type": "object",
                                    "xml": {
                                        "name": "result"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "403": {
                        "description": "Access denied"
                    },
                    "404": {
                        "description": "Person not found"
                    }
                },
                "deprecated": true
            }
        },
        "/ma/person/{memberId}/organisations/api.{format}": {
            "get": {
                "tags": [
                    "Legacy"
                ],
                "description": "This will be replaced by [/person/roleAssignments](#operations-Person-get_app_person_personroleassignment__invoke)",
                "operationId": "get_app_legacy_person_personorganisations__invoke",
                "parameters": [
                    {
                        "name": "returnUrl",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "nullable": true,
                            "default": null
                        }
                    },
                    {
                        "name": "memberId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "pattern": "[0-9]+"
                        }
                    },
                    {
                        "name": "format",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "pattern": "json|php|xml",
                            "enum": [
                                "json",
                                "php",
                                "xml"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returns the organisations in which the person has active functions or memberships",
                        "content": {
                            "text/plain": {
                                "schema": {
                                    "properties": {
                                        "result": {
                                            "properties": {
                                                "string": {
                                                    "$ref": "#/components/schemas/LegacyPersonOrganisationDto"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                },
                                "example": "a:1:{s:6:\"result\";a:0:{}}"
                            },
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "result": {
                                            "properties": {
                                                "string": {
                                                    "$ref": "#/components/schemas/LegacyPersonOrganisationDto"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            },
                            "application/xml": {
                                "schema": {
                                    "properties": {
                                        "string": {
                                            "$ref": "#/components/schemas/result3"
                                        }
                                    },
                                    "type": "object",
                                    "xml": {
                                        "name": "result"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "403": {
                        "description": "Access denied"
                    },
                    "404": {
                        "description": "Person not found"
                    }
                },
                "deprecated": true
            }
        },
        "/v1/organisations": {
            "get": {
                "tags": [
                    "Organization"
                ],
                "operationId": "get_app_organisation_allorganisations__invoke",
                "parameters": [
                    {
                        "name": "organisationCategory[]",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/OrganisationCategory"
                            },
                            "default": []
                        }
                    },
                    {
                        "name": "onlyActive",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean",
                            "default": true
                        }
                    },
                    {
                        "name": "excludeOrganisationCategories",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean",
                            "default": false
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returns all organisations",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/OrganisationListDto"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "403": {
                        "description": "Access denied"
                    }
                },
                "security": [
                    {
                        "bearer": []
                    },
                    {
                        "oauth2": [
                            "api.organisations",
                            "api.all_organisations"
                        ]
                    }
                ]
            }
        },
        "/v1/organisation": {
            "get": {
                "tags": [
                    "Organization"
                ],
                "description": "Use exactly one of the organisation filters (`organisationAccountId` or`organisationNumber`) or the\norganisation unit filters (`organisationUnitId` or `organisationUnitNumber`).",
                "operationId": "get_app_organisation_organisation__invoke",
                "parameters": [
                    {
                        "name": "organisationAccountId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/SalesforceId"
                        },
                        "examples": {
                            "long": {
                                "summary": "Long ID (eg. 001QI00000YfoDPYAZ)"
                            },
                            "short": {
                                "summary": "Short ID (eg. 001QI00000YfoDP)"
                            }
                        }
                    },
                    {
                        "name": "organisationNumber",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "organisationUnitId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/SalesforceId"
                        },
                        "examples": {
                            "long": {
                                "summary": "Long ID (eg. 001QI00000YfoDPYAZ)"
                            },
                            "short": {
                                "summary": "Short ID (eg. 001QI00000YfoDP)"
                            }
                        }
                    },
                    {
                        "name": "organisationUnitNumber",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Return an organisation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/OrganisationDto"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "403": {
                        "description": "Access denied"
                    },
                    "404": {
                        "description": "Organisation not found"
                    }
                },
                "security": [
                    {
                        "bearer": []
                    },
                    {
                        "oauth2": [
                            "api.organisations"
                        ]
                    }
                ]
            }
        },
        "/v1/organisation/roleAssignments": {
            "get": {
                "tags": [
                    "Organization"
                ],
                "description": "Use exactly one of the organisation filters (`organisationAccountId` or`organisationNumber`) or the\norganisation unit filters (`organisationUnitId` or `organisationUnitNumber`).",
                "operationId": "get_app_organisation_organisationroleassignment__invoke",
                "parameters": [
                    {
                        "name": "organisationAccountId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/SalesforceId"
                        },
                        "examples": {
                            "long": {
                                "summary": "Long ID (eg. 001QI00000YfoDPYAZ)"
                            },
                            "short": {
                                "summary": "Short ID (eg. 001QI00000YfoDP)"
                            }
                        }
                    },
                    {
                        "name": "organisationNumber",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "organisationUnitId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/SalesforceId"
                        },
                        "examples": {
                            "long": {
                                "summary": "Long ID (eg. 001QI00000YfoDPYAZ)"
                            },
                            "short": {
                                "summary": "Short ID (eg. 001QI00000YfoDP)"
                            }
                        }
                    },
                    {
                        "name": "organisationUnitNumber",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "collapse",
                        "in": "query",
                        "description": "When `true`, this endpoint returns a [`OrganisationRoleAssignmentsDto`](#model-RoleAssignmentsDto),\notherwise it returns a [`OrganisationRoleAssignmentListDto`](#model-RoleAssignmentListDto).",
                        "required": false,
                        "schema": {
                            "type": "boolean",
                            "default": true
                        }
                    },
                    {
                        "name": "includeWaitingLists",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean",
                            "default": false
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returns the role assignments of the organisation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "oneOf": [
                                        {
                                            "$ref": "#/components/schemas/RoleAssignmentsDto"
                                        },
                                        {
                                            "$ref": "#/components/schemas/RoleAssignmentListDto"
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "403": {
                        "description": "Access denied"
                    },
                    "404": {
                        "description": "Organisation not found"
                    }
                },
                "security": [
                    {
                        "bearer": []
                    },
                    {
                        "oauth2": [
                            "api.organisation_members"
                        ]
                    }
                ]
            }
        },
        "/v1/person": {
            "get": {
                "tags": [
                    "Person"
                ],
                "description": "Use exactly one of the person filters (`memberNumber`, `personNumber`, `personAccountId`, `personContactId`\nor `personUserId`), one or none of the organisation filters (`organisationAccountId` or\n`organisationNumber`) and/or one or more of the organisation unit filters (`organisationUnitId` or\n`organisationUnitNumber`).",
                "operationId": "get_app_person_person__invoke",
                "parameters": [
                    {
                        "name": "memberNumber",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9]+(-g[12])?$"
                        }
                    },
                    {
                        "name": "personNumber",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "personAccountId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/SalesforceId"
                        },
                        "examples": {
                            "long": {
                                "summary": "Long ID (eg. 001QI00000YfoDPYAZ)"
                            },
                            "short": {
                                "summary": "Short ID (eg. 001QI00000YfoDP)"
                            }
                        }
                    },
                    {
                        "name": "personContactId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/SalesforceId"
                        },
                        "examples": {
                            "long": {
                                "summary": "Long ID (eg. 001QI00000YfoDPYAZ)"
                            },
                            "short": {
                                "summary": "Short ID (eg. 001QI00000YfoDP)"
                            }
                        }
                    },
                    {
                        "name": "personUserId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organisationAccountId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/SalesforceId"
                        },
                        "examples": {
                            "long": {
                                "summary": "Long ID (eg. 001QI00000YfoDPYAZ)"
                            },
                            "short": {
                                "summary": "Short ID (eg. 001QI00000YfoDP)"
                            }
                        }
                    },
                    {
                        "name": "organisationNumber",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "organisationUnitId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/SalesforceId"
                        },
                        "examples": {
                            "long": {
                                "summary": "Long ID (eg. 001QI00000YfoDPYAZ)"
                            },
                            "short": {
                                "summary": "Short ID (eg. 001QI00000YfoDP)"
                            }
                        }
                    },
                    {
                        "name": "organisationUnitNumber",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returns the basic data of the person",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PersonDto"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "403": {
                        "description": "Access denied"
                    },
                    "404": {
                        "description": "Person not found"
                    }
                },
                "security": [
                    {
                        "bearer": []
                    },
                    {
                        "oauth2": [
                            "api.person",
                            "api.user"
                        ]
                    }
                ]
            }
        },
        "/v1/person/roleAssignments": {
            "get": {
                "tags": [
                    "Person"
                ],
                "description": "Use exactly one of the person filters (`memberNumber`, `personNumber`, `personAccountId`, `personContactId`\nor `personUserId`), one or none of the organisation filters (`organisationAccountId` or\n`organisationNumber`) and/or one or more of the organisation unit filters (`organisationUnitId` or\n`organisationUnitNumber`).",
                "operationId": "get_app_person_personroleassignment__invoke",
                "parameters": [
                    {
                        "name": "memberNumber",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9]+(-g[12])?$"
                        }
                    },
                    {
                        "name": "personNumber",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "personAccountId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/SalesforceId"
                        },
                        "examples": {
                            "long": {
                                "summary": "Long ID (eg. 001QI00000YfoDPYAZ)"
                            },
                            "short": {
                                "summary": "Short ID (eg. 001QI00000YfoDP)"
                            }
                        }
                    },
                    {
                        "name": "personContactId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/SalesforceId"
                        },
                        "examples": {
                            "long": {
                                "summary": "Long ID (eg. 001QI00000YfoDPYAZ)"
                            },
                            "short": {
                                "summary": "Short ID (eg. 001QI00000YfoDP)"
                            }
                        }
                    },
                    {
                        "name": "personUserId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organisationAccountId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/SalesforceId"
                        },
                        "examples": {
                            "long": {
                                "summary": "Long ID (eg. 001QI00000YfoDPYAZ)"
                            },
                            "short": {
                                "summary": "Short ID (eg. 001QI00000YfoDP)"
                            }
                        }
                    },
                    {
                        "name": "organisationNumber",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "organisationUnitId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/SalesforceId"
                        },
                        "examples": {
                            "long": {
                                "summary": "Long ID (eg. 001QI00000YfoDPYAZ)"
                            },
                            "short": {
                                "summary": "Short ID (eg. 001QI00000YfoDP)"
                            }
                        }
                    },
                    {
                        "name": "organisationUnitNumber",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "collapse",
                        "in": "query",
                        "description": "When `true`, this endpoint returns a [`OrganisationRoleAssignmentsDto`](#model-RoleAssignmentsDto),\notherwise it returns a [`OrganisationRoleAssignmentListDto`](#model-RoleAssignmentListDto).",
                        "required": false,
                        "schema": {
                            "type": "boolean",
                            "default": true
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returns the role assignments of the person",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "oneOf": [
                                        {
                                            "$ref": "#/components/schemas/RoleAssignmentsDto"
                                        },
                                        {
                                            "$ref": "#/components/schemas/RoleAssignmentListDto"
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "403": {
                        "description": "Access denied"
                    },
                    "404": {
                        "description": "Person not found"
                    }
                },
                "security": [
                    {
                        "bearer": []
                    },
                    {
                        "oauth2": [
                            "api.person",
                            "api.user"
                        ]
                    }
                ]
            }
        },
        "/v1": {
            "get": {
                "operationId": "get_version_index",
                "responses": {
                    "200": {
                        "description": "Application",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApplicationDto"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearer": []
                    },
                    {
                        "oauth2": []
                    }
                ]
            }
        }
    },
    "components": {
        "schemas": {
            "OrganisationOrOrganisationUnitQueryContext": {
                "type": "object"
            },
            "OrganisationQueryContext": {
                "type": "object"
            },
            "PersonQueryContext": {
                "type": "object"
            },
            "Scope": {
                "type": "string",
                "enum": [
                    "api",
                    "api.accommodations.all",
                    "api.organisations",
                    "api.organisation_members",
                    "api.all_organisations",
                    "api.person",
                    "api.user",
                    "legacy_api",
                    "legacy_api.organisation_members",
                    "legacy_api.public",
                    "legacy_api.scoutshop",
                    "legacy_api.membership_administration_actions",
                    "legacy_api.membership_ldap_retrieval",
                    "legacy_api.import_sol_forms",
                    "legacy_api.external_mail",
                    "legacy_api.soap",
                    "legacy_api.hit"
                ]
            },
            "ApiUser": {
                "required": [
                    "roles",
                    "identifier",
                    "userIdentifier"
                ],
                "properties": {
                    "roles": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "identifier": {
                        "type": "string"
                    },
                    "scopes": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Scope"
                        },
                        "example": [
                            "api.person",
                            "api.organisations"
                        ],
                        "default": []
                    },
                    "organisationIds": {
                        "type": "array",
                        "items": {
                            "type": "int"
                        },
                        "example": [
                            123,
                            123456
                        ],
                        "default": []
                    },
                    "allowedNetworks": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "example": [
                            "192.168.1.1",
                            "10.1.3.0/24"
                        ],
                        "default": []
                    },
                    "userIdentifier": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "OrganisationCategory": {
                "type": "string",
                "enum": [
                    "lokale groep",
                    "plusscoutskring",
                    "muziekgroep",
                    "bijzondere organisatie",
                    "regio",
                    "admiraliteit",
                    "steunpunt",
                    "kampeerveld",
                    "scoutshop",
                    "museum",
                    "bovenregionale activiteit",
                    "los SN-onderdeel",
                    "landelijk onderdeel",
                    "labelterrein",
                    "landelijk trainingsonderdeel",
                    "landelijke scoutshop",
                    "landelijke admiraliteit",
                    "landelijk project",
                    "landelijke projectorganisatie",
                    "landelijk internetteam",
                    "landelijke administratie",
                    "niet SN-organisatie/relatie",
                    "niet SN-accommodatie",
                    "district (vervalt miv 1-1-2001",
                    "gewest (vervalt miv 1-1-2001)"
                ]
            },
            "SalesforceId": {
                "type": "string",
                "pattern": "^[a-zA-Z0-9]{15}(?:[A-Z0-5]{3})?$"
            },
            "AddressDto": {
                "properties": {
                    "street": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "houseNumber": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "houseNumberAddition": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "zipcode": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "city": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "country": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    }
                },
                "type": "object"
            },
            "Ideology": {
                "type": "string",
                "enum": [
                    "Open",
                    "Christian",
                    "Salvation Army",
                    "Seventh Day Adventist",
                    "Muslim",
                    "Other"
                ]
            },
            "OrganisationDto": {
                "required": [
                    "id",
                    "organisationNumber",
                    "name",
                    "isActive"
                ],
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/SalesforceId"
                    },
                    "organisationNumber": {
                        "type": "string",
                        "pattern": "^[0-9]{6}$"
                    },
                    "name": {
                        "type": "string"
                    },
                    "isActive": {
                        "type": "boolean"
                    },
                    "foundingDate": {
                        "type": "string",
                        "format": "date",
                        "nullable": true,
                        "default": null
                    },
                    "dissolveDate": {
                        "type": "string",
                        "format": "date",
                        "nullable": true,
                        "default": null
                    },
                    "address": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/AddressDto"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "city": {
                        "type": "string",
                        "nullable": true,
                        "deprecated": true,
                        "default": null
                    },
                    "category": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/OrganisationCategory"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "ideology": {
                        "$ref": "#/components/schemas/Ideology"
                    },
                    "email": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "phone": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "website": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "mainLocationId": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/SalesforceId"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "parent1Id": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/SalesforceId"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "parent2Id": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/SalesforceId"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    }
                },
                "type": "object"
            },
            "Visibility": {
                "type": "string",
                "enum": [
                    "External",
                    "Internal",
                    "Not Shared"
                ]
            },
            "AssetStatus": {
                "type": "string",
                "enum": [
                    "Active",
                    "Inactive"
                ]
            },
            "LocationDto": {
                "required": [
                    "id",
                    "organisation",
                    "name",
                    "visibility",
                    "assetNumber"
                ],
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/SalesforceId"
                    },
                    "organisation": {
                        "$ref": "#/components/schemas/OrganisationDto"
                    },
                    "name": {
                        "type": "string"
                    },
                    "visibility": {
                        "$ref": "#/components/schemas/Visibility"
                    },
                    "assetNumber": {
                        "type": "integer"
                    },
                    "legacyId": {
                        "description": "The location ID in SOL1, will be removed in a future release.",
                        "type": "integer",
                        "nullable": true,
                        "deprecated": true,
                        "default": null
                    },
                    "status": {
                        "$ref": "#/components/schemas/AssetStatus"
                    },
                    "street": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "city": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "zipcode": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "state": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "country": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "addressDescription": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "latitude": {
                        "type": "number",
                        "format": "float",
                        "nullable": true,
                        "default": null
                    },
                    "longitude": {
                        "type": "number",
                        "format": "float",
                        "nullable": true,
                        "default": null
                    },
                    "description": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "website": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "email": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "phone": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "numberOfBuildings": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "numberOfCampingFields": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "numberOfPlayingFields": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "maximumPersons": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "staffPresent": {
                        "type": "boolean",
                        "default": false
                    },
                    "transitPersonsAllowed": {
                        "type": "boolean",
                        "default": false
                    },
                    "scoutingFamiliesAllowed": {
                        "type": "boolean",
                        "default": false
                    },
                    "nonScoutsAllowed": {
                        "type": "boolean",
                        "default": false
                    },
                    "distanceToBusstop": {
                        "type": "number",
                        "format": "float",
                        "nullable": true,
                        "default": null
                    },
                    "distanceToTrainstation": {
                        "type": "number",
                        "format": "float",
                        "nullable": true,
                        "default": null
                    },
                    "distanceToShops": {
                        "type": "number",
                        "format": "float",
                        "nullable": true,
                        "default": null
                    },
                    "distanceToSwimmingPool": {
                        "type": "number",
                        "format": "float",
                        "nullable": true,
                        "default": null
                    },
                    "agriculturalEnvironment": {
                        "type": "boolean",
                        "default": false
                    },
                    "woodedEnvironment": {
                        "type": "boolean",
                        "default": false
                    },
                    "surfaceArea": {
                        "type": "number",
                        "format": "float",
                        "nullable": true,
                        "default": null
                    },
                    "nearBuildings": {
                        "type": "boolean",
                        "default": false
                    },
                    "nearWaterway": {
                        "type": "boolean",
                        "default": false
                    },
                    "draft": {
                        "type": "number",
                        "format": "float",
                        "nullable": true,
                        "default": null
                    },
                    "hasInternet": {
                        "type": "boolean",
                        "default": false
                    },
                    "hasCampingMaterialsAvailable": {
                        "type": "boolean",
                        "default": false
                    },
                    "hasPioneeringWood": {
                        "type": "boolean",
                        "default": false
                    },
                    "leavingTrashAllowed": {
                        "type": "boolean",
                        "default": false
                    },
                    "carsAllowed": {
                        "type": "boolean",
                        "default": false
                    },
                    "campfireAllowed": {
                        "type": "boolean",
                        "default": false
                    },
                    "cookingOnCampfireAllowed": {
                        "type": "boolean",
                        "default": false
                    },
                    "latrineAllowed": {
                        "type": "boolean",
                        "default": false
                    },
                    "numberOfShowers": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "numberOfToilets": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "sanitaryFacilitiesAccessibleForDisabled": {
                        "type": "boolean",
                        "default": false
                    }
                },
                "type": "object"
            },
            "AccommodationType": {
                "type": "string",
                "enum": [
                    "Field",
                    "Building"
                ]
            },
            "AccommodationDto": {
                "required": [
                    "id",
                    "location",
                    "name",
                    "type",
                    "visibility",
                    "assetNumber"
                ],
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/SalesforceId"
                    },
                    "location": {
                        "$ref": "#/components/schemas/LocationDto"
                    },
                    "name": {
                        "type": "string"
                    },
                    "type": {
                        "$ref": "#/components/schemas/AccommodationType"
                    },
                    "visibility": {
                        "$ref": "#/components/schemas/Visibility"
                    },
                    "assetNumber": {
                        "type": "integer"
                    },
                    "legacyId": {
                        "description": "The location ID in SOL1, will be removed in a future release.",
                        "type": "integer",
                        "nullable": true,
                        "deprecated": true,
                        "default": null
                    },
                    "status": {
                        "$ref": "#/components/schemas/AssetStatus"
                    },
                    "description": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "minimumPersons": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "maximumPersons": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "numberOfBeds": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "numberOfRooms": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "hasShelter": {
                        "type": "boolean",
                        "default": false
                    },
                    "hasElectricity": {
                        "type": "boolean",
                        "default": false
                    },
                    "hasInternet": {
                        "type": "boolean",
                        "default": false
                    },
                    "isAccessibleForDisabled": {
                        "type": "boolean",
                        "default": false
                    },
                    "cateringAvailable": {
                        "type": "boolean",
                        "default": false
                    },
                    "hasKitchen": {
                        "type": "boolean",
                        "default": false
                    },
                    "hasKitchenInventory": {
                        "type": "boolean",
                        "default": false
                    },
                    "numberOfTaps": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "numberOfShowers": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "numberOfToilets": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "sanitaryFacilitiesAccessibleForDisabled": {
                        "type": "boolean",
                        "default": false
                    }
                },
                "type": "object"
            },
            "AccommodationListDto": {
                "type": "array",
                "items": {
                    "$ref": "#/components/schemas/AccommodationDto"
                }
            },
            "OrganisationCategoryLevelDto": {
                "required": [
                    "@id",
                    "#"
                ],
                "properties": {
                    "@id": {
                        "type": "integer"
                    },
                    "#": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "OrganisationCategoryDto": {
                "required": [
                    "@id",
                    "@level",
                    "#"
                ],
                "properties": {
                    "@id": {
                        "type": "integer"
                    },
                    "@level": {
                        "type": "integer"
                    },
                    "#": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "SectionTypeDto": {
                "required": [
                    "@id",
                    "name"
                ],
                "properties": {
                    "@id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "SectionCategoryDto": {
                "required": [
                    "@id",
                    "#"
                ],
                "properties": {
                    "@id": {
                        "type": "integer"
                    },
                    "#": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Organisation": {
                "required": [
                    "Id",
                    "Scouting_Organisation_Number__c",
                    "Name",
                    "Active__c"
                ],
                "properties": {
                    "Id": {
                        "$ref": "#/components/schemas/SalesforceId"
                    },
                    "Scouting_Organisation_Number__c": {
                        "type": "string"
                    },
                    "Name": {
                        "type": "string"
                    },
                    "Active__c": {
                        "type": "boolean"
                    },
                    "Founding_Date__c": {
                        "type": "string",
                        "format": "date-time",
                        "nullable": true,
                        "default": null
                    },
                    "Dissolve_Date__c": {
                        "type": "string",
                        "format": "date-time",
                        "nullable": true,
                        "default": null
                    },
                    "Shipping_Street__c": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "Shipping_Housenumber__c": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "Shipping_Suffix__c": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "Shipping_Zipcode__c": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "Shipping_City__c": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "Shipping_Country__c": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "Category__c": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/OrganisationCategory"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "Ideology__c": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/Ideology"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": "Open"
                    },
                    "General_Email_Address__c": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "Billing_Email_Address__c": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "Phone": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "Website": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "Main_Location__c": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/SalesforceId"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "parent1Id": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/SalesforceId"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "parent2Id": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/SalesforceId"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    }
                },
                "type": "object"
            },
            "GroupfinderDto": {
                "properties": {
                    "categoryLevels": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/OrganisationCategoryLevelDto"
                        },
                        "default": []
                    },
                    "categories": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/OrganisationCategoryDto"
                        },
                        "default": []
                    },
                    "sectionTypes": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/SectionTypeDto"
                        },
                        "default": []
                    },
                    "sectionCategories": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/SectionCategoryDto"
                        },
                        "default": []
                    },
                    "organisation": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Organisation"
                        },
                        "default": []
                    }
                },
                "type": "object",
                "xml": {
                    "name": "organisations"
                }
            },
            "LegacySectionDto": {
                "required": [
                    "id",
                    "name"
                ],
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "LegacyMemberOfOrganisationDto": {
                "required": [
                    "id",
                    "firstName",
                    "infix",
                    "lastName",
                    "email",
                    "emailParent1",
                    "emailParent2",
                    "sections",
                    "birthday",
                    "streetName",
                    "houseNumber",
                    "addition",
                    "postalCode",
                    "city",
                    "country",
                    "phoneNumber"
                ],
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "firstName": {
                        "type": "string"
                    },
                    "infix": {
                        "type": "string"
                    },
                    "lastName": {
                        "type": "string"
                    },
                    "email": {
                        "type": "string"
                    },
                    "emailParent1": {
                        "type": "string"
                    },
                    "emailParent2": {
                        "type": "string"
                    },
                    "sections": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/LegacySectionDto"
                        }
                    },
                    "birthday": {
                        "type": "string",
                        "format": "date"
                    },
                    "streetName": {
                        "type": "string"
                    },
                    "houseNumber": {
                        "type": "integer"
                    },
                    "addition": {
                        "type": "string"
                    },
                    "postalCode": {
                        "type": "string"
                    },
                    "city": {
                        "type": "string"
                    },
                    "country": {
                        "type": "string"
                    },
                    "phoneNumber": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "LegacyOrganisationMembersDto": {
                "required": [
                    "organisationId",
                    "organisationName",
                    "members"
                ],
                "properties": {
                    "organisationId": {
                        "type": "integer"
                    },
                    "organisationName": {
                        "type": "string"
                    },
                    "members": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/LegacyMemberOfOrganisationDto"
                        }
                    }
                },
                "type": "object"
            },
            "result": {
                "required": [
                    "organisationId",
                    "organisationName",
                    "members"
                ],
                "properties": {
                    "organisationId": {
                        "type": "integer"
                    },
                    "organisationName": {
                        "type": "string"
                    },
                    "members": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/LegacyMemberOfOrganisationDto"
                        }
                    }
                },
                "type": "object"
            },
            "LegacyPersonApiAction": {
                "type": "string",
                "enum": [
                    "scoutshop",
                    "scoutshop_mail"
                ]
            },
            "LegacyGameDto": {
                "required": [
                    "id",
                    "name"
                ],
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "LegacySectionWithGameDto": {
                "required": [
                    "id",
                    "name",
                    "game"
                ],
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "game": {
                        "$ref": "#/components/schemas/LegacyGameDto"
                    }
                },
                "type": "object"
            },
            "LegacyRoleDto": {
                "required": [
                    "id",
                    "name",
                    "type"
                ],
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "staff member",
                            "youth member"
                        ]
                    }
                },
                "type": "object"
            },
            "LegacyRoleAssignmentDto": {
                "required": [
                    "id",
                    "section",
                    "role"
                ],
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "section": {
                        "$ref": "#/components/schemas/LegacySectionWithGameDto"
                    },
                    "role": {
                        "$ref": "#/components/schemas/LegacyRoleDto"
                    }
                },
                "type": "object"
            },
            "result2": {
                "required": [
                    "id",
                    "section",
                    "role"
                ],
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "section": {
                        "$ref": "#/components/schemas/LegacySectionWithGameDto"
                    },
                    "role": {
                        "$ref": "#/components/schemas/LegacyRoleDto"
                    }
                },
                "type": "object"
            },
            "LegacyPersonOrganisationDto": {
                "required": [
                    "id",
                    "name"
                ],
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "result3": {
                "required": [
                    "id",
                    "name"
                ],
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "OrganisationListDto": {
                "type": "array",
                "items": {
                    "$ref": "#/components/schemas/OrganisationDto"
                }
            },
            "OrganisationUnitType": {
                "type": "string",
                "enum": [
                    "Board",
                    "Committee",
                    "Commissie Praktijkbegeleider",
                    "Commissie Vertrouwenspersoon",
                    "Commissie VOG beheerder",
                    "Commissie Gegevensbeheerder",
                    "Commissie Scouting Academy",
                    "Game Section",
                    "Relations"
                ]
            },
            "GameSectionType": {
                "type": "string",
                "enum": [
                    "Bevers",
                    "Welpen",
                    "Scouts",
                    "Explorers",
                    "Roverscouts",
                    "Plusscouts",
                    "Niet gespecificeerd"
                ]
            },
            "GameSectionCategory": {
                "type": "string",
                "enum": [
                    "Land",
                    "Water",
                    "Lucht",
                    "Muziek",
                    "Scouts met een beperking",
                    "Ruiters",
                    "Niet gespecificeerd"
                ]
            },
            "GameSectionNature": {
                "type": "string",
                "enum": [
                    "Gemengd",
                    "Meisjes",
                    "Jongens"
                ]
            },
            "GameSectionAgeGroup": {
                "type": "string",
                "enum": [
                    "5- 7 jr.",
                    "7-11 jr.",
                    "11-15 jr.",
                    "15-18 jr.",
                    "18-21 jr.",
                    "18+",
                    "alle leeftijden"
                ]
            },
            "CollapsedOrganisationUnitDto": {
                "required": [
                    "id",
                    "organisationId",
                    "organisationUnitNumber",
                    "name",
                    "type",
                    "startDate"
                ],
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/SalesforceId"
                    },
                    "organisationId": {
                        "$ref": "#/components/schemas/SalesforceId"
                    },
                    "organisationUnitNumber": {
                        "type": "string",
                        "pattern": "^[0-9]+$"
                    },
                    "name": {
                        "type": "string"
                    },
                    "type": {
                        "$ref": "#/components/schemas/OrganisationUnitType"
                    },
                    "startDate": {
                        "type": "string",
                        "format": "date"
                    },
                    "endDate": {
                        "type": "string",
                        "format": "date",
                        "nullable": true,
                        "default": null
                    },
                    "description": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "isActive": {
                        "type": "boolean",
                        "default": true
                    },
                    "isWaitingList": {
                        "type": "boolean",
                        "default": false
                    },
                    "gameSectionType": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/GameSectionType"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "gameSectionCategory": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/GameSectionCategory"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "gameSectionNature": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/GameSectionNature"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "minimumAge": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "maximumAge": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "ageGroup": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/GameSectionAgeGroup"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "phoneNumber": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "email": {
                        "type": "string",
                        "format": "email",
                        "nullable": true,
                        "default": null
                    },
                    "website": {
                        "type": "string",
                        "format": "uri",
                        "nullable": true,
                        "default": null
                    },
                    "locationId": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/SalesforceId"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    }
                },
                "type": "object"
            },
            "GenderIdentity": {
                "type": "string",
                "enum": [
                    "Female",
                    "Male",
                    "Nonbinary",
                    "Not Listed"
                ]
            },
            "UserDto": {
                "required": [
                    "username",
                    "isActive"
                ],
                "properties": {
                    "username": {
                        "type": "string"
                    },
                    "isActive": {
                        "type": "boolean"
                    },
                    "lastLogin": {
                        "type": "string",
                        "format": "datetime",
                        "nullable": true,
                        "default": null
                    }
                },
                "type": "object"
            },
            "CollapsedPersonDto": {
                "required": [
                    "personNumber",
                    "memberNumber",
                    "firstName",
                    "lastName"
                ],
                "properties": {
                    "personNumber": {
                        "type": "integer"
                    },
                    "memberNumber": {
                        "type": "string",
                        "pattern": "^[0-9]+(-g[12])?$"
                    },
                    "firstName": {
                        "type": "string"
                    },
                    "infix": {
                        "type": "string",
                        "nullable": true
                    },
                    "lastName": {
                        "type": "string"
                    },
                    "email": {
                        "type": "string",
                        "format": "email",
                        "nullable": true,
                        "default": null
                    },
                    "mobilePhoneNumber": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "phoneNumber": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "birthDate": {
                        "type": "string",
                        "format": "date",
                        "nullable": true,
                        "default": null
                    },
                    "genderIdentity": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/GenderIdentity"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "address": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/AddressDto"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "user": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UserDto"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "guardianPersonNumbers": {
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    }
                },
                "type": "object"
            },
            "MembershipType": {
                "type": "string",
                "enum": [
                    "Jeugdlid",
                    "Kaderlid"
                ]
            },
            "RoleRecordType": {
                "type": "string",
                "enum": [
                    "Function",
                    "Participant",
                    "Relation",
                    "User_Rights"
                ]
            },
            "FunctionCategory": {
                "type": "string",
                "enum": [
                    "Adviseur",
                    "Afgevaardigde",
                    "Algemeen bestuurslid",
                    "Archivaris",
                    "Beroepskracht",
                    "Contactpersoon Activiteiten",
                    "Contactpersoon BE/BV",
                    "Contactpersoon Communicatie",
                    "Contactpersoon Fourage",
                    "Contactpersoon Trainingen",
                    "Contactpersoon Varend Materiaal",
                    "Contactpersoon Verhuur",
                    "Contactpersoon Watersport Academy",
                    "Co\u00f6rdinator",
                    "Co\u00f6rdinator Trainingen",
                    "Evenement-beheerder",
                    "Gebouwbeheerder",
                    "Gegevensbeheerder",
                    "Gegevensbeheerder (Speltak)",
                    "Groepsbegeleider",
                    "HRM-er",
                    "Hoofdinstructeur",
                    "Instructeur",
                    "Leidinggevende",
                    "Lid landelijke raad",
                    "Lid regioraad",
                    "Materiaalmeester",
                    "Trainingsbeheerder",
                    "Opleider Watersport Academy",
                    "Opleider",
                    "Vakopleider",
                    "Organisator",
                    "Penningmeester",
                    "Plaatsvervangend lid landelijke raad",
                    "Praktijkbegeleider",
                    "Praktijkcoach",
                    "Regiocoach",
                    "Secretaris",
                    "Teamleider",
                    "Terreinbeheerder",
                    "Trainer",
                    "Vertrouwenspersoon",
                    "VOG-beheerder",
                    "Voorzitter",
                    "Vrijwilliger",
                    "Webmaster"
                ]
            },
            "CollapsedRoleDto": {
                "required": [
                    "id",
                    "roleNumber",
                    "name",
                    "organisationUnitId",
                    "active",
                    "recordType"
                ],
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/SalesforceId"
                    },
                    "roleNumber": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "organisationUnitId": {
                        "$ref": "#/components/schemas/SalesforceId"
                    },
                    "active": {
                        "type": "boolean"
                    },
                    "membershipType": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/MembershipType"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ]
                    },
                    "recordType": {
                        "$ref": "#/components/schemas/RoleRecordType"
                    },
                    "organisationUnitType": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/OrganisationUnitType"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "functionCategory": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/FunctionCategory"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    }
                },
                "type": "object"
            },
            "CollapsedRoleAssignmentDto": {
                "required": [
                    "id",
                    "name",
                    "startDate",
                    "endDate",
                    "personNumber",
                    "roleId"
                ],
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/SalesforceId"
                    },
                    "name": {
                        "type": "string"
                    },
                    "membershipType": {
                        "description": "Replaced by RoleDto::membershipType, will be removed in API v2",
                        "deprecated": true,
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/MembershipType"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ]
                    },
                    "startDate": {
                        "type": "string",
                        "format": "date"
                    },
                    "endDate": {
                        "type": "string",
                        "format": "date"
                    },
                    "personNumber": {
                        "type": "integer"
                    },
                    "roleId": {
                        "$ref": "#/components/schemas/SalesforceId"
                    }
                },
                "type": "object"
            },
            "RoleAssignmentsDto": {
                "properties": {
                    "organisations": {
                        "type": "object",
                        "default": [],
                        "additionalProperties": {
                            "$ref": "#/components/schemas/OrganisationDto"
                        }
                    },
                    "organisationUnits": {
                        "type": "object",
                        "default": [],
                        "additionalProperties": {
                            "$ref": "#/components/schemas/CollapsedOrganisationUnitDto"
                        }
                    },
                    "persons": {
                        "type": "object",
                        "default": [],
                        "additionalProperties": {
                            "$ref": "#/components/schemas/CollapsedPersonDto"
                        }
                    },
                    "roles": {
                        "type": "object",
                        "default": [],
                        "additionalProperties": {
                            "$ref": "#/components/schemas/CollapsedRoleDto"
                        }
                    },
                    "roleAssignments": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CollapsedRoleAssignmentDto"
                        },
                        "default": []
                    }
                },
                "type": "object"
            },
            "PersonDto": {
                "required": [
                    "personNumber",
                    "memberNumber",
                    "firstName",
                    "lastName"
                ],
                "properties": {
                    "personNumber": {
                        "type": "integer"
                    },
                    "memberNumber": {
                        "type": "string",
                        "pattern": "^[0-9]+(-g[12])?$"
                    },
                    "firstName": {
                        "type": "string"
                    },
                    "infix": {
                        "type": "string",
                        "nullable": true
                    },
                    "lastName": {
                        "type": "string"
                    },
                    "email": {
                        "type": "string",
                        "format": "email",
                        "nullable": true,
                        "default": null
                    },
                    "mobilePhoneNumber": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "phoneNumber": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "birthDate": {
                        "type": "string",
                        "format": "date",
                        "nullable": true,
                        "default": null
                    },
                    "genderIdentity": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/GenderIdentity"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "address": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/AddressDto"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "user": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UserDto"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "guardians": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PersonDto"
                        },
                        "default": []
                    }
                },
                "type": "object"
            },
            "OrganisationUnitDto": {
                "required": [
                    "id",
                    "organisation",
                    "organisationUnitNumber",
                    "name",
                    "type",
                    "startDate"
                ],
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/SalesforceId"
                    },
                    "organisation": {
                        "$ref": "#/components/schemas/OrganisationDto"
                    },
                    "organisationUnitNumber": {
                        "type": "string",
                        "pattern": "^[0-9]+$"
                    },
                    "name": {
                        "type": "string",
                        "pattern": "^[0-9]+$"
                    },
                    "type": {
                        "$ref": "#/components/schemas/OrganisationUnitType"
                    },
                    "startDate": {
                        "type": "string",
                        "format": "date"
                    },
                    "endDate": {
                        "type": "string",
                        "format": "date",
                        "nullable": true,
                        "default": null
                    },
                    "description": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "isActive": {
                        "type": "boolean",
                        "default": true
                    },
                    "isWaitingList": {
                        "type": "boolean",
                        "default": false
                    },
                    "gameSectionType": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/GameSectionType"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "gameSectionCategory": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/GameSectionCategory"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "gameSectionNature": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/GameSectionNature"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "minimumAge": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "maximumAge": {
                        "type": "integer",
                        "nullable": true,
                        "default": null
                    },
                    "ageGroup": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/GameSectionAgeGroup"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "phoneNumber": {
                        "type": "string",
                        "nullable": true,
                        "default": null
                    },
                    "email": {
                        "type": "string",
                        "format": "email",
                        "nullable": true,
                        "default": null
                    },
                    "website": {
                        "type": "string",
                        "format": "uri",
                        "nullable": true,
                        "default": null
                    },
                    "locationId": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/SalesforceId"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    }
                },
                "type": "object"
            },
            "RoleDto": {
                "required": [
                    "id",
                    "roleNumber",
                    "name",
                    "organisationUnit",
                    "active",
                    "recordType"
                ],
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/SalesforceId"
                    },
                    "roleNumber": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "organisationUnit": {
                        "$ref": "#/components/schemas/OrganisationUnitDto"
                    },
                    "active": {
                        "type": "boolean"
                    },
                    "membershipType": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/MembershipType"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ]
                    },
                    "recordType": {
                        "$ref": "#/components/schemas/RoleRecordType"
                    },
                    "organisationUnitType": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/OrganisationUnitType"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    },
                    "functionCategory": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/FunctionCategory"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ],
                        "default": null
                    }
                },
                "type": "object"
            },
            "RoleAssignmentDto": {
                "required": [
                    "id",
                    "name",
                    "startDate",
                    "endDate",
                    "person",
                    "role"
                ],
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/SalesforceId"
                    },
                    "name": {
                        "type": "string"
                    },
                    "membershipType": {
                        "description": "Replaced by RoleDto::membershipType, will be removed in API v2",
                        "deprecated": true,
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/MembershipType"
                            },
                            {
                                "type": "object",
                                "nullable": true,
                                "enum": [
                                    null
                                ]
                            }
                        ]
                    },
                    "startDate": {
                        "type": "string",
                        "format": "date"
                    },
                    "endDate": {
                        "type": "string",
                        "format": "date"
                    },
                    "person": {
                        "$ref": "#/components/schemas/PersonDto"
                    },
                    "role": {
                        "$ref": "#/components/schemas/RoleDto"
                    }
                },
                "type": "object"
            },
            "RoleAssignmentListDto": {
                "type": "array",
                "items": {
                    "$ref": "#/components/schemas/RoleAssignmentDto"
                }
            },
            "ApplicationDto": {
                "required": [
                    "name",
                    "version"
                ],
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "version": {
                        "type": "string"
                    }
                },
                "type": "object"
            }
        },
        "securitySchemes": {
            "oauth2": {
                "type": "oauth2",
                "description": "Use the client credentials as requested on the Scouting Nederland [Login Provider](https://login.scouting.nl)",
                "flows": {
                    "clientCredentials": {
                        "tokenUrl": "https://login.scouting.nl/token",
                        "scopes": {
                            "api.accommodations.all": "Information about all public accommodations of Scouting Organisations",
                            "api.organisations": "Information about organisations",
                            "api.all_organisations": "Information about organisations, including inactive organisations",
                            "api.organisation_members": "Information about an organisation and its members",
                            "api.person": "Personal information and role assignments",
                            "api.user": "Add user login information to the personal information",
                            "legacy_api.public": "(Deprecated) Organisations and functions of a member",
                            "legacy_api.scoutshop": "(Deprecated) Scout Shop specific endpoints",
                            "legacy_api.organisation_members": "(Deprecated) Personal and function information for an entire organisation"
                        }
                    }
                }
            },
            "bearer": {
                "type": "http",
                "bearerFormat": "JWT or base64 encoded legacy SOL1 API token",
                "scheme": "bearer"
            }
        }
    },
    "security": [
        {
            "bearer": []
        }
    ],
    "tags": [
        {
            "name": "Accommodation"
        },
        {
            "name": "Legacy",
            "description": "This collection of endpoints are a mostly backwards compatible implementation of the API endpoints in\n[SOL 1](https://sol.scouting.nl/).\n\nYour existing SOL 1 API key will give you access to the legacy end points for which you have permission.\n\nThey are marked as deprecated but no timeframe is known yet."
        },
        {
            "name": "Organization"
        },
        {
            "name": "Person"
        }
    ]
}