{"source":"geologi","operation":"find_groundwater_wells","description":"Drilled groundwater wells near a point, nearest first. Signature: find_groundwater_wells(lat: decimal number, decimal degrees (WGS84), required; lon: decimal number, decimal degrees (WGS84), required; radius_km: decimal number, kilometres, optional, default 2; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"find_groundwater_wells(lat: decimal number, decimal degrees (WGS84), required; lon: decimal number, decimal degrees (WGS84), required; radius_km: decimal number, kilometres, optional, default 2; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"lat","type":"number","schema":{"type":"number"},"required":true,"default":null,"description":"Latitude of the centre in decimal degrees (WGS84). Unit: decimal degrees (WGS84).","unit":"decimal degrees (WGS84)"},{"name":"lon","type":"number","schema":{"type":"number"},"required":true,"default":null,"description":"Longitude of the centre in decimal degrees (WGS84). Unit: decimal degrees (WGS84).","unit":"decimal degrees (WGS84)"},{"name":"radius_km","type":"number","schema":{"maximum":20,"minimum":0.1,"type":"number"},"required":false,"default":2,"description":"Search radius in km, 0.1-20 (default 2). Unit: kilometres.","unit":"kilometres"},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"default":25,"description":"Max wells to return. Unit: items. Through this API: default 25, maximum 100.","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer"},"required":false,"default":0,"description":"Results to skip before the first one returned (default 0); with limit, pages through every match. Unit: items.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/geologi/find_groundwater_wells?lat={lat}&lon={lon}&radius_km=2&limit=25&offset=0","example_url":"https://allemannsdata.com/wiki/api/v1/kilder/geologi/find_groundwater_wells?lat=59.91&lon=10.75","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"count":{"type":"integer"},"wells":{"type":"array","items":{"type":"object","properties":{"id":{"type":["integer","string","null"]},"lat":{"type":"number"},"lon":{"type":"number"},"distance_km":{"type":"number"},"depth_m":{"type":["number","null"]},"capacity_l_per_h":{"type":["number","null"]},"medium":{"type":["string","null"]},"usage":{"type":["string","null"]},"drilled":{"type":["string","null"],"format":"date"},"report_url":{"type":["string","null"],"format":"uri"}},"additionalProperties":false,"required":["lat","lon","distance_km"]}}},"additionalProperties":false,"required":["count","wells"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["place"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"error_contract":{"scope":"top-level HTTP error response; never part of a success payload","schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object"}},"additionalProperties":false,"required":["code","message","retryable"]},"suggestion":{"type":"string"},"_meta":{"type":"object","properties":{"retrieved_at":{"type":"string","format":"date-time"},"language":{"type":"string","const":"en"},"content_languages":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"type":"object"}}},"required":["retrieved_at","language","content_languages","sources"]},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"api_index":{"type":"string","format":"uri"},"feedback":{"type":"string","format":"uri"}},"required":["self","api_index","feedback"],"additionalProperties":false}},"additionalProperties":false,"required":["error","suggestion","_meta","_links"]},"statuses":{"400":{"codes":["MISSING_PARAMETER","INVALID_PARAMETER","INVALID_REQUEST"],"retryable":false},"404":{"codes":["SOURCE_NOT_FOUND","OPERATION_NOT_FOUND","ENTITY_NOT_FOUND","ENDPOINT_NOT_FOUND"],"retryable":false},"405":{"codes":["METHOD_NOT_ALLOWED"],"retryable":false},"429":{"codes":["RATE_LIMITED","GATEWAY_RATE_LIMITED"],"retryable":true},"503":{"codes":["SOURCE_UNAVAILABLE"],"retryable":true},"500":{"codes":["INTERNAL_ERROR"],"retryable":false}}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/geologi/find_groundwater_wells/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/geologi/find_groundwater_wells","source":"https://allemannsdata.com/wiki/api/v1/kilder/geologi","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["count","wells","wells[].id","wells[].lat","wells[].lon","wells[].distance_km","wells[].depth_m","wells[].capacity_l_per_h","wells[].medium","wells[].usage","wells[].drilled","wells[].report_url"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["wells[].id"],"latitude":["wells[].lat"],"longitude":["wells[].lon"]},"temporal_conventions":{"timezone":"calendar_dates","join_guidance":"date-time fields are RFC 3339 with an explicit offset (Z, +00:00 or the Europe/Oslo offset); compare absolute instants, not clock text. date fields are calendar dates without a time zone.","date_fields":["wells[].drilled"]},"response_example":{"source":"geologi","operation":"find_groundwater_wells","parameters":{"lat":59.91,"lon":10.75,"limit":25,"offset":0},"data":{"count":1,"wells":[{"id":1,"lat":59.91,"lon":10.75,"distance_km":1.0,"depth_m":1.0,"capacity_l_per_h":1.0,"medium":"example value","usage":"example value","drilled":"2026-01-15","report_url":"https://example.invalid/resource"}]},"entities":[{"type":"place","id":"59.91,10.75","name":"59.91, 10.75","source":"geologi","description":"Coordinate used as the operation input.","coordinates":{"lat":59.91,"lon":10.75,"crs":"WGS84"}}],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"geologi","name":"Geology (NGU)","description":"Check radon susceptibility, soil type and the marine limit at a location, or find nearby groundwater wells and geotechnical investigations. Explore boreholes, quick-clay findings and available investigation reports through NGU and NADAG.","publisher":"Norges geologiske unders\u00f8kelse (NGU)","license":"https://data.norge.no/nlod/en/2.0/","cache_ttl_seconds":86400,"documentation":"https://www.ngu.no/"}]},"_provenance":{"data":{"source":"geologi","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/geologi"},"entities":{"source":"geologi","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/geologi","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/geologi/find_groundwater_wells","source":"https://allemannsdata.com/wiki/api/v1/kilder/geologi","wiki":"https://allemannsdata.com/wiki/kilder/geologi/find_groundwater_wells/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
