components:
  schemas:
    Geometry:
      description: GeoJSON geometry
      discriminator:
        propertyName: type
      properties:
        coordinates:
          description: Based on the geometry type, a point or collection of points.
          items:
            type: number
          minItems: 2
          type: array
        type:
          description: the geometry type
          enum:
          - Point
          - LineString
          - Polygon
          - MultiPoint
          - MultiLineString
          - MultiPolygon
          type: string
      required:
      - type
      type: object
    GeometryCollection:
      description: GeoJSON geometry collection
      properties:
        geometries:
          items:
            $ref: '#/components/schemas/Geometry'
          type: array
        type:
          enum:
          - GeometryCollection
          type: string
      required:
      - type
      - geometries
      type: object
    LineString:
      allOf:
      - $ref: '#/components/schemas/Geometry'
      - properties:
          coordinates:
            items:
              $ref: '#/components/schemas/Point3D'
            type: array
          type:
            enum:
            - LineString
            type: string
      description: GeoJSON geometry
      type: object
    MultiLineString:
      allOf:
      - $ref: '#/components/schemas/Geometry'
      - properties:
          coordinates:
            items:
              items:
                $ref: '#/components/schemas/Point3D'
              type: array
            type: array
          type:
            enum:
            - MultiLineString
            type: string
      description: GeoJSON geometry
      type: object
    MultiPoint:
      allOf:
      - $ref: '#/components/schemas/Geometry'
      - properties:
          coordinates:
            items:
              $ref: '#/components/schemas/Point3D'
            type: array
          type:
            enum:
            - MultiPoint
            type: string
      description: GeoJSON geometry
      type: object
    MultiPolygon:
      allOf:
      - $ref: '#/components/schemas/Geometry'
      - properties:
          coordinates:
            items:
              items:
                items:
                  $ref: '#/components/schemas/Point3D'
                type: array
              type: array
            type: array
          type:
            enum:
            - MultiPolygon
            type: string
      description: GeoJSON geometry
      type: object
    PaginatedWaterbinnenwaterList:
      properties:
        _embedded:
          properties:
            binnenwater:
              items:
                $ref: '#/components/schemas/Waterbinnenwater'
              type: array
          type: object
        _links:
          properties:
            next:
              properties:
                href:
                  example: https://api.data.amsterdam.nl/v1/.../resource/?page=4
                  format: uri
                  nullable: true
                  type: string
              type: object
            previous:
              properties:
                href:
                  example: https://api.data.amsterdam.nl/v1/.../resource/?page=2
                  format: uri
                  nullable: true
                  type: string
              type: object
            self:
              properties:
                href:
                  example: https://api.data.amsterdam.nl/v1/.../resource/?page=3
                  format: uri
                  type: string
              type: object
          type: object
        page:
          properties:
            number:
              example: 3
              type: integer
            size:
              example: 20
              type: integer
            totalElements:
              example: 5
              type: integer
            totalPages:
              example: 3
              type: integer
          type: object
      type: object
    PaginatedWateruitstootvrije_zone_pleziervaartList:
      properties:
        _embedded:
          properties:
            uitstootvrije_zone_pleziervaart:
              items:
                $ref: '#/components/schemas/Wateruitstootvrije_zone_pleziervaart'
              type: array
          type: object
        _links:
          properties:
            next:
              properties:
                href:
                  example: https://api.data.amsterdam.nl/v1/.../resource/?page=4
                  format: uri
                  nullable: true
                  type: string
              type: object
            previous:
              properties:
                href:
                  example: https://api.data.amsterdam.nl/v1/.../resource/?page=2
                  format: uri
                  nullable: true
                  type: string
              type: object
            self:
              properties:
                href:
                  example: https://api.data.amsterdam.nl/v1/.../resource/?page=3
                  format: uri
                  type: string
              type: object
          type: object
        page:
          properties:
            number:
              example: 3
              type: integer
            size:
              example: 20
              type: integer
            totalElements:
              example: 5
              type: integer
            totalPages:
              example: 3
              type: integer
          type: object
      type: object
    Point:
      allOf:
      - $ref: '#/components/schemas/Geometry'
      - properties:
          coordinates:
            $ref: '#/components/schemas/Point3D'
          type:
            enum:
            - Point
            type: string
      description: GeoJSON geometry
      type: object
    Point3D:
      description: Point in 3D space
      items:
        type: number
      maxItems: 3
      minItems: 2
      type: array
    Polygon:
      allOf:
      - $ref: '#/components/schemas/Geometry'
      - properties:
          coordinates:
            items:
              items:
                $ref: '#/components/schemas/Point3D'
              type: array
            type: array
          type:
            enum:
            - Polygon
            type: string
      description: GeoJSON geometry
      type: object
    Waterbinnenwater:
      description: binnenwater
      properties:
        _links:
          allOf:
          - $ref: '#/components/schemas/WaterdefaultBinnenwaterLinks'
          title: ' links'
        geometry:
          $ref: '#/components/schemas/MultiPolygon'
        id:
          description: Unieke aanduiding van de binnen water zone.
          format: int64
          maximum: 9223372036854776000
          minimum: -9.223372036854776e+18
          title: Binnen water zone ID
          type: integer
      required:
      - _links
      - id
      type: object
    WaterbinnenwaterLink:
      description: The identifier of the relationship to binnenwater.
      properties:
        href:
          format: uri
          readOnly: true
          type: string
        id:
          description: Unieke aanduiding van de binnen water zone.
          format: int64
          maximum: 9223372036854776000
          minimum: -9.223372036854776e+18
          title: Binnen water zone ID
          type: integer
        title:
          type: string
      required:
      - href
      - id
      - title
      type: object
    WaterdefaultBinnenwaterLinks:
      description: The contents of the `binnenwater._links` field. It contains all
        relationships with objects.
      properties:
        schema:
          description: The schema field is exposed with every record
          format: uri
          readOnly: true
          type: string
        self:
          $ref: '#/components/schemas/WaterbinnenwaterLink'
      required:
      - schema
      - self
      type: object
    WaterdefaultUitstootvrijeZonePleziervaartLinks:
      description: The contents of the `uitstootvrijeZonePleziervaart._links` field.
        It contains all relationships with objects.
      properties:
        schema:
          description: The schema field is exposed with every record
          format: uri
          readOnly: true
          type: string
        self:
          $ref: '#/components/schemas/Wateruitstootvrije_zone_pleziervaartLink'
      required:
      - schema
      - self
      type: object
    Wateruitstootvrije_zone_pleziervaart:
      description: uitstootvrijeZonePleziervaart
      properties:
        _links:
          allOf:
          - $ref: '#/components/schemas/WaterdefaultUitstootvrijeZonePleziervaartLinks'
          title: ' links'
        geometry:
          $ref: '#/components/schemas/Polygon'
        id:
          description: Unieke aanduiding van de zone.
          format: int64
          maximum: 9223372036854776000
          minimum: -9.223372036854776e+18
          title: Pleziervaart zone ID
          type: integer
      required:
      - _links
      - id
      type: object
    Wateruitstootvrije_zone_pleziervaartLink:
      description: The identifier of the relationship to uitstootvrijeZonePleziervaart.
      properties:
        href:
          format: uri
          readOnly: true
          type: string
        id:
          description: Unieke aanduiding van de zone.
          format: int64
          maximum: 9223372036854776000
          minimum: -9.223372036854776e+18
          title: Pleziervaart zone ID
          type: integer
        title:
          type: string
      required:
      - href
      - id
      - title
      type: object
  securitySchemes:
    oauth2:
      flows:
        implicit:
          authorizationUrl: https://iam.amsterdam.nl/auth/realms/datapunt-ad/protocol/openid-connect/auth
          scopes:
            4f49c72a-d82b-4d5e-8063-a93470854d12/.default: Toegang Applicatie
      type: oauth2
externalDocs:
  description: API Usage Documentation
  url: https://api.data.amsterdam.nl/v1/docs/datasets/water.html
info:
  contact:
    email: datapunt@amsterdam.nl
  description: Data met betrekking tot het water van Amsterdam.
  license: {}
  termsOfService: https://data.amsterdam.nl/
  title: water
  version: 1.1.2
openapi: 3.0.3
paths:
  /binnenwater:
    get:
      operationId: water_binnenwater_list_slash
      parameters:
      - description: Accept-Crs header for Geo queries
        in: header
        name: Accept-Crs
        schema:
          type: string
      - description: Content-Crs header for Geo queries
        in: header
        name: Content-Crs
        schema:
          type: string
      - description: Api Key for statistical purposes, not for authentication
        in: header
        name: X-Api-Key
        schema:
          type: string
      - description: Include a count of the total result set and the number of pages.Only
          works for responses that return a page.
        in: query
        name: _count
        required: false
        schema:
          type: boolean
      - description: Specify type of header for csv file
        in: query
        name: _csv_header
        schema:
          enum:
          - id
          - title
          - none
          type: string
      - description: Specify type of separator for csv file
        in: query
        name: _csv_separator
        schema:
          enum:
          - ','
          - ;
          type: string
      - description: Allow to expand relations.
        in: query
        name: _expand
        schema:
          type: boolean
      - description: Comma separated list of named relations to expand.
        in: query
        name: _expandScope
        schema:
          type: string
      - description: Comma-separated list of fields to display
        in: query
        name: _fields
        schema:
          type: string
      - description: Select the export format
        in: query
        name: _format
        schema:
          enum:
          - json
          - csv
          - geojson
          type: string
      - description: Number of results to return per page.
        in: query
        name: _pageSize
        required: false
        schema:
          type: integer
      - description: Which field to use when ordering the results.
        in: query
        name: _sort
        required: false
        schema:
          type: string
      - description: Aanduiding voor de geometrie van het beheerobject volgens het
          Stelsel van de Rijksdriehoeksmeting (RD, epsg:28992).
        in: query
        name: geometry
        schema:
          type: string
      - description: Use x,y or POINT(x y)
        in: query
        name: geometry[contains]
        schema:
          type: string
      - description: Use WKT (POLYGON((x1 y1, x2 y2, ...))) or GeoJSON
        in: query
        name: geometry[intersects]
        schema:
          type: string
      - description: Whether the field has a NULL value or not.
        in: query
        name: geometry[isnull]
        schema:
          type: string
      - description: GeoJSON | GEOMETRY(...)
        in: query
        name: geometry[not]
        schema:
          type: string
      - description: Unieke aanduiding van de binnen water zone.
        in: query
        name: id
        schema:
          type: integer
      - description: Greater than; number
        in: query
        name: id[gt]
        schema:
          type: integer
      - description: Greater than or equal to; number
        in: query
        name: id[gte]
        schema:
          type: integer
      - description: 'Matches any value from a comma-separated list: val1,val2,valN.'
        explode: false
        in: query
        name: id[in]
        schema:
          items:
            type: integer
          type: array
        style: form
      - description: Whether the field has a NULL value or not.
        in: query
        name: id[isnull]
        schema:
          type: boolean
      - description: Less than; number
        in: query
        name: id[lt]
        schema:
          type: integer
      - description: Less than or equal to; number
        in: query
        name: id[lte]
        schema:
          type: integer
      - description: Exclude matches; number
        in: query
        name: id[not]
        schema:
          items:
            type: integer
          type: array
      - description: A page number within the paginated result set.
        in: query
        name: page
        required: false
        schema:
          type: integer
      responses:
        "200":
          content:
            application/geo+json:
              schema:
                $ref: '#/components/schemas/PaginatedWaterbinnenwaterList'
            application/hal+json:
              schema:
                $ref: '#/components/schemas/PaginatedWaterbinnenwaterList'
            text/csv:
              schema:
                $ref: '#/components/schemas/PaginatedWaterbinnenwaterList'
          description: ""
      tags:
      - binnenwater
  /binnenwater/{id}:
    get:
      operationId: water_binnenwater_retrieve_slash
      parameters:
      - description: Accept-Crs header for Geo queries
        in: header
        name: Accept-Crs
        schema:
          type: string
      - description: Content-Crs header for Geo queries
        in: header
        name: Content-Crs
        schema:
          type: string
      - description: Api Key for statistical purposes, not for authentication
        in: header
        name: X-Api-Key
        schema:
          type: string
      - description: Specify type of header for csv file
        in: query
        name: _csv_header
        schema:
          enum:
          - id
          - title
          - none
          type: string
      - description: Specify type of separator for csv file
        in: query
        name: _csv_separator
        schema:
          enum:
          - ','
          - ;
          type: string
      - description: Allow to expand relations.
        in: query
        name: _expand
        schema:
          type: boolean
      - description: Comma separated list of named relations to expand.
        in: query
        name: _expandScope
        schema:
          type: string
      - description: Comma-separated list of fields to display
        in: query
        name: _fields
        schema:
          type: string
      - description: Select the export format
        in: query
        name: _format
        schema:
          enum:
          - json
          - csv
          - geojson
          type: string
      - description: Which field to use when ordering the results.
        in: query
        name: _sort
        required: false
        schema:
          type: string
      - description: Aanduiding voor de geometrie van het beheerobject volgens het
          Stelsel van de Rijksdriehoeksmeting (RD, epsg:28992).
        in: query
        name: geometry
        schema:
          type: string
      - description: Use x,y or POINT(x y)
        in: query
        name: geometry[contains]
        schema:
          type: string
      - description: Use WKT (POLYGON((x1 y1, x2 y2, ...))) or GeoJSON
        in: query
        name: geometry[intersects]
        schema:
          type: string
      - description: Whether the field has a NULL value or not.
        in: query
        name: geometry[isnull]
        schema:
          type: string
      - description: GeoJSON | GEOMETRY(...)
        in: query
        name: geometry[not]
        schema:
          type: string
      - in: path
        name: id
        required: true
        schema:
          pattern: ^[^/]+$
          type: string
      - description: Unieke aanduiding van de binnen water zone.
        in: query
        name: id
        schema:
          type: integer
      - description: Greater than; number
        in: query
        name: id[gt]
        schema:
          type: integer
      - description: Greater than or equal to; number
        in: query
        name: id[gte]
        schema:
          type: integer
      - description: 'Matches any value from a comma-separated list: val1,val2,valN.'
        explode: false
        in: query
        name: id[in]
        schema:
          items:
            type: integer
          type: array
        style: form
      - description: Whether the field has a NULL value or not.
        in: query
        name: id[isnull]
        schema:
          type: boolean
      - description: Less than; number
        in: query
        name: id[lt]
        schema:
          type: integer
      - description: Less than or equal to; number
        in: query
        name: id[lte]
        schema:
          type: integer
      - description: Exclude matches; number
        in: query
        name: id[not]
        schema:
          items:
            type: integer
          type: array
      responses:
        "200":
          content:
            application/geo+json:
              schema:
                $ref: '#/components/schemas/Waterbinnenwater'
            application/hal+json:
              schema:
                $ref: '#/components/schemas/Waterbinnenwater'
            text/csv:
              schema:
                $ref: '#/components/schemas/Waterbinnenwater'
          description: ""
      tags:
      - binnenwater
  /uitstootvrije_zone_pleziervaart:
    get:
      operationId: water_uitstootvrije_zone_pleziervaart_list_slash
      parameters:
      - description: Accept-Crs header for Geo queries
        in: header
        name: Accept-Crs
        schema:
          type: string
      - description: Content-Crs header for Geo queries
        in: header
        name: Content-Crs
        schema:
          type: string
      - description: Api Key for statistical purposes, not for authentication
        in: header
        name: X-Api-Key
        schema:
          type: string
      - description: Include a count of the total result set and the number of pages.Only
          works for responses that return a page.
        in: query
        name: _count
        required: false
        schema:
          type: boolean
      - description: Specify type of header for csv file
        in: query
        name: _csv_header
        schema:
          enum:
          - id
          - title
          - none
          type: string
      - description: Specify type of separator for csv file
        in: query
        name: _csv_separator
        schema:
          enum:
          - ','
          - ;
          type: string
      - description: Allow to expand relations.
        in: query
        name: _expand
        schema:
          type: boolean
      - description: Comma separated list of named relations to expand.
        in: query
        name: _expandScope
        schema:
          type: string
      - description: Comma-separated list of fields to display
        in: query
        name: _fields
        schema:
          type: string
      - description: Select the export format
        in: query
        name: _format
        schema:
          enum:
          - json
          - csv
          - geojson
          type: string
      - description: Number of results to return per page.
        in: query
        name: _pageSize
        required: false
        schema:
          type: integer
      - description: Which field to use when ordering the results.
        in: query
        name: _sort
        required: false
        schema:
          type: string
      - description: Aanduiding voor de geometrie van het beheerobject volgens het
          Stelsel van de Rijksdriehoeksmeting (RD, epsg:28992).
        in: query
        name: geometry
        schema:
          type: string
      - description: Use x,y or POINT(x y)
        in: query
        name: geometry[contains]
        schema:
          type: string
      - description: Use WKT (POLYGON((x1 y1, x2 y2, ...))) or GeoJSON
        in: query
        name: geometry[intersects]
        schema:
          type: string
      - description: Whether the field has a NULL value or not.
        in: query
        name: geometry[isnull]
        schema:
          type: string
      - description: GeoJSON | GEOMETRY(...)
        in: query
        name: geometry[not]
        schema:
          type: string
      - description: Unieke aanduiding van de zone.
        in: query
        name: id
        schema:
          type: integer
      - description: Greater than; number
        in: query
        name: id[gt]
        schema:
          type: integer
      - description: Greater than or equal to; number
        in: query
        name: id[gte]
        schema:
          type: integer
      - description: 'Matches any value from a comma-separated list: val1,val2,valN.'
        explode: false
        in: query
        name: id[in]
        schema:
          items:
            type: integer
          type: array
        style: form
      - description: Whether the field has a NULL value or not.
        in: query
        name: id[isnull]
        schema:
          type: boolean
      - description: Less than; number
        in: query
        name: id[lt]
        schema:
          type: integer
      - description: Less than or equal to; number
        in: query
        name: id[lte]
        schema:
          type: integer
      - description: Exclude matches; number
        in: query
        name: id[not]
        schema:
          items:
            type: integer
          type: array
      - description: A page number within the paginated result set.
        in: query
        name: page
        required: false
        schema:
          type: integer
      responses:
        "200":
          content:
            application/geo+json:
              schema:
                $ref: '#/components/schemas/PaginatedWateruitstootvrije_zone_pleziervaartList'
            application/hal+json:
              schema:
                $ref: '#/components/schemas/PaginatedWateruitstootvrije_zone_pleziervaartList'
            text/csv:
              schema:
                $ref: '#/components/schemas/PaginatedWateruitstootvrije_zone_pleziervaartList'
          description: ""
      tags:
      - uitstootvrije_zone_pleziervaart
  /uitstootvrije_zone_pleziervaart/{id}:
    get:
      operationId: water_uitstootvrije_zone_pleziervaart_retrieve_slash
      parameters:
      - description: Accept-Crs header for Geo queries
        in: header
        name: Accept-Crs
        schema:
          type: string
      - description: Content-Crs header for Geo queries
        in: header
        name: Content-Crs
        schema:
          type: string
      - description: Api Key for statistical purposes, not for authentication
        in: header
        name: X-Api-Key
        schema:
          type: string
      - description: Specify type of header for csv file
        in: query
        name: _csv_header
        schema:
          enum:
          - id
          - title
          - none
          type: string
      - description: Specify type of separator for csv file
        in: query
        name: _csv_separator
        schema:
          enum:
          - ','
          - ;
          type: string
      - description: Allow to expand relations.
        in: query
        name: _expand
        schema:
          type: boolean
      - description: Comma separated list of named relations to expand.
        in: query
        name: _expandScope
        schema:
          type: string
      - description: Comma-separated list of fields to display
        in: query
        name: _fields
        schema:
          type: string
      - description: Select the export format
        in: query
        name: _format
        schema:
          enum:
          - json
          - csv
          - geojson
          type: string
      - description: Which field to use when ordering the results.
        in: query
        name: _sort
        required: false
        schema:
          type: string
      - description: Aanduiding voor de geometrie van het beheerobject volgens het
          Stelsel van de Rijksdriehoeksmeting (RD, epsg:28992).
        in: query
        name: geometry
        schema:
          type: string
      - description: Use x,y or POINT(x y)
        in: query
        name: geometry[contains]
        schema:
          type: string
      - description: Use WKT (POLYGON((x1 y1, x2 y2, ...))) or GeoJSON
        in: query
        name: geometry[intersects]
        schema:
          type: string
      - description: Whether the field has a NULL value or not.
        in: query
        name: geometry[isnull]
        schema:
          type: string
      - description: GeoJSON | GEOMETRY(...)
        in: query
        name: geometry[not]
        schema:
          type: string
      - in: path
        name: id
        required: true
        schema:
          pattern: ^[^/]+$
          type: string
      - description: Unieke aanduiding van de zone.
        in: query
        name: id
        schema:
          type: integer
      - description: Greater than; number
        in: query
        name: id[gt]
        schema:
          type: integer
      - description: Greater than or equal to; number
        in: query
        name: id[gte]
        schema:
          type: integer
      - description: 'Matches any value from a comma-separated list: val1,val2,valN.'
        explode: false
        in: query
        name: id[in]
        schema:
          items:
            type: integer
          type: array
        style: form
      - description: Whether the field has a NULL value or not.
        in: query
        name: id[isnull]
        schema:
          type: boolean
      - description: Less than; number
        in: query
        name: id[lt]
        schema:
          type: integer
      - description: Less than or equal to; number
        in: query
        name: id[lte]
        schema:
          type: integer
      - description: Exclude matches; number
        in: query
        name: id[not]
        schema:
          items:
            type: integer
          type: array
      responses:
        "200":
          content:
            application/geo+json:
              schema:
                $ref: '#/components/schemas/Wateruitstootvrije_zone_pleziervaart'
            application/hal+json:
              schema:
                $ref: '#/components/schemas/Wateruitstootvrije_zone_pleziervaart'
            text/csv:
              schema:
                $ref: '#/components/schemas/Wateruitstootvrije_zone_pleziervaart'
          description: ""
      tags:
      - uitstootvrije_zone_pleziervaart
security:
- oauth2: []
servers:
- url: https://api.data.amsterdam.nl/
x-versions:
  standaard (v1): https://api.data.amsterdam.nl/v1/water
  versie v1: https://api.data.amsterdam.nl/v1/water/v1
