components:
  schemas:
    BroRefCode:
      properties:
        attributes:
          additionalProperties:
            type: string
          type: object
        codeSpace:
          type: string
        value:
          type: string
      required:
      - codeSpace
      - value
      type: object
    GmnRelations:
      properties:
        characteristics:
          properties:
            broId:
              type: string
            deliveryAccountableParty:
              type: string
            deregistered:
              type: string
            latestCorrectionTime:
              type: string
            objectRegistrationTime:
              type: string
            qualityRegime:
              type: string
            underReview:
              type: string
            underReviewTime:
              type: string
          type: object
        gmnBroId:
          type: string
        gmwBroIds:
          items:
            type: string
          type: array
      type: object
    GmwRelations:
      properties:
        characteristics:
          properties:
            broId:
              type: string
            constructionStandard:
              properties:
                attributes:
                  additionalProperties:
                    type: string
                  type: object
                codeSpace:
                  type: string
                value:
                  type: string
              required:
              - codeSpace
              - value
              type: object
            deliveryAccountableParty:
              type: string
            deregistered:
              type: string
            groundLevelPosition:
              type: number
            initialFunction:
              properties:
                attributes:
                  additionalProperties:
                    type: string
                  type: object
                codeSpace:
                  type: string
                value:
                  type: string
              required:
              - codeSpace
              - value
              type: object
            latestCorrectionTime:
              type: string
            localVerticalReferencePoint:
              properties:
                attributes:
                  additionalProperties:
                    type: string
                  type: object
                codeSpace:
                  type: string
                value:
                  type: string
              required:
              - codeSpace
              - value
              type: object
            nitgCode:
              type: string
            numberOfMonitoringTubes:
              format: int32
              type: integer
            objectRegistrationTime:
              type: string
            offset:
              type: number
            owner:
              type: string
            qualityRegime:
              type: string
            underReview:
              type: string
            underReviewTime:
              type: string
            verticalDatum:
              properties:
                attributes:
                  additionalProperties:
                    type: string
                  type: object
                codeSpace:
                  type: string
                value:
                  type: string
              required:
              - codeSpace
              - value
              type: object
            wellCode:
              type: string
            wellConstructionDate:
              type: string
            wellHeadProtector:
              properties:
                attributes:
                  additionalProperties:
                    type: string
                  type: object
                codeSpace:
                  type: string
                value:
                  type: string
              required:
              - codeSpace
              - value
              type: object
            wellRemovalDate:
              type: string
          type: object
        gmwBroId:
          type: string
        monitoringTubeReferences:
          items:
            properties:
              garReferences:
                items:
                  properties:
                    accountableParty:
                      type: string
                    broId:
                      type: string
                    characteristics:
                      properties:
                        broId:
                          type: string
                        deliveryAccountableParty:
                          type: string
                        deregistered:
                          type: string
                        latestCorrectionTime:
                          type: string
                        objectRegistrationTime:
                          type: string
                        qualityRegime:
                          type: string
                        underReview:
                          type: string
                        underReviewTime:
                          type: string
                      type: object
                    tubeReferenceEndDate:
                      type: string
                    url:
                      type: string
                  type: object
                type: array
              gldReferences:
                items:
                  properties:
                    accountableParty:
                      type: string
                    broId:
                      type: string
                    characteristics:
                      properties:
                        broId:
                          type: string
                        deliveryAccountableParty:
                          type: string
                        deregistered:
                          type: string
                        latestCorrectionTime:
                          type: string
                        objectRegistrationTime:
                          type: string
                        qualityRegime:
                          type: string
                        underReview:
                          type: string
                        underReviewTime:
                          type: string
                      type: object
                    tubeReferenceEndDate:
                      type: string
                    url:
                      type: string
                  type: object
                type: array
              gmnReferences:
                items:
                  properties:
                    accountableParty:
                      type: string
                    broId:
                      type: string
                    characteristics:
                      properties:
                        broId:
                          type: string
                        deliveryAccountableParty:
                          type: string
                        deregistered:
                          type: string
                        latestCorrectionTime:
                          type: string
                        objectRegistrationTime:
                          type: string
                        qualityRegime:
                          type: string
                        underReview:
                          type: string
                        underReviewTime:
                          type: string
                      type: object
                    tubeReferenceEndDate:
                      type: string
                    url:
                      type: string
                  type: object
                type: array
              screenTopPosition:
                type: number
              tubeNumber:
                format: int32
                type: integer
            type: object
          type: array
      type: object
    GmwRelationsDto:
      properties:
        broId:
          type: string
        constructionStandard:
          properties:
            attributes:
              additionalProperties:
                type: string
              type: object
            codeSpace:
              type: string
            value:
              type: string
          required:
          - codeSpace
          - value
          type: object
        deliveryAccountableParty:
          type: string
        deregistered:
          type: string
        groundLevelPosition:
          type: number
        initialFunction:
          properties:
            attributes:
              additionalProperties:
                type: string
              type: object
            codeSpace:
              type: string
            value:
              type: string
          required:
          - codeSpace
          - value
          type: object
        latestCorrectionTime:
          type: string
        localVerticalReferencePoint:
          properties:
            attributes:
              additionalProperties:
                type: string
              type: object
            codeSpace:
              type: string
            value:
              type: string
          required:
          - codeSpace
          - value
          type: object
        nitgCode:
          type: string
        numberOfMonitoringTubes:
          format: int32
          type: integer
        objectRegistrationTime:
          type: string
        offset:
          type: number
        owner:
          type: string
        qualityRegime:
          type: string
        underReview:
          type: string
        underReviewTime:
          type: string
        verticalDatum:
          properties:
            attributes:
              additionalProperties:
                type: string
              type: object
            codeSpace:
              type: string
            value:
              type: string
          required:
          - codeSpace
          - value
          type: object
        wellCode:
          type: string
        wellConstructionDate:
          type: string
        wellHeadProtector:
          properties:
            attributes:
              additionalProperties:
                type: string
              type: object
            codeSpace:
              type: string
            value:
              type: string
          required:
          - codeSpace
          - value
          type: object
        wellRemovalDate:
          type: string
      type: object
    MonitoringTubeReferences:
      properties:
        garReferences:
          items:
            properties:
              accountableParty:
                type: string
              broId:
                type: string
              characteristics:
                properties:
                  broId:
                    type: string
                  deliveryAccountableParty:
                    type: string
                  deregistered:
                    type: string
                  latestCorrectionTime:
                    type: string
                  objectRegistrationTime:
                    type: string
                  qualityRegime:
                    type: string
                  underReview:
                    type: string
                  underReviewTime:
                    type: string
                type: object
              tubeReferenceEndDate:
                type: string
              url:
                type: string
            type: object
          type: array
        gldReferences:
          items:
            properties:
              accountableParty:
                type: string
              broId:
                type: string
              characteristics:
                properties:
                  broId:
                    type: string
                  deliveryAccountableParty:
                    type: string
                  deregistered:
                    type: string
                  latestCorrectionTime:
                    type: string
                  objectRegistrationTime:
                    type: string
                  qualityRegime:
                    type: string
                  underReview:
                    type: string
                  underReviewTime:
                    type: string
                type: object
              tubeReferenceEndDate:
                type: string
              url:
                type: string
            type: object
          type: array
        gmnReferences:
          items:
            properties:
              accountableParty:
                type: string
              broId:
                type: string
              characteristics:
                properties:
                  broId:
                    type: string
                  deliveryAccountableParty:
                    type: string
                  deregistered:
                    type: string
                  latestCorrectionTime:
                    type: string
                  objectRegistrationTime:
                    type: string
                  qualityRegime:
                    type: string
                  underReview:
                    type: string
                  underReviewTime:
                    type: string
                type: object
              tubeReferenceEndDate:
                type: string
              url:
                type: string
            type: object
          type: array
        screenTopPosition:
          type: number
        tubeNumber:
          format: int32
          type: integer
      type: object
    RegistrationObjectReference:
      properties:
        accountableParty:
          type: string
        broId:
          type: string
        characteristics:
          properties:
            broId:
              type: string
            deliveryAccountableParty:
              type: string
            deregistered:
              type: string
            latestCorrectionTime:
              type: string
            objectRegistrationTime:
              type: string
            qualityRegime:
              type: string
            underReview:
              type: string
            underReviewTime:
              type: string
          type: object
        tubeReferenceEndDate:
          type: string
        url:
          type: string
      type: object
    RelationsDto:
      properties:
        broId:
          type: string
        deliveryAccountableParty:
          type: string
        deregistered:
          type: string
        latestCorrectionTime:
          type: string
        objectRegistrationTime:
          type: string
        qualityRegime:
          type: string
        underReview:
          type: string
        underReviewTime:
          type: string
      type: object
    ServiceError:
      properties:
        description:
          type: string
        errorCode:
          format: int32
          type: integer
        title:
          type: string
      type: object
info:
  contact:
    email: support@broservicedesk.nl
    name: BRO Servicedesk
    url: https://basisregistratieondergrond.nl/service-contact/
  description: Landelijke Voorziening Basisregistratie Ondergrond (BRO), uitgifte
    grondwatermonitoring (GM) in samenhang.
  title: Grondwater Monitoring (GM) domein
  version: 2.197.0
openapi: 3.0.3
paths:
  /gm/v1/gmn-relations/{broId}:
    get:
      description: "    Haalt een overzicht op van aan dit grondwatermonitoringnet
        gerelateerde objecten:\n    grondwatermonitoringputten (GMW). \n"
      operationId: gmn-relations
      parameters:
      - description: Het BRO-ID van de het grondwatermonitoringnetwork (GMN).
        example: GMN000000038500
        in: path
        name: broId
        required: true
        schema:
          type: string
      - description: "Deze parameter bepaalt of er wel of niet kensetgegevens in de
          response staan. \nEr zijn twee mogelijke waarden: true, false.\nDatums worden
          volgens ISO 8601 geformatteerd. \nBij afwezigheid van deze parameter worden
          er geen kensetgegevens teruggegeven."
        example: true
        in: query
        name: inclMetadata
        schema:
          default: false
          type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                properties:
                  characteristics:
                    properties:
                      broId:
                        type: string
                      deliveryAccountableParty:
                        type: string
                      deregistered:
                        type: string
                      latestCorrectionTime:
                        type: string
                      objectRegistrationTime:
                        type: string
                      qualityRegime:
                        type: string
                      underReview:
                        type: string
                      underReviewTime:
                        type: string
                    type: object
                  gmnBroId:
                    type: string
                  gmwBroIds:
                    items:
                      type: string
                    type: array
                type: object
          description: De gevraagde relaties.
          headers:
            API-Version:
              description: Versie van deze GM API
              examples: {}
              schema:
                examples:
                - 3.2.1
                type: string
        "400":
          content:
            application/json:
              schema:
                properties:
                  description:
                    type: string
                  errorCode:
                    format: int32
                    type: integer
                  title:
                    type: string
                type: object
          description: Er bevinden zich fouten in het verzoek.
          headers:
            API-Version:
              description: Versie van deze GM API
              examples: {}
              schema:
                examples:
                - 3.2.1
                type: string
      summary: Haalt aan dit grondwatermonitoringnet gerelateerde registratie objecten
        op
  /gm/v1/gmw-relations/{broId}:
    get:
      description: "Haalt een overzicht op van aan deze put gerelateerde objecten:
        grondwaterstandendossier (GLD), grondwatersamenstellingsonderzoek (GAR), formatieweerstandsonderzoek
        (FRD) en grondwatermonitoringnetwerk (GMN).  \n**Merk op:** een buis-verwijzing
        kan beëindigd zijn in GMN. In dat geval wordt een buis-verwijzing einddatum
        teruggestuurd in het resultaat.  \n**Merk op:** een meetpunt kan beëindigd
        zijn in GMN. In dat geval wordt het GMN teruggestuurd zonder verdere informatie
        in het resultaat. Het is dus raadzaam om altijd te kijken of de relatie nog
        geldig is in het GMN registratie object en het meetpunt niet is beëindigd.
        In de toekomst nemen we deze casus wellicht ook mee op soortegelijke wijze
        als de buis-verwijzing einddatum."
      operationId: gmw-relations
      parameters:
      - description: Het BRO-ID van de grondwatermonitoringsput (GMW).
        example: GMW000000038500
        in: path
        name: broId
        required: true
        schema:
          type: string
      - description: "Deze parameter bepaalt of er wel of niet kensetgegevens in de
          response staan. \nEr zijn twee mogelijke waarden: true, false.\nDatums worden
          volgens ISO 8601 geformatteerd. \nBij afwezigheid van deze parameter worden
          er geen kensetgegevens teruggegeven."
        example: true
        in: query
        name: inclMetadata
        schema:
          default: "false"
          type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                properties:
                  characteristics:
                    properties:
                      broId:
                        type: string
                      constructionStandard:
                        properties:
                          attributes:
                            additionalProperties:
                              type: string
                            type: object
                          codeSpace:
                            type: string
                          value:
                            type: string
                        required:
                        - codeSpace
                        - value
                        type: object
                      deliveryAccountableParty:
                        type: string
                      deregistered:
                        type: string
                      groundLevelPosition:
                        type: number
                      initialFunction:
                        properties:
                          attributes:
                            additionalProperties:
                              type: string
                            type: object
                          codeSpace:
                            type: string
                          value:
                            type: string
                        required:
                        - codeSpace
                        - value
                        type: object
                      latestCorrectionTime:
                        type: string
                      localVerticalReferencePoint:
                        properties:
                          attributes:
                            additionalProperties:
                              type: string
                            type: object
                          codeSpace:
                            type: string
                          value:
                            type: string
                        required:
                        - codeSpace
                        - value
                        type: object
                      nitgCode:
                        type: string
                      numberOfMonitoringTubes:
                        format: int32
                        type: integer
                      objectRegistrationTime:
                        type: string
                      offset:
                        type: number
                      owner:
                        type: string
                      qualityRegime:
                        type: string
                      underReview:
                        type: string
                      underReviewTime:
                        type: string
                      verticalDatum:
                        properties:
                          attributes:
                            additionalProperties:
                              type: string
                            type: object
                          codeSpace:
                            type: string
                          value:
                            type: string
                        required:
                        - codeSpace
                        - value
                        type: object
                      wellCode:
                        type: string
                      wellConstructionDate:
                        type: string
                      wellHeadProtector:
                        properties:
                          attributes:
                            additionalProperties:
                              type: string
                            type: object
                          codeSpace:
                            type: string
                          value:
                            type: string
                        required:
                        - codeSpace
                        - value
                        type: object
                      wellRemovalDate:
                        type: string
                    type: object
                  gmwBroId:
                    type: string
                  monitoringTubeReferences:
                    items:
                      properties:
                        garReferences:
                          items:
                            properties:
                              accountableParty:
                                type: string
                              broId:
                                type: string
                              characteristics:
                                properties:
                                  broId:
                                    type: string
                                  deliveryAccountableParty:
                                    type: string
                                  deregistered:
                                    type: string
                                  latestCorrectionTime:
                                    type: string
                                  objectRegistrationTime:
                                    type: string
                                  qualityRegime:
                                    type: string
                                  underReview:
                                    type: string
                                  underReviewTime:
                                    type: string
                                type: object
                              tubeReferenceEndDate:
                                type: string
                              url:
                                type: string
                            type: object
                          type: array
                        gldReferences:
                          items:
                            properties:
                              accountableParty:
                                type: string
                              broId:
                                type: string
                              characteristics:
                                properties:
                                  broId:
                                    type: string
                                  deliveryAccountableParty:
                                    type: string
                                  deregistered:
                                    type: string
                                  latestCorrectionTime:
                                    type: string
                                  objectRegistrationTime:
                                    type: string
                                  qualityRegime:
                                    type: string
                                  underReview:
                                    type: string
                                  underReviewTime:
                                    type: string
                                type: object
                              tubeReferenceEndDate:
                                type: string
                              url:
                                type: string
                            type: object
                          type: array
                        gmnReferences:
                          items:
                            properties:
                              accountableParty:
                                type: string
                              broId:
                                type: string
                              characteristics:
                                properties:
                                  broId:
                                    type: string
                                  deliveryAccountableParty:
                                    type: string
                                  deregistered:
                                    type: string
                                  latestCorrectionTime:
                                    type: string
                                  objectRegistrationTime:
                                    type: string
                                  qualityRegime:
                                    type: string
                                  underReview:
                                    type: string
                                  underReviewTime:
                                    type: string
                                type: object
                              tubeReferenceEndDate:
                                type: string
                              url:
                                type: string
                            type: object
                          type: array
                        screenTopPosition:
                          type: number
                        tubeNumber:
                          format: int32
                          type: integer
                      type: object
                    type: array
                type: object
          description: De gevraagde relaties.
          headers:
            API-Version:
              description: Versie van deze GM API
              examples: {}
              schema:
                examples:
                - 3.2.1
                type: string
        "400":
          content:
            application/json:
              schema:
                properties:
                  description:
                    type: string
                  errorCode:
                    format: int32
                    type: integer
                  title:
                    type: string
                type: object
          description: Er bevinden zich fouten in het verzoek.
          headers:
            API-Version:
              description: Versie van deze GM API
              examples: {}
              schema:
                examples:
                - 3.2.1
                type: string
      summary: Haalt aan deze put gerelateerde registratie objecten op
