{"openapi":"3.1.0","jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","info":{"title":"Allemannsdata API","version":"1.0.0","description":"Large document, for code generators only; never fetch during navigation. Generated OpenAPI projection for code tools. Source endpoint JSON metadata is authoritative in case of discrepancies."},"x-allemannsdata-authority":{"authoritative":"/api/v1/ and each /api/v1/kilder/{source}","projection":"OpenAPI is generated for tooling and is not authoritative for agents."},"servers":[{"url":"https://allemannsdata.com/wiki"}],"tags":[{"name":"Discovery","description":"Find endpoints and data sources."},{"name":"Places","description":"Geographic lookups."},{"name":"Firmafakta","description":"Norwegian businesses, people, roles, owners, accounts, grants, jobs and intellectual property."},{"name":"Doffin and TED","description":"Search Norwegian and European public procurement, notices and CPV codes."},{"name":"Norges Bank","description":"Exchange rates, policy rates, market rates, government bonds and regional surveys."},{"name":"The Oil Fund (GPFG)","description":"Holdings of Norway's sovereign wealth fund 1998-2025 and its shareholder voting record 2013-2025."},{"name":"Open positions","description":"Recently published jobs and details from NAV's open labour-market data."},{"name":"Places in Norway (POI)","description":"Search a local OpenStreetMap extract of Norwegian restaurants, shops, accommodation and other points of interest."},{"name":"Geonorge","description":"Address search, place names, nearby places and reverse geocoding from the Norwegian Mapping Authority."},{"name":"Weather and natural hazards","description":"Current weather, forecasts, history, tides, sea levels, floods and avalanche hazards."},{"name":"Frost historical weather and climate","description":"Measured historical weather observations and climate normals from MET Norway's weather-station network."},{"name":"Air quality","description":"Monitoring stations, latest measurements, history and Norwegian air-quality forecasts."},{"name":"AIS and vessels","description":"Latest known vessel positions, vessel search and historical AIS tracks from BarentsWatch."},{"name":"Aquaculture and fish health","description":"Aquaculture sites, disease status, salmon lice and sea temperature from BarentsWatch."},{"name":"Kystdatahuset","description":"Norwegian ports, quays, maritime locations and reported port connections from the Coastal Administration."},{"name":"Fiskeridirektoratet \u2013 vessel register","description":"Norway's official register of active fishing vessels: marks, dimensions, engine, build data and owners."},{"name":"Statistics Norway","description":"Search Statbank and fetch table metadata, dimensions, units and statistics in JSON-stat2."},{"name":"Br\u00f8nn\u00f8ysund Register Centre","description":"Live Central Coordinating Register lookups for businesses, official entity data, roles and group structures."},{"name":"NVE HydAPI","description":"Hydrological stations and observations for water level, discharge, temperature, snow and groundwater."},{"name":"Vann-nett water bodies","description":"Water Framework Directive status (ecological and chemical) for Norwegian rivers, lakes and coastal water bodies, from Vann-nett."},{"name":"Entur","description":"Search the national stop register and fetch scheduled and real-time public transport departures."},{"name":"data.norge.no","description":"Search datasets, APIs, concepts, information models, services and events in the National Data Catalog."},{"name":"NOBIL","description":"Public charging stations, charge points and availability data from Enova's Nordic charging database."},{"name":"ENTSO-E Transparency Platform","description":"Day-ahead prices and actual electricity consumption for Norway and Norwegian bidding zones."},{"name":"NASA FIRMS","description":"Near-real-time satellite detections of fires and thermal anomalies in Norway and selected areas."},{"name":"N2YO satellite data","description":"Satellite elements, positions, visible passes and satellites above an observation point."},{"name":"Norwegian news events","description":"Geolocated Norwegian news and police events, deduplicated and ordered by recency."},{"name":"Norwegian Police Log","description":"Official operational messages about traffic, fires, public order, missing persons and other incidents."},{"name":"Stortinget open data","description":"Parliamentary sessions, representatives, government, parties, cases, votes and election results."},{"name":"Lovdata public data","description":"Norwegian laws, central regulations, sections and Supreme Court case law."},{"name":"Norwegian public correspondence journals","description":"Search municipal and central-government correspondence journals and public case metadata."},{"name":"National Archives of Norway","description":"Search the 1910 census, historical properties and the National Archives catalogue."},{"name":"National Library of Norway","description":"Search books, newspapers, journals, photos, maps, audiovisual media and digitized full text."},{"name":"Norwegian cultural heritage","description":"Protected heritage sites, cultural environments and museum collections from national sources."},{"name":"Artskart species data","description":"Norwegian taxonomy and verified species observations from the national Artskart service."},{"name":"Naturbase","description":"Protected areas (verneomr\u00e5der) and mapped nature types (naturtyper etter NiN) from Milj\u00f8direktoratet."},{"name":"Rovbase large carnivores","description":"Observations of Norway's large carnivores (bear, wolf, wolverine, lynx, golden eagle) from Milj\u00f8direktoratet's Rovbase, via GBIF."},{"name":"FHI Statistics","description":"Public-health tables from the Norwegian Institute of Public Health and Directorate of Health."},{"name":"Norwegian Food Safety Authority","description":"Food-service establishments, hygiene inspection history and Smilefjes requirement assessments."},{"name":"Norwegian education data","description":"Schools, kindergartens, Udir statistics and higher-education data from DBH."},{"name":"Avinor flight data","description":"Real-time arrivals, departures, status, airport metadata and airline names for Norwegian airports."},{"name":"Bane NOR train data","description":"Real-time station boards, train movements and rail disruptions from the infrastructure manager."},{"name":"Norwegian Public Roads Administration","description":"Traffic counts, annual traffic, road objects, road references and current traffic messages."},{"name":"Statnett operational data","description":"Power flows, production, consumption and power-situation status from Norway's system operator."},{"name":"Norwegian electricity spot prices","description":"Current and historical hourly spot prices, cheapest hours and price-area lookup for NO1\u2013NO5."},{"name":"Data catalog SPARQL","description":"Direct SPARQL queries and specialized dataset, resource and concept search in Norway's national data catalog."},{"name":"Norwegian Public Roads Administration \u2013 vehicles","description":"Technical vehicle information without owner data, based on registration number or VIN."}],"paths":{"/api/v1/":{"get":{"operationId":"getApiIndex","summary":"Fetch the API index","tags":["Discovery"],"responses":{"200":{"$ref":"#/components/responses/Success"},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/sok/alle":{"get":{"operationId":"searchAllSources","summary":"Search across data sources","tags":["Discovery"],"parameters":[{"name":"q","in":"query","required":true,"description":"Search query.","schema":{"type":"string","minLength":1}},{"name":"limit","in":"query","required":false,"description":"Maximum total results.","schema":{"type":"integer","minimum":1,"maximum":10,"default":5}},{"name":"sources","in":"query","required":false,"description":"Comma-separated source IDs.","schema":{"type":"string"}},{"name":"mode","in":"query","required":false,"description":"Choose auto routing, catalog-only source discovery, entity-only search, or combined source and entity results. Use entities when the query may also be a source keyword or name.","schema":{"type":"string","enum":["auto","source_discovery","entities","all"],"default":"auto"}}],"responses":{"200":{"$ref":"#/components/responses/Success"},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/steder/sok":{"get":{"operationId":"searchPlaces","summary":"Search by address or place name","tags":["Places"],"parameters":[{"name":"q","in":"query","required":true,"description":"Address or place name.","schema":{"type":"string","minLength":1}}],"responses":{"200":{"$ref":"#/components/responses/Success"},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/steder/{lat}/{lon}":{"get":{"operationId":"getPlaceData","summary":"Fetch data for a coordinate","tags":["Places"],"parameters":[{"name":"lat","in":"path","required":true,"description":"Latitude in WGS84.","schema":{"type":"number","minimum":-90,"maximum":90}},{"name":"lon","in":"path","required":true,"description":"Longitude in WGS84.","schema":{"type":"number","minimum":-180,"maximum":180}},{"name":"section","in":"query","required":false,"description":"Limit the response to one data category; use all explicitly for the largest response.","schema":{"type":"string","enum":["summary","geography","weather","air","poi","energy","maritime","all"],"default":"summary"}},{"name":"fields","in":"query","required":false,"description":"Comma-separated place payload fields to fetch and return. Valid values are addresses, place_names, current_weather, forecast, air_stations, air_forecast, pois, vessels, aquaculture, ports, charging_stations and fire_detections.","schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/Success"},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/organisasjonsnummer_for_selskap":{"get":{"operationId":"firmafakta_organisasjonsnummer_for_selskap","summary":"organisasjonsnummer for selskap","description":"Returns the organisasjonsnummer for a company or multiple companies if there is ambiguity.\nThe method filters and tries to match company names based on the input.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"company_name","in":"query","required":true,"description":"Name of the company you want to find the organisasjonsnummer for.","schema":{"description":"Name of the company to search for. Should be at least 2 characters.","maxLength":100,"minLength":2,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"organisasjonsnummer_for_selskap"},"parameters":{"type":"object","properties":{"company_name":{"description":"Name of the company to search for. Should be at least 2 characters.","maxLength":100,"minLength":2,"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["company_name","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"navn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"organisasjonsnummer":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"beskrivelse":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/personinformasjon":{"get":{"operationId":"firmafakta_personinformasjon","summary":"personinformasjon","description":"Retrieves information about a person based on their name.\nThe method filters and tries to match person names based on the input.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"person_name","in":"query","required":true,"description":"The name of the person.","schema":{"description":"Full name of the person to retrieve information about. Should be at least 2 characters.","maxLength":100,"minLength":2,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"personinformasjon"},"parameters":{"type":"object","properties":{"person_name":{"description":"Full name of the person to retrieve information about. Should be at least 2 characters.","maxLength":100,"minLength":2,"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["person_name","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"navn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"organisasjonsnummer":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"bosted":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"type":{"type":"string"}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/selskapsdetaljer":{"get":{"operationId":"firmafakta_selskapsdetaljer","summary":"selskapsdetaljer","description":"Retrieves detailed information for a company by its organization number.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"The organization number of the company.","schema":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"selskapsdetaljer"},"parameters":{"type":"object","properties":{"org_nr":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/aksjeeiere_for_selskap":{"get":{"operationId":"firmafakta_aksjeeiere_for_selskap","summary":"aksjeeiere for selskap","description":"Retrieves the largest shareholders for a given company organization number,\nordered by holding size. Listed companies can have tens of thousands of tiny\nholders, so results are capped at `limit` (default 100).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"The organization number of the company.","schema":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max shareholders to return (largest first), 1-1000.","schema":{"description":"Max shareholders to return, largest holdings first. Default 100; raise for a longer tail (hard cap 1000).","maximum":1000,"minimum":1,"type":"integer","default":100}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"aksjeeiere_for_selskap"},"parameters":{"type":"object","properties":{"org_nr":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"},"limit":{"description":"Max shareholders to return, largest holdings first. Default 100; raise for a longer tail (hard cap 1000).","maximum":1000,"minimum":1,"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"anyOf":[{"type":"object","properties":{"note":{"type":"string"},"shareholders":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/selskapets_aksjeposter":{"get":{"operationId":"firmafakta_selskapets_aksjeposter","summary":"selskapets aksjeposter","description":"Retrieves a list of stocks owned by a given company (i.e., where the company is a shareholder).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"The organization number of the company that is a shareholder.","schema":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"selskapets_aksjeposter"},"parameters":{"type":"object","properties":{"org_nr":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/aksjeposter_for_person":{"get":{"operationId":"firmafakta_aksjeposter_for_person","summary":"aksjeposter for person","description":"Retrieves stock holdings for an individual based on their name and birth year","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"name","in":"query","required":true,"description":"The name of the person.","schema":{"description":"Full name of the person whose stock holdings are to be retrieved.","maxLength":100,"minLength":2,"type":"string"}},{"name":"birth_year","in":"query","required":true,"description":"The birth year of the person.","schema":{"description":"Birth year of the person (YYYY format).","maxLength":4,"minLength":4,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"aksjeposter_for_person"},"parameters":{"type":"object","properties":{"name":{"description":"Full name of the person whose stock holdings are to be retrieved.","maxLength":100,"minLength":2,"type":"string"},"birth_year":{"description":"Birth year of the person (YYYY format).","maxLength":4,"minLength":4,"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["name","birth_year","limit","offset"]},"data":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/roller_i_enhet":{"get":{"operationId":"firmafakta_roller_i_enhet","summary":"roller i enhet","description":"Retrieves roles for a given organization number from Br\u00f8nn\u00f8ysund Registeret. Contains information\nabout the board members, the CEO, accountant and other roles.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"The organization number of the entity.","schema":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"roller_i_enhet"},"parameters":{"type":"object","properties":{"org_nr":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"type":"object","properties":{"rollegrupper":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/underenheter_for_selskap":{"get":{"operationId":"firmafakta_underenheter_for_selskap","summary":"underenheter for selskap","description":"Retrieves \"underenheter\" (sub-entities/branches) for a given parent organization number.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"The organization number of the parent entity.","schema":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"underenheter_for_selskap"},"parameters":{"type":"object","properties":{"org_nr":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"string"}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/tildelinger_for_selskap":{"get":{"operationId":"firmafakta_tildelinger_for_selskap","summary":"tildelinger for selskap","description":"Retrieves \"tildelinger\" (allocations/grants) for a given organization number.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"The organization number to get allocations for.","schema":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"tildelinger_for_selskap"},"parameters":{"type":"object","properties":{"org_nr":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/eu_tildelinger_for_selskap":{"get":{"operationId":"firmafakta_eu_tildelinger_for_selskap","summary":"eu tildelinger for selskap","description":"Retrieves EU grants awarded to a specific organization number.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"The organization number.","schema":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"eu_tildelinger_for_selskap"},"parameters":{"type":"object","properties":{"org_nr":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/forskningsradet_tildelinger_for_selskap":{"get":{"operationId":"firmafakta_forskningsradet_tildelinger_for_selskap","summary":"forskningsradet tildelinger for selskap","description":"Retrieves grants from \"Forskningsr\u00e5det\" (The Research Council of Norway) for a specific organization number.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"The organization number.","schema":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"forskningsradet_tildelinger_for_selskap"},"parameters":{"type":"object","properties":{"org_nr":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/skattefunnprosjekter_for_selskap":{"get":{"operationId":"firmafakta_skattefunnprosjekter_for_selskap","summary":"skattefunnprosjekter for selskap","description":"Retrieves SkatteFUNN projects for a given organization number.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"The organization number to search for.","schema":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"skattefunnprosjekter_for_selskap"},"parameters":{"type":"object","properties":{"org_nr":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"anyOf":[{"type":"array","items":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/stillinger_for_selskap":{"get":{"operationId":"firmafakta_stillinger_for_selskap","summary":"stillinger for selskap","description":"Retrieves active job listings from NAV (arbeidsplassen.no) for a given employer organization number.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"The organization number of the employer.","schema":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"stillinger_for_selskap"},"parameters":{"type":"object","properties":{"org_nr":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"type":"object","properties":{"count":{"type":"integer"},"stillinger":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/list_naeringskoder":{"get":{"operationId":"firmafakta_list_naeringskoder","summary":"list naeringskoder","description":"List Norwegian business activity codes (naeringskoder) present in the database.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"search","in":"query","required":false,"description":"Optional substring to filter by code or description. Returns all codes if omitted.","schema":{"default":null,"description":"Optional substring to filter codes or descriptions by (case-insensitive, matches Norwegian terms, e.g. 'restaurant', 'bygg', '56.1'). Omit to list all codes.","type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"list_naeringskoder"},"parameters":{"type":"object","properties":{"search":{"default":null,"description":"Optional substring to filter codes or descriptions by (case-insensitive, matches Norwegian terms, e.g. 'restaurant', 'bygg', '56.1'). Omit to list all codes.","type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["search","limit","offset"]},"data":{"type":"object","properties":{"count":{"type":"integer"},"naeringskoder":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/finn_selskaper":{"get":{"operationId":"firmafakta_finn_selskaper","summary":"finn selskaper","description":"Search for companies by location (kommune or fylke), optionally filtered by business activity codes, company age and employee count.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"kommune","in":"query","required":false,"description":"Municipality name (e.g., \"Oslo\", \"Bergen\", \"Stavanger\"). Optional if fylke is provided.","schema":{"default":null,"description":"Municipality to filter companies by (e.g., 'Oslo', 'Bergen', 'Trondheim'). Optional if fylke is provided.","type":"string"}},{"name":"fylke","in":"query","required":false,"description":"County/region name. Optional if kommune is provided.","schema":{"default":null,"description":"County/region to filter companies by (e.g., 'Vestland', 'Oslo', 'Tr\u00f8ndelag', 'Rogaland'). Optional if kommune is provided.","type":"string"}},{"name":"naeringskoder","in":"query","required":false,"description":"List of business activity codes to filter by. Optional - if not provided, returns all companies in the location. Call list_naeringskoder to look up codes for a segment.","schema":{"default":null,"description":"List of Norwegian business activity codes (naeringskoder) to filter by, e.g. ['56.101', '56.102']. A short prefix like '41' matches every code under it (all of section 41). Use list_naeringskoder to find relevant codes for a business segment. Optional.","items":{"type":"string"},"type":"array"}},{"name":"min_age","in":"query","required":false,"description":"Minimum company age in years (calculated from stiftelsesdato).","schema":{"default":null,"description":"Minimum company age in years. Companies must have been founded at least this many years ago.","type":"integer"}},{"name":"max_age","in":"query","required":false,"description":"Maximum company age in years (calculated from stiftelsesdato).","schema":{"default":null,"description":"Maximum company age in years. Companies must have been founded at most this many years ago.","type":"integer"}},{"name":"min_employees","in":"query","required":false,"description":"Minimum number of employees.","schema":{"default":null,"description":"Minimum number of employees. Only returns companies with at least this many employees.","type":"integer"}},{"name":"max_employees","in":"query","required":false,"description":"Maximum number of employees.","schema":{"default":null,"description":"Maximum number of employees. Only returns companies with at most this many employees.","type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum number of companies to return. Default is 30, capped at 100.","schema":{"default":30,"description":"Maximum number of companies to return. Capped at 100; use offset to page through larger result sets.","type":"integer"}},{"name":"offset","in":"query","required":false,"description":"Number of companies to skip. Default is 0.","schema":{"default":0,"description":"Number of companies to skip.","type":"integer"}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"finn_selskaper"},"parameters":{"type":"object","properties":{"kommune":{"default":null,"description":"Municipality to filter companies by (e.g., 'Oslo', 'Bergen', 'Trondheim'). Optional if fylke is provided.","type":"string"},"fylke":{"default":null,"description":"County/region to filter companies by (e.g., 'Vestland', 'Oslo', 'Tr\u00f8ndelag', 'Rogaland'). Optional if kommune is provided.","type":"string"},"naeringskoder":{"default":null,"description":"List of Norwegian business activity codes (naeringskoder) to filter by, e.g. ['56.101', '56.102']. A short prefix like '41' matches every code under it (all of section 41). Use list_naeringskoder to find relevant codes for a business segment. Optional.","items":{"type":"string"},"type":"array"},"min_age":{"default":null,"description":"Minimum company age in years. Companies must have been founded at least this many years ago.","type":"integer"},"max_age":{"default":null,"description":"Maximum company age in years. Companies must have been founded at most this many years ago.","type":"integer"},"min_employees":{"default":null,"description":"Minimum number of employees. Only returns companies with at least this many employees.","type":"integer"},"max_employees":{"default":null,"description":"Maximum number of employees. Only returns companies with at most this many employees.","type":"integer"},"limit":{"default":30,"description":"Maximum number of companies to return. Capped at 100; use offset to page through larger result sets.","type":"integer"},"offset":{"default":0,"description":"Number of companies to skip.","type":"integer"}},"additionalProperties":false,"required":["kommune","fylke","naeringskoder","min_age","max_age","min_employees","max_employees","limit","offset"]},"data":{"type":"object","properties":{"summary":{"type":"object","properties":{"total_matching":{"type":["integer","null"]},"showing":{"type":"string"},"has_more_results":{"type":"boolean"},"note":{"type":"string"}},"additionalProperties":false},"pagination":{"type":"object","properties":{"current_offset":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"limit":{"type":["integer","null"]},"next_offset":{"anyOf":[{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":["integer","null"]}]},{"type":"null"}]},"tip":{"type":"string"}},"additionalProperties":false},"applied_filters":{"type":"object","properties":{"location":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"string"}]},"naeringskoder":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"string"}]},"age_range":{"type":"string"},"employee_range":{"type":"string"}},"additionalProperties":false},"filter_tips":{"type":"array","items":{"anyOf":[{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"string"}]},{"type":"string"}]}},"companies":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/finn_selskaper_i_omrade":{"get":{"operationId":"firmafakta_finn_selskaper_i_omrade","summary":"finn selskaper i omrade","description":"Find companies within a radius of a point, nearest first.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"postnummer","in":"query","required":false,"description":"Norwegian 4-digit postal code to centre the search on (e.g. '0150'). The centre becomes that postal code's location. Ignored if lat+lon are given.","schema":{"default":null,"description":"Norwegian 4-digit postal code to centre the search on (e.g. '0150'). The centre becomes that postal code's location. Ignored if lat+lon are given.","type":"string"}},{"name":"lat","in":"query","required":false,"description":"Latitude of the centre point (WGS84). Provide together with lon to search around exact coordinates.","schema":{"default":null,"description":"Latitude of the centre point (WGS84). Provide together with lon to search around exact coordinates.","type":"number"}},{"name":"lon","in":"query","required":false,"description":"Longitude of the centre point (WGS84). Provide together with lat.","schema":{"default":null,"description":"Longitude of the centre point (WGS84). Provide together with lat.","type":"number"}},{"name":"adresse","in":"query","required":false,"description":"Street address (e.g. 'Karl Johans gate 1') used together with postnummer to centre the search on that address. Falls back to the postal code centre if the address is not found.","schema":{"default":null,"description":"Street address (e.g. 'Karl Johans gate 1') used together with postnummer to centre the search on that address. Falls back to the postal code centre if the address is not found.","type":"string"}},{"name":"radius_km","in":"query","required":false,"description":"Search radius in kilometres from the centre. Capped at 50 km.","schema":{"default":5.0,"description":"Search radius in kilometres from the centre. Capped at 50 km.","type":"number"}},{"name":"naeringskoder","in":"query","required":false,"description":"Optional list of naeringskoder to filter by, e.g. ['56.101']. A short prefix like '41' matches every code under it. Use list_naeringskoder to find codes.","schema":{"default":null,"description":"Optional list of naeringskoder to filter by, e.g. ['56.101']. A short prefix like '41' matches every code under it. Use list_naeringskoder to find codes.","items":{"type":"string"},"type":"array"}},{"name":"min_employees","in":"query","required":false,"description":"Minimum number of employees.","schema":{"default":null,"description":"Minimum number of employees.","type":"integer"}},{"name":"max_employees","in":"query","required":false,"description":"Maximum number of employees.","schema":{"default":null,"description":"Maximum number of employees.","type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Max companies to return, nearest first. Capped at 100; use offset to page.","schema":{"default":30,"description":"Max companies to return, nearest first. Capped at 100; use offset to page.","type":"integer"}},{"name":"offset","in":"query","required":false,"description":"Number of companies to skip.","schema":{"default":0,"description":"Number of companies to skip.","type":"integer"}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"finn_selskaper_i_omrade"},"parameters":{"type":"object","properties":{"postnummer":{"default":null,"description":"Norwegian 4-digit postal code to centre the search on (e.g. '0150'). The centre becomes that postal code's location. Ignored if lat+lon are given.","type":"string"},"lat":{"default":null,"description":"Latitude of the centre point (WGS84). Provide together with lon to search around exact coordinates.","type":"number"},"lon":{"default":null,"description":"Longitude of the centre point (WGS84). Provide together with lat.","type":"number"},"adresse":{"default":null,"description":"Street address (e.g. 'Karl Johans gate 1') used together with postnummer to centre the search on that address. Falls back to the postal code centre if the address is not found.","type":"string"},"radius_km":{"default":5.0,"description":"Search radius in kilometres from the centre. Capped at 50 km.","type":"number"},"naeringskoder":{"default":null,"description":"Optional list of naeringskoder to filter by, e.g. ['56.101']. A short prefix like '41' matches every code under it. Use list_naeringskoder to find codes.","items":{"type":"string"},"type":"array"},"min_employees":{"default":null,"description":"Minimum number of employees.","type":"integer"},"max_employees":{"default":null,"description":"Maximum number of employees.","type":"integer"},"limit":{"default":30,"description":"Max companies to return, nearest first. Capped at 100; use offset to page.","type":"integer"},"offset":{"default":0,"description":"Number of companies to skip.","type":"integer"}},"additionalProperties":false,"required":["postnummer","lat","lon","adresse","radius_km","naeringskoder","min_employees","max_employees","limit","offset"]},"data":{"anyOf":[{"type":"string"},{"type":"object","properties":{"summary":{"type":"object","properties":{"center":{"type":"string"},"center_coordinates":{"type":"object","properties":{"latitude":{"type":"number"},"longitude":{"type":"number"}},"additionalProperties":false},"radius_km":{"type":["number","null"]},"total_matching":{"type":["integer","null"]},"showing":{"type":"string"},"has_more_results":{"type":"boolean"},"note":{"type":"string"}},"additionalProperties":false},"pagination":{"type":"object","properties":{"current_offset":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"limit":{"type":["integer","null"]},"next_offset":{"anyOf":[{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":["integer","null"]}]},{"type":"null"}]}},"additionalProperties":false},"companies":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/get_company_last_financial_statement":{"get":{"operationId":"firmafakta_get_company_last_financial_statement","summary":"get company last financial statement","description":"The open section contains key figures from the most recently submitted annual financial statements,\nwhile the closed section contains almost all figures from the past three annual financial statements,\nincluding those from the consolidated accounts.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"The organization number of the company.","schema":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"get_company_last_financial_statement"},"parameters":{"type":"object","properties":{"org_nr":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firmafakta/get_company_ip_rights":{"get":{"operationId":"firmafakta_get_company_ip_rights","summary":"get company ip rights","description":"This dataset contains information about registered rights and applications submitted in Norway.\nThe dataset provides detailed information about patented inventions, trademarks and designs.\nThis includes applicant names, important ID numbers, application date, status and relevant events.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Firmafakta"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"The organization number of the company.","schema":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firmafakta"},"operation":{"type":"string","const":"get_company_ip_rights"},"parameters":{"type":"object","properties":{"org_nr":{"description":"Norwegian organization number (9 digits).","maxLength":9,"minLength":9,"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/doffin/search_doffin":{"get":{"operationId":"doffin_search_doffin","summary":"search doffin","description":"Search Norwegian public procurement notices on Doffin.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Doffin and TED"],"parameters":[{"name":"query","in":"query","required":false,"description":"Free-text search (Norwegian or English), e.g. \"IT-drift\", \"sn\u00f8rydding\", \"rammeavtale konsulent\". Start here.","schema":{"type":"string","default":""}},{"name":"types","in":"query","required":false,"description":"Filter by notice type. Parent types: PLANNING, COMPETITION, RESULT. Specific types: ANNOUNCEMENT_OF_COMPETITION, DYNAMIC_PURCHASING_SCHEME, QUALIFICATION_SCHEME, ANNOUNCEMENT_OF_INTENT, PRE_ANNOUNCEMENT, ADVISORY_NOTICE, NOTICE_ON_BUYER_PROFILE, ANNOUNCEMENT_OF_CONCLUSION_OF_CONTRACT, CHANGE_OF_CONCLUSION_OF_CONTRACT, CANCELLED_OR_MISSING_CONCLUSION_OF_CONTRACT. Use [\"COMPETITION\"] + statuses=[\"ACTIVE\"] for open tenders.","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"statuses","in":"query","required":false,"description":"ACTIVE (open for bids), EXPIRED, AWARDED, CANCELLED.","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"contract_nature","in":"query","required":false,"description":"WORKS, SERVICES and/or SUPPLIES.","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"cpv_codes","in":"query","required":false,"description":"8-digit CPV codes, e.g. [\"45000000\"]. Matches the code and its children. Find codes with search_cpv_codes(). Best combined with a free-text query.","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"locations","in":"query","required":false,"description":"NUTS-style location ids, e.g. [\"NO060\"] (Tr\u00f8ndelag), or \"anyw\" for non-location-bound. See list_location_codes().","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"buyer","in":"query","required":false,"description":"Buyer organization full name(s) exactly as written on notices, e.g. [\"Trondheim kommune\"]. Resolved to Doffin's internal buyer id via a free-text lookup; names that match no buyer are reported in \"note\" and, if none match, no results are returned (rather than an unfiltered search). Pass the 32-hex buyer id from a result's buyer field directly to skip the lookup.","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"winner","in":"query","required":false,"description":"Doffin's internal supplier id (32-hex). Winner names cannot be used - they are not present in search results to resolve against.","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"date_from","in":"query","required":false,"description":"Publication date lower bound, \"YYYY-MM-DD\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"date_to","in":"query","required":false,"description":"Publication date upper bound, \"YYYY-MM-DD\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"sort_by","in":"query","required":false,"description":"RELEVANCE (default), PUBLICATION_DATE_DESC, PUBLICATION_DATE_ASC, DEADLINE, ESTIMATED_VALUE_ASC, ESTIMATED_VALUE_DESC.","schema":{"type":"string","default":"RELEVANCE"}},{"name":"page","in":"query","required":false,"description":"1-based page number.","schema":{"type":"integer","default":1}},{"name":"hits_per_page","in":"query","required":false,"description":"1-50 (default 10).","schema":{"type":"integer","default":10}},{"name":"include_placeholders","in":"query","required":false,"description":"By default, hits whose buyer fields look like unfilled eForm template values (org id 123456789, placeholder buyer names) are dropped from the results as junk. Set True to keep them, each flagged with \"possible_placeholder\": true.","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"doffin"},"operation":{"type":"string","const":"search_doffin"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"types":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"statuses":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"contract_nature":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"cpv_codes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"locations":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"buyer":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"winner":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"date_from":{"anyOf":[{"type":"string"},{"type":"null"}]},"date_to":{"anyOf":[{"type":"string"},{"type":"null"}]},"sort_by":{"type":"string"},"page":{"type":"integer"},"hits_per_page":{"type":"integer"},"include_placeholders":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","types","statuses","contract_nature","cpv_codes","locations","buyer","winner","date_from","date_to","sort_by","page","hits_per_page","include_placeholders","limit","offset"]},"data":{"type":"object","properties":{"total_count":{"type":["integer","null"]},"hits":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"note":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/doffin/get_notice":{"get":{"operationId":"doffin_get_notice","summary":"get notice","description":"Get the full detail of one Doffin notice by id (e.g. \"2026-103178\").","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Doffin and TED"],"parameters":[{"name":"id","in":"query","required":true,"description":"Doffin notice id from search_doffin results.","schema":{"type":"string"}},{"name":"include_form_details","in":"query","required":false,"description":"Also return the complete published eForm as a section tree (procedure details, award criteria, lots, winner and value on RESULT notices...). Large; only request it when the summary fields aren't enough.","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"doffin"},"operation":{"type":"string","const":"get_notice"},"parameters":{"type":"object","properties":{"id":{"type":"string"},"include_form_details":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["id","include_form_details","limit","offset"]},"data":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"doffin_url":{"type":"string"}},"additionalProperties":false}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/doffin/search_cpv_codes":{"get":{"operationId":"doffin_search_cpv_codes","summary":"search cpv codes","description":"Find CPV codes (the EU common procurement vocabulary) by Norwegian\nlabel or code prefix, for use in search_doffin(cpv_codes=...) and TED\nqueries. E.g. \"programvare\", \"r\u00e5dgivning\", \"vintervedlikehold\", \"4500\".","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Doffin and TED"],"parameters":[{"name":"query","in":"query","required":true,"description":"Parameteren query.","schema":{"type":"string"}},{"name":"max_results","in":"query","required":false,"description":"Parameteren max_results.","schema":{"type":"integer","default":20}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"doffin"},"operation":{"type":"string","const":"search_cpv_codes"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"max_results":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","max_results","limit","offset"]},"data":{"type":"array","items":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/doffin/list_location_codes":{"get":{"operationId":"doffin_list_location_codes","summary":"list location codes","description":"List the location codes Doffin uses for the locations filter -\nNUTS-style regions of Norway plus \"anyw\" (not location-bound).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Doffin and TED"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"doffin"},"operation":{"type":"string","const":"list_location_codes"},"parameters":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["limit","offset"]},"data":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/doffin/search_ted":{"get":{"operationId":"doffin_search_ted","summary":"search ted","description":"Search TED (Tenders Electronic Daily) - EU-wide public procurement\nnotices - with the TED Search API v3 expert query syntax.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Doffin and TED"],"parameters":[{"name":"query","in":"query","required":true,"description":"Expert query. Every field condition must be joined with an explicit AND/OR/NOT - there is no implicit operator, so two conditions with nothing between them is a syntax error, not an OR. Append \"SORT BY <field> DESC|ASC\". Useful fields: - classification-cpv IN (45000000)   filter by SUBJECT. Use this, not FT, to restrict to a procurement category. Matches notices tagged with that exact code (a code, not its children); a notice carries several CPVs, so a hit may also cover other things. - FT=\"text\"                       free text - matches any notice that MENTIONS the words anywhere, so it returns unrelated notices (a construction tender that happens to say \"software\"). Not a category filter; AND it with classification-cpv to scope. - place-of-performance IN (NOR)   ISO 3166 alpha-3 or NUTS codes - buyer-country IN (SWE DNK) - publication-date >= 20260101    or e.g. today(-30) - deadline-receipt-tender-date-lot >= today() - notice-type IN (cn-standard)    cn=competition, can=award, pin=prior information; cn-standard, can-standard etc. - contract-nature IN (works services supplies) - buyer-name ~ (\"kommune\") Example - open Swedish construction tenders: (buyer-country IN (SWE)) AND (classification-cpv IN (45000000)) AND (notice-type IN (cn-standard)) SORT BY publication-date DESC","schema":{"type":"string"}},{"name":"fields","in":"query","required":false,"description":"Response fields to return (defaults cover number, title, buyer, dates, CPV, type, nature, value).","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"page","in":"query","required":false,"description":"1-based page (max 15,000 notices reachable via paging).","schema":{"type":"integer","default":1}},{"name":"limit","in":"query","required":false,"description":"1-250 notices per page (default 10).","schema":{"type":"integer","default":10}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"doffin"},"operation":{"type":"string","const":"search_ted"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"fields":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"page":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","fields","page","limit","offset"]},"data":{"type":"object","properties":{"total_count":{"type":["integer","null"]},"notices":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"url":{"type":["string","null"],"format":"uri"},"pdf":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}]}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/norgesbank/list_datasets":{"get":{"operationId":"norgesbank_list_datasets","summary":"list datasets","description":"The Norges Bank dataflows most worth querying, out of ~20 published.","x-description-language":"en","x-response-schema-status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"tags":["Norges Bank"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"norgesbank"},"operation":{"type":"string","const":"list_datasets"},"parameters":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["limit","offset"]},"data":{"type":"object","additionalProperties":{"type":"object","properties":{"tool":{"type":["string","null"]},"description":{"type":"string"}},"additionalProperties":false,"required":["description"]}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false},"example":{"source":"norgesbank","operation":"list_datasets","parameters":{},"data":{"example_key":{"tool":"example value","description":"example value"}},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"norgesbank","name":"Norges Bank","description":"Exchange rates, policy rates, market rates, government bonds and regional surveys.","cache_ttl_seconds":60}]},"_provenance":{"data":{"source":"norgesbank","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/norgesbank"},"entities":{"source":"norgesbank","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/norgesbank","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/norgesbank/list_datasets","source":"https://allemannsdata.com/wiki/api/v1/kilder/norgesbank","wiki":"https://allemannsdata.com/wiki/kilder/norgesbank/list_datasets/"}}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/norgesbank/get_exchange_rate":{"get":{"operationId":"norgesbank_get_exchange_rate","summary":"get exchange rate","description":"Daily NOK exchange rate for one foreign currency.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norges Bank"],"parameters":[{"name":"currency","in":"query","required":false,"description":"ISO currency code, e.g. \"USD\", \"EUR\", \"GBP\", \"SEK\", \"JPY\" (also \"I44\"/\"TWI\" for the import-/trade-weighted krone indices). See get_dataset_dimensions(\"EXR\") for the full list.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"start_period","in":"query","required":false,"description":"Optional earliest date, \"YYYY-MM-DD\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"end_period","in":"query","required":false,"description":"Optional latest date, \"YYYY-MM-DD\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"last_n_observations","in":"query","required":false,"description":"Optional cap to the most recent N days instead of a date range. With neither a date range nor this set, only the most recent 30 observations are returned by default (a `note` in the response says so); pass a value for more history.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"base_currency","in":"query","required":false,"description":"Alias for `currency` (use one or the other).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"norgesbank"},"operation":{"type":"string","const":"get_exchange_rate"},"parameters":{"type":"object","properties":{"currency":{"anyOf":[{"type":"string"},{"type":"null"}]},"start_period":{"anyOf":[{"type":"string"},{"type":"null"}]},"end_period":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_n_observations":{"anyOf":[{"type":"integer"},{"type":"null"}]},"base_currency":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["currency","start_period","end_period","last_n_observations","base_currency","limit","offset"]},"data":{"type":"object","properties":{"observations":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"truncated":{"type":"boolean"},"note":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/norgesbank/get_policy_rate":{"get":{"operationId":"norgesbank_get_policy_rate","summary":"get policy rate","description":"Norges Bank's key central bank rates, daily.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norges Bank"],"parameters":[{"name":"rate","in":"query","required":false,"description":"\"policy\" (the key policy rate that sets the rate corridor, default), \"reserve\" (rate on banks' reserves at Norges Bank) or \"overnight_lending\" (banks' overnight borrowing rate).","schema":{"type":"string","default":"policy"}},{"name":"start_period","in":"query","required":false,"description":"Optional earliest date, \"YYYY-MM-DD\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"end_period","in":"query","required":false,"description":"Optional latest date, \"YYYY-MM-DD\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"last_n_observations","in":"query","required":false,"description":"Optional cap to the most recent N days instead of a date range. With neither a date range nor this set, only the most recent 30 observations are returned by default (a `note` in the response says so); pass a value for more history.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"norgesbank"},"operation":{"type":"string","const":"get_policy_rate"},"parameters":{"type":"object","properties":{"rate":{"type":"string"},"start_period":{"anyOf":[{"type":"string"},{"type":"null"}]},"end_period":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_n_observations":{"anyOf":[{"type":"integer"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["rate","start_period","end_period","last_n_observations","limit","offset"]},"data":{"type":"object","properties":{"observations":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"truncated":{"type":"boolean"},"note":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/norgesbank/get_short_term_rate":{"get":{"operationId":"norgesbank_get_short_term_rate","summary":"get short term rate","description":"Norwegian short-term money market rates (Nowa), daily.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norges Bank"],"parameters":[{"name":"instrument","in":"query","required":false,"description":"\"overnight\" (Nowa, the overnight unsecured NOK rate - Norway's risk-free reference rate, default), \"1m_average\", \"3m_average\" or \"6m_average\" (compounded Nowa averages over that window).","schema":{"type":"string","default":"overnight"}},{"name":"start_period","in":"query","required":false,"description":"Optional earliest date, \"YYYY-MM-DD\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"end_period","in":"query","required":false,"description":"Optional latest date, \"YYYY-MM-DD\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"last_n_observations","in":"query","required":false,"description":"Optional cap to the most recent N days instead of a date range. With neither a date range nor this set, only the most recent 30 observations are returned by default (a `note` in the response says so); pass a value for more history.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"norgesbank"},"operation":{"type":"string","const":"get_short_term_rate"},"parameters":{"type":"object","properties":{"instrument":{"type":"string"},"start_period":{"anyOf":[{"type":"string"},{"type":"null"}]},"end_period":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_n_observations":{"anyOf":[{"type":"integer"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["instrument","start_period","end_period","last_n_observations","limit","offset"]},"data":{"type":"object","properties":{"observations":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"truncated":{"type":"boolean"},"note":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/norgesbank/get_government_bond_yield":{"get":{"operationId":"norgesbank_get_government_bond_yield","summary":"get government bond yield","description":"Norwegian government bond zero-coupon yield, daily.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norges Bank"],"parameters":[{"name":"tenor","in":"query","required":false,"description":"Point on the yield curve - \"6M\", \"9M\", \"12M\", \"2Y\"..\"10Y\". Default \"10Y\" (the standard long-term benchmark).","schema":{"type":"string","default":"10Y"}},{"name":"start_period","in":"query","required":false,"description":"Optional earliest date, \"YYYY-MM-DD\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"end_period","in":"query","required":false,"description":"Optional latest date, \"YYYY-MM-DD\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"last_n_observations","in":"query","required":false,"description":"Optional cap to the most recent N days instead of a date range. With neither a date range nor this set, only the most recent 30 observations are returned by default (a `note` in the response says so); pass a value for more history.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"norgesbank"},"operation":{"type":"string","const":"get_government_bond_yield"},"parameters":{"type":"object","properties":{"tenor":{"type":"string"},"start_period":{"anyOf":[{"type":"string"},{"type":"null"}]},"end_period":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_n_observations":{"anyOf":[{"type":"integer"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["tenor","start_period","end_period","last_n_observations","limit","offset"]},"data":{"type":"object","properties":{"observations":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"truncated":{"type":"boolean"},"note":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/norgesbank/get_regional_network_survey":{"get":{"operationId":"norgesbank_get_regional_network_survey","summary":"get regional network survey","description":"Norges Bank's quarterly Regional Network business survey.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norges Bank"],"parameters":[{"name":"topic","in":"query","required":false,"description":"What's measured - PROD (output growth, default), INVPLAN (investment plans), KAPUTN (capacity utilisation), SYSS (employment growth), SYSSPLAN (employment plans), ARSLONN (annual wage growth), LONNSOM (profitability), TILG_ARBKR_BEGR (labour supply constraints), REGIONALINDIKATOR (composite indicator).","schema":{"type":"string","default":"PROD"}},{"name":"sector","in":"query","required":false,"description":"AGG (all sectors, default), IND_TOT/IND_HJ/IND_EKSP (manufacturing: total/domestic/export), OLJE_TOT/OLJE_HJ/OLJE_EKSP (oil services: total/domestic/export), BA (construction), VH (retail), TY_TOT/TY_NL/TY_HUSH (services: total/commercial/household).","schema":{"type":"string","default":"AGG"}},{"name":"region","in":"query","required":false,"description":"\"_X\" (national, default), INNLAND, MIDT, NORD, NORDVEST, OST, SOR or SORVEST.","schema":{"type":"string","default":"_X"}},{"name":"horizon","in":"query","required":false,"description":"CURRQ (current quarter, default), N1Q (next quarter), CURRY (current year), N1Y (next year), CURR (current level/situation).","schema":{"type":"string","default":"CURRQ"}},{"name":"start_period","in":"query","required":false,"description":"Optional earliest quarter, \"YYYY-Qn\" e.g. \"2024-Q1\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"end_period","in":"query","required":false,"description":"Optional latest quarter, same format.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"last_n_observations","in":"query","required":false,"description":"Optional cap to the most recent N quarters instead of a date range. With neither a date range nor this set, only the most recent 30 observations are returned by default (a `note` in the response says so); pass a value for more history.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"norgesbank"},"operation":{"type":"string","const":"get_regional_network_survey"},"parameters":{"type":"object","properties":{"topic":{"type":"string"},"sector":{"type":"string"},"region":{"type":"string"},"horizon":{"type":"string"},"start_period":{"anyOf":[{"type":"string"},{"type":"null"}]},"end_period":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_n_observations":{"anyOf":[{"type":"integer"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["topic","sector","region","horizon","start_period","end_period","last_n_observations","limit","offset"]},"data":{"type":"object","properties":{"observations":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"truncated":{"type":"boolean"},"note":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/norgesbank/get_dataset_dimensions":{"get":{"operationId":"norgesbank_get_dataset_dimensions","summary":"get dataset dimensions","description":"Get a dataflow's dimensions and their valid codes, in key order.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norges Bank"],"parameters":[{"name":"dataset_id","in":"query","required":true,"description":"A Norges Bank dataflow id, e.g. \"EXR\", \"IR\" (see list_datasets() for the curated list, or any id from app.norges-bank.no/query). Prefer the dedicated tool (get_exchange_rate, get_policy_rate, etc.) when one exists - this is for the other ~15 dataflows.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"norgesbank"},"operation":{"type":"string","const":"get_dataset_dimensions"},"parameters":{"type":"object","properties":{"dataset_id":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["dataset_id","limit","offset"]},"data":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"dimensions":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"values":{"type":"array","items":{"type":"object","properties":{"code":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"label":{"type":["string","null"]}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/norgesbank/get_series":{"get":{"operationId":"norgesbank_get_series","summary":"get series","description":"Fetch one or more time series from any Norges Bank dataflow.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norges Bank"],"parameters":[{"name":"dataset_id","in":"query","required":true,"description":"A Norges Bank dataflow id, e.g. \"EXR\" (see list_datasets()).","schema":{"type":"string"}},{"name":"key","in":"query","required":true,"description":"Dot-joined dimension codes in key order, e.g. \"B.USD.NOK.SP\". Leave a segment empty for \"all values\" on that dimension, e.g. \"B..NOK.SP\" for every currency's spot rate. Get valid codes and their order from get_dataset_dimensions().","schema":{"type":"string"}},{"name":"start_period","in":"query","required":false,"description":"Optional earliest date/period to include, \"YYYY-MM-DD\" (or \"YYYY\", \"YYYY-Qn\", depending on the dataflow's frequency).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"end_period","in":"query","required":false,"description":"Optional latest date/period to include.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"last_n_observations","in":"query","required":false,"description":"Optional cap returning only the most recent N observations per series - handy instead of a date range. With neither a date range nor this set, only the most recent 30 per series are returned by default (a `note` in the response says so); pass a value for more history.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"norgesbank"},"operation":{"type":"string","const":"get_series"},"parameters":{"type":"object","properties":{"dataset_id":{"type":"string"},"key":{"type":"string"},"start_period":{"anyOf":[{"type":"string"},{"type":"null"}]},"end_period":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_n_observations":{"anyOf":[{"type":"integer"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["dataset_id","key","start_period","end_period","last_n_observations","limit","offset"]},"data":{"type":"object","properties":{"dataset_id":{"type":["string","null"]},"key":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"series":{"type":"array","items":{"type":"object","properties":{"dimensions":{"type":"object","additionalProperties":{"type":"object","properties":{"code":{"type":["string","null"]},"label":{"type":["string","null"]}},"additionalProperties":false}},"observations":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"period":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"value":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"number"}]}},"additionalProperties":false}]}}},"additionalProperties":false}},"truncated":{"type":"boolean"},"note":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/oljefond/fund_value":{"get":{"operationId":"oljefond_fund_value","summary":"fund value","description":"The fund's official net asset value per asset class, 1998-2025.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["The Oil Fund (GPFG)"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"oljefond"},"operation":{"type":"string","const":"fund_value"},"parameters":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["limit","offset"]},"data":{"type":"object","properties":{"snapshots":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/oljefond/find_holdings":{"get":{"operationId":"oljefond_find_holdings","summary":"find holdings","description":"Search the fund's investments at one year-end, largest first.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["The Oil Fund (GPFG)"],"parameters":[{"name":"year","in":"query","required":true,"description":"Year-end snapshot, 1998-2025.","schema":{"type":"integer"}},{"name":"country","in":"query","required":false,"description":"Country name or ISO-2 code the investment is registered in.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"sector","in":"query","required":false,"description":"Case-insensitive substring of the sector, e.g. \"financials\", \"treasuries\", \"office\", \"wind\". Sector names differ by year and asset class (\"Oil & Gas\" became \"Energy\"), so match loosely and read the sector on the returned rows.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"asset_type","in":"query","required":false,"description":"One of equity, fixed_income, real_estate, renewable_infrastructure (also eq, fi, re, ri).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"query","in":"query","required":false,"description":"Case-insensitive substring of the company or issuer name.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max holdings to return, 1-50 (default 25).","schema":{"type":"integer","default":25}},{"name":"offset","in":"query","required":false,"description":"Skip this many matches, for paging.","schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"oljefond"},"operation":{"type":"string","const":"find_holdings"},"parameters":{"type":"object","properties":{"year":{"type":"integer"},"country":{"anyOf":[{"type":"string"},{"type":"null"}]},"sector":{"anyOf":[{"type":"string"},{"type":"null"}]},"asset_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer"}},"additionalProperties":false,"required":["year","country","sector","asset_type","query","limit","offset"]},"data":{"type":"object","properties":{"year":{"type":["integer","null"]},"matched":{"type":"integer"},"total_value_nok":{"type":"number"},"offset":{"type":["integer","null"]},"holdings":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"country":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"country_code":{"type":["string","null"]},"asset_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"sector":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"value_nok":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"value_eur":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"ownership_pct":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"ticker":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"voting_pct":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"projects_total":{"type":"boolean"},"projects":{"type":"boolean"}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/oljefond/country_holdings_history":{"get":{"operationId":"oljefond_country_holdings_history","summary":"country holdings history","description":"One country's holdings per year and asset class, 1998-2025.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["The Oil Fund (GPFG)"],"parameters":[{"name":"country","in":"query","required":false,"description":"Country name or ISO-2 code. Omit to list every country in the data with its most recent total, largest first \u2014 use that to find the name or code to pass back in.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"oljefond"},"operation":{"type":"string","const":"country_holdings_history"},"parameters":{"type":"object","properties":{"country":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["country","limit","offset"]},"data":{"type":"object","properties":{"countries":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"country":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"country_code":{"type":["string","null"]},"latest_year":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"value_nok":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}]}},"country":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"country_code":{"type":["string","null"]},"series":{"type":"object","properties":{},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/oljefond/voting_summary":{"get":{"operationId":"oljefond_voting_summary","summary":"voting summary","description":"How the fund voted, per year, fund-wide or for one country.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["The Oil Fund (GPFG)"],"parameters":[{"name":"year","in":"query","required":false,"description":"Restrict to one year, 2013-2025. Omit for every year.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"country","in":"query","required":false,"description":"Country name or ISO-2 code (e.g. \"Japan\", \"JP\"). Omit for the whole fund.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"oljefond"},"operation":{"type":"string","const":"voting_summary"},"parameters":{"type":"object","properties":{"year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"country":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["year","country","limit","offset"]},"data":{"type":"object","properties":{"scope":{"type":"string"},"years":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"top_countries_by_meetings":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"country":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"country_code":{"type":["string","null"]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/oljefond/find_companies":{"get":{"operationId":"oljefond_find_companies","summary":"find companies","description":"Find companies in the fund's voting record by name or ticker.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["The Oil Fund (GPFG)"],"parameters":[{"name":"query","in":"query","required":false,"description":"Case-insensitive substring of the company name, or an exact ticker. Omit to list every company (use with country).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"country","in":"query","required":false,"description":"Country name or ISO-2 code the company is listed in.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max companies to return, 1-200 (default 25).","schema":{"type":"integer","default":25}},{"name":"offset","in":"query","required":false,"description":"Skip this many matches, for paging through a large result.","schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"oljefond"},"operation":{"type":"string","const":"find_companies"},"parameters":{"type":"object","properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"country":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer"}},"additionalProperties":false,"required":["query","country","limit","offset"]},"data":{"type":"object","properties":{"matched":{"type":"integer"},"offset":{"type":["integer","null"]},"companies":{"type":"array","items":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/oljefond/company_votes":{"get":{"operationId":"oljefond_company_votes","summary":"company votes","description":"The fund's voting record for one company, year by year.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["The Oil Fund (GPFG)"],"parameters":[{"name":"company","in":"query","required":true,"description":"Company id from find_companies(), or a ticker or company name (an ambiguous name comes back as an error listing the candidates).","schema":{"type":"string"}},{"name":"year","in":"query","required":false,"description":"Restrict to one year and include the individual votes. Omit for a per-year summary only.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max individual votes to return for that year, 1-200 (default 50); `items_total` reports how many there were.","schema":{"type":"integer","default":50}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"oljefond"},"operation":{"type":"string","const":"company_votes"},"parameters":{"type":"object","properties":{"company":{"type":"string"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["company","year","limit","offset"]},"data":{"type":"object","properties":{"company_id":{"type":["string","null"]},"name":{"type":["string","null"]},"ticker":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"country":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"years":{"type":"object","properties":{},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/stillinger/get_recent_jobs":{"get":{"operationId":"stillinger_get_recent_jobs","summary":"get recent jobs","description":"Job vacancies posted or changed at/after a date, from NAV's stillingsfeed.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Open positions"],"parameters":[{"name":"since","in":"query","required":false,"description":"ISO date or datetime (UTC), e.g. \"2026-07-01\" or \"2026-07-01T08:00:00Z\". Default: 24 hours ago. Earlier dates cover more but walk more pages (see max_pages). A `since` in the future returns nothing.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"keyword","in":"query","required":false,"description":"Case-insensitive substring filter on job title and employer.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"municipality","in":"query","required":false,"description":"Case-insensitive substring filter on the ad's municipality (e.g. \"OSLO\", \"Bergen\").","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"active_only","in":"query","required":false,"description":"If True (default), return only ads whose latest state is ACTIVE. False also includes ads that have since gone INACTIVE.","schema":{"type":"boolean","default":true}},{"name":"max_results","in":"query","required":false,"description":"Cap on returned ads, 1-200 (default 50). Newest first.","schema":{"type":"integer","default":50}},{"name":"max_pages","in":"query","required":false,"description":"Safety cap on feed pages walked, 1-100 (default 20). Each page is up to 1000 events. If hit before reaching the newest page, `truncated` is True and the newest ads may be missing; narrow `since` toward now or raise this.","schema":{"type":"integer","default":20}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"stillinger"},"operation":{"type":"string","const":"get_recent_jobs"},"parameters":{"type":"object","properties":{"since":{"anyOf":[{"type":"string"},{"type":"null"}]},"keyword":{"anyOf":[{"type":"string"},{"type":"null"}]},"municipality":{"anyOf":[{"type":"string"},{"type":"null"}]},"active_only":{"type":"boolean"},"max_results":{"type":"integer"},"max_pages":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["since","keyword","municipality","active_only","max_results","max_pages","limit","offset"]},"data":{"type":"object","properties":{"since":{"type":"string"},"match_count":{"type":"integer"},"returned":{"type":"integer"},"jobs":{"anyOf":[{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},{"type":"array","items":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"note":{"type":"string"},"pages_scanned":{"type":"integer"},"unique_ads_scanned":{"type":"integer"},"truncated":{"type":"boolean"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/stillinger/get_job":{"get":{"operationId":"stillinger_get_job","summary":"get job","description":"Full details for one job ad, by its feed entry id (a UUID).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Open positions"],"parameters":[{"name":"entry_id","in":"query","required":true,"description":"Parameteren entry_id.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"stillinger"},"operation":{"type":"string","const":"get_job"},"parameters":{"type":"object","properties":{"entry_id":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["entry_id","limit","offset"]},"data":{"type":"object","properties":{"id":{"type":["string","null"]},"status":{"type":["string","null"]},"note":{"type":"string"},"title":{"type":["string","null"]},"employer":{"type":"object","properties":{"name":{"type":["string","null"]},"orgnr":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"homepage":{"type":["string","null"],"format":"uri"},"about":{"type":"string"}},"additionalProperties":false},"locations":{"type":"array","items":{"type":"object","properties":{"address":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"postal_code":{"type":["string","null"]},"city":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipal":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"country":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"published":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"expires":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"application_due":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"application_url":{"type":["string","null"],"format":"uri"},"link":{"type":["string","null"],"format":"uri"},"source":{"type":"boolean"},"employment_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"extent":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"sector":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"position_count":{"type":["integer","null"]},"start":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"occupation_categories":{"type":"boolean"},"styrk_codes":{"type":"array","items":{"type":"object","properties":{"type":{"type":["string","null"]},"code":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"name":{"type":["string","null"]}},"additionalProperties":false}},"description":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/poi_norge/list_categories":{"get":{"operationId":"poi_norge_list_categories","summary":"list categories","description":"List POI categories in the snapshot, with counts.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Places in Norway (POI)"],"parameters":[{"name":"type","in":"query","required":false,"description":"Filter to one OSM tag group: \"amenity\", \"shop\" or \"tourism\". Default: all three.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"poi_norge"},"operation":{"type":"string","const":"list_categories"},"parameters":{"type":"object","properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["type","limit","offset"]},"data":{"type":"object","properties":{"total_pois":{"type":"integer"},"categories":{"type":"array","items":{"type":"object","properties":{"type":{"type":["string","null"]},"category":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"count":{"type":["integer","null"]}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/poi_norge/search_poi":{"get":{"operationId":"poi_norge_search_poi","summary":"search poi","description":"Find points of interest near a location.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Places in Norway (POI)"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Centre latitude (WGS84).","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Centre longitude (WGS84).","schema":{"type":"number"}},{"name":"radius_km","in":"query","required":false,"description":"Search radius in km (default 5).","schema":{"type":"number","default":5}},{"name":"category","in":"query","required":false,"description":"Exact OSM tag value, e.g. \"restaurant\", \"supermarket\", \"hotel\". See list_categories() for available values.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"type","in":"query","required":false,"description":"Filter to one OSM tag group: \"amenity\", \"shop\" or \"tourism\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"query","in":"query","required":false,"description":"Free-text match against each POI's name (case-insensitive).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max POIs to return, 1 to 200 (default 50).","schema":{"type":"integer","default":50}},{"name":"offset","in":"query","required":false,"description":"Skip this many matching POIs (for pagination), sorted by distance ascending.","schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"poi_norge"},"operation":{"type":"string","const":"search_poi"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"radius_km":{"type":"number"},"category":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":{"anyOf":[{"type":"string"},{"type":"null"}]},"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer"}},"additionalProperties":false,"required":["lat","lon","radius_km","category","type","query","limit","offset"]},"data":{"type":"object","properties":{"matched":{"type":"integer"},"offset":{"type":["integer","null"]},"count":{"type":"integer"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"type":{"type":["string","null"]},"category":{"type":["string","null"]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"distance_km":{"type":["number","null"]}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/geonorge/search_address":{"get":{"operationId":"geonorge_search_address","summary":"search address","description":"Search Norwegian addresses by free text.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Geonorge"],"parameters":[{"name":"text","in":"query","required":false,"description":"Address query, e.g. \"Karl Johans gate 1\" or \"Storgata\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"kommunenummer","in":"query","required":false,"description":"Optional 4-digit municipality code to restrict the search (e.g. \"0301\" for Oslo, \"4601\" for Bergen).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max hits to return, 1 to 100 (default 20).","schema":{"type":"integer","default":20}},{"name":"query","in":"query","required":false,"description":"Alias for `text` (use one or the other).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"geonorge"},"operation":{"type":"string","const":"search_address"},"parameters":{"type":"object","properties":{"text":{"anyOf":[{"type":"string"},{"type":"null"}]},"kommunenummer":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["text","kommunenummer","limit","query","offset"]},"data":{"type":"object","properties":{"total_count":{"type":["integer","null"]},"addresses":{"type":"array","items":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/geonorge/reverse_geocode":{"get":{"operationId":"geonorge_reverse_geocode","summary":"reverse geocode","description":"Find the addresses nearest to a coordinate (reverse geocoding).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Geonorge"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Latitude in decimal degrees (WGS84), e.g. 59.911.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Longitude in decimal degrees (WGS84), e.g. 10.75.","schema":{"type":"number"}},{"name":"radius","in":"query","required":false,"description":"Search radius in metres (default 500).","schema":{"type":"integer","default":500}},{"name":"limit","in":"query","required":false,"description":"Max hits to return, 1 to 100 (default 10).","schema":{"type":"integer","default":10}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"geonorge"},"operation":{"type":"string","const":"reverse_geocode"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"radius":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","radius","limit","offset"]},"data":{"type":"object","properties":{"total_count":{"type":["integer","null"]},"addresses":{"type":"array","items":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/geonorge/search_place_name":{"get":{"operationId":"geonorge_search_place_name","summary":"search place name","description":"Search Norwegian place names (stedsnavn) by free text.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Geonorge"],"parameters":[{"name":"text","in":"query","required":true,"description":"Place name query, e.g. \"Galdh\u00f8piggen\" or \"Trondheim\". Supports wildcard search (*).","schema":{"type":"string"}},{"name":"kommunenummer","in":"query","required":false,"description":"Optional 4-digit municipality code to restrict the search (e.g. \"0301\" for Oslo, \"4601\" for Bergen).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"navneobjekttype","in":"query","required":false,"description":"Optional place type to filter by, e.g. \"Fjell\", \"\u00d8y\", \"Innsj\u00f8\", \"Gard\". Use list_place_types to look up valid values.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max hits to return, 1 to 100 (default 20).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"geonorge"},"operation":{"type":"string","const":"search_place_name"},"parameters":{"type":"object","properties":{"text":{"type":"string"},"kommunenummer":{"anyOf":[{"type":"string"},{"type":"null"}]},"navneobjekttype":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["text","kommunenummer","navneobjekttype","limit","offset"]},"data":{"type":"object","properties":{"total_count":{"type":["integer","null"]},"places":{"type":"array","items":{"type":"object","properties":{"names":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"language":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"status":{"type":["string","null"]}},"additionalProperties":false}},"type":{"type":["string","null"]},"status":{"type":["string","null"]},"kommune":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"fylke":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"stedsnummer":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/geonorge/find_places_near_point":{"get":{"operationId":"geonorge_find_places_near_point","summary":"find places near point","description":"Find the place names nearest to a coordinate (reverse geocoding for\nstedsnavn - use reverse_geocode instead for street addresses).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Geonorge"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Latitude in decimal degrees (WGS84), e.g. 61.636.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Longitude in decimal degrees (WGS84), e.g. 8.312.","schema":{"type":"number"}},{"name":"radius","in":"query","required":false,"description":"Search radius in metres, max 5000 (default 500).","schema":{"type":"integer","default":500}},{"name":"limit","in":"query","required":false,"description":"Max hits to return, 1 to 100 (default 10).","schema":{"type":"integer","default":10}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"geonorge"},"operation":{"type":"string","const":"find_places_near_point"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"radius":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","radius","limit","offset"]},"data":{"type":"object","properties":{"total_count":{"type":["integer","null"]},"places":{"type":"array","items":{"type":"object","properties":{"names":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"language":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"status":{"type":["string","null"]}},"additionalProperties":false}},"type":{"type":["string","null"]},"status":{"type":["string","null"]},"distance_m":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"stedsnummer":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/geonorge/list_place_types":{"get":{"operationId":"geonorge_list_place_types","summary":"list place types","description":"List valid navneobjekttype values (place types, e.g. \"By\", \"Fjell\",\n\"\u00d8y\", \"Innsj\u00f8\", \"Kirke\", \"Gard\") for filtering search_place_name and\nreading the `type` field on its results.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Geonorge"],"parameters":[{"name":"search","in":"query","required":false,"description":"Optional substring to filter by (case-insensitive). Omit to list all ~290 types.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"geonorge"},"operation":{"type":"string","const":"list_place_types"},"parameters":{"type":"object","properties":{"search":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["search","limit","offset"]},"data":{"type":"object","properties":{"count":{"type":"integer"},"types":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"code":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/weather/get_current_weather":{"get":{"operationId":"weather_get_current_weather","summary":"get current weather","description":"Get current weather conditions for a coordinate in or near Norway.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Weather and natural hazards"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Latitude in decimal degrees (e.g. 61.55 for Skei i Jolster)","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Longitude in decimal degrees (e.g. 6.49)","schema":{"type":"number"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"weather"},"operation":{"type":"string","const":"get_current_weather"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","limit","offset"]},"data":{"type":"object","properties":{"time":{"type":["string","null"],"format":"date-time"},"temperature_c":{"type":["number","null"]},"humidity_pct":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"wind_speed_ms":{"type":["number","null"]},"wind_direction_deg":{"type":["number","null"]},"pressure_hpa":{"type":["number","null"]},"precipitation_next_1h_mm":{"type":["number","null"]},"symbol":{"type":["string","null"]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/weather/get_forecast":{"get":{"operationId":"weather_get_forecast","summary":"get forecast","description":"Get the upcoming hourly weather forecast for a coordinate in or near Norway.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Weather and natural hazards"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Latitude in decimal degrees (e.g. 61.55 for Skei i Jolster)","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Longitude in decimal degrees (e.g. 6.49)","schema":{"type":"number"}},{"name":"hours","in":"query","required":false,"description":"Number of hours ahead to include (1 to 48, default 24)","schema":{"type":"integer","default":24}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"weather"},"operation":{"type":"string","const":"get_forecast"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"hours":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","hours","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"time":{"type":["string","null"],"format":"date-time"},"temperature_c":{"type":["number","null"]},"wind_speed_ms":{"type":["number","null"]},"precipitation_mm":{"type":["number","null"]},"symbol":{"type":["string","null"]}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/weather/get_historical_weather":{"get":{"operationId":"weather_get_historical_weather","summary":"get historical weather","description":"Get daily historical weather for a coordinate.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Weather and natural hazards"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Latitude in decimal degrees (e.g. 61.55 for Skei i Jolster)","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Longitude in decimal degrees (e.g. 6.49)","schema":{"type":"number"}},{"name":"start_date","in":"query","required":true,"description":"First day, \"YYYY-MM-DD\".","schema":{"type":"string"}},{"name":"end_date","in":"query","required":true,"description":"Last day, \"YYYY-MM-DD\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"weather"},"operation":{"type":"string","const":"get_historical_weather"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"start_date":{"type":"string"},"end_date":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","start_date","end_date","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":["string","null"],"format":"date"},"temp_min_c":{"type":["number","null"]},"temp_mean_c":{"type":["number","null"]},"temp_max_c":{"type":["number","null"]},"precipitation_mm":{"type":["number","null"]},"wind_speed_max_ms":{"type":["number","null"]}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/weather/get_tide_forecast":{"get":{"operationId":"weather_get_tide_forecast","summary":"get tide forecast","description":"Get the tide and sea-level forecast (\"havniv\u00e5\") for a coordinate on or\nnear the Norwegian coast, from Kartverket.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Weather and natural hazards"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Coordinate. Must be near the Norwegian coast (fjords included); inland positions raise an error.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Coordinate. Must be near the Norwegian coast (fjords included); inland positions raise an error.","schema":{"type":"number"}},{"name":"hours","in":"query","required":false,"description":"Hours ahead to include (default 48).","schema":{"type":"integer","default":48}},{"name":"refcode","in":"query","required":false,"description":"Reference level for the values: \"msl\" (mean sea level, default), \"cd\" (chart datum) or \"nn2000\".","schema":{"type":"string","default":"msl"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"weather"},"operation":{"type":"string","const":"get_tide_forecast"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"hours":{"type":"integer"},"refcode":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","hours","refcode","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"tide_request":{"type":"string"},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"fromtime":{"type":"string"},"totime":{"type":"string"},"datatype":{"type":"string"},"interval":{"type":"integer"},"refcode":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/weather/get_tide_table":{"get":{"operationId":"weather_get_tide_table","summary":"get tide table","description":"Get the tide table (\"tidevannstabell\") - high and low water times - for\na coordinate on or near the Norwegian coast, from Kartverket.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Weather and natural hazards"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Coordinate. Must be near the Norwegian coast.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Coordinate. Must be near the Norwegian coast.","schema":{"type":"number"}},{"name":"days","in":"query","required":false,"description":"Days ahead to include (default 7).","schema":{"type":"integer","default":7}},{"name":"refcode","in":"query","required":false,"description":"Reference level: \"msl\" (default), \"cd\" or \"nn2000\".","schema":{"type":"string","default":"msl"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"weather"},"operation":{"type":"string","const":"get_tide_table"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"days":{"type":"integer"},"refcode":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","days","refcode","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"time":{"type":["string","null"],"format":"date-time"},"height_cm":{"type":"number"},"kind":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/weather/get_sea_level_extremes":{"get":{"operationId":"weather_get_sea_level_extremes","summary":"get sea level extremes","description":"Get reference sea levels for a coordinate on or near the Norwegian\ncoast: astronomical tide extremes and statistical storm-surge return\nlevels, from Kartverket.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Weather and natural hazards"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Coordinate. Must be near the Norwegian coast.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Coordinate. Must be near the Norwegian coast.","schema":{"type":"number"}},{"name":"refcode","in":"query","required":false,"description":"Reference level the values are given relative to: \"msl\" (mean sea level, default), \"cd\" (chart datum) or \"nn2000\".","schema":{"type":"string","default":"msl"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"weather"},"operation":{"type":"string","const":"get_sea_level_extremes"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"refcode":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","refcode","limit","offset"]},"data":{"type":"object","properties":{"location":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"levels":{"type":"array","items":{"type":"object","properties":{"code":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"name":{"type":["string","null"]},"value_cm":{"type":"number"},"type":{"type":["string","null"]}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/weather/get_avalanche_warnings":{"get":{"operationId":"weather_get_avalanche_warnings","summary":"get avalanche warnings","description":"Get the official avalanche danger warnings (\"sn\u00f8skredvarsel\") for a\ncoordinate in Norway, from NVE's Varsom forecast (varsom.no).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Weather and natural hazards"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Coordinate in decimal degrees.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Coordinate in decimal degrees.","schema":{"type":"number"}},{"name":"days","in":"query","required":false,"description":"Days ahead to include (0 to 7, default 2). Forecasts are normally published for today plus two days.","schema":{"type":"integer","default":2}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"weather"},"operation":{"type":"string","const":"get_avalanche_warnings"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"days":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","days","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"region":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"valid_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"valid_to":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"danger_level":{"type":"integer"},"danger_level_name":{"type":["string","null"]},"main_text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/weather/get_flood_warnings":{"get":{"operationId":"weather_get_flood_warnings","summary":"get flood warnings","description":"Get the official flood warnings (\"flomvarsel\") for a coordinate in\nNorway, from NVE's Varsom forecast (varsom.no).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Weather and natural hazards"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Coordinate in decimal degrees. Must be inside a Norwegian municipality; other points raise an error.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Coordinate in decimal degrees. Must be inside a Norwegian municipality; other points raise an error.","schema":{"type":"number"}},{"name":"days","in":"query","required":false,"description":"Days ahead to include (0 to 7, default 2).","schema":{"type":"integer","default":2}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"weather"},"operation":{"type":"string","const":"get_flood_warnings"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"days":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","days","limit","offset"]},"data":{"type":"object","properties":{"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality_number":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"warnings":{"type":"array","items":{"type":"object","properties":{"level":{"type":"integer"},"level_name":{"type":["string","null"]},"danger_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"valid_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"valid_to":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"main_text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"warning_text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"advice_text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"consequence_text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/frost/find_stations":{"get":{"operationId":"frost_find_stations","summary":"find stations","description":"Find MET Norway weather stations.","x-description-language":"en","x-response-schema-status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"tags":["Frost historical weather and climate"],"parameters":[{"name":"query","in":"query","required":false,"description":"Match the station name (substring), e.g. \"Blindern\", \"Florida\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"county","in":"query","required":false,"description":"Filter by county (fylke), e.g. \"Vestland\", \"Oslo\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"municipality","in":"query","required":false,"description":"Filter by municipality (kommune), e.g. \"Bergen\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"near_lat","in":"query","required":false,"description":"If both given, return the stations nearest this WGS84 coordinate (ordered by distance), overriding the filters above.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"near_lon","in":"query","required":false,"description":"If both given, return the stations nearest this WGS84 coordinate (ordered by distance), overriding the filters above.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max stations to return, 1-100 (default 20).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"frost"},"operation":{"type":"string","const":"find_stations"},"parameters":{"type":"object","properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"county":{"anyOf":[{"type":"string"},{"type":"null"}]},"municipality":{"anyOf":[{"type":"string"},{"type":"null"}]},"near_lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"near_lon":{"anyOf":[{"type":"number"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","county","municipality","near_lat","near_lon","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"short_name":{"type":["string","null"]},"county":{"type":["string","null"]},"municipality":{"type":["string","null"]},"lon":{"type":["number","null"]},"lat":{"type":["number","null"]},"masl":{"type":["number","null"]},"wmo_id":{"type":["string","null"]},"valid_from":{"type":["string","null"],"format":"date"},"valid_to":{"type":["string","null"],"format":"date"},"distance_km":{"type":["number","null"]}},"additionalProperties":false,"required":["id","name"]}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false},"example":{"source":"frost","operation":"find_stations","parameters":{"query":"example value","county":"example value","municipality":"example value","near_lat":1.0,"near_lon":1.0,"limit":20},"data":[{"id":"example-id","name":"Example","short_name":"Example","county":"example value","municipality":"example value","lon":10.75,"lat":59.91,"masl":1.0,"wmo_id":"example-id","valid_from":"2026-01-15","valid_to":"2026-01-15","distance_km":1.0}],"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"frost","name":"Frost historical weather and climate","description":"Measured historical weather observations and climate normals from MET Norway's weather-station network.","cache_ttl_seconds":300,"documentation":"https://frost.met.no/index.html"}]},"_provenance":{"data":{"source":"frost","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/frost"},"entities":{"source":"frost","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/frost","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/frost/find_stations","source":"https://allemannsdata.com/wiki/api/v1/kilder/frost","wiki":"https://allemannsdata.com/wiki/kilder/frost/find_stations/"}}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/frost/get_available_elements":{"get":{"operationId":"frost_get_available_elements","summary":"get available elements","description":"List which weather elements a station measures, and over what period.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Frost historical weather and climate"],"parameters":[{"name":"station_id","in":"query","required":true,"description":"A station id from find_stations, e.g. \"SN18700\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"frost"},"operation":{"type":"string","const":"get_available_elements"},"parameters":{"type":"object","properties":{"station_id":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["station_id","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"element":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"unit":{"type":["string","null"]},"resolutions":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"valid_from":{"type":"null"},"valid_to":{"type":"null"}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/frost/get_observations":{"get":{"operationId":"frost_get_observations","summary":"get observations","description":"Get measured weather observations for a station over a date range.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Frost historical weather and climate"],"parameters":[{"name":"station_id","in":"query","required":true,"description":"A station id from find_stations, e.g. \"SN18700\".","schema":{"type":"string"}},{"name":"elements","in":"query","required":true,"description":"One or more Frost element codes, comma-separated. Examples: \"mean(air_temperature P1D)\" (daily mean temp), \"sum(precipitation_amount P1D)\" (daily precipitation), \"max(air_temperature P1D)\", \"min(air_temperature P1D)\", \"mean(wind_speed P1D)\". Use get_available_elements to see what a station offers.","schema":{"type":"string"}},{"name":"from_date","in":"query","required":true,"description":"Start date (inclusive), ISO \"YYYY-MM-DD\".","schema":{"type":"string"}},{"name":"to_date","in":"query","required":true,"description":"End date (exclusive), ISO \"YYYY-MM-DD\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max observation rows to return (default 1000).","schema":{"type":"integer","default":1000}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"frost"},"operation":{"type":"string","const":"get_observations"},"parameters":{"type":"object","properties":{"station_id":{"type":"string"},"elements":{"type":"string"},"from_date":{"type":"string"},"to_date":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["station_id","elements","from_date","to_date","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"time":{"type":["string","null"],"format":"date-time"},"element":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"value":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"unit":{"type":["string","null"]},"quality_code":{"type":["string","null"]},"time_offset":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/frost/get_climate_normals":{"get":{"operationId":"frost_get_climate_normals","summary":"get climate normals","description":"Get long-term climate normals (standard averages) for a station.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Frost historical weather and climate"],"parameters":[{"name":"station_id","in":"query","required":true,"description":"A station id from find_stations, e.g. \"SN18700\".","schema":{"type":"string"}},{"name":"elements","in":"query","required":false,"description":"Optional element codes, comma-separated, e.g. \"mean(air_temperature P1M)\" (monthly mean temp) or \"sum(precipitation_amount P1M)\". Omit for all normals the station has.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"period","in":"query","required":false,"description":"Normal period as \"start/end\" (default \"1991/2020\").","schema":{"type":"string","default":"1991/2020"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"frost"},"operation":{"type":"string","const":"get_climate_normals"},"parameters":{"type":"object","properties":{"station_id":{"type":"string"},"elements":{"anyOf":[{"type":"string"},{"type":"null"}]},"period":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["station_id","elements","period","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"element":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"month":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"normal":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"period":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/luftkvalitet/find_air_stations":{"get":{"operationId":"luftkvalitet_find_air_stations","summary":"find air stations","description":"List Norway's air quality measuring stations with their latest overall\nAQI level and which components (PM2.5, PM10, NO2, O3, SO2) each measures.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Air quality"],"parameters":[{"name":"municipality","in":"query","required":false,"description":"Filter by municipality name, e.g. \"Bergen\" (case-insensitive). Omit for all ~100 stations.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"luftkvalitet"},"operation":{"type":"string","const":"find_air_stations"},"parameters":{"type":"object","properties":{"municipality":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["municipality","limit","offset"]},"data":{"anyOf":[{"type":"object","properties":{"results":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"note":{"type":"string"}},"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"station":{"type":["object","null"],"properties":{},"additionalProperties":false},"eoi":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"area":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"station_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"aqi_level":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"aqi_time":{"type":["string","null"],"format":"date-time"},"components":{"type":"object","additionalProperties":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}}},"additionalProperties":false}}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/luftkvalitet/get_air_quality_nearby":{"get":{"operationId":"luftkvalitet_get_air_quality_nearby","summary":"get air quality nearby","description":"Get the measuring stations nearest a coordinate with their latest\nmeasured AQI level per component. Sorted by distance.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Air quality"],"parameters":[{"name":"lat","in":"query","required":true,"description":"WGS84 coordinate, e.g. from geonorge address search.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"WGS84 coordinate, e.g. from geonorge address search.","schema":{"type":"number"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"luftkvalitet"},"operation":{"type":"string","const":"get_air_quality_nearby"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","limit","offset"]},"data":{"anyOf":[{"type":"object","properties":{"results":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"note":{"type":"string"}},"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"station":{"type":["object","null"],"properties":{},"additionalProperties":false},"eoi":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"area":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"station_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"aqi_level":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"aqi_time":{"type":["string","null"],"format":"date-time"},"components":{"type":"object","additionalProperties":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}}},"additionalProperties":false}}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/luftkvalitet/get_station_latest":{"get":{"operationId":"luftkvalitet_get_station_latest","summary":"get station latest","description":"Get the latest measured values at one station: newest hourly value and\nrunning 24h mean per component, in ug/m3, with AQI level for each.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Air quality"],"parameters":[{"name":"station","in":"query","required":true,"description":"Station name, e.g. \"Danmarks plass\" (from find_air_stations or get_air_quality_nearby).","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"luftkvalitet"},"operation":{"type":"string","const":"get_station_latest"},"parameters":{"type":"object","properties":{"station":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["station","limit","offset"]},"data":{"type":"object","properties":{"station":{"type":["object","null"],"properties":{},"additionalProperties":false},"components":{"type":"array","items":{"type":"object","properties":{"component":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"unit":{"type":["string","null"]},"latest_value":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"latest_level":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"latest_time":{"type":["string","null"],"format":"date-time"},"mean_24h":{"anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/luftkvalitet/get_station_history":{"get":{"operationId":"luftkvalitet_get_station_history","summary":"get station history","description":"Get the measured hourly time series for one station, per component\n(ug/m3). Feed straight into a chart.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Air quality"],"parameters":[{"name":"station","in":"query","required":true,"description":"Station name, e.g. \"Danmarks plass\".","schema":{"type":"string"}},{"name":"period","in":"query","required":false,"description":"\"48h\" (default), \"7d\" or \"14d\" back from now.","schema":{"type":"string","default":"48h"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"luftkvalitet"},"operation":{"type":"string","const":"get_station_history"},"parameters":{"type":"object","properties":{"station":{"type":"string"},"period":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["station","period","limit","offset"]},"data":{"type":"object","properties":{"station":{"type":["object","null"],"properties":{},"additionalProperties":false},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"zone":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"period":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"components":{"type":"array","items":{"type":"object","properties":{"component":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"unit":{"type":["string","null"]},"values":{"type":"array","items":{"type":"object","properties":{"time":{"type":["string","null"],"format":"date-time"},"value":{"type":"number"}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/luftkvalitet/get_air_quality_forecast":{"get":{"operationId":"luftkvalitet_get_air_quality_forecast","summary":"get air quality forecast","description":"Get the modelled hourly air quality forecast (~2 days ahead) for any\ncoordinate in Norway: overall AQI index plus PM2.5, PM10, NO2 and O3\nconcentrations (ug/m3).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Air quality"],"parameters":[{"name":"lat","in":"query","required":true,"description":"WGS84 coordinate. Works anywhere in Norway, no station needed - this is the modelled forecast, not a measurement.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"WGS84 coordinate. Works anywhere in Norway, no station needed - this is the modelled forecast, not a measurement.","schema":{"type":"number"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"luftkvalitet"},"operation":{"type":"string","const":"get_air_quality_forecast"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","limit","offset"]},"data":{"type":"object","properties":{"place":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"now_level":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"now_aqi":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"components":{"type":"array","items":{"type":"object","properties":{"component":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"unit":{"type":"string"},"values":{"type":"array","items":{"type":"object","properties":{"time":{"type":["string","null"],"format":"date-time"},"value":{"type":"number"}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/ais/find_vessels_nearby":{"get":{"operationId":"ais_find_vessels_nearby","summary":"find vessels nearby","description":"Find latest AIS positions for vessels near a coordinate.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["AIS and vessels"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Parameteren lat.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Parameteren lon.","schema":{"type":"number"}},{"name":"radius_km","in":"query","required":false,"description":"Parameteren radius_km.","schema":{"type":"number","default":20}},{"name":"limit","in":"query","required":false,"description":"Parameteren limit.","schema":{"type":"integer","default":30}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"ais"},"operation":{"type":"string","const":"find_vessels_nearby"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"radius_km":{"type":"number"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","radius_km","limit","offset"]},"data":{"type":"object","properties":{"fartoy":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"mmsi":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"navn":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"kallesignal":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"imo":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"skipstype":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"fart_knop":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"kurs":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"destinasjon":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"sist_oppdatert":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"avstand_km":{"type":"number"}},"additionalProperties":false}]},"radius_km":{"type":["number","null"]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/ais/get_vessel":{"get":{"operationId":"ais_get_vessel","summary":"get vessel","description":"Fetch the latest known AIS data for one vessel.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["AIS and vessels"],"parameters":[{"name":"mmsi","in":"query","required":true,"description":"Parameteren mmsi.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"ais"},"operation":{"type":"string","const":"get_vessel"},"parameters":{"type":"object","properties":{"mmsi":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["mmsi","limit","offset"]},"data":{"anyOf":[{"type":"object","properties":{"mmsi":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"navn":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"kallesignal":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"imo":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"skipstype":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"fart_knop":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"kurs":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"destinasjon":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"sist_oppdatert":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/ais/search_vessels":{"get":{"operationId":"ais_search_vessels","summary":"search vessels","description":"Search vessels by name, MMSI, IMO or call sign.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["AIS and vessels"],"parameters":[{"name":"query","in":"query","required":true,"description":"Parameteren query.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"ais"},"operation":{"type":"string","const":"search_vessels"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"mmsi":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"navn":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"kallesignal":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"imo":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"skipstype":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"fart_knop":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"kurs":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"destinasjon":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"sist_oppdatert":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/ais/get_vessel_track":{"get":{"operationId":"ais_get_vessel_track","summary":"get vessel track","description":"Fetch the vessel's AIS track for the past 24 hours.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["AIS and vessels"],"parameters":[{"name":"mmsi","in":"query","required":true,"description":"Parameteren mmsi.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Parameteren limit.","schema":{"type":"integer","default":500}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"ais"},"operation":{"type":"string","const":"get_vessel_track"},"parameters":{"type":"object","properties":{"mmsi":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["mmsi","limit","offset"]},"data":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"null"},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}]},{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/ais/get_vessel_position":{"get":{"operationId":"ais_get_vessel_position","summary":"get vessel position","description":"Get one vessel's latest position with a human-readable location\n(\"3.2 km NW of Kristiansund\"), speed, course and navigational status.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["AIS and vessels"],"parameters":[{"name":"vessel","in":"query","required":true,"description":"Vessel name (e.g. \"KV Svalbard\"), 9-digit MMSI, or 7-digit IMO number.","schema":{"description":"Vessel name, call sign, IMO number or MMSI.","type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"ais"},"operation":{"type":"string","const":"get_vessel_position"},"parameters":{"type":"object","properties":{"vessel":{"description":"Vessel name, call sign, IMO number or MMSI.","type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["vessel","limit","offset"]},"data":{"type":"object","properties":{"name":{"type":"boolean"},"mmsi":{"type":["integer","null"]},"type":{"anyOf":[{"type":"null"},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"string"}]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"location":{"type":"boolean"},"speed_kn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"course":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"heading":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"anyOf":[{"type":"null"},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]}]},"nav_status":{"anyOf":[{"type":"null"},{"type":"string"}]},"destination":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"eta":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"},{"type":"string"}]},"draught_m":{"anyOf":[{"type":"number"},{"type":"null"}]},"position_time":{"type":["string","null"],"format":"date-time"},"position_age_min":{"anyOf":[{"type":"null"},{"type":"number"}]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/ais/get_area_traffic":{"get":{"operationId":"ais_get_area_traffic","summary":"get area traffic","description":"Snapshot of ship traffic in an area - \"how busy is Oslofjorden right\nnow\". Give a Norwegian place name OR a lat/lon coordinate.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["AIS and vessels"],"parameters":[{"name":"place","in":"query","required":false,"description":"Norwegian place/area name, e.g. \"Oslofjorden\", \"Stavanger\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"lat","in":"query","required":false,"description":"Latitude in decimal degrees (WGS84).","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"lon","in":"query","required":false,"description":"Longitude in decimal degrees (WGS84).","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"radius_km","in":"query","required":false,"description":"Area radius in km, max 100 (default 20).","schema":{"type":"number","default":20}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"ais"},"operation":{"type":"string","const":"get_area_traffic"},"parameters":{"type":"object","properties":{"place":{"anyOf":[{"type":"string"},{"type":"null"}]},"lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"lon":{"anyOf":[{"type":"number"},{"type":"null"}]},"radius_km":{"type":"number"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["place","lat","lon","radius_km","limit","offset"]},"data":{"type":"object","properties":{"area":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"radius_km":{"type":["number","null"]},"total_vessels":{"type":"integer"},"moving":{"type":"integer"},"stationary":{"type":"integer"},"by_type":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"by_nav_status":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"busiest_headings":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/ais/lookup_vessel":{"get":{"operationId":"ais_lookup_vessel","summary":"lookup vessel","description":"Resolve vessel identity: name <-> MMSI <-> IMO <-> callsign, plus flag\nstate, type and dimensions. Use before positional queries to\ndisambiguate - a name fragment returns up to 30 candidates.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["AIS and vessels"],"parameters":[{"name":"query","in":"query","required":true,"description":"Vessel name or name fragment (e.g. \"Svalbard\"), 9-digit MMSI, or 7-digit IMO number.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"ais"},"operation":{"type":"string","const":"lookup_vessel"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","offset"]},"data":{"type":"object","properties":{"count":{"type":"integer"},"vessels":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"mmsi":{"type":["integer","null"]},"imo":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"callsign":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"flag":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"type":{"anyOf":[{"type":"null"},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"string"}]},"last_seen":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/marine/search_aquaculture_sites":{"get":{"operationId":"marine_search_aquaculture_sites","summary":"search aquaculture sites","description":"Search aquaculture sites by name, number or municipality.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Aquaculture and fish health"],"parameters":[{"name":"query","in":"query","required":true,"description":"Parameteren query.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Parameteren limit.","schema":{"type":"integer","default":30}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"marine"},"operation":{"type":"string","const":"search_aquaculture_sites"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"lokalitetsnummer":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"navn":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"kommune":{"anyOf":[{"type":"boolean"},{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]}]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"laksefisk_tillatelse":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"sykdommer":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"luserapport":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"behandlinger":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/marine/find_aquaculture_sites_nearby":{"get":{"operationId":"marine_find_aquaculture_sites_nearby","summary":"find aquaculture sites nearby","description":"Find reported aquaculture sites near a coordinate.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Aquaculture and fish health"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Parameteren lat.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Parameteren lon.","schema":{"type":"number"}},{"name":"radius_km","in":"query","required":false,"description":"Parameteren radius_km.","schema":{"type":"number","default":50}},{"name":"limit","in":"query","required":false,"description":"Parameteren limit.","schema":{"type":"integer","default":30}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"marine"},"operation":{"type":"string","const":"find_aquaculture_sites_nearby"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"radius_km":{"type":"number"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","radius_km","limit","offset"]},"data":{"type":"object","properties":{"lokaliteter":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"lokalitetsnummer":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"navn":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"kommune":{"anyOf":[{"type":"boolean"},{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]}]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"laksefisk_tillatelse":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"sykdommer":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"luserapport":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"behandlinger":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"avstand_km":{"type":"number"}},"additionalProperties":false}]},"aar":{"type":["integer","null"]},"uke":{"type":["integer","null"]},"radius_km":{"type":["number","null"]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/marine/get_aquaculture_site":{"get":{"operationId":"marine_get_aquaculture_site","summary":"get aquaculture site","description":"Fetch weekly status for one aquaculture site.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Aquaculture and fish health"],"parameters":[{"name":"locality_no","in":"query","required":true,"description":"Parameteren locality_no.","schema":{"type":"integer"}},{"name":"year","in":"query","required":false,"description":"Parameteren year.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"week","in":"query","required":false,"description":"Parameteren week.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"marine"},"operation":{"type":"string","const":"get_aquaculture_site"},"parameters":{"type":"object","properties":{"locality_no":{"type":"integer"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"week":{"anyOf":[{"type":"integer"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["locality_no","year","week","limit","offset"]},"data":{"type":"object","properties":{"aar":{"type":["integer","null"]},"uke":{"type":["integer","null"]},"lokalitet":{"type":"object","properties":{"lokalitetsnummer":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"navn":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"kommune":{"anyOf":[{"type":"boolean"},{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]}]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"laksefisk_tillatelse":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"sykdommer":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"luserapport":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"behandlinger":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]}},"additionalProperties":false},"raadata":{"anyOf":[{"type":"null"},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/marine/get_disease_history":{"get":{"operationId":"marine_get_disease_history","summary":"get disease history","description":"Fetch current and historical disease status for a site.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Aquaculture and fish health"],"parameters":[{"name":"locality_no","in":"query","required":true,"description":"Parameteren locality_no.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"marine"},"operation":{"type":"string","const":"get_disease_history"},"parameters":{"type":"object","properties":{"locality_no":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["locality_no","limit","offset"]},"data":{"anyOf":[{"type":"null"},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/marine/get_lice_history":{"get":{"operationId":"marine_get_lice_history","summary":"get lice history","description":"Fetch the weekly average of adult female lice for a site.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Aquaculture and fish health"],"parameters":[{"name":"locality_no","in":"query","required":true,"description":"Parameteren locality_no.","schema":{"type":"integer"}},{"name":"year","in":"query","required":false,"description":"Parameteren year.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"marine"},"operation":{"type":"string","const":"get_lice_history"},"parameters":{"type":"object","properties":{"locality_no":{"type":"integer"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["locality_no","year","limit","offset"]},"data":{"anyOf":[{"type":"null"},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/marine/get_sea_temperature":{"get":{"operationId":"marine_get_sea_temperature","summary":"get sea temperature","description":"Fetch reported sea temperature for a site.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Aquaculture and fish health"],"parameters":[{"name":"locality_no","in":"query","required":true,"description":"Parameteren locality_no.","schema":{"type":"integer"}},{"name":"year","in":"query","required":false,"description":"Parameteren year.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"marine"},"operation":{"type":"string","const":"get_sea_temperature"},"parameters":{"type":"object","properties":{"locality_no":{"type":"integer"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["locality_no","year","limit","offset"]},"data":{"anyOf":[{"type":"null"},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/marine/find_aquaculture_sites":{"get":{"operationId":"marine_find_aquaculture_sites","summary":"find aquaculture sites","description":"Search the official Norwegian aquaculture register (Fiskeridirektoratet)\nfor fish-farming sites, by name, area codes and/or a coordinate radius.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Aquaculture and fish health"],"parameters":[{"name":"name","in":"query","required":false,"description":"Partial site name, e.g. \"tuholmane\" (case-insensitive).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"municipality_code","in":"query","required":false,"description":"4-digit kommune number, e.g. \"1244\" (Austevoll). Must be a current code; kommune numbers changed in the 2020 and 2024 reforms (e.g. Gloppen is now \"4650\", not \"1445\").","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"county_code","in":"query","required":false,"description":"2-digit fylke number, e.g. \"11\" (Rogaland).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"production_area_code","in":"query","required":false,"description":"Production area 1-13, e.g. \"3\" (Karmoy-Sotra).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"lat","in":"query","required":false,"description":"WGS84 coordinate for a radius search, e.g. from geonorge address search. Both must be given together.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"lon","in":"query","required":false,"description":"WGS84 coordinate for a radius search, e.g. from geonorge address search. Both must be given together.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"radius_km","in":"query","required":false,"description":"Search radius around lat/lon in km (default 25).","schema":{"type":"number","default":25}},{"name":"limit","in":"query","required":false,"description":"Max sites to return (default 25, max 100).","schema":{"type":"integer","default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"marine"},"operation":{"type":"string","const":"find_aquaculture_sites"},"parameters":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"municipality_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"county_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"production_area_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"lon":{"anyOf":[{"type":"number"},{"type":"null"}]},"radius_km":{"type":"number"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["name","municipality_code","county_code","production_area_code","lat","lon","radius_km","limit","offset"]},"data":{"anyOf":[{"type":"object","properties":{"sites":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"note":{"type":"string"}},"additionalProperties":false},{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"site_nr":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"name":{"type":["string","null"]},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"water":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"placement":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"capacity":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"capacity_unit":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"production_area":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"production_area_status":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"species_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"active_licenses":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"distance_km":{"type":"number"}},"additionalProperties":false}]},{"type":"array","items":{"type":"object","properties":{"site_nr":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"name":{"type":["string","null"]},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"water":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"placement":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"capacity":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"capacity_unit":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"production_area":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"production_area_status":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"species_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"active_licenses":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false}}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/marine/get_lice_report":{"get":{"operationId":"marine_get_lice_report","summary":"get lice report","description":"Get the weekly salmon-lice report for Norwegian aquaculture localities:\nfarm-reported adult female lice per fish, fallow status, and PD/ILA\ndisease flags.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Aquaculture and fish health"],"parameters":[{"name":"year","in":"query","required":false,"description":"ISO year, e.g. 2026. Default: last week (newest complete data).","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"week","in":"query","required":false,"description":"ISO week 1-53. Default: last week.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"municipality","in":"query","required":false,"description":"Filter by municipality name, e.g. \"Bindal\" (case-insensitive). Without it there are ~1500 localities and only the first 200 are returned.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"marine"},"operation":{"type":"string","const":"get_lice_report"},"parameters":{"type":"object","properties":{"year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"week":{"anyOf":[{"type":"integer"},{"type":"null"}]},"municipality":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["year","week","municipality","limit","offset"]},"data":{"type":"object","properties":{"year":{"type":["integer","null"]},"week":{"type":["integer","null"]},"count":{"type":"integer"},"returned":{"type":["integer","null"]},"localities":{"type":"object","properties":{"locality_no":{"type":["integer","null"]},"name":{"type":["string","null"]},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"avg_adult_female_lice":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"has_reported_lice":{"type":["boolean","null"]},"is_fallow":{"type":["boolean","null"]},"has_salmonoids":{"type":["boolean","null"]},"has_pd":{"type":["boolean","null"]},"has_ila":{"type":["boolean","null"]}},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/marine/get_locality_status":{"get":{"operationId":"marine_get_locality_status","summary":"get locality status","description":"Get the full weekly fish-health status for one aquaculture locality:\nlice counts (adult female / mobile / stationary), sea temperature,\ntreatments that week, and any ILA/PD disease zones it sits in.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Aquaculture and fish health"],"parameters":[{"name":"locality_no","in":"query","required":true,"description":"Locality number, e.g. 35297 (from get_lice_report or find_aquaculture_sites' site_nr).","schema":{"type":"integer"}},{"name":"year","in":"query","required":false,"description":"ISO year. Default: last week.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"week","in":"query","required":false,"description":"ISO week 1-53. Default: last week.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"marine"},"operation":{"type":"string","const":"get_locality_status"},"parameters":{"type":"object","properties":{"locality_no":{"type":"integer"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"week":{"anyOf":[{"type":"integer"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["locality_no","year","week","limit","offset"]},"data":{"type":"object","properties":{"locality_no":{"type":["integer","null"]},"name":{"type":["string","null"]},"year":{"type":["integer","null"]},"week":{"type":["integer","null"]},"avg_adult_female_lice":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"avg_mobile_lice":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"avg_stationary_lice":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"sea_temperature_c":{"type":["number","null"]},"has_reported_lice":{"type":["boolean","null"]},"is_fallow":{"type":["boolean","null"]},"has_salmonoids":{"type":["boolean","null"]},"has_mechanical_removal":{"type":["boolean","null"]},"has_bath_treatment":{"type":["boolean","null"]},"has_in_feed_treatment":{"type":["boolean","null"]},"has_cleaner_fish_deployed":{"type":["boolean","null"]},"ila_surveillance_zones":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"ila_protection_zones":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"pd_surveillance_zones":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"pd_protection_zones":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/marine/get_lice_treatments":{"get":{"operationId":"marine_get_lice_treatments","summary":"get lice treatments","description":"Get all lice treatments at one locality for a year: medicinal (bath /\nin-feed), non-medicinal, cleaner fish and mechanical removal, per week.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Aquaculture and fish health"],"parameters":[{"name":"locality_no","in":"query","required":true,"description":"Locality number, e.g. 35297.","schema":{"type":"integer"}},{"name":"year","in":"query","required":true,"description":"Year, e.g. 2026.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"marine"},"operation":{"type":"string","const":"get_lice_treatments"},"parameters":{"type":"object","properties":{"locality_no":{"type":"integer"},"year":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["locality_no","year","limit","offset"]},"data":{"type":"object","properties":{"locality_no":{"type":["integer","null"]},"year":{"type":["integer","null"]},"treatments":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"week":{"type":["integer","null"]},"mechanical_removal":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"medicinal":{"type":"array","items":{"type":"object","properties":{"substance":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"type":{"type":["string","null"]},"cages":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"entire_locality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"non_medicinal":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"cleaner_fish":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false}]}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kystdatahuset/search_ports":{"get":{"operationId":"kystdatahuset_search_ports","summary":"search ports","description":"Search for a port, quay or other Kystdatahuset location.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Kystdatahuset"],"parameters":[{"name":"query","in":"query","required":true,"description":"Parameteren query.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Parameteren limit.","schema":{"type":"integer","default":30}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kystdatahuset"},"operation":{"type":"string","const":"search_ports"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"havn_id":{"type":"boolean"},"navn":{"type":"boolean"},"kode":{"type":"boolean"},"type":{"type":"boolean"},"kommune":{"type":"boolean"},"fylke":{"type":"boolean"},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kystdatahuset/get_port":{"get":{"operationId":"kystdatahuset_get_port","summary":"get port","description":"Fetch information about one port or maritime location.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Kystdatahuset"],"parameters":[{"name":"location_id","in":"query","required":true,"description":"Parameteren location_id.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kystdatahuset"},"operation":{"type":"string","const":"get_port"},"parameters":{"type":"object","properties":{"location_id":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["location_id","limit","offset"]},"data":{"anyOf":[{"type":"object","properties":{"havn_id":{"type":"boolean"},"navn":{"type":"boolean"},"kode":{"type":"boolean"},"type":{"type":"boolean"},"kommune":{"type":"boolean"},"fylke":{"type":"boolean"},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]}},"additionalProperties":false},{"type":"null"}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kystdatahuset/find_ports_nearby":{"get":{"operationId":"kystdatahuset_find_ports_nearby","summary":"find ports nearby","description":"Find ports, quays and maritime locations near a coordinate.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Kystdatahuset"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Parameteren lat.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Parameteren lon.","schema":{"type":"number"}},{"name":"radius_km","in":"query","required":false,"description":"Parameteren radius_km.","schema":{"type":"number","default":20}},{"name":"limit","in":"query","required":false,"description":"Parameteren limit.","schema":{"type":"integer","default":30}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kystdatahuset"},"operation":{"type":"string","const":"find_ports_nearby"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"radius_km":{"type":"number"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","radius_km","limit","offset"]},"data":{"type":"object","properties":{"havner":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"avstand_km":{"type":"number"}},"additionalProperties":false}]},"radius_km":{"type":["number","null"]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kystdatahuset/get_port_connections":{"get":{"operationId":"kystdatahuset_get_port_connections","summary":"get port connections","description":"Fetch reported arrival and departure connections for a port.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Kystdatahuset"],"parameters":[{"name":"location_id","in":"query","required":true,"description":"Parameteren location_id.","schema":{"type":"integer"}},{"name":"from_year","in":"query","required":false,"description":"Parameteren from_year.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"to_year","in":"query","required":false,"description":"Parameteren to_year.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kystdatahuset"},"operation":{"type":"string","const":"get_port_connections"},"parameters":{"type":"object","properties":{"location_id":{"type":"integer"},"from_year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"to_year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["location_id","from_year","to_year","limit","offset"]},"data":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kystdatahuset/search_ships":{"get":{"operationId":"kystdatahuset_search_ships","summary":"search ships","description":"Search Kystverket's combined ship registry by free text (ship name, and\nidentifiers where indexed).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Kystdatahuset"],"parameters":[{"name":"query","in":"query","required":true,"description":"Free-text term, e.g. a ship name (\"color fantasy\") or fragment.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max ships to return, 1-100 (default 20).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kystdatahuset"},"operation":{"type":"string","const":"search_ships"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","offset"]},"data":{"type":"object","properties":{"count":{"type":"integer"},"returned":{"type":["integer","null"]},"ships":{"type":"object","properties":{"shipname":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"mmsi":{"anyOf":[{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"boolean"}]},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"imo":{"anyOf":[{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"boolean"}]},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"callsign":{"anyOf":[{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"boolean"}]},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"shiptype":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"flag":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"loa":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"breadth":{"type":"boolean"},"gt":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"dwt":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"teu":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"yearofbuild":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"speedservice":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kystdatahuset/get_ship":{"get":{"operationId":"kystdatahuset_get_ship","summary":"get ship","description":"Full record for one ship from Kystverket's combined registry, by MMSI or IMO.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Kystdatahuset"],"parameters":[{"name":"mmsi","in":"query","required":false,"description":"Parameteren mmsi.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"imo","in":"query","required":false,"description":"Parameteren imo.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kystdatahuset"},"operation":{"type":"string","const":"get_ship"},"parameters":{"type":"object","properties":{"mmsi":{"anyOf":[{"type":"integer"},{"type":"null"}]},"imo":{"anyOf":[{"type":"integer"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["mmsi","imo","limit","offset"]},"data":{"type":"object","properties":{"found":{"type":"boolean"},"note":{"type":"string"},"ship":{"type":["object","null"],"properties":{},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kystdatahuset/get_ship_voyages":{"get":{"operationId":"kystdatahuset_get_ship_voyages","summary":"get ship voyages","description":"Voyages (port-call legs) reported to SafeSeaNet for one ship, newest first.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Kystdatahuset"],"parameters":[{"name":"mmsi","in":"query","required":true,"description":"The ship's MMSI (from search_ships / get_ship).","schema":{"type":"integer"}},{"name":"start_date","in":"query","required":true,"description":"ISO date or datetime, inclusive lower bound (e.g. \"2025-01-01\").","schema":{"type":"string"}},{"name":"end_date","in":"query","required":true,"description":"ISO date or datetime, exclusive upper bound.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max voyages to return, 1-200 (default 50). Sorted by ETA descending; `count` is the true total.","schema":{"type":"integer","default":50}},{"name":"offset","in":"query","required":false,"description":"Skip this many voyages (for pagination).","schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kystdatahuset"},"operation":{"type":"string","const":"get_ship_voyages"},"parameters":{"type":"object","properties":{"mmsi":{"type":"integer"},"start_date":{"type":"string"},"end_date":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer"}},"additionalProperties":false,"required":["mmsi","start_date","end_date","limit","offset"]},"data":{"type":"object","properties":{"mmsi":{"type":["integer","null"]},"ship":{"type":"object","properties":{"shipname":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"shiptype":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"gt":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"length":{"anyOf":[{"type":"number"},{"type":"null"}]},"breadth":{"anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":false},"count":{"type":"integer"},"returned":{"type":"integer"},"offset":{"type":["integer","null"]},"voyages":{"type":"array","items":{"type":"object","properties":{"origin":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"destination":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"etd":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"eta":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"direction":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"hazmat":{"type":"boolean"},"draft":{"anyOf":[{"type":"number"},{"type":"null"}]},"cargo_gross":{"type":"boolean"},"cargo_net":{"type":"boolean"}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kystdatahuset/get_port_calls":{"get":{"operationId":"kystdatahuset_get_port_calls","summary":"get port calls","description":"Arrivals to, or departures from, one or more Norwegian ports (SafeSeaNet),\nfor a span of whole years, newest first.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Kystdatahuset"],"parameters":[{"name":"location_ids","in":"query","required":true,"description":"One or more port/location ids from search_ports.","schema":{"items":{"type":"integer"},"type":"array"}},{"name":"from_year","in":"query","required":true,"description":"First year (inclusive), e.g. 2025.","schema":{"type":"integer"}},{"name":"to_year","in":"query","required":false,"description":"Last year (inclusive). Defaults to from_year.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"direction","in":"query","required":false,"description":"\"arrivals\" (default) or \"departures\".","schema":{"type":"string","default":"arrivals"}},{"name":"limit","in":"query","required":false,"description":"Max calls to return, 1-200 (default 50). Sorted by ETA (arrivals) or ETD (departures) descending.","schema":{"type":"integer","default":50}},{"name":"offset","in":"query","required":false,"description":"Skip this many calls (for pagination).","schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kystdatahuset"},"operation":{"type":"string","const":"get_port_calls"},"parameters":{"type":"object","properties":{"location_ids":{"items":{"type":"integer"},"type":"array"},"from_year":{"type":"integer"},"to_year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"direction":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer"}},"additionalProperties":false,"required":["location_ids","from_year","to_year","direction","limit","offset"]},"data":{"type":"object","properties":{"direction":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"location_ids":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"from_year":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"to_year":{"type":"boolean"},"count":{"type":"integer"},"returned":{"type":"integer"},"offset":{"type":["integer","null"]},"calls":{"type":"array","items":{"type":"object","properties":{"shipname":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"mmsi":{"type":["integer","null"]},"imo":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"callsign":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"shiptype":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"gt":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"length":{"anyOf":[{"type":"number"},{"type":"null"}]},"eta":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"etd":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"hazmat":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"draft":{"anyOf":[{"type":"number"},{"type":"null"}]},"cargo_gross":{"type":"boolean"},"cargo_net":{"type":"boolean"}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kystdatahuset/get_ais_positions":{"get":{"operationId":"kystdatahuset_get_ais_positions","summary":"get ais positions","description":"Historical AIS positions for one ship on a single UTC day, from Kystverket's\nAIS archive.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Kystdatahuset"],"parameters":[{"name":"mmsi","in":"query","required":true,"description":"The ship's MMSI (from search_ships / get_ship).","schema":{"type":"integer"}},{"name":"date","in":"query","required":true,"description":"The UTC calendar day, ISO date (\"2026-06-01\").","schema":{"type":"string"}},{"name":"max_points","in":"query","required":false,"description":"Max positions to return, 10-5000 (default 500).","schema":{"type":"integer","default":500}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kystdatahuset"},"operation":{"type":"string","const":"get_ais_positions"},"parameters":{"type":"object","properties":{"mmsi":{"type":"integer"},"date":{"type":"string"},"max_points":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["mmsi","date","max_points","limit","offset"]},"data":{"type":"object","properties":{"mmsi":{"type":["integer","null"]},"date":{"type":["string","null"],"format":"date"},"count":{"type":"integer"},"returned":{"type":"integer"},"downsampled":{"type":"boolean"},"positions":{"type":"array","items":{"type":"object","properties":{"time":{"type":["string","null"],"format":"date-time"},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"sog":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"cog":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"heading":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"nav_status":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/fiskeridir/search_vessels":{"get":{"operationId":"fiskeridir_search_vessels","summary":"search vessels","description":"Search Norway's register of active fishing vessels.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Fiskeridirektoratet \u2013 vessel register"],"parameters":[{"name":"query","in":"query","required":false,"description":"Free-text search across several fields (name, marks, call sign).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"name","in":"query","required":false,"description":"Filter by vessel name.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"registration_mark","in":"query","required":false,"description":"Filter by registration mark, e.g. \"M 0017K\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"radio_call_sign","in":"query","required":false,"description":"Filter by radio call sign, e.g. \"LH6853\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"municipality_code","in":"query","required":false,"description":"Filter by the vessel's home municipality code.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"length_gte","in":"query","required":false,"description":"Only vessels at least this long, in metres.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"length_lte","in":"query","required":false,"description":"Only vessels at most this long, in metres.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"sort_by","in":"query","required":false,"description":"Field to sort on: ID, NAME, REGISTRATIONMARK or RADIOCALLSIGN.","schema":{"enum":["ID","NAME","REGISTRATIONMARK","RADIOCALLSIGN"],"type":"string","default":"ID"}},{"name":"sort_asc","in":"query","required":false,"description":"Sort ascending instead of descending.","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"description":"Max vessels to return, 1-100 (default 20).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"fiskeridir"},"operation":{"type":"string","const":"search_vessels"},"parameters":{"type":"object","properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"registration_mark":{"anyOf":[{"type":"string"},{"type":"null"}]},"radio_call_sign":{"anyOf":[{"type":"string"},{"type":"null"}]},"municipality_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"length_gte":{"anyOf":[{"type":"number"},{"type":"null"}]},"length_lte":{"anyOf":[{"type":"number"},{"type":"null"}]},"sort_by":{"enum":["ID","NAME","REGISTRATIONMARK","RADIOCALLSIGN"],"type":"string"},"sort_asc":{"type":"boolean"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","name","registration_mark","radio_call_sign","municipality_code","length_gte","length_lte","sort_by","sort_asc","limit","offset"]},"data":{"type":"object","properties":{"total":{"type":"integer"},"returned":{"type":"integer"},"vessels":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/fiskeridir/get_vessel":{"get":{"operationId":"fiskeridir_get_vessel","summary":"get vessel","description":"Get one active fishing vessel by its register id (from search_vessels).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Fiskeridirektoratet \u2013 vessel register"],"parameters":[{"name":"vessel_id","in":"query","required":true,"description":"The vessel `id`, e.g. \"2026127699\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"fiskeridir"},"operation":{"type":"string","const":"get_vessel"},"parameters":{"type":"object","properties":{"vessel_id":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["vessel_id","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/ssb/search_tables":{"get":{"operationId":"ssb_search_tables","summary":"search tables","description":"Search Statbank table titles, variables and values.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Statistics Norway"],"parameters":[{"name":"query","in":"query","required":true,"description":"Search expression, e.g. \"befolkning kommune\" or \"title:arbeidsledighet\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum tables returned by this wrapper, 1-100.","schema":{"type":"integer","default":20}},{"name":"past_days","in":"query","required":false,"description":"Optionally restrict to tables updated in the last N days.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"include_discontinued","in":"query","required":false,"description":"Include discontinued tables when true.","schema":{"type":"boolean","default":false}},{"name":"lang","in":"query","required":false,"description":"Metadata language, \"no\" or \"en\".","schema":{"type":"string","default":"no"}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"ssb"},"operation":{"type":"string","const":"search_tables"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer"},"past_days":{"anyOf":[{"type":"integer"},{"type":"null"}]},"include_discontinued":{"type":"boolean"},"lang":{"type":"string"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","past_days","include_discontinued","lang","offset"]},"data":{"type":"object","properties":{"match_count":{"type":"integer"},"returned":{"type":["integer","null"]},"tables":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/ssb/get_table_metadata":{"get":{"operationId":"ssb_get_table_metadata","summary":"get table metadata","description":"Get dimensions, value codes, labels, units and periods for an SSB table.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Statistics Norway"],"parameters":[{"name":"table_id","in":"query","required":true,"description":"Five-digit Statbank table id, e.g. \"07459\".","schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"description":"Metadata language, \"no\" or \"en\".","schema":{"type":"string","default":"no"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"ssb"},"operation":{"type":"string","const":"get_table_metadata"},"parameters":{"type":"object","properties":{"table_id":{"type":"string"},"lang":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["table_id","lang","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/ssb/get_table_data":{"get":{"operationId":"ssb_get_table_data","summary":"get table data","description":"Get data from an SSB table in JSON-stat2 format using a safe GET query.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Statistics Norway"],"parameters":[{"name":"table_id","in":"query","required":true,"description":"Five-digit Statbank table id, e.g. \"07459\".","schema":{"type":"string"}},{"name":"value_codes","in":"query","required":false,"description":"Optional JSON object mapping dimension ids to selections, for example {\"Region\":\"0301\",\"Tid\":\"top(3)\",\"ContentsCode\":\"*\"}. Omit it for SSB's small default extract. Values may be strings or lists. Use the exact dimension and value codes returned by get_table_metadata; display prefixes from the Statbank UI are not API value codes.","schema":{"anyOf":[{"additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"type":"object"},{"type":"null"}]}},{"name":"lang","in":"query","required":false,"description":"Result language, \"no\" or \"en\".","schema":{"type":"string","default":"no"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"ssb"},"operation":{"type":"string","const":"get_table_data"},"parameters":{"type":"object","properties":{"table_id":{"type":"string"},"value_codes":{"anyOf":[{"additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"type":"object"},{"type":"null"}]},"lang":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["table_id","value_codes","lang","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/brreg/search_entities":{"get":{"operationId":"brreg_search_entities","summary":"search entities","description":"Search live entities in Enhetsregisteret.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Br\u00f8nn\u00f8ysund Register Centre"],"parameters":[{"name":"name","in":"query","required":false,"description":"Full or partial registered entity name.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"municipality","in":"query","required":false,"description":"Municipality name for the business address.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"industry_code","in":"query","required":false,"description":"Norwegian industry code, e.g. \"62.010\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"page","in":"query","required":false,"description":"Zero-based result page.","schema":{"type":"integer","default":0}},{"name":"limit","in":"query","required":false,"description":"Page size, 1-100.","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"brreg"},"operation":{"type":"string","const":"search_entities"},"parameters":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"municipality":{"anyOf":[{"type":"string"},{"type":"null"}]},"industry_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"page":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["name","municipality","industry_code","page","limit","offset"]},"data":{"type":"object","properties":{"page":{"type":"object","properties":{},"additionalProperties":false},"items":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/brreg/get_entity":{"get":{"operationId":"brreg_get_entity","summary":"get entity","description":"Get the current official Enhetsregister record for a 9-digit organisation number.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Br\u00f8nn\u00f8ysund Register Centre"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"Parameteren org_nr.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"brreg"},"operation":{"type":"string","const":"get_entity"},"parameters":{"type":"object","properties":{"org_nr":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"anyOf":[{"type":"object","properties":{"status":{"type":"string"},"path":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/brreg/get_roles":{"get":{"operationId":"brreg_get_roles","summary":"get roles","description":"Get public role groups registered for an entity.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Br\u00f8nn\u00f8ysund Register Centre"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"Parameteren org_nr.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"brreg"},"operation":{"type":"string","const":"get_roles"},"parameters":{"type":"object","properties":{"org_nr":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"anyOf":[{"type":"object","properties":{"status":{"type":"string"},"path":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/brreg/get_group_structure":{"get":{"operationId":"brreg_get_group_structure","summary":"get group structure","description":"Get the hierarchical corporate group structure containing an entity.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Br\u00f8nn\u00f8ysund Register Centre"],"parameters":[{"name":"org_nr","in":"query","required":true,"description":"Parameteren org_nr.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"brreg"},"operation":{"type":"string","const":"get_group_structure"},"parameters":{"type":"object","properties":{"org_nr":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["org_nr","limit","offset"]},"data":{"anyOf":[{"type":"object","properties":{"status":{"type":"string"},"path":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nve/list_parameters":{"get":{"operationId":"nve_list_parameters","summary":"list parameters","description":"List NVE hydrological parameters with identifiers, names and units.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NVE HydAPI"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nve"},"operation":{"type":"string","const":"list_parameters"},"parameters":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["limit","offset"]},"data":{"anyOf":[{"type":"object","properties":{"status":{"type":"string"},"itemCount":{"type":"integer"},"data":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nve/search_stations":{"get":{"operationId":"nve_search_stations","summary":"search stations","description":"Find NVE hydrological stations and their available time series.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NVE HydAPI"],"parameters":[{"name":"municipality","in":"query","required":false,"description":"Municipality name (HydAPI field CouncilName).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"county","in":"query","required":false,"description":"County name.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"station_name","in":"query","required":false,"description":"Station name filter.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"active_only","in":"query","required":false,"description":"Return only active stations by default.","schema":{"type":"boolean","default":true}},{"name":"limit","in":"query","required":false,"description":"Maximum stations returned (default 25, maximum 100).","schema":{"type":"integer","default":25}},{"name":"offset","in":"query","required":false,"description":"Number of matching stations to skip (default 0).","schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nve"},"operation":{"type":"string","const":"search_stations"},"parameters":{"type":"object","properties":{"municipality":{"anyOf":[{"type":"string"},{"type":"null"}]},"county":{"anyOf":[{"type":"string"},{"type":"null"}]},"station_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"active_only":{"type":"boolean"},"limit":{"type":"integer"},"offset":{"type":"integer"}},"additionalProperties":false,"required":["municipality","county","station_name","active_only","limit","offset"]},"data":{"anyOf":[{"anyOf":[{"type":"object","properties":{"status":{"type":"string"},"itemCount":{"type":"integer"},"data":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},{"type":"object","properties":{"data":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"itemCount":{"type":"integer"},"limit":{"type":["integer","null"]},"offset":{"type":["integer","null"]},"returned":{"type":"integer"},"has_more_results":{"type":"boolean"},"truncated":{"type":"boolean"}},"additionalProperties":false},{"type":"object","properties":{"next_offset":{"anyOf":[{"type":["integer","null"]},{"type":"integer"}]}},"additionalProperties":false}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nve/get_station":{"get":{"operationId":"nve_get_station","summary":"get station","description":"Get metadata and available series for one NVE station id.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NVE HydAPI"],"parameters":[{"name":"station_id","in":"query","required":true,"description":"Parameteren station_id.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nve"},"operation":{"type":"string","const":"get_station"},"parameters":{"type":"object","properties":{"station_id":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["station_id","limit","offset"]},"data":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"stationId":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"status":{"type":"string"}},"additionalProperties":false}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nve/get_observations":{"get":{"operationId":"nve_get_observations","summary":"get observations","description":"Get observations for one NVE station and parameter.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NVE HydAPI"],"parameters":[{"name":"station_id","in":"query","required":true,"description":"NVE station id, e.g. \"6.10.0\".","schema":{"type":"string"}},{"name":"parameter","in":"query","required":false,"description":"Parameter id or name; 1000 is water stage, 1001 discharge.","schema":{"type":"string","default":"1000"}},{"name":"resolution_time","in":"query","required":false,"description":"0 instantaneous, 60 hourly or 1440 daily.","schema":{"type":"integer","default":60}},{"name":"reference_time","in":"query","required":false,"description":"Optional ISO-8601 interval, e.g. \"2026-07-01/2026-07-07\" or \"P7D/\" for the most recent seven days. Omit for latest value.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nve"},"operation":{"type":"string","const":"get_observations"},"parameters":{"type":"object","properties":{"station_id":{"type":"string"},"parameter":{"type":"string"},"resolution_time":{"type":"integer"},"reference_time":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["station_id","parameter","resolution_time","reference_time","limit","offset"]},"data":{"anyOf":[{"type":"object","properties":{"status":{"type":"string"},"itemCount":{"type":"integer"},"data":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nve/get_reservoir_levels":{"get":{"operationId":"nve_get_reservoir_levels","summary":"get reservoir levels","description":"Get the latest reservoir fill level for Norway as a whole and\nfor each elspot price area (NO1 to NO5).","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["NVE HydAPI"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nve"},"operation":{"type":"string","const":"get_reservoir_levels"},"parameters":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"area":{"type":"string"},"year":{"type":["integer","null"]},"week":{"type":["integer","null"]},"fill_pct":{"type":"number"},"change_pct_points":{"type":"number"},"capacity_twh":{"type":"number"},"filling_twh":{"type":"number"}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nve/get_reservoir_history":{"get":{"operationId":"nve_get_reservoir_history","summary":"get reservoir history","description":"Get weekly reservoir fill history for one area.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["NVE HydAPI"],"parameters":[{"name":"area","in":"query","required":false,"description":"0 for all of Norway, or 1 to 5 for price areas NO1 to NO5","schema":{"type":"integer","default":0}},{"name":"weeks","in":"query","required":false,"description":"How many recent weeks to return (default 52, max 260)","schema":{"type":"integer","default":52}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nve"},"operation":{"type":"string","const":"get_reservoir_history"},"parameters":{"type":"object","properties":{"area":{"type":"integer"},"weeks":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["area","weeks","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"area":{"anyOf":[{"type":"string"},{"type":["string","null"]}]},"year":{"type":["integer","null"]},"week":{"type":["integer","null"]},"fill_pct":{"type":"number"}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nve/get_reservoir_min_max_median":{"get":{"operationId":"nve_get_reservoir_min_max_median","summary":"get reservoir min max median","description":"Get historical min / max / median fill levels per week for one area,\ncomputed by NVE over the reference period. Perfect as the shaded\nbackground band in a reservoir chart.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["NVE HydAPI"],"parameters":[{"name":"area","in":"query","required":false,"description":"0 for all of Norway, or 1 to 5 for price areas NO1 to NO5","schema":{"type":"integer","default":0}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nve"},"operation":{"type":"string","const":"get_reservoir_min_max_median"},"parameters":{"type":"object","properties":{"area":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["area","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"week":{"type":["integer","null"]},"min_pct":{"type":"number"},"median_pct":{"type":"number"},"max_pct":{"type":"number"}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nve/list_hydro_parameters":{"get":{"operationId":"nve_list_hydro_parameters","summary":"list hydro parameters","description":"List the hydrological parameters HydAPI can return (water flow, level,\ntemperature, precipitation, etc.) with their numeric ids and units.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NVE HydAPI"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nve"},"operation":{"type":"string","const":"list_hydro_parameters"},"parameters":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"parameter":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"name":{"type":["string","null"]},"name_eng":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"unit":{"type":["string","null"]}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nve/find_hydro_stations":{"get":{"operationId":"nve_find_hydro_stations","summary":"find hydro stations","description":"Find NVE hydrological measuring stations by name/area filters and/or\nnear a coordinate, and see which time series (parameters + resolutions)\neach one offers.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NVE HydAPI"],"parameters":[{"name":"name","in":"query","required":false,"description":"Partial station name, e.g. \"Gaula\" (case-insensitive).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"county","in":"query","required":false,"description":"County name, e.g. \"Tr\u00f8ndelag\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"municipality","in":"query","required":false,"description":"Municipality (kommune) name, e.g. \"Lier\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"active","in":"query","required":false,"description":"True (default) for currently operating stations only.","schema":{"type":"boolean","default":true}},{"name":"lat","in":"query","required":false,"description":"WGS84 point for a spatial search. Give both to get only stations within radius_km, sorted nearest first with a distance_km field on each. Combines with the other filters.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"lon","in":"query","required":false,"description":"WGS84 point for a spatial search. Give both to get only stations within radius_km, sorted nearest first with a distance_km field on each. Combines with the other filters.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"radius_km","in":"query","required":false,"description":"Spatial search radius in km (default 50). Only used with lat/lon.","schema":{"type":"number","default":50}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nve"},"operation":{"type":"string","const":"find_hydro_stations"},"parameters":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"county":{"anyOf":[{"type":"string"},{"type":"null"}]},"municipality":{"anyOf":[{"type":"string"},{"type":"null"}]},"active":{"type":"boolean"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"lon":{"anyOf":[{"type":"number"},{"type":"null"}]},"radius_km":{"type":"number"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["name","county","municipality","active","lat","lon","radius_km","limit","offset"]},"data":{"type":"object","properties":{"count":{"type":"integer"},"returned":{"type":["integer","null"]},"stations":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"station_id":{"type":["string","null"]},"station_name":{"type":["string","null"]},"river":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"masl":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"series":{"type":"array","items":{"type":"object","properties":{"parameter":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"name":{"type":["string","null"]},"unit":{"type":["string","null"]},"from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"to":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"resolutions":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false}},"distance_km":{"type":"number"}},"additionalProperties":false},{"type":"object","properties":{"station_id":{"type":["string","null"]},"station_name":{"type":["string","null"]},"river":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"masl":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"series":{"type":"array","items":{"type":"object","properties":{"parameter":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"name":{"type":["string","null"]},"unit":{"type":["string","null"]},"from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"to":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"resolutions":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false}}},"additionalProperties":false}]},"note":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nve/get_hydro_observations":{"get":{"operationId":"nve_get_hydro_observations","summary":"get hydro observations","description":"Get a hydrological time series for a station.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NVE HydAPI"],"parameters":[{"name":"station_id","in":"query","required":true,"description":"NVE station id, e.g. \"1.200.0\" (from find_hydro_stations).","schema":{"type":"string"}},{"name":"parameter","in":"query","required":true,"description":"Numeric parameter id. Common ones: 0=precipitation(mm), 1000=water level(m), 1001=water discharge(m3/s), 1002=water velocity(m/s), 1003=water temperature(C), 1004=reservoir volume(Mm3). See list_hydro_parameters().","schema":{"type":"integer"}},{"name":"resolution","in":"query","required":false,"description":"Time step in minutes: 1440=daily (default), 60=hourly, 0=instantaneous.","schema":{"type":"integer","default":1440}},{"name":"reference_time","in":"query","required":false,"description":"ISO-8601 interval \"start/end\", e.g. \"2026-06-01T00:00:00/2026-07-01T00:00:00\". Defaults to last 7 days.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nve"},"operation":{"type":"string","const":"get_hydro_observations"},"parameters":{"type":"object","properties":{"station_id":{"type":"string"},"parameter":{"type":"integer"},"resolution":{"type":"integer"},"reference_time":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["station_id","parameter","resolution","reference_time","limit","offset"]},"data":{"type":"object","properties":{"station_id":{"type":["string","null"]},"parameter":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"observations":{"type":"array","items":{"type":"object","properties":{"time":{"type":["string","null"],"format":"date-time"},"value":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"quality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"note":{"type":"string"},"station_name":{"type":["string","null"]},"parameter_name":{"type":["string","null"]},"unit":{"type":["string","null"]},"observation_count":{"type":["integer","null"]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nve/get_hydro_percentiles":{"get":{"operationId":"nve_get_hydro_percentiles","summary":"get hydro percentiles","description":"Get day-of-year percentile bands (the seasonal \"normal\") for a station's\nparameter, computed by NVE over the station's full record. Use them as the\nreference band to judge whether an observed value is high or low for the\ntime of year, e.g. is inflow above or below normal right now.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NVE HydAPI"],"parameters":[{"name":"station_id","in":"query","required":true,"description":"NVE station id, e.g. \"1.200.0\" (from find_hydro_stations).","schema":{"type":"string"}},{"name":"parameter","in":"query","required":true,"description":"Numeric parameter id, e.g. 1001=discharge, 1000=water level.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nve"},"operation":{"type":"string","const":"get_hydro_percentiles"},"parameters":{"type":"object","properties":{"station_id":{"type":"string"},"parameter":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["station_id","parameter","limit","offset"]},"data":{"type":"object","properties":{"station_id":{"type":["string","null"]},"parameter":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"percentiles":{"type":"array","items":{"type":"object","properties":{"date_mmdd":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"mean":{"type":"number"},"p10":{"type":"number"},"p25":{"type":"number"},"p50":{"type":"number"},"p75":{"type":"number"},"p90":{"type":"number"}},"additionalProperties":false}},"note":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nve/get_snow_and_inflow":{"get":{"operationId":"nve_get_snow_and_inflow","summary":"get snow and inflow","description":"Get modelled snow reservoir and inflow at a point from NVE's seNorge grid\nmodel (1x1 km, all of Norway; no API key). These are the hydrological\nfundamentals behind hydropower value in a catchment.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NVE HydAPI"],"parameters":[{"name":"lat","in":"query","required":true,"description":"WGS84 point, e.g. a station's coords or a catchment point. Converted to UTM33 internally.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"WGS84 point, e.g. a station's coords or a catchment point. Converted to UTM33 internally.","schema":{"type":"number"}},{"name":"start_date","in":"query","required":false,"description":"\"YYYY-MM-DD\". Default: last 30 days. If end_date is in the future the model returns forecast values and marks where they begin in each series' `forecast_from`.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"end_date","in":"query","required":false,"description":"\"YYYY-MM-DD\". Default: last 30 days. If end_date is in the future the model returns forecast values and marks where they begin in each series' `forecast_from`.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nve"},"operation":{"type":"string","const":"get_snow_and_inflow"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}]},"end_date":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","start_date","end_date","limit","offset"]},"data":{"type":"object","properties":{"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"utm33":{"type":"object","properties":{"x":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"y":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false},"start_date":{"type":"string"},"end_date":{"type":"string"},"snow_water_equivalent":{"type":"object","properties":{"theme":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"full_name":{"type":["string","null"]},"unit":{"type":["string","null"]},"forecast_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"values":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"value":{"anyOf":[{"type":"null"},{"type":"number"}]}},"additionalProperties":false}}},"additionalProperties":false},"inflow":{"type":"object","properties":{"theme":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"full_name":{"type":["string","null"]},"unit":{"type":["string","null"]},"forecast_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"values":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"value":{"anyOf":[{"type":"null"},{"type":"number"}]}},"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/vannforekomster/find_water_bodies":{"get":{"operationId":"vannforekomster_find_water_bodies","summary":"find water bodies","description":"Search Norwegian water bodies and their Water Framework Directive status.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Vann-nett water bodies"],"parameters":[{"name":"query","in":"query","required":false,"description":"Match the water-body name, e.g. \"Mj\u00f8sa\" or \"Glomma\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"water_area","in":"query","required":false,"description":"Match the water area (vannomr\u00e5de), e.g. \"Mj\u00f8sa\" or \"Bardu-M\u00e5lselvvassdraget\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"ecological_status","in":"query","required":false,"description":"Filter by ecological status/potential (substring match). Values: god, moderat, d\u00e5rlig, sv\u00e6rtGod, sv\u00e6rtD\u00e5rlig, udefinert, plus potensial-forms for modified waters. \"god\" also matches \"sv\u00e6rtGod\" and \"potensialGodt\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"kommune","in":"query","required":false,"description":"Match a municipality name.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"category","in":"query","required":false,"description":"river, lake or coast (also elv, innsj\u00f8, kyst). Default: all three.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max water bodies to return, 1-100 (default 20).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"vannforekomster"},"operation":{"type":"string","const":"find_water_bodies"},"parameters":{"type":"object","properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"water_area":{"anyOf":[{"type":"string"},{"type":"null"}]},"ecological_status":{"anyOf":[{"type":"string"},{"type":"null"}]},"kommune":{"anyOf":[{"type":"string"},{"type":"null"}]},"category":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","water_area","ecological_status","kommune","category","limit","offset"]},"data":{"type":"array","items":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/vannforekomster/get_water_body":{"get":{"operationId":"vannforekomster_get_water_body","summary":"get water body","description":"Get the full record for one water body by its id.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Vann-nett water bodies"],"parameters":[{"name":"water_body_id","in":"query","required":true,"description":"The EU id (e.g. \"NO135-119-R\") or local id (\"135-119-R\") from find_water_bodies.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"vannforekomster"},"operation":{"type":"string","const":"get_water_body"},"parameters":{"type":"object","properties":{"water_body_id":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["water_body_id","limit","offset"]},"data":{"type":"object","properties":{"geometry":{"type":"string"},"geometryType":{"type":"string"},"inSR":{"type":"string"},"distance":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"units":{"type":"string"},"spatialRel":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/vannforekomster/find_water_bodies_nearby":{"get":{"operationId":"vannforekomster_find_water_bodies_nearby","summary":"find water bodies nearby","description":"Find water bodies within a radius of a coordinate (WGS84).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Vann-nett water bodies"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Centre point in decimal degrees.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Centre point in decimal degrees.","schema":{"type":"number"}},{"name":"radius_m","in":"query","required":false,"description":"Search radius in metres (default 5000).","schema":{"type":"integer","default":5000}},{"name":"category","in":"query","required":false,"description":"river, lake or coast (also elv, innsj\u00f8, kyst). Default: all three.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max water bodies to return, 1-100 (default 20).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"vannforekomster"},"operation":{"type":"string","const":"find_water_bodies_nearby"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"radius_m":{"type":"integer"},"category":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","radius_m","category","limit","offset"]},"data":{"type":"array","items":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entur/search_stops":{"get":{"operationId":"entur_search_stops","summary":"search stops","description":"Search Norway's National Stop Register by stop name.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Entur"],"parameters":[{"name":"query","in":"query","required":true,"description":"Stop name or place, e.g. \"Oslo S\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum hits, 1-100.","schema":{"type":"integer","default":10}},{"name":"lang","in":"query","required":false,"description":"Result language, normally \"no\" or \"en\".","schema":{"type":"string","default":"no"}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entur"},"operation":{"type":"string","const":"search_stops"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer"},"lang":{"type":"string"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","lang","offset"]},"data":{"type":"object","properties":{"returned":{"type":"integer"},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"boolean"},"name":{"type":"boolean"},"label":{"type":["string","null"]},"category":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality":{"type":"boolean"},"county":{"type":"boolean"},"lat":{"anyOf":[{"type":["number","null"]},{"type":"null"}]},"lon":{"anyOf":[{"type":["number","null"]},{"type":"null"}]}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entur/get_departures":{"get":{"operationId":"entur_get_departures","summary":"get departures","description":"Get planned and real-time departures from an Entur stop place.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Entur"],"parameters":[{"name":"stop_place_id","in":"query","required":true,"description":"National Stop Register id from search_stops.","schema":{"type":"string"}},{"name":"number_of_departures","in":"query","required":false,"description":"Maximum estimated calls, 1-50.","schema":{"type":"integer","default":10}},{"name":"time_range_seconds","in":"query","required":false,"description":"Search window from now, 60-86400 seconds.","schema":{"type":"integer","default":7200}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entur"},"operation":{"type":"string","const":"get_departures"},"parameters":{"type":"object","properties":{"stop_place_id":{"type":"string"},"number_of_departures":{"type":"integer"},"time_range_seconds":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["stop_place_id","number_of_departures","time_range_seconds","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entur/find_stop_places":{"get":{"operationId":"entur_find_stop_places","summary":"find stop places","description":"Resolve a place name to Entur StopPlace ids and coordinates.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Entur"],"parameters":[{"name":"query","in":"query","required":true,"description":"Free text, e.g. \"Oslo S\", \"Bergen busstasjon\", \"Skei i Jolster\".","schema":{"type":"string"}},{"name":"size","in":"query","required":false,"description":"Max results (default 5).","schema":{"type":"integer","default":5}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entur"},"operation":{"type":"string","const":"find_stop_places"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"size":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","size","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"category":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"locality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"lon":{"type":"null"},"lat":{"type":"null"}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entur/plan_journey":{"get":{"operationId":"entur_plan_journey","summary":"plan journey","description":"Plan a public-transport journey between two points.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Entur"],"parameters":[{"name":"from_place","in":"query","required":true,"description":"Origin as either a StopPlace id (\"NSR:StopPlace:...\") or a \"lat,lon\" string (e.g. \"59.911,10.75\").","schema":{"type":"string"}},{"name":"to_place","in":"query","required":true,"description":"Destination in the same format.","schema":{"type":"string"}},{"name":"departure_time","in":"query","required":false,"description":"Optional ISO-8601 datetime to depart at; defaults to now.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"num_patterns","in":"query","required":false,"description":"Max alternative journeys to return (default 3). This is a cap, not a guarantee: the planner only returns departures inside its search window.","schema":{"type":"integer","default":3}},{"name":"search_window_minutes","in":"query","required":false,"description":"How many minutes after departure_time to search. Defaults to a dynamic window chosen by the planner, which on long-distance routes with sparse departures can contain only one (or zero) options. Set this to override the auto-widening described below (e.g. 1440 for a 24 h window).","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entur"},"operation":{"type":"string","const":"plan_journey"},"parameters":{"type":"object","properties":{"from_place":{"type":"string"},"to_place":{"type":"string"},"departure_time":{"anyOf":[{"type":"string"},{"type":"null"}]},"num_patterns":{"type":"integer"},"search_window_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["from_place","to_place","departure_time","num_patterns","search_window_minutes","limit","offset"]},"data":{"type":"array","items":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/data_norge/search_catalog":{"get":{"operationId":"data_norge_search_catalog","summary":"search catalog","description":"Search metadata registered in data.norge.no.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["data.norge.no"],"parameters":[{"name":"query","in":"query","required":true,"description":"Words matched against title, description and keywords.","schema":{"type":"string"}},{"name":"resource_type","in":"query","required":false,"description":"One of all, datasets, data-services, concepts, information-models, services or events.","schema":{"type":"string","default":"all"}},{"name":"page","in":"query","required":false,"description":"Zero-based result page.","schema":{"type":"integer","default":0}},{"name":"limit","in":"query","required":false,"description":"Results per page, 1-50. The official API is rate-limited.","schema":{"type":"integer","default":10}},{"name":"open_data_only","in":"query","required":false,"description":"Restrict results to resources marked as open data.","schema":{"type":"boolean","default":false}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"data_norge"},"operation":{"type":"string","const":"search_catalog"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"resource_type":{"type":"string"},"page":{"type":"integer"},"limit":{"type":"integer"},"open_data_only":{"type":"boolean"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","resource_type","page","limit","open_data_only","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/data_norge/get_resource":{"get":{"operationId":"data_norge_get_resource","summary":"get resource","description":"Get one catalog resource by its internal data.norge.no id.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["data.norge.no"],"parameters":[{"name":"resource_type","in":"query","required":true,"description":"datasets, data-services, concepts, information-models, services or events.","schema":{"type":"string"}},{"name":"resource_id","in":"query","required":true,"description":"Internal id returned by search_catalog.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"data_norge"},"operation":{"type":"string","const":"get_resource"},"parameters":{"type":"object","properties":{"resource_type":{"type":"string"},"resource_id":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["resource_type","resource_id","limit","offset"]},"data":{"anyOf":[{"type":"object","properties":{"id":{"type":["string","null"]},"resource_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"status":{"type":"string"}},"additionalProperties":false},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nobil/get_charging_station":{"get":{"operationId":"nobil_get_charging_station","summary":"get charging station","description":"Get one NOBIL charging station by international id, e.g. NOR_00171.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NOBIL"],"parameters":[{"name":"station_id","in":"query","required":true,"description":"Parameteren station_id.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nobil"},"operation":{"type":"string","const":"get_charging_station"},"parameters":{"type":"object","properties":{"station_id":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["station_id","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nobil/find_charging_stations_nearby":{"get":{"operationId":"nobil_find_charging_stations_nearby","summary":"find charging stations nearby","description":"Find public charging stations near a point.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NOBIL"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Centre latitude in WGS84 decimal degrees.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Centre longitude in WGS84 decimal degrees.","schema":{"type":"number"}},{"name":"distance_m","in":"query","required":false,"description":"Maximum distance in metres.","schema":{"type":"integer","default":5000}},{"name":"limit","in":"query","required":false,"description":"Maximum number of stations, 1-200.","schema":{"type":"integer","default":20}},{"name":"realtime","in":"query","required":false,"description":"Request connector availability where reported to NOBIL.","schema":{"type":"boolean","default":false}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nobil"},"operation":{"type":"string","const":"find_charging_stations_nearby"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"distance_m":{"type":"integer"},"limit":{"type":"integer"},"realtime":{"type":"boolean"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","distance_m","limit","realtime","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nobil/get_charging_statistics":{"get":{"operationId":"nobil_get_charging_statistics","summary":"get charging statistics","description":"Get NOBIL charging-station totals for a country or county.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NOBIL"],"parameters":[{"name":"county_code","in":"query","required":false,"description":"County number, or 00 for all counties.","schema":{"type":"string","default":"00"}},{"name":"country_code","in":"query","required":false,"description":"Three-letter country code; NOR is Norway.","schema":{"type":"string","default":"NOR"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nobil"},"operation":{"type":"string","const":"get_charging_statistics"},"parameters":{"type":"object","properties":{"county_code":{"type":"string"},"country_code":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["county_code","country_code","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nobil/find_charging_stations":{"get":{"operationId":"nobil_find_charging_stations","summary":"find charging stations","description":"Find the EV charging stations nearest a coordinate, closest first.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NOBIL"],"parameters":[{"name":"lat","in":"query","required":true,"description":"WGS84 coordinate.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"WGS84 coordinate.","schema":{"type":"number"}},{"name":"distance_m","in":"query","required":false,"description":"Max search radius in meters (default 5000).","schema":{"type":"integer","default":5000}},{"name":"limit","in":"query","required":false,"description":"Max stations to return, 1 to 100 (default 10).","schema":{"type":"integer","default":10}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nobil"},"operation":{"type":"string","const":"find_charging_stations"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"distance_m":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","distance_m","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"street":{"type":"boolean"},"city":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"operator":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"charging_points":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"available_points":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"real_time_status":{"type":"boolean"},"open_24h":{"type":"boolean"},"location_description":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"distance_m":{"type":"integer"}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entsoe/get_day_ahead_prices":{"get":{"operationId":"entsoe_get_day_ahead_prices","summary":"get day ahead prices","description":"Get day-ahead electricity prices for a Norwegian bidding zone.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["ENTSO-E Transparency Platform"],"parameters":[{"name":"bidding_zone","in":"query","required":false,"description":"NO1, NO2, NO3, NO4 or NO5.","schema":{"enum":["NO1","NO2","NO3","NO4","NO5"],"type":"string","default":"NO1"}},{"name":"start","in":"query","required":false,"description":"Optional ISO-8601 start; defaults to start of the current UTC day.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"end","in":"query","required":false,"description":"Optional ISO-8601 end; defaults to tomorrow.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entsoe"},"operation":{"type":"string","const":"get_day_ahead_prices"},"parameters":{"type":"object","properties":{"bidding_zone":{"enum":["NO1","NO2","NO3","NO4","NO5"],"type":"string"},"start":{"anyOf":[{"type":"string"},{"type":"null"}]},"end":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["bidding_zone","start","end","limit","offset"]},"data":{"type":"object","properties":{"document_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"series":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"periods":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"start":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"resolution":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"points":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"position":{"type":"integer"}},"additionalProperties":false}]}}},"additionalProperties":false}]}}},"additionalProperties":false}]}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entsoe/get_actual_total_load":{"get":{"operationId":"entsoe_get_actual_total_load","summary":"get actual total load","description":"Get actual total electricity load for Norway or a bidding zone.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["ENTSO-E Transparency Platform"],"parameters":[{"name":"area","in":"query","required":false,"description":"NO, NO1, NO2, NO3, NO4 or NO5.","schema":{"type":"string","default":"NO"}},{"name":"start","in":"query","required":false,"description":"Optional ISO-8601 start; defaults to today.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"end","in":"query","required":false,"description":"Optional ISO-8601 end; defaults to tomorrow.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entsoe"},"operation":{"type":"string","const":"get_actual_total_load"},"parameters":{"type":"object","properties":{"area":{"type":"string"},"start":{"anyOf":[{"type":"string"},{"type":"null"}]},"end":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["area","start","end","limit","offset"]},"data":{"type":"object","properties":{"document_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"series":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"periods":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"start":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"resolution":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"points":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"position":{"type":"integer"}},"additionalProperties":false}]}}},"additionalProperties":false}]}}},"additionalProperties":false}]}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entsoe/list_zones":{"get":{"operationId":"entsoe_list_zones","summary":"list zones","description":"List the bidding zone codes accepted by the other tools, mapped to\ndisplay names. Covers all Nordic and Baltic zones plus the major\ncontinental European zones. GB is not available: ENTSO-E has had no UK\ndata since Brexit.","x-description-language":"en","x-response-schema-status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"tags":["ENTSO-E Transparency Platform"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entsoe"},"operation":{"type":"string","const":"list_zones"},"parameters":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["limit","offset"]},"data":{"type":"object","additionalProperties":{"type":"string"}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false},"example":{"source":"entsoe","operation":"list_zones","parameters":{},"data":{"example_key":"example value"},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"entsoe","name":"ENTSO-E Transparency Platform","description":"Day-ahead prices and actual electricity consumption for Norway and Norwegian bidding zones.","cache_ttl_seconds":300,"documentation":"https://transparency.entsoe.eu/content/static_content/Static%20content/web%20api/Guide.html","rate_limit":"The platform limits request counts and data volume."}]},"_provenance":{"data":{"source":"entsoe","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/entsoe"},"entities":{"source":"entsoe","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/entsoe","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/entsoe/list_zones","source":"https://allemannsdata.com/wiki/api/v1/kilder/entsoe","wiki":"https://allemannsdata.com/wiki/kilder/entsoe/list_zones/"}}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entsoe/get_imbalance_prices":{"get":{"operationId":"entsoe_get_imbalance_prices","summary":"get imbalance prices","description":"Get one day's imbalance (balancing) settlement prices (EUR/MWh) for a\nEuropean bidding zone - what a balance-responsible party pays or is paid\nper MWh of deviation from its schedule.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["ENTSO-E Transparency Platform"],"parameters":[{"name":"zone","in":"query","required":true,"description":"Bidding zone code, e.g. \"NO1\", \"DE\", \"FR\" (see list_zones).","schema":{"type":"string"}},{"name":"date","in":"query","required":true,"description":"Day as \"YYYY-MM-DD\", interpreted as a Europe/Oslo calendar day.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entsoe"},"operation":{"type":"string","const":"get_imbalance_prices"},"parameters":{"type":"object","properties":{"zone":{"type":"string"},"date":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["zone","date","limit","offset"]},"data":{"type":"object","properties":{"zone":{"type":"string"},"zone_name":{"type":["string","null"]},"date":{"type":["string","null"],"format":"date"},"currency":{"type":"string"},"unit":{"type":"string"},"prices":{"type":"array","items":{"anyOf":[{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entsoe/get_generation_mix":{"get":{"operationId":"entsoe_get_generation_mix","summary":"get generation mix","description":"Get one day's actual generation (MW) broken down by production type for\na European bidding zone.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["ENTSO-E Transparency Platform"],"parameters":[{"name":"zone","in":"query","required":true,"description":"Bidding zone code, e.g. \"NO1\", \"DE\", \"FR\" (see list_zones).","schema":{"type":"string"}},{"name":"date","in":"query","required":true,"description":"Day as \"YYYY-MM-DD\", interpreted as a Europe/Oslo calendar day.","schema":{"type":"string"}},{"name":"resolution","in":"query","required":false,"description":"\"hourly\" (default) averages to hourly rows per type; \"daily\" returns one compact row per type with mean_mw and mwh for the whole day; \"15min\" returns data as published upstream, which is quarter-hourly for many zones (over 1500 rows/day in large zones like DE).","schema":{"type":"string","default":"hourly"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entsoe"},"operation":{"type":"string","const":"get_generation_mix"},"parameters":{"type":"object","properties":{"zone":{"type":"string"},"date":{"type":"string"},"resolution":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["zone","date","resolution","limit","offset"]},"data":{"type":"object","properties":{"zone":{"type":"string"},"zone_name":{"type":["string","null"]},"date":{"type":["string","null"],"format":"date"},"resolution":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"generation":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false},{"type":"object","properties":{"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"object","properties":{"type":{"type":["string","null"]},"mean_mw":{"type":"number"},"mwh":{"type":"number"}},"additionalProperties":false}]},"note":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entsoe/get_generation_forecast":{"get":{"operationId":"entsoe_get_generation_forecast","summary":"get generation forecast","description":"Get one day's day-ahead wind and solar generation forecast (MW) for a\nEuropean bidding zone.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["ENTSO-E Transparency Platform"],"parameters":[{"name":"zone","in":"query","required":true,"description":"Bidding zone code, e.g. \"NO1\", \"DE\", \"FR\" (see list_zones).","schema":{"type":"string"}},{"name":"date","in":"query","required":true,"description":"Day as \"YYYY-MM-DD\", interpreted as a Europe/Oslo calendar day.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entsoe"},"operation":{"type":"string","const":"get_generation_forecast"},"parameters":{"type":"object","properties":{"zone":{"type":"string"},"date":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["zone","date","limit","offset"]},"data":{"type":"object","properties":{"zone":{"type":"string"},"zone_name":{"type":["string","null"]},"date":{"type":["string","null"],"format":"date"},"forecast":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false}]}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entsoe/get_installed_capacity":{"get":{"operationId":"entsoe_get_installed_capacity","summary":"get installed capacity","description":"Get installed generation capacity (MW) by production type for a whole\nyear, for a European bidding zone.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["ENTSO-E Transparency Platform"],"parameters":[{"name":"zone","in":"query","required":true,"description":"Bidding zone code, e.g. \"NO1\", \"DE\", \"FR\" (see list_zones).","schema":{"type":"string"}},{"name":"year","in":"query","required":true,"description":"Calendar year, e.g. 2025. This is TSO-reported nameplate capacity for the year, not a live figure.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entsoe"},"operation":{"type":"string","const":"get_installed_capacity"},"parameters":{"type":"object","properties":{"zone":{"type":"string"},"year":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["zone","year","limit","offset"]},"data":{"type":"object","properties":{"zone":{"type":"string"},"zone_name":{"type":["string","null"]},"year":{"type":["integer","null"]},"capacity_mw":{"type":"object","properties":{"Biomass":{"type":"number"},"Fossil brown coal/lignite":{"type":"number"},"Fossil coal-derived gas":{"type":"number"},"Fossil gas":{"type":"number"},"Fossil hard coal":{"type":"number"},"Fossil oil":{"type":"number"},"Fossil oil shale":{"type":"number"},"Fossil peat":{"type":"number"},"Geothermal":{"type":"number"},"Hydro pumped storage":{"type":"number"},"Hydro run-of-river":{"type":"number"},"Hydro water reservoir":{"type":"number"},"Marine":{"type":"number"},"Nuclear":{"type":"number"},"Other renewable":{"type":"number"},"Solar":{"type":"number"},"Waste":{"type":"number"},"Wind offshore":{"type":"number"},"Wind onshore":{"type":"number"},"Other":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entsoe/get_load":{"get":{"operationId":"entsoe_get_load","summary":"get load","description":"Get one day's system-wide electricity load (MW) for a European bidding\nzone.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["ENTSO-E Transparency Platform"],"parameters":[{"name":"zone","in":"query","required":true,"description":"Bidding zone code, e.g. \"NO1\", \"DE\", \"FR\" (see list_zones).","schema":{"type":"string"}},{"name":"date","in":"query","required":true,"description":"Day as \"YYYY-MM-DD\", interpreted as a Europe/Oslo calendar day.","schema":{"type":"string"}},{"name":"forecast","in":"query","required":false,"description":"If True, return the day-ahead forecast instead of the realised (actual) load. Default False.","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entsoe"},"operation":{"type":"string","const":"get_load"},"parameters":{"type":"object","properties":{"zone":{"type":"string"},"date":{"type":"string"},"forecast":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["zone","date","forecast","limit","offset"]},"data":{"type":"object","properties":{"zone":{"type":"string"},"zone_name":{"type":["string","null"]},"date":{"type":["string","null"],"format":"date"},"forecast":{"type":["object","null"],"properties":{},"additionalProperties":false},"load":{"type":"array","items":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entsoe/get_cross_border_flow":{"get":{"operationId":"entsoe_get_cross_border_flow","summary":"get cross border flow","description":"Get one day's metered physical power flow (MW) from one bidding zone to\nanother.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["ENTSO-E Transparency Platform"],"parameters":[{"name":"from_zone","in":"query","required":true,"description":"Origin bidding zone code (see list_zones).","schema":{"type":"string"}},{"name":"to_zone","in":"query","required":true,"description":"Destination bidding zone code (see list_zones).","schema":{"type":"string"}},{"name":"date","in":"query","required":true,"description":"Day as \"YYYY-MM-DD\", interpreted as a Europe/Oslo calendar day.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entsoe"},"operation":{"type":"string","const":"get_cross_border_flow"},"parameters":{"type":"object","properties":{"from_zone":{"type":"string"},"to_zone":{"type":"string"},"date":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["from_zone","to_zone","date","limit","offset"]},"data":{"type":"object","properties":{"from_zone":{"type":"string"},"from_zone_name":{"type":["string","null"]},"to_zone":{"type":"string"},"to_zone_name":{"type":["string","null"]},"date":{"type":["string","null"],"format":"date"},"flow":{"type":"array","items":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entsoe/get_generation_outages":{"get":{"operationId":"entsoe_get_generation_outages","summary":"get generation outages","description":"Get planned and forced (unplanned) outages of generation units in a\nEuropean bidding zone over a date range - the single best explanation\nfor an unexpected price spike (a plant going down).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["ENTSO-E Transparency Platform"],"parameters":[{"name":"zone","in":"query","required":true,"description":"Bidding zone code, e.g. \"NO1\", \"DE\", \"FR\" (see list_zones).","schema":{"type":"string"}},{"name":"start_date","in":"query","required":true,"description":"First day, \"YYYY-MM-DD\" (Europe/Oslo calendar day).","schema":{"type":"string"}},{"name":"end_date","in":"query","required":true,"description":"Last day inclusive, \"YYYY-MM-DD\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entsoe"},"operation":{"type":"string","const":"get_generation_outages"},"parameters":{"type":"object","properties":{"zone":{"type":"string"},"start_date":{"type":"string"},"end_date":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["zone","start_date","end_date","limit","offset"]},"data":{"type":"object","properties":{"zone":{"type":"string"},"zone_name":{"type":["string","null"]},"start_date":{"type":["string","null"],"format":"date"},"end_date":{"type":["string","null"],"format":"date"},"outages":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"status":{"type":["string","null"]},"resource":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"type":{"type":"string"},"nominal_mw":{"anyOf":[{"type":"number"},{"type":"null"}]},"start":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"end":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"reason":{"anyOf":[{"type":"null"},{"type":"boolean"}]},"capacity":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"time_start":{"type":"string"},"time_end":{"type":"string"}},"additionalProperties":false},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]}},"_revision":{"type":"integer"}},"additionalProperties":false},{"type":"object","properties":{"end_note":{"type":"string"}},"additionalProperties":false}]}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/entsoe/get_transmission_outages":{"get":{"operationId":"entsoe_get_transmission_outages","summary":"get transmission outages","description":"Get planned and forced (unplanned) outages of interconnectors/transmission\nassets between two European bidding zones over a date range - explains\nsudden drops in cross-border transfer capacity.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["ENTSO-E Transparency Platform"],"parameters":[{"name":"from_zone","in":"query","required":true,"description":"Origin bidding zone code (see list_zones).","schema":{"type":"string"}},{"name":"to_zone","in":"query","required":true,"description":"Destination bidding zone code (see list_zones).","schema":{"type":"string"}},{"name":"start_date","in":"query","required":true,"description":"First day, \"YYYY-MM-DD\" (Europe/Oslo calendar day).","schema":{"type":"string"}},{"name":"end_date","in":"query","required":true,"description":"Last day inclusive, \"YYYY-MM-DD\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"entsoe"},"operation":{"type":"string","const":"get_transmission_outages"},"parameters":{"type":"object","properties":{"from_zone":{"type":"string"},"to_zone":{"type":"string"},"start_date":{"type":"string"},"end_date":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["from_zone","to_zone","start_date","end_date","limit","offset"]},"data":{"type":"object","properties":{"from_zone":{"type":"string"},"from_zone_name":{"type":["string","null"]},"to_zone":{"type":"string"},"to_zone_name":{"type":["string","null"]},"start_date":{"type":["string","null"],"format":"date"},"end_date":{"type":["string","null"],"format":"date"},"outages":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"status":{"type":["string","null"]},"asset":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"start":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"end":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"reason":{"anyOf":[{"type":"null"},{"type":"boolean"}]},"capacity":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"time_start":{"type":"string"},"time_end":{"type":"string"}},"additionalProperties":false},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]}},"_revision":{"type":"integer"}},"additionalProperties":false},{"type":"object","properties":{"end_note":{"type":"string"}},"additionalProperties":false}]}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firms/get_fire_detections":{"get":{"operationId":"firms_get_fire_detections","summary":"get fire detections","description":"Get satellite fire and thermal-anomaly detections in a bounding box.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NASA FIRMS"],"parameters":[{"name":"west","in":"query","required":false,"description":"Western WGS84 longitude.","schema":{"type":"number","default":4.0}},{"name":"south","in":"query","required":false,"description":"Southern WGS84 latitude.","schema":{"type":"number","default":57.5}},{"name":"east","in":"query","required":false,"description":"Eastern WGS84 longitude.","schema":{"type":"number","default":32.0}},{"name":"north","in":"query","required":false,"description":"Northern WGS84 latitude.","schema":{"type":"number","default":72.0}},{"name":"days","in":"query","required":false,"description":"Day range, 1-5.","schema":{"type":"integer","default":1}},{"name":"source","in":"query","required":false,"description":"FIRMS sensor product such as VIIRS_SNPP_NRT or MODIS_NRT.","schema":{"type":"string","default":"VIIRS_SNPP_NRT"}},{"name":"date","in":"query","required":false,"description":"Optional starting date as YYYY-MM-DD; omit for the latest data.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firms"},"operation":{"type":"string","const":"get_fire_detections"},"parameters":{"type":"object","properties":{"west":{"type":"number"},"south":{"type":"number"},"east":{"type":"number"},"north":{"type":"number"},"days":{"type":"integer"},"source":{"type":"string"},"date":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["west","south","east","north","days","source","date","limit","offset"]},"data":{"type":"object","properties":{"source":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"bounds":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"detections":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"count":{"type":"integer"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/firms/find_fires_nearby":{"get":{"operationId":"firms_find_fires_nearby","summary":"find fires nearby","description":"Find recent satellite fire detections around a point.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["NASA FIRMS"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Centre latitude in WGS84 decimal degrees.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Centre longitude in WGS84 decimal degrees.","schema":{"type":"number"}},{"name":"radius_km","in":"query","required":false,"description":"Approximate search radius, 1-500 km.","schema":{"type":"number","default":100}},{"name":"days","in":"query","required":false,"description":"Day range, 1-5.","schema":{"type":"integer","default":1}},{"name":"source","in":"query","required":false,"description":"FIRMS sensor product.","schema":{"type":"string","default":"VIIRS_SNPP_NRT"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"firms"},"operation":{"type":"string","const":"find_fires_nearby"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"radius_km":{"type":"number"},"days":{"type":"integer"},"source":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","radius_km","days","source","limit","offset"]},"data":{"type":"object","properties":{"source":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"bounds":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"detections":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"count":{"type":"integer"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/n2yo/get_tle":{"get":{"operationId":"n2yo_get_tle","summary":"get tle","description":"Get current two-line orbital elements for one NORAD catalog id.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["N2YO satellite data"],"parameters":[{"name":"norad_id","in":"query","required":true,"description":"Numeric NORAD catalog id, for example 25544 for the ISS.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"n2yo"},"operation":{"type":"string","const":"get_tle"},"parameters":{"type":"object","properties":{"norad_id":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["norad_id","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/n2yo/get_positions":{"get":{"operationId":"n2yo_get_positions","summary":"get positions","description":"Predict a satellite ground track and position relative to an observer.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["N2YO satellite data"],"parameters":[{"name":"norad_id","in":"query","required":true,"description":"Numeric NORAD catalog id.","schema":{"type":"integer"}},{"name":"observer_lat","in":"query","required":true,"description":"Observer latitude in WGS84 decimal degrees.","schema":{"type":"number"}},{"name":"observer_lon","in":"query","required":true,"description":"Observer longitude in WGS84 decimal degrees.","schema":{"type":"number"}},{"name":"observer_alt_m","in":"query","required":false,"description":"Observer altitude above sea level in metres.","schema":{"type":"number","default":0}},{"name":"seconds","in":"query","required":false,"description":"Number of one-second positions, 1-300.","schema":{"type":"integer","default":60}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"n2yo"},"operation":{"type":"string","const":"get_positions"},"parameters":{"type":"object","properties":{"norad_id":{"type":"integer"},"observer_lat":{"type":"number"},"observer_lon":{"type":"number"},"observer_alt_m":{"type":"number"},"seconds":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["norad_id","observer_lat","observer_lon","observer_alt_m","seconds","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/n2yo/get_visual_passes":{"get":{"operationId":"n2yo_get_visual_passes","summary":"get visual passes","description":"Predict optically visible satellite passes for an observer.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["N2YO satellite data"],"parameters":[{"name":"norad_id","in":"query","required":true,"description":"Numeric NORAD catalog id.","schema":{"type":"integer"}},{"name":"observer_lat","in":"query","required":true,"description":"Observer latitude in WGS84 decimal degrees.","schema":{"type":"number"}},{"name":"observer_lon","in":"query","required":true,"description":"Observer longitude in WGS84 decimal degrees.","schema":{"type":"number"}},{"name":"observer_alt_m","in":"query","required":false,"description":"Observer altitude above sea level in metres.","schema":{"type":"number","default":0}},{"name":"days","in":"query","required":false,"description":"Prediction horizon, 1-10 days.","schema":{"type":"integer","default":2}},{"name":"min_visibility_seconds","in":"query","required":false,"description":"Minimum visible duration in seconds.","schema":{"type":"integer","default":120}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"n2yo"},"operation":{"type":"string","const":"get_visual_passes"},"parameters":{"type":"object","properties":{"norad_id":{"type":"integer"},"observer_lat":{"type":"number"},"observer_lon":{"type":"number"},"observer_alt_m":{"type":"number"},"days":{"type":"integer"},"min_visibility_seconds":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["norad_id","observer_lat","observer_lon","observer_alt_m","days","min_visibility_seconds","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/n2yo/find_satellites_above":{"get":{"operationId":"n2yo_find_satellites_above","summary":"find satellites above","description":"List satellites above an observer within an angular search radius.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["N2YO satellite data"],"parameters":[{"name":"observer_lat","in":"query","required":true,"description":"Observer latitude in WGS84 decimal degrees.","schema":{"type":"number"}},{"name":"observer_lon","in":"query","required":true,"description":"Observer longitude in WGS84 decimal degrees.","schema":{"type":"number"}},{"name":"observer_alt_m","in":"query","required":false,"description":"Observer altitude above sea level in metres.","schema":{"type":"number","default":0}},{"name":"radius_deg","in":"query","required":false,"description":"Search radius from 0 to 90 degrees.","schema":{"type":"integer","default":30}},{"name":"category_id","in":"query","required":false,"description":"N2YO category id; 0 means all categories, 1 brightest.","schema":{"type":"integer","default":0}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"n2yo"},"operation":{"type":"string","const":"find_satellites_above"},"parameters":{"type":"object","properties":{"observer_lat":{"type":"number"},"observer_lon":{"type":"number"},"observer_alt_m":{"type":"number"},"radius_deg":{"type":"integer"},"category_id":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["observer_lat","observer_lon","observer_alt_m","radius_deg","category_id","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nyheter/search_news":{"get":{"operationId":"nyheter_search_news","summary":"search news","description":"Search geolocated Norwegian news and police events.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian news events"],"parameters":[{"name":"query","in":"query","required":false,"description":"Free-text term matched case-insensitively against each event's name, summary and location (client-side; the API has no text search). E.g. \"brann\", \"Bergen\", \"trafikkulykke\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"since","in":"query","required":false,"description":"ISO 8601 UTC lower bound on when the event was seen, e.g. \"2026-07-10T00:00:00Z\". Default: 24 hours ago.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"until","in":"query","required":false,"description":"ISO 8601 UTC upper bound. Default: open-ended.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"kind","in":"query","required":false,"description":"\"news\" for news media only, \"police\" for police log (politiloggen) entries only. Default: both.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"lat","in":"query","required":false,"description":"Centre latitude (WGS84) for an area search. Give lat and lon together to only return events within radius_km of the point.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"lon","in":"query","required":false,"description":"Centre longitude (WGS84).","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"radius_km","in":"query","required":false,"description":"Search radius in km around lat/lon (default 25).","schema":{"type":"number","default":25}},{"name":"limit","in":"query","required":false,"description":"Max events to return, 1 to 100 (default 25).","schema":{"type":"integer","default":25}},{"name":"offset","in":"query","required":false,"description":"Skip this many matching events (for pagination).","schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nyheter"},"operation":{"type":"string","const":"search_news"},"parameters":{"type":"object","properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"since":{"anyOf":[{"type":"string"},{"type":"null"}]},"until":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"anyOf":[{"type":"string"},{"type":"null"}]},"lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"lon":{"anyOf":[{"type":"number"},{"type":"null"}]},"radius_km":{"type":"number"},"limit":{"type":"integer"},"offset":{"type":"integer"}},"additionalProperties":false,"required":["query","since","until","kind","lat","lon","radius_km","limit","offset"]},"data":{"type":"object","properties":{"since":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"until":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"total":{"type":["integer","null"]},"matched":{"type":"integer"},"offset":{"type":["integer","null"]},"count":{"type":"integer"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"source":{"type":["string","null"]},"summary":{"type":["string","null"]},"location":{"type":["string","null"]},"link":{"type":["string","null"],"format":"uri"},"severity":{"type":["string","null"]},"tags":{"type":["array","null"],"items":{"type":"string"}},"is_active":{"type":["boolean","null"]},"pub_date":{"type":["string","null"],"format":"date-time"},"first_seen":{"type":["string","null"],"format":"date-time"},"last_seen":{"type":["string","null"],"format":"date-time"}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/politiloggen/search_messages":{"get":{"operationId":"politiloggen_search_messages","summary":"search messages","description":"Search the Norwegian police log.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Norwegian Police Log"],"parameters":[{"name":"keyword","in":"query","required":false,"description":"Free-text term, e.g. \"trafikkulykke\", \"knivstikking\". Client-side filter, see above. Combine with districts or a date range to aim the scan window.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"districts","in":"query","required":false,"description":"Filter by police district. Use these exact names: Oslo, \u00d8st, Innlandet, S\u00f8r\u00d8st, Agder, S\u00f8rVest, Vest, M\u00f8reOgRomsdal, Tr\u00f8ndelag, Nordland, Troms, Finnmark.","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"municipalities","in":"query","required":false,"description":"Filter by municipality name (e.g. \"Lier\", \"Bergen\").","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"categories","in":"query","required":false,"description":"Filter by category name (e.g. \"Trafikk\", \"Brann\"). Call list_categories() for the full list.","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"is_active","in":"query","required":false,"description":"True for ongoing incidents only, False for closed.","schema":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},{"name":"date_from","in":"query","required":false,"description":"ISO datetime lower bound, e.g. \"2026-06-01T00:00:00Z\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"date_to","in":"query","required":false,"description":"ISO datetime upper bound.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"sort_by","in":"query","required":false,"description":"One of Date, Update, District, Category, Area, Municipality, IsActive, None. Default Date.","schema":{"type":"string","default":"Date"}},{"name":"sort_order","in":"query","required":false,"description":"\"Ascending\" or \"Descending\" (default).","schema":{"type":"string","default":"Descending"}},{"name":"skip","in":"query","required":false,"description":"Offset for paging (default 0).","schema":{"type":"integer","default":0}},{"name":"take","in":"query","required":false,"description":"How many to return, 1 to 50 (default 10).","schema":{"type":"integer","default":10}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"politiloggen"},"operation":{"type":"string","const":"search_messages"},"parameters":{"type":"object","properties":{"keyword":{"anyOf":[{"type":"string"},{"type":"null"}]},"districts":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"municipalities":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"date_from":{"anyOf":[{"type":"string"},{"type":"null"}]},"date_to":{"anyOf":[{"type":"string"},{"type":"null"}]},"sort_by":{"type":"string"},"sort_order":{"type":"string"},"skip":{"type":"integer"},"take":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["keyword","districts","municipalities","categories","is_active","date_from","date_to","sort_by","sort_order","skip","take","limit","offset"]},"data":{"type":"object","properties":{"total_count":{"type":"null"},"messages":{"type":"object","properties":{"id":{"type":["string","null"]},"category":{"type":["string","null"]},"district":{"type":["string","null"]},"municipality":{"type":["string","null"]},"area":{"type":["string","null"]},"text":{"type":["string","null"]},"is_active":{"type":["boolean","null"]},"created_on":{"type":["string","null"],"format":"date-time"},"updated_on":{"type":["string","null"],"format":"date-time"},"image_url":{"type":["string","null"],"format":"uri"}},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/politiloggen/search_by_location":{"get":{"operationId":"politiloggen_search_by_location","summary":"search by location","description":"Find police log messages for a place name, whether the API classifies\nit as a municipality or as a sub-locality `area` (e.g. \"Bragernes\",\n\"Sj\u00f8vegan\") -- the API only supports server-side filtering by\nmunicipality, not by area.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Norwegian Police Log"],"parameters":[{"name":"location","in":"query","required":true,"description":"Place name to search for, matched case-insensitively as a substring against each message's municipality and area.","schema":{"type":"string"}},{"name":"districts","in":"query","required":false,"description":"Optionally narrow the scan to these police districts (exact names, see search_messages). Improves hit rate for scarce locations by scanning more relevant messages.","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"categories","in":"query","required":false,"description":"Filter by category name. Call list_categories().","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"is_active","in":"query","required":false,"description":"True for ongoing incidents only, False for closed.","schema":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},{"name":"date_from","in":"query","required":false,"description":"ISO datetime lower bound, e.g. \"2026-06-01T00:00:00Z\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"date_to","in":"query","required":false,"description":"ISO datetime upper bound.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"take","in":"query","required":false,"description":"How many matches to return, 1 to 50 (default 10).","schema":{"type":"integer","default":10}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"politiloggen"},"operation":{"type":"string","const":"search_by_location"},"parameters":{"type":"object","properties":{"location":{"type":"string"},"districts":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"date_from":{"anyOf":[{"type":"string"},{"type":"null"}]},"date_to":{"anyOf":[{"type":"string"},{"type":"null"}]},"take":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["location","districts","categories","is_active","date_from","date_to","take","limit","offset"]},"data":{"type":"object","properties":{"messages":{"type":"object","properties":{"id":{"type":["string","null"]},"category":{"type":["string","null"]},"district":{"type":["string","null"]},"municipality":{"type":["string","null"]},"area":{"type":["string","null"]},"text":{"type":["string","null"]},"is_active":{"type":["boolean","null"]},"created_on":{"type":["string","null"],"format":"date-time"},"updated_on":{"type":["string","null"],"format":"date-time"},"image_url":{"type":["string","null"],"format":"uri"}},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/politiloggen/get_message":{"get":{"operationId":"politiloggen_get_message","summary":"get message","description":"Get a single police log message by its id (e.g. \"26k3hb-2\").","x-description-language":"en","x-response-schema-status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"tags":["Norwegian Police Log"],"parameters":[{"name":"id","in":"query","required":true,"description":"Parameteren id.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"politiloggen"},"operation":{"type":"string","const":"get_message"},"parameters":{"type":"object","properties":{"id":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["id","limit","offset"]},"data":{"type":"object","properties":{"id":{"type":["string","null"]},"category":{"type":["string","null"]},"district":{"type":["string","null"]},"municipality":{"type":["string","null"]},"area":{"type":["string","null"]},"text":{"type":["string","null"]},"is_active":{"type":["boolean","null"]},"created_on":{"type":["string","null"],"format":"date-time"},"updated_on":{"type":["string","null"],"format":"date-time"},"image_url":{"type":["string","null"],"format":"uri"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false},"example":{"source":"politiloggen","operation":"get_message","parameters":{"id":"example-id"},"data":{"id":"example-id","category":"example value","district":"example value","municipality":"example value","area":"example value","text":"example value","is_active":true,"created_on":"2026-01-15T12:00:00Z","updated_on":"2026-01-15T12:00:00Z","image_url":"https://example.invalid/resource"},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"politiloggen","name":"Norwegian Police Log","description":"Official operational messages about traffic, fires, public order, missing persons and other incidents.","cache_ttl_seconds":60,"documentation":"https://api.politiloggen.politiet.no/swagger/index.html"}]},"_provenance":{"data":{"source":"politiloggen","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/politiloggen"},"entities":{"source":"politiloggen","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/politiloggen","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/politiloggen/get_message","source":"https://allemannsdata.com/wiki/api/v1/kilder/politiloggen","wiki":"https://allemannsdata.com/wiki/kilder/politiloggen/get_message/"}}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/politiloggen/list_categories":{"get":{"operationId":"politiloggen_list_categories","summary":"list categories","description":"List the message categories, with their names and ids.","x-description-language":"en","x-response-schema-status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"tags":["Norwegian Police Log"],"parameters":[{"name":"language","in":"query","required":false,"description":"\"nb\" (Bokm\u00e5l, default) or \"nn\" (Nynorsk).","schema":{"type":"string","default":"nb"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"politiloggen"},"operation":{"type":"string","const":"list_categories"},"parameters":{"type":"object","properties":{"language":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["language","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false},"example":{"source":"politiloggen","operation":"list_categories","parameters":{"language":"nb"},"data":[{"id":"example-id","name":"Example"}],"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"politiloggen","name":"Norwegian Police Log","description":"Official operational messages about traffic, fires, public order, missing persons and other incidents.","cache_ttl_seconds":60,"documentation":"https://api.politiloggen.politiet.no/swagger/index.html"}]},"_provenance":{"data":{"source":"politiloggen","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/politiloggen"},"entities":{"source":"politiloggen","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/politiloggen","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/politiloggen/list_categories","source":"https://allemannsdata.com/wiki/api/v1/kilder/politiloggen","wiki":"https://allemannsdata.com/wiki/kilder/politiloggen/list_categories/"}}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/stortinget/list_sessions":{"get":{"operationId":"stortinget_list_sessions","summary":"list sessions","description":"List parliamentary sessions (sesjoner, e.g. \"2025-2026\"), from 1986-87.\nSession ids are the `sesjonid` parameter for cases, votes and parties.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Stortinget open data"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"stortinget"},"operation":{"type":"string","const":"list_sessions"},"parameters":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/stortinget/list_periods":{"get":{"operationId":"stortinget_list_periods","summary":"list periods","description":"List election periods (stortingsperioder, e.g. \"2025-2029\").\nPeriod ids are the `stortingsperiodeid` parameter for representatives.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Stortinget open data"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"stortinget"},"operation":{"type":"string","const":"list_periods"},"parameters":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/stortinget/get_current_representatives":{"get":{"operationId":"stortinget_get_current_representatives","summary":"get current representatives","description":"Get today's sitting representatives: id, name, party, county, email,\ncommittees and deputy status.","x-description-language":"en","x-response-schema-status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"tags":["Stortinget open data"],"parameters":[{"name":"full_detail","in":"query","required":false,"description":"Return the raw upstream objects (adds birth date, gender code, deputy relations, ...). Default False.","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"stortinget"},"operation":{"type":"string","const":"get_current_representatives"},"parameters":{"type":"object","properties":{"full_detail":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["full_detail","limit","offset"]},"data":{"type":"object","properties":{"dagensrepresentanter_liste":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"navn":{"type":["string","null"]},"parti":{"type":["string","null"]},"fylke":{"type":["string","null"]},"epost":{"type":["string","null"]},"vara_representant":{"type":["boolean","null"]},"komiteer":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false},"example":{"source":"stortinget","operation":"get_current_representatives","parameters":{"full_detail":false},"data":{"dagensrepresentanter_liste":[{"id":"example-id","navn":"example value","parti":"example value","fylke":"example value","epost":"example value","vara_representant":true,"komiteer":["example value"]}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"stortinget","name":"Stortinget open data","description":"Parliamentary sessions, representatives, government, parties, cases, votes and election results.","cache_ttl_seconds":300,"documentation":"https://data.stortinget.no/"}]},"_provenance":{"data":{"source":"stortinget","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget"},"entities":{"source":"stortinget","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_current_representatives","source":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget","wiki":"https://allemannsdata.com/wiki/kilder/stortinget/get_current_representatives/"}}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/stortinget/get_representatives":{"get":{"operationId":"stortinget_get_representatives","summary":"get representatives","description":"Get the representatives elected for a given period: id, name, party,\ncounty.","x-description-language":"en","x-response-schema-status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"tags":["Stortinget open data"],"parameters":[{"name":"period_id","in":"query","required":true,"description":"A stortingsperiode id from list_periods(), e.g. \"2025-2029\".","schema":{"type":"string"}},{"name":"full_detail","in":"query","required":false,"description":"Return the raw upstream objects (adds birth date, gender code, ...). Default False.","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"stortinget"},"operation":{"type":"string","const":"get_representatives"},"parameters":{"type":"object","properties":{"period_id":{"type":"string"},"full_detail":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["period_id","full_detail","limit","offset"]},"data":{"type":"object","properties":{"representanter_liste":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"navn":{"type":["string","null"]},"parti":{"type":["string","null"]},"fylke":{"type":["string","null"]},"epost":{"type":["string","null"]},"vara_representant":{"type":["boolean","null"]},"komiteer":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false},"example":{"source":"stortinget","operation":"get_representatives","parameters":{"period_id":"example-id","full_detail":false},"data":{"representanter_liste":[{"id":"example-id","navn":"example value","parti":"example value","fylke":"example value","epost":"example value","vara_representant":true,"komiteer":["example value"]}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"stortinget","name":"Stortinget open data","description":"Parliamentary sessions, representatives, government, parties, cases, votes and election results.","cache_ttl_seconds":300,"documentation":"https://data.stortinget.no/"}]},"_provenance":{"data":{"source":"stortinget","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget"},"entities":{"source":"stortinget","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_representatives","source":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget","wiki":"https://allemannsdata.com/wiki/kilder/stortinget/get_representatives/"}}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/stortinget/get_current_government":{"get":{"operationId":"stortinget_get_current_government","summary":"get current government","description":"Get the sitting government's members (regjeringsmedlemmer).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Stortinget open data"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"stortinget"},"operation":{"type":"string","const":"get_current_government"},"parameters":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/stortinget/get_parties":{"get":{"operationId":"stortinget_get_parties","summary":"get parties","description":"Get the parties represented in parliament.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Stortinget open data"],"parameters":[{"name":"session_id","in":"query","required":false,"description":"Optional session id (e.g. \"2025-2026\"); omit for current.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"stortinget"},"operation":{"type":"string","const":"get_parties"},"parameters":{"type":"object","properties":{"session_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["session_id","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/stortinget/search_cases":{"get":{"operationId":"stortinget_search_cases","summary":"search cases","description":"List the cases (saker) handled in a session, optionally filtered by a\nkeyword. Paged: the response has `total` matching cases and returns at\nmost `limit` from `offset`; a `note` says which offset fetches the next\npage when there is one.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Stortinget open data"],"parameters":[{"name":"session_id","in":"query","required":true,"description":"A session id from list_sessions(), e.g. \"2025-2026\".","schema":{"type":"string"}},{"name":"query","in":"query","required":false,"description":"Optional keyword, matched case-insensitively against each case's title, short title and topic names (upstream has no text search; filtering happens here).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max cases to return (default 100).","schema":{"type":"integer","default":100}},{"name":"offset","in":"query","required":false,"description":"Skip this many matching cases (for paging, default 0).","schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"stortinget"},"operation":{"type":"string","const":"search_cases"},"parameters":{"type":"object","properties":{"session_id":{"type":"string"},"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer"}},"additionalProperties":false,"required":["session_id","query","limit","offset"]},"data":{"type":"object","properties":{"sesjon_id":{"type":["string","null"]},"total":{"type":"integer"},"offset":{"type":["integer","null"]},"returned":{"type":"integer"},"saker_liste":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"korttittel":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"status":{"type":["string","null"]},"type":{"type":["string","null"]},"komite":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"emner":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"henvisning":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"sist_oppdatert_dato":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"note":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/stortinget/get_case":{"get":{"operationId":"stortinget_get_case","summary":"get case","description":"Get the full detail for one case (sak): recommendation text, committee,\nshort decision, references and topics.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Stortinget open data"],"parameters":[{"name":"case_id","in":"query","required":true,"description":"A numeric case id (from search_cases), e.g. 100012.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"stortinget"},"operation":{"type":"string","const":"get_case"},"parameters":{"type":"object","properties":{"case_id":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["case_id","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/stortinget/get_votes_for_case":{"get":{"operationId":"stortinget_get_votes_for_case","summary":"get votes for case","description":"List the votes (voteringer) held on a case, with for/against/absent\ncounts. Use a vote's `votering_id` with get_vote_result() for the\nper-representative breakdown.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Stortinget open data"],"parameters":[{"name":"case_id","in":"query","required":true,"description":"A numeric case id, e.g. 100012.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"stortinget"},"operation":{"type":"string","const":"get_votes_for_case"},"parameters":{"type":"object","properties":{"case_id":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["case_id","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/stortinget/get_vote_result":{"get":{"operationId":"stortinget_get_vote_result","summary":"get vote result","description":"Get the per-representative result of a single vote (voteringsresultat):\nhow each representative voted.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Stortinget open data"],"parameters":[{"name":"vote_id","in":"query","required":true,"description":"A numeric vote id (votering_id from get_votes_for_case).","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"stortinget"},"operation":{"type":"string","const":"get_vote_result"},"parameters":{"type":"object","properties":{"vote_id":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["vote_id","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/stortinget/get_election_result":{"get":{"operationId":"stortinget_get_election_result","summary":"get election result","description":"Norwegian election results from valgresultat.no (Valgdirektoratet):\nper-party votes, percentages, change vs last election and seats, plus\nturnout. Omit fylke_nr for the national result; the response's\n`underomrader` lists the area numbers one level down.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Stortinget open data"],"parameters":[{"name":"year","in":"query","required":true,"description":"Election year. Storting/Sameting years: 2009 (st only), 2013, 2017, 2021, 2025. Municipal/county (ko/fy) years: 2011, 2015, 2019, 2023.","schema":{"type":"integer"}},{"name":"election_type","in":"query","required":false,"description":"\"st\" Storting, \"fy\" fylkesting, \"ko\" kommunestyre, \"sa\" Sameting.","schema":{"type":"string","default":"st"}},{"name":"fylke_nr","in":"query","required":false,"description":"Fylke number (e.g. \"03\" for Oslo) to drill down; for \"sa\" this is the valgkrets number (e.g. \"0001\").","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"kommune_nr","in":"query","required":false,"description":"Kommune number (e.g. \"0301\") within the fylke.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"stortinget"},"operation":{"type":"string","const":"get_election_result"},"parameters":{"type":"object","properties":{"year":{"type":"integer"},"election_type":{"type":"string"},"fylke_nr":{"anyOf":[{"type":"string"},{"type":"null"}]},"kommune_nr":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["year","election_type","fylke_nr","kommune_nr","limit","offset"]},"data":{"type":"object","properties":{"valg":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"rapport_generert":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"merknader":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"stemmeberettigede":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"frammote_prosent":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"mandater_totalt":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"stemmer":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"partier":{"type":"array","items":{"type":"object","properties":{"partikode":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"parti":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"prosent":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"prosent_endring":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"stemmer":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"mandater":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"mandater_endring":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"utjevningsmandater":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"underomrader":{"type":"array","items":{"type":"object","properties":{"nr":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"navn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/lovdata/search_rules":{"get":{"operationId":"lovdata_search_rules","summary":"search rules","description":"Search Norwegian laws and central regulations currently in force.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Lovdata public data"],"parameters":[{"name":"query","in":"query","required":true,"description":"Words that must all match (case-insensitive), e.g. \"straffeloven\" or \"krav byggverk\". Matches title/short title/id; with full_text=True the whole document text is searched instead (slower, a few seconds).","schema":{"type":"string"}},{"name":"source","in":"query","required":false,"description":"Optional filter: \"lov\" (laws) or \"forskrift\" (central regulations).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"full_text","in":"query","required":false,"description":"Search inside the document texts, not just titles.","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"description":"Max hits to return.","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"lovdata"},"operation":{"type":"string","const":"search_rules"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"full_text":{"type":"boolean"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","source","full_text","limit","offset"]},"data":{"type":"object","properties":{"data_updated":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"total":{"type":"integer"},"hits":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"hint":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/lovdata/get_rule":{"get":{"operationId":"lovdata_get_rule","summary":"get rule","description":"Get one law or regulation: metadata plus its list of sections.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Lovdata public data"],"parameters":[{"name":"ref_id","in":"query","required":true,"description":"Lovdata id from search_rules, e.g. \"lov/2005-05-20-28\" or \"forskrift/2017-06-19-840\".","schema":{"type":"string"}},{"name":"full_text","in":"query","required":false,"description":"Also include the complete document as plain text. Prefer get_section() for large laws.","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"lovdata"},"operation":{"type":"string","const":"get_rule"},"parameters":{"type":"object","properties":{"ref_id":{"type":"string"},"full_text":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["ref_id","full_text","limit","offset"]},"data":{"type":"object","properties":{"sections":{"type":"array","items":{"type":"object","properties":{"section":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},"text":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/lovdata/get_section":{"get":{"operationId":"lovdata_get_section","summary":"get section","description":"Get the text of a single section (paragraf) of a law or regulation.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Lovdata public data"],"parameters":[{"name":"ref_id","in":"query","required":true,"description":"Lovdata id from search_rules, e.g. \"lov/2005-05-20-28\".","schema":{"type":"string"}},{"name":"section","in":"query","required":true,"description":"Section id as listed by get_rule, e.g. \"\u00a74\", \"\u00a7 10-2\" or \"b5/k1/a1\" (spaces are ignored; \"4\" means \"\u00a74\").","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"lovdata"},"operation":{"type":"string","const":"get_section"},"parameters":{"type":"object","properties":{"ref_id":{"type":"string"},"section":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["ref_id","section","limit","offset"]},"data":{"type":"object","properties":{"ref_id":{"type":["string","null"]},"title":{"type":["string","null"]},"section":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"string"}]},"text":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/lovdata/search_case_law":{"get":{"operationId":"lovdata_search_case_law","summary":"search case law","description":"Free-text search in Norwegian Supreme Court (H\u00f8yesterett) decisions.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Lovdata public data"],"parameters":[{"name":"query","in":"query","required":true,"description":"Search words, e.g. \"uf\u00f8retrygd virkningstidspunkt\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max hits to return.","schema":{"type":"integer","default":10}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"lovdata"},"operation":{"type":"string","const":"search_case_law"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","offset"]},"data":{"type":"object","properties":{"query":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"hits":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"title":{"type":"string"},"hr_number":{"anyOf":[{"type":"string"},{"type":"null"}]},"excerpt":{"type":"string"},"published":{"type":"boolean"},"url":{"type":["string","null"],"format":"uri"}},"additionalProperties":false}]}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/lovdata/list_case_law":{"get":{"operationId":"lovdata_list_case_law","summary":"list case law","description":"List Norwegian Supreme Court (H\u00f8yesterett) decisions for one year.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Lovdata public data"],"parameters":[{"name":"year","in":"query","required":true,"description":"2000 or later.","schema":{"type":"integer"}},{"name":"category","in":"query","required":false,"description":"Optional substring filter on the category name, e.g. \"sivil\", \"straff\", \"ankeutvalg\" or \"prosessuelle\". Note \"straff\" also matches \"H\u00f8yesteretts ankeutvalg - straff\". (Older years use \"kj\u00e6rem\u00e5lsutvalg\" instead of \"ankeutvalg\".)","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max decisions to return (default 50).","schema":{"type":"integer","default":50}},{"name":"offset","in":"query","required":false,"description":"Skip this many matching decisions (for paging, default 0).","schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"lovdata"},"operation":{"type":"string","const":"list_case_law"},"parameters":{"type":"object","properties":{"year":{"type":"integer"},"category":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer"}},"additionalProperties":false,"required":["year","category","limit","offset"]},"data":{"type":"object","properties":{"year":{"type":["integer","null"]},"categories":{"type":"array","items":{"type":"string"}},"total":{"type":"integer"},"offset":{"type":["integer","null"]},"returned":{"type":"integer"},"decisions":{"type":"object","properties":{"title":{"type":"string"},"hr_number":{"anyOf":[{"type":"string"},{"type":"null"}]},"published":{"type":"boolean"},"category":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"url":{"type":["string","null"],"format":"uri"}},"additionalProperties":false},"note":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/lovdata/get_case_law":{"get":{"operationId":"lovdata_get_case_law","summary":"get case law","description":"Get one H\u00f8yesterett decision: summary, metadata and PDF link.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Lovdata public data"],"parameters":[{"name":"ref","in":"query","required":true,"description":"An HR number like \"HR-2026-1431-A\", or a decision url from search_case_law()/list_case_law().","schema":{"type":"string"}},{"name":"full_text","in":"query","required":false,"description":"Also download the decision PDF and include its extracted text (recent years only; older decisions have no PDF).","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"lovdata"},"operation":{"type":"string","const":"get_case_law"},"parameters":{"type":"object","properties":{"ref":{"type":"string"},"full_text":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["ref","full_text","limit","offset"]},"data":{"type":"object","properties":{"title":{"type":"string"},"hr_number":{"anyOf":[{"type":"string"},{"type":"null"}]},"published":{"type":"boolean"},"url":{"type":["string","null"],"format":"uri"},"case_intro":{"type":"string"},"summary":{"type":"string"},"pdf_url":{"anyOf":[{"type":["string","null"],"format":"uri"},{"type":"null"}]},"full_text":{"type":"string"},"note":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/postlister/search":{"get":{"operationId":"postlister_search","summary":"search","description":"Search Norwegian public mail journals (postlister).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian public correspondence journals"],"parameters":[{"name":"query","in":"query","required":false,"description":"Lucene query-string over all fields. A bare word searches everything (e.g. \"Equinor\", \"byggesak\"). Field-scoped and range queries work too, e.g. `document_title:skole`, `document_type:\"Inng\u00e5ende brev\"`, `document_from_org.orgnummer:923609016`. Default \"*\" matches everything (combine with filters).","schema":{"type":"string","default":"*"}},{"name":"entity_id","in":"query","required":false,"description":"Restrict to one authority, e.g. \"2012-alta-kommune\". Read it off `entity_id` in earlier results.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"date_from","in":"query","required":false,"description":"Document-date lower bound, ISO \"YYYY-MM-DD\" (inclusive).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"date_to","in":"query","required":false,"description":"Document-date upper bound, ISO \"YYYY-MM-DD\" (inclusive).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max documents to return, 1 to 100 (default 20).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"postlister"},"operation":{"type":"string","const":"search"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"entity_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"date_from":{"anyOf":[{"type":"string"},{"type":"null"}]},"date_to":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","entity_id","date_from","date_to","limit","offset"]},"data":{"type":"object","properties":{"total_hits":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"returned":{"type":["integer","null"]},"capped":{"type":"boolean"},"documents":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/postlister/search_kommune":{"get":{"operationId":"postlister_search_kommune","summary":"search kommune","description":"Search one municipality's (or agency's) mail journal, optionally by time range.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian public correspondence journals"],"parameters":[{"name":"kommune","in":"query","required":true,"description":"The authority. Either its name, e.g. \"Alta\", \"Bergen kommune\" (slugified into an entity_id filter), or an exact entity_id, e.g. \"2012-alta-kommune\". If a name returns nothing, the authority may use a historical slug (e.g. Nesbyen is \"nes-i-buskerud-kommune\"); run a plain search() and read the entity_id off a result.","schema":{"type":"string"}},{"name":"date_from","in":"query","required":false,"description":"Document-date lower bound, ISO \"YYYY-MM-DD\" (inclusive).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"date_to","in":"query","required":false,"description":"Document-date upper bound, ISO \"YYYY-MM-DD\" (inclusive).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"query","in":"query","required":false,"description":"Optional extra Lucene text to narrow within the municipality, e.g. \"byggesak\" or `document_title:skole`. Default \"*\" (everything).","schema":{"type":"string","default":"*"}},{"name":"limit","in":"query","required":false,"description":"Max documents to return, 1 to 100 (default 20).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"postlister"},"operation":{"type":"string","const":"search_kommune"},"parameters":{"type":"object","properties":{"kommune":{"type":"string"},"date_from":{"anyOf":[{"type":"string"},{"type":"null"}]},"date_to":{"anyOf":[{"type":"string"},{"type":"null"}]},"query":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["kommune","date_from","date_to","query","limit","offset"]},"data":{"type":"object","properties":{"total_hits":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"returned":{"type":["integer","null"]},"capped":{"type":"boolean"},"documents":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"note":{"type":"string"},"coverage_latest":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/postlister/get_case":{"get":{"operationId":"postlister_get_case","summary":"get case","description":"List all documents belonging to one case (sak).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian public correspondence journals"],"parameters":[{"name":"entity_id","in":"query","required":true,"description":"The authority, e.g. \"2012-alta-kommune\".","schema":{"type":"string"}},{"name":"case_serial_number","in":"query","required":true,"description":"The case number \"YEAR/SERIAL\", e.g. \"2026/5822\" (the `case_serial_number` field from search results).","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max documents to return, 1 to 100 (default 100).","schema":{"type":"integer","default":100}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"postlister"},"operation":{"type":"string","const":"get_case"},"parameters":{"type":"object","properties":{"entity_id":{"type":"string"},"case_serial_number":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["entity_id","case_serial_number","limit","offset"]},"data":{"type":"object","properties":{"total_hits":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"returned":{"type":["integer","null"]},"capped":{"type":"boolean"},"documents":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/arkivverket/search_census_persons":{"get":{"operationId":"arkivverket_search_census_persons","summary":"search census persons","description":"Search people in the 1910 Norwegian census (folketelling 1910), the\ntranscribed record of everyone present in Norway on 1 December 1910.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["National Archives of Norway"],"parameters":[{"name":"query","in":"query","required":false,"description":"Free-text term(s), e.g. \"ole hansen bergen\". Uses `match`.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"first_name","in":"query","required":false,"description":"Given name (fornavn), e.g. \"Ole\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"last_name","in":"query","required":false,"description":"Surname (etternavn), e.g. \"Hansen\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"sex","in":"query","required":false,"description":"\"m\" (male) or \"k\" (female).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"birth_year","in":"query","required":false,"description":"Birth year, e.g. \"1855\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"birth_place","in":"query","required":false,"description":"Birth place (f\u00f8dested), e.g. \"Bergen\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"residence","in":"query","required":false,"description":"Place of residence (bosted), e.g. \"Balestrand\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"occupation","in":"query","required":false,"description":"Occupation / civil standing (stilling_stand), e.g. \"skomaker\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"match","in":"query","required":false,"description":"For free-text only: \"all\" (default, all terms must match) or \"any\".","schema":{"type":"string","default":"all"}},{"name":"limit","in":"query","required":false,"description":"Results per page, 1-100 (default 25).","schema":{"type":"integer","default":25}},{"name":"page","in":"query","required":false,"description":"Page number, 1-based (default 1).","schema":{"type":"integer","default":1}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"arkivverket"},"operation":{"type":"string","const":"search_census_persons"},"parameters":{"type":"object","properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"sex":{"anyOf":[{"type":"string"},{"type":"null"}]},"birth_year":{"anyOf":[{"type":"string"},{"type":"null"}]},"birth_place":{"anyOf":[{"type":"string"},{"type":"null"}]},"residence":{"anyOf":[{"type":"string"},{"type":"null"}]},"occupation":{"anyOf":[{"type":"string"},{"type":"null"}]},"match":{"type":"string"},"limit":{"type":"integer"},"page":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","first_name","last_name","sex","birth_year","birth_place","residence","occupation","match","limit","page","offset"]},"data":{"type":"object","properties":{"count":{"type":["integer","null"]},"returned":{"type":"integer"},"page":{"type":["integer","null"]},"persons":{"type":"array","items":{"type":"object","properties":{"pfid":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"fornavn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"etternavn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"kjonn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"fodselsaar":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"fodested":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"bosted":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"stilling_stand":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"source":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"kommune_1947":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"property_id":{"type":["string","null"]},"household":{"type":"boolean"},"link":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/arkivverket/get_census_person":{"get":{"operationId":"arkivverket_get_census_person","summary":"get census person","description":"Full 1910-census record for one person, with their whole household.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["National Archives of Norway"],"parameters":[{"name":"pfid","in":"query","required":true,"description":"Person id from search_census_persons(), e.g. \"pf01036717000799\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"arkivverket"},"operation":{"type":"string","const":"get_census_person"},"parameters":{"type":"object","properties":{"pfid":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["pfid","limit","offset"]},"data":{"type":"object","properties":{"pfid":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"person":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"household":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"link":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/arkivverket/search_census_properties":{"get":{"operationId":"arkivverket_search_census_properties","summary":"search census properties","description":"Search residences / properties (bosteder) in the 1910 census - farms\n(g\u00e5rd/bruk) and urban addresses.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["National Archives of Norway"],"parameters":[{"name":"query","in":"query","required":false,"description":"Free-text term, e.g. \"Slangsvold\" or \"R\u00e5de\". Uses `match`. lat/lon: Point (WGS84) for a nearest-residence search.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"lat","in":"query","required":false,"description":"Parameteren lat.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"lon","in":"query","required":false,"description":"Parameteren lon.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"include_persons","in":"query","required":false,"description":"Geographic mode only - also return the people living at each matched residence.","schema":{"type":"boolean","default":false}},{"name":"match","in":"query","required":false,"description":"For free-text only: \"all\" (default) or \"any\".","schema":{"type":"string","default":"all"}},{"name":"limit","in":"query","required":false,"description":"Results per page, 1-100 (default 25). Free-text mode only.","schema":{"type":"integer","default":25}},{"name":"page","in":"query","required":false,"description":"Page number, 1-based (default 1). Free-text mode only.","schema":{"type":"integer","default":1}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"arkivverket"},"operation":{"type":"string","const":"search_census_properties"},"parameters":{"type":"object","properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"lon":{"anyOf":[{"type":"number"},{"type":"null"}]},"include_persons":{"type":"boolean"},"match":{"type":"string"},"limit":{"type":"integer"},"page":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","lat","lon","include_persons","match","limit","page","offset"]},"data":{"type":"object","properties":{"count":{"type":["integer","null"]},"returned":{"type":"integer"},"properties":{"type":"array","items":{"type":"object","properties":{"efid":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"gaardsnavn_gateadr":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"bruksnavn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"gaardsnr":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"bruksnr":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"fylke":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"kommune_sokn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"coordinates":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"source":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"residents":{"type":"boolean"}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/arkivverket/get_census_property":{"get":{"operationId":"arkivverket_get_census_property","summary":"get census property","description":"Full 1910-census record for one residence, with all its residents.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["National Archives of Norway"],"parameters":[{"name":"efid","in":"query","required":true,"description":"Property id from search_census_properties() or a person's `property_id`, e.g. \"bf01036717000798\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"arkivverket"},"operation":{"type":"string","const":"get_census_property"},"parameters":{"type":"object","properties":{"efid":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["efid","limit","offset"]},"data":{"type":"object","properties":{"efid":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"property":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"residents":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/arkivverket/search_archives":{"get":{"operationId":"arkivverket_search_archives","summary":"search archives","description":"Search Arkivportalen, the national archive catalogue: fonds, series and\nunits held by Norwegian archive institutions (statsarkiv, byarkiv,\nprivate archives, ...).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["National Archives of Norway"],"parameters":[{"name":"query","in":"query","required":true,"description":"Free-text search, e.g. an organisation, topic or place.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Results per page, 1-100 (default 25).","schema":{"type":"integer","default":25}},{"name":"page","in":"query","required":false,"description":"Page number, 1-based (default 1).","schema":{"type":"integer","default":1}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"arkivverket"},"operation":{"type":"string","const":"search_archives"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer"},"page":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","page","offset"]},"data":{"type":"object","properties":{"total":{"type":["integer","null"]},"total_exact":{"type":"boolean"},"returned":{"type":"integer"},"page":{"type":["integer","null"]},"results":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"name":{"type":["string","null"]},"identifier":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"path":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"unit_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"institution":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"country":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digitized_documents":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"history":{"type":"boolean"},"link":{"type":"string"}},"additionalProperties":false}]}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nasjonalbiblioteket/search":{"get":{"operationId":"nasjonalbiblioteket_search","summary":"search","description":"Search the National Library's catalog - books, newspapers, journals,\nphotos, maps, music, manuscripts, radio/TV and more, both physical and\ndigitized. Digitized text (OCR) is matched too by default, so a query\ncan surface newspaper or book pages that mention a term even when it's\nnot in the title.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["National Library of Norway"],"parameters":[{"name":"q","in":"query","required":true,"description":"Free-text query. Supports field-restricted terms too, e.g. \"subject:fiske year:1970\" combined with free text.","schema":{"type":"string"}},{"name":"media_type","in":"query","required":false,"description":"Restrict to one type, e.g. aviser (newspapers), b\u00f8ker (books), tidsskrift (journals), bilder (photos), musikk, kart (maps), film, plakater (posters), noter (sheet music), radio, fjernsyn. See get_aggregations(q=\"*\", group_by=\"mediatype\") for the full list with counts.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"language","in":"query","required":false,"description":"Language filter - values are inconsistent in the catalog (mixes codes like \"nob\" and labels like \"Norsk bokm\u00e5l\"); check get_aggregations(q=q, group_by=\"languages\") first if unsure.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"county","in":"query","required":false,"description":"Norwegian county name, e.g. \"Troms\", \"Oslo\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"year_from","in":"query","required":false,"description":"Restrict to items published/issued in this year range (inclusive).","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"year_to","in":"query","required":false,"description":"Restrict to items published/issued in this year range (inclusive).","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"digital_only","in":"query","required":false,"description":"Only items that have been digitized.","schema":{"type":"boolean","default":false}},{"name":"sort","in":"query","required":false,"description":"One of date, title, otherid, firstDigitalContentTime, optionally suffixed \",desc\" (default: relevance).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"page","in":"query","required":false,"description":"Zero-based page index.","schema":{"type":"integer","default":0}},{"name":"size","in":"query","required":false,"description":"Results per page, 1 to 100 (default 10).","schema":{"type":"integer","default":10}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nasjonalbiblioteket"},"operation":{"type":"string","const":"search"},"parameters":{"type":"object","properties":{"q":{"type":"string"},"media_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"language":{"anyOf":[{"type":"string"},{"type":"null"}]},"county":{"anyOf":[{"type":"string"},{"type":"null"}]},"year_from":{"anyOf":[{"type":"integer"},{"type":"null"}]},"year_to":{"anyOf":[{"type":"integer"},{"type":"null"}]},"digital_only":{"type":"boolean"},"sort":{"anyOf":[{"type":"string"},{"type":"null"}]},"page":{"type":"integer"},"size":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["q","media_type","language","county","year_from","year_to","digital_only","sort","page","size","limit","offset"]},"data":{"type":"object","properties":{"total":{"type":["integer","null"]},"page":{"type":["integer","null"]},"size":{"type":["integer","null"]},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"boolean"},"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"type":["string","null"]},"creators":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year":{"type":["integer","null"]},"publisher":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"media_types":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"languages":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digital":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"public_domain":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"license":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewability":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"access_allowed_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"thumbnail":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewer_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"type":"array","items":{"type":"object","properties":{"page":{"type":["integer","null"]},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nasjonalbiblioteket/get_item":{"get":{"operationId":"nasjonalbiblioteket_get_item","summary":"get item","description":"Get full catalog metadata for one item.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["National Library of Norway"],"parameters":[{"name":"id","in":"query","required":true,"description":"The sesamId or URN from search()/get_related_items(), e.g. \"7179a36971b19c313559f215b14e295b\" or \"URN:NBN:no-nb_digibok_2022011348552\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nasjonalbiblioteket"},"operation":{"type":"string","const":"get_item"},"parameters":{"type":"object","properties":{"id":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["id","limit","offset"]},"data":{"type":"object","properties":{"id":{"type":"boolean"},"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"type":["string","null"]},"creators":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year":{"type":["integer","null"]},"publisher":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"media_types":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"languages":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digital":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"public_domain":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"license":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewability":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"access_allowed_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"thumbnail":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewer_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"type":"array","items":{"type":"object","properties":{"page":{"type":["integer","null"]},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"subjects":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"isbn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"issn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"page_count":{"type":["integer","null"]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nasjonalbiblioteket/get_related_items":{"get":{"operationId":"nasjonalbiblioteket_get_related_items","summary":"get related items","description":"Get items related to one catalog item - e.g. the newspaper/journal a\ndigitized article appeared in (hosts), articles/pages it contains\n(constituents), the previous/next issue in a run, or the series it\nbelongs to. Most items (e.g. standalone books) have no recorded\nrelations - an empty result is normal, not an error.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["National Library of Norway"],"parameters":[{"name":"id","in":"query","required":true,"description":"The sesamId or URN from search()/get_item().","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nasjonalbiblioteket"},"operation":{"type":"string","const":"get_related_items"},"parameters":{"type":"object","properties":{"id":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["id","limit","offset"]},"data":{"type":"object","properties":{"hosts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"boolean"},"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"type":["string","null"]},"creators":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year":{"type":["integer","null"]},"publisher":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"media_types":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"languages":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digital":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"public_domain":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"license":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewability":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"access_allowed_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"thumbnail":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewer_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"type":"array","items":{"type":"object","properties":{"page":{"type":["integer","null"]},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false}},"constituents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"boolean"},"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"type":["string","null"]},"creators":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year":{"type":["integer","null"]},"publisher":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"media_types":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"languages":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digital":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"public_domain":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"license":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewability":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"access_allowed_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"thumbnail":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewer_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"type":"array","items":{"type":"object","properties":{"page":{"type":["integer","null"]},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false}},"preceding":{"type":"object","properties":{"id":{"type":"boolean"},"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"type":["string","null"]},"creators":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year":{"type":["integer","null"]},"publisher":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"media_types":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"languages":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digital":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"public_domain":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"license":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewability":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"access_allowed_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"thumbnail":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewer_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"type":"array","items":{"type":"object","properties":{"page":{"type":["integer","null"]},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"succeeding":{"type":"object","properties":{"id":{"type":"boolean"},"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"type":["string","null"]},"creators":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year":{"type":["integer","null"]},"publisher":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"media_types":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"languages":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digital":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"public_domain":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"license":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewability":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"access_allowed_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"thumbnail":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewer_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"type":"array","items":{"type":"object","properties":{"page":{"type":["integer","null"]},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"series":{"type":"object","properties":{"id":{"type":"boolean"},"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"type":["string","null"]},"creators":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year":{"type":["integer","null"]},"publisher":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"media_types":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"languages":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digital":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"public_domain":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"license":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewability":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"access_allowed_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"thumbnail":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewer_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"type":"array","items":{"type":"object","properties":{"page":{"type":["integer","null"]},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nasjonalbiblioteket/search_within_item":{"get":{"operationId":"nasjonalbiblioteket_search_within_item","summary":"search within item","description":"Full-text search inside the OCR'd pages of one specific digitized item\n(a book, one newspaper issue, a journal issue, etc.), returning which\npages contain the term. Use this to jump straight to relevant pages of\na long item instead of reading it page by page.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["National Library of Norway"],"parameters":[{"name":"id","in":"query","required":true,"description":"The sesamId or URN from search()/get_item(). Only works for digitized items (accessInfo.digital=true from search()/get_item()).","schema":{"type":"string"}},{"name":"q","in":"query","required":true,"description":"The word or phrase to find.","schema":{"type":"string"}},{"name":"max_pages","in":"query","required":false,"description":"Max distinct pages to return, 1 to 200 (default 30).","schema":{"type":"integer","default":30}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nasjonalbiblioteket"},"operation":{"type":"string","const":"search_within_item"},"parameters":{"type":"object","properties":{"id":{"type":"string"},"q":{"type":"string"},"max_pages":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["id","q","max_pages","limit","offset"]},"data":{"type":"object","properties":{"id":{"type":["string","null"]},"query":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"total_matches":{"type":"integer"},"pages_truncated":{"type":"boolean"},"pages":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/nasjonalbiblioteket/get_aggregations":{"get":{"operationId":"nasjonalbiblioteket_get_aggregations","summary":"get aggregations","description":"Get facet counts for a query - e.g. how many matching items exist per\nyear, county, media type or language. Useful for a quick overview\nbefore drilling into search() results, or for questions like \"how many\nnewspaper items mention X, broken down by year\".","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["National Library of Norway"],"parameters":[{"name":"q","in":"query","required":true,"description":"Same query syntax as search(). Use \"*\" to aggregate over the whole catalog.","schema":{"type":"string"}},{"name":"group_by","in":"query","required":true,"description":"One of bibliography, county, municipality, ddc1, ddc2, ddc3, genre, languages, literaryform, mediatype, relationType, series, set, targetaudience, year.","schema":{"type":"string"}},{"name":"media_type","in":"query","required":false,"description":"Optional mediatype filter, applied before aggregating.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"top_n","in":"query","required":false,"description":"Max buckets to return, 1 to 100 (default 20).","schema":{"type":"integer","default":20}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"nasjonalbiblioteket"},"operation":{"type":"string","const":"get_aggregations"},"parameters":{"type":"object","properties":{"q":{"type":"string"},"group_by":{"type":"string"},"media_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"top_n":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["q","group_by","media_type","top_n","limit","offset"]},"data":{"type":"object","properties":{"field":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"buckets":{"type":"array","items":{"type":"object","properties":{"key":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"count":{"type":["integer","null"]}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kulturarv/search_heritage_sites":{"get":{"operationId":"kulturarv_search_heritage_sites","summary":"search heritage sites","description":"Search Askeladden, Riksantikvaren's national database of cultural\nheritage sites (~630,000 kulturminner): archaeological sites, protected\nbuildings, churches, wrecks and more.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian cultural heritage"],"parameters":[{"name":"query","in":"query","required":false,"description":"Match in the site name, e.g. \"Urnes\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"art","in":"query","required":false,"description":"Type of site (enkeltminne- or lokalitetsart), e.g. \"stavkirke\", \"gravhaug\", \"helleristning\", \"fart\u00f8y\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"kategori","in":"query","required":false,"description":"Broad category, e.g. \"Arkeologisk minne\", \"Bebyggelse\", \"Kirkested\", \"Utmarkskulturminner\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"vernetype","in":"query","required":false,"description":"Protection status, e.g. \"Automatisk fredet\", \"Vedtaksfredet\", \"Forskriftsfredet\", \"Uavklart\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"datering","in":"query","required":false,"description":"Dating, e.g. \"Jernalder\", \"Middelalder\", \"1800-tallet\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"kommune","in":"query","required":false,"description":"Municipality name, e.g. \"Bergen\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"fylke","in":"query","required":false,"description":"County name, e.g. \"Vestland\". lat/lon: Center point for a geographic search (WGS84).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"lat","in":"query","required":false,"description":"Parameteren lat.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"lon","in":"query","required":false,"description":"Parameteren lon.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"radius_km","in":"query","required":false,"description":"Search radius around lat/lon (default 5 km).","schema":{"type":"number","default":5}},{"name":"limit","in":"query","required":false,"description":"Max sites returned (default 20, max 100).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kulturarv"},"operation":{"type":"string","const":"search_heritage_sites"},"parameters":{"type":"object","properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"art":{"anyOf":[{"type":"string"},{"type":"null"}]},"kategori":{"anyOf":[{"type":"string"},{"type":"null"}]},"vernetype":{"anyOf":[{"type":"string"},{"type":"null"}]},"datering":{"anyOf":[{"type":"string"},{"type":"null"}]},"kommune":{"anyOf":[{"type":"string"},{"type":"null"}]},"fylke":{"anyOf":[{"type":"string"},{"type":"null"}]},"lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"lon":{"anyOf":[{"type":"number"},{"type":"null"}]},"radius_km":{"type":"number"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","art","kategori","vernetype","datering","kommune","fylke","lat","lon","radius_km","limit","offset"]},"data":{"type":"object","properties":{"total":{"type":["integer","null"]},"sites":{"type":"array","items":{"type":"object","properties":{"lokalitetid":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"navn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"minnetype":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"art":{"type":"boolean"},"kategori":{"type":"boolean"},"datering":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"vernetype":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"kommune":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"fylke":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"lon_lat":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"informasjon":{"type":"string"},"link":{"type":["string","null"],"format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kulturarv/get_heritage_site":{"get":{"operationId":"kulturarv_get_heritage_site","summary":"get heritage site","description":"Full detail for one heritage site (lokalitet) in Askeladden, including\nall its individual monuments (enkeltminner).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian cultural heritage"],"parameters":[{"name":"lokalitetid","in":"query","required":true,"description":"Site id from search_heritage_sites(), e.g. 84288.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kulturarv"},"operation":{"type":"string","const":"get_heritage_site"},"parameters":{"type":"object","properties":{"lokalitetid":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lokalitetid","limit","offset"]},"data":{"type":"object","properties":{"lokalitetid":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"records":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"lon_lat":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}]}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kulturarv/search_cultural_environments":{"get":{"operationId":"kulturarv_search_cultural_environments","summary":"search cultural environments","description":"Search Norway's 654 protected cultural environments: fredete\nkulturmilj\u00f8er (protected under kulturminneloven \u00a7 20), UNESCO World\nHeritage areas (verdensarv), and urban areas of national interest.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian cultural heritage"],"parameters":[{"name":"query","in":"query","required":false,"description":"Match in the name, e.g. \"Bryggen\", \"R\u00f8ros\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"kategori","in":"query","required":false,"description":"Match in the category, e.g. \"verdensarv\", \"fredet\", \"nasjonale interesser\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"kommune","in":"query","required":false,"description":"Municipality name, e.g. \"Bergen\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"fylke","in":"query","required":false,"description":"County name, e.g. \"Vestland\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max results (default 20, max 100).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kulturarv"},"operation":{"type":"string","const":"search_cultural_environments"},"parameters":{"type":"object","properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"kategori":{"anyOf":[{"type":"string"},{"type":"null"}]},"kommune":{"anyOf":[{"type":"string"},{"type":"null"}]},"fylke":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","kategori","kommune","fylke","limit","offset"]},"data":{"type":"object","properties":{"total":{"type":["integer","null"]},"environments":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"navn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"kategori":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"vernetype":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"vernedato":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"kulturhistorisk_kontekst":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"periode":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"kommune":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"fylke":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"lon_lat":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"informasjon":{"type":"string"},"link":{"type":["string","null"],"format":"uri"}},"additionalProperties":false}]}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kulturarv/search_museum_objects":{"get":{"operationId":"kulturarv_search_museum_objects","summary":"search museum objects","description":"Search DigitaltMuseum: 10M+ objects from Norwegian (and Swedish) museum\ncollections - photographs, artifacts, fine art, buildings and more.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian cultural heritage"],"parameters":[{"name":"query","in":"query","required":true,"description":"Free-text search (Lucene syntax works, e.g. quoted phrases).","schema":{"type":"string"}},{"name":"object_type","in":"query","required":false,"description":"Limit to one type: Photograph, Thing, Fineart, Artdesign, Building, Architecture, NavalVessel, Person, Story, Video, Audio, Exhibition.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"owner","in":"query","required":false,"description":"Museum code from list_museums(), e.g. \"NF\" (Norsk Folkemuseum), \"NMK\" (Nasjonalmuseet). from_year/to_year: Limit on production start year.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"from_year","in":"query","required":false,"description":"Parameteren from_year.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"to_year","in":"query","required":false,"description":"Parameteren to_year.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"require_pictures","in":"query","required":false,"description":"Only objects with images.","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"description":"Max results (default 20, max 100).","schema":{"type":"integer","default":20}},{"name":"start","in":"query","required":false,"description":"Offset for paging.","schema":{"type":"integer","default":0}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kulturarv"},"operation":{"type":"string","const":"search_museum_objects"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"object_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"owner":{"anyOf":[{"type":"string"},{"type":"null"}]},"from_year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"to_year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"require_pictures":{"type":"boolean"},"limit":{"type":"integer"},"start":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","object_type","owner","from_year","to_year","require_pictures","limit","start","offset"]},"data":{"type":"object","properties":{"total":{"type":["integer","null"]},"start":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"objects":{"type":"array","items":{"type":"object","properties":{"title":{"type":["string","null"]},"producer":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year_to":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"place":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"subjects":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"type":{"type":["string","null"]},"owner":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"uuid":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"picture_count":{"type":"integer"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"page_url":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kulturarv/get_museum_object":{"get":{"operationId":"kulturarv_get_museum_object","summary":"get museum object","description":"Full detail for one DigitaltMuseum object.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian cultural heritage"],"parameters":[{"name":"uuid","in":"query","required":true,"description":"Object uuid from search_museum_objects(), e.g. \"b5d1e3dc-18b3-42d7-953b-cd143bacb602\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kulturarv"},"operation":{"type":"string","const":"get_museum_object"},"parameters":{"type":"object","properties":{"uuid":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["uuid","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kulturarv/list_museums":{"get":{"operationId":"kulturarv_list_museums","summary":"list museums","description":"List the museums and collection owners publishing to DigitaltMuseum.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian cultural heritage"],"parameters":[{"name":"query","in":"query","required":false,"description":"Case-insensitive substring of the museum name or code, e.g. \"folkemuseum\". Empty lists all (~1500).","schema":{"type":"string","default":""}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kulturarv"},"operation":{"type":"string","const":"list_museums"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"code":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"name":{"type":["string","null"]},"parent":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/artskart/search_species":{"get":{"operationId":"artskart_search_species","summary":"search species","description":"Search for a species/taxon by Norwegian popular name or scientific name.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Artskart species data"],"parameters":[{"name":"term","in":"query","required":true,"description":"Search text, e.g. \"elg\" or \"Alces alces\".","schema":{"description":"Norwegian or scientific species name to search for.","type":"string"}},{"name":"taxon_group_id","in":"query","required":false,"description":"Optional taxon group id to narrow the search (ids from list_reference_codes(\"taxongroup\")).","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"status","in":"query","required":false,"description":"Optional redlist/alien-species status code to filter by, e.g. \"cr\", \"en\", \"hi\" (codes from list_reference_codes(\"status\")).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max results, default 15.","schema":{"type":"integer","default":15}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"artskart"},"operation":{"type":"string","const":"search_species"},"parameters":{"type":"object","properties":{"term":{"description":"Norwegian or scientific species name to search for.","type":"string"},"taxon_group_id":{"anyOf":[{"type":"integer"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["term","taxon_group_id","status","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"taxon_id":{"type":["string","null"]},"scientific_name":{"type":["string","null"]},"authorship":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"popular_name":{"type":["string","null"]},"taxon_group":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"taxon_group_id":{"type":["string","null"]},"parent_taxon_id":{"type":["string","null"]},"exists_in_norway":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"status":{"type":["string","null"]},"kingdom":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"phylum":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"class":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"order":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"family":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"genus":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"species":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"subspecies":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/artskart/get_species":{"get":{"operationId":"artskart_get_species","summary":"get species","description":"Get full taxonomic detail for one species/taxon by id.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Artskart species data"],"parameters":[{"name":"taxon_id","in":"query","required":true,"description":"Taxon id, from search_species or find_observations.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"artskart"},"operation":{"type":"string","const":"get_species"},"parameters":{"type":"object","properties":{"taxon_id":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["taxon_id","limit","offset"]},"data":{"type":"object","properties":{"taxon_id":{"type":["string","null"]},"scientific_name":{"type":["string","null"]},"authorship":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"popular_name":{"type":["string","null"]},"taxon_group":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"taxon_group_id":{"type":["string","null"]},"parent_taxon_id":{"type":["string","null"]},"exists_in_norway":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"status":{"type":["string","null"]},"kingdom":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"phylum":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"class":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"order":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"family":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"genus":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"species":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"subspecies":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"is_deleted":{"type":["boolean","null"]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/artskart/get_species_children":{"get":{"operationId":"artskart_get_species_children","summary":"get species children","description":"Get the child taxa of a taxon, e.g. the species within a genus or the\ngenera within a family.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Artskart species data"],"parameters":[{"name":"taxon_id","in":"query","required":true,"description":"Parent taxon id, from search_species or get_species.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"artskart"},"operation":{"type":"string","const":"get_species_children"},"parameters":{"type":"object","properties":{"taxon_id":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["taxon_id","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"taxon_id":{"type":["string","null"]},"scientific_name":{"type":["string","null"]},"authorship":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"popular_name":{"type":["string","null"]}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/artskart/find_observations":{"get":{"operationId":"artskart_find_observations","summary":"find observations","description":"Search verified species observation records.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Artskart species data"],"parameters":[{"name":"taxon_id","in":"query","required":false,"description":"Restrict to one species/taxon, from search_species.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"county","in":"query","required":false,"description":"Two-digit numeric fylkesnummer, e.g. \"50\" for Tr\u00f8ndelag. Pass the code, not a county name such as \"Tr\u00f8ndelag\". Validated against the current 15 fylke; an unknown code errors rather than returning unrelated data.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"municipality","in":"query","required":false,"description":"Kommunenummer, e.g. \"5035\" for Stj\u00f8rdal. Must be a current (post-2024) 4-digit kommunenummer; a stale/unknown code silently returns nothing useful.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"status","in":"query","required":false,"description":"Redlist/alien-species status code, e.g. \"cr\", \"en\", \"hi\" (codes from list_reference_codes(\"status\")).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"from_date","in":"query","required":false,"description":"ISO date (YYYY-MM-DD), inclusive range.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"to_date","in":"query","required":false,"description":"ISO date (YYYY-MM-DD), inclusive range.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"lat","in":"query","required":false,"description":"WGS84 point and radius for a \"near here\" search; supply all three together. Each result gains a distance_km field and the list is sorted nearest first. The public API ignores geometry filters, so this is applied client-side over up to ~1000 fetched records; combine with taxon_id and/or county for complete coverage. Ignores page (returns the nearest page_size).","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"lon","in":"query","required":false,"description":"WGS84 point and radius for a \"near here\" search; supply all three together. Each result gains a distance_km field and the list is sorted nearest first. The public API ignores geometry filters, so this is applied client-side over up to ~1000 fetched records; combine with taxon_id and/or county for complete coverage. Ignores page (returns the nearest page_size).","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"radius_km","in":"query","required":false,"description":"WGS84 point and radius for a \"near here\" search; supply all three together. Each result gains a distance_km field and the list is sorted nearest first. The public API ignores geometry filters, so this is applied client-side over up to ~1000 fetched records; combine with taxon_id and/or county for complete coverage. Ignores page (returns the nearest page_size).","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"only_image_obs","in":"query","required":false,"description":"Only return observations that have a photo.","schema":{"type":"boolean","default":false}},{"name":"page","in":"query","required":false,"description":"Pagination, default page 0, 20 per page.","schema":{"type":"integer","default":0}},{"name":"page_size","in":"query","required":false,"description":"Pagination, default page 0, 20 per page.","schema":{"type":"integer","default":20}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"artskart"},"operation":{"type":"string","const":"find_observations"},"parameters":{"type":"object","properties":{"taxon_id":{"anyOf":[{"type":"integer"},{"type":"null"}]},"county":{"anyOf":[{"type":"string"},{"type":"null"}]},"municipality":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"from_date":{"anyOf":[{"type":"string"},{"type":"null"}]},"to_date":{"anyOf":[{"type":"string"},{"type":"null"}]},"lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"lon":{"anyOf":[{"type":"number"},{"type":"null"}]},"radius_km":{"anyOf":[{"type":"number"},{"type":"null"}]},"only_image_obs":{"type":"boolean"},"page":{"type":"integer"},"page_size":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["taxon_id","county","municipality","status","from_date","to_date","lat","lon","radius_km","only_image_obs","page","page_size","limit","offset"]},"data":{"type":"object","properties":{"total_count":{"type":["integer","null"]},"center":{"type":"object","properties":{"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"radius_km":{"type":["number","null"]}},"additionalProperties":false},"observations":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"name":{"type":["string","null"]},"scientific_name":{"type":["string","null"]},"taxon_id":{"type":["string","null"]},"count":{"type":["integer","null"]},"sex":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"collected_date":{"type":["string","null"],"format":"date"},"collector":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"status":{"type":["string","null"]},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"locality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"precision_m":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"basis_of_record":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"institution":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"obs_url":{"type":["string","null"],"format":"uri"},"image_urls":{"type":"array","items":{"type":["string","null"],"format":"uri"}}},"additionalProperties":false},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]}},"note":{"type":"string"},"page_index":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"page_size":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"total_pages":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/artskart/list_reference_codes":{"get":{"operationId":"artskart_list_reference_codes","summary":"list reference codes","description":"List valid codes for a filter field used by search_species/find_observations.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Artskart species data"],"parameters":[{"name":"context","in":"query","required":true,"description":"One of \"taxongroup\" (taxon_group_id values), \"status\" (redlist and alien-species status codes) or \"geoprecision\" (observation location precision bands).","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"artskart"},"operation":{"type":"string","const":"list_reference_codes"},"parameters":{"type":"object","properties":{"context":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["context","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"group":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"code":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"label":{"type":["string","null"]}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/naturbase/find_protected_areas":{"get":{"operationId":"naturbase_find_protected_areas","summary":"find protected areas","description":"Search Norway's protected areas (verneomr\u00e5der).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Naturbase"],"parameters":[{"name":"query","in":"query","required":false,"description":"Match the area name, e.g. \"Rondane\" or \"Femund\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"kommune","in":"query","required":false,"description":"Match a municipality name in the area, e.g. \"Dovre\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"verneform","in":"query","required":false,"description":"Filter by protection form. Examples: Nasjonalpark, Naturreservat, Landskapsvernomraade, Biotopvern, Naturminne, MarintVerneomraade, Dyrefredningsomrade. Substring match.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max areas to return, 1-100 (default 20).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"naturbase"},"operation":{"type":"string","const":"find_protected_areas"},"parameters":{"type":"object","properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"kommune":{"anyOf":[{"type":"string"},{"type":"null"}]},"verneform":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","kommune","verneform","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":"boolean"},"protection_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"iucn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"protected_date":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"string"}]},"management_authority":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"factsheet":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/naturbase/get_protected_area":{"get":{"operationId":"naturbase_get_protected_area","summary":"get protected area","description":"Get the full record for one protected area by its Naturbase id.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Naturbase"],"parameters":[{"name":"area_id","in":"query","required":true,"description":"The naturvernId from find_protected_areas, e.g. \"VV00001873\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"naturbase"},"operation":{"type":"string","const":"get_protected_area"},"parameters":{"type":"object","properties":{"area_id":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["area_id","limit","offset"]},"data":{"type":"object","properties":{"geometry":{"type":"string"},"geometryType":{"type":"string"},"inSR":{"type":"string"},"distance":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"units":{"type":"string"},"spatialRel":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/naturbase/find_protected_areas_nearby":{"get":{"operationId":"naturbase_find_protected_areas_nearby","summary":"find protected areas nearby","description":"Find protected areas within a radius of a coordinate (WGS84).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Naturbase"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Centre point in decimal degrees.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Centre point in decimal degrees.","schema":{"type":"number"}},{"name":"radius_m","in":"query","required":false,"description":"Search radius in metres (default 5000).","schema":{"type":"integer","default":5000}},{"name":"limit","in":"query","required":false,"description":"Max areas to return, 1-100 (default 20).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"naturbase"},"operation":{"type":"string","const":"find_protected_areas_nearby"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"radius_m":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","radius_m","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":"boolean"},"protection_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"iucn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"protected_date":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"string"}]},"management_authority":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"factsheet":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/naturbase/find_nature_types_nearby":{"get":{"operationId":"naturbase_find_nature_types_nearby","summary":"find nature types nearby","description":"Find mapped nature-type localities (naturtyper etter NiN) near a coordinate.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Naturbase"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Centre point in WGS84 decimal degrees.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Centre point in WGS84 decimal degrees.","schema":{"type":"number"}},{"name":"radius_m","in":"query","required":false,"description":"Search radius in metres (default 5000).","schema":{"type":"integer","default":5000}},{"name":"limit","in":"query","required":false,"description":"Max localities to return, 1-100 (default 20).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"naturbase"},"operation":{"type":"string","const":"find_nature_types_nearby"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"radius_m":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","radius_m","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"area_name":{"type":["string","null"]},"nature_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"nature_type_code":{"type":["string","null"]},"locality_quality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"ecosystem":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"mapped_year":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"factsheet":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/rovbase/find_predator_observations":{"get":{"operationId":"rovbase_find_predator_observations","summary":"find predator observations","description":"Search large-carnivore observations from Rovbase (via GBIF).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Rovbase large carnivores"],"parameters":[{"name":"species","in":"query","required":false,"description":"One of bear, wolf, wolverine, lynx, golden eagle (also the Norwegian bj\u00f8rn, ulv, jerv, gaupe, konge\u00f8rn). Omit for all species.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"from_year","in":"query","required":false,"description":"Restrict to a year range (either or both).","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"to_year","in":"query","required":false,"description":"Restrict to a year range (either or both).","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"lat","in":"query","required":false,"description":"Centre coordinate (WGS84) for a radius search.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"lon","in":"query","required":false,"description":"Centre coordinate (WGS84) for a radius search.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"radius_km","in":"query","required":false,"description":"Radius in km around lat/lon (needs lat and lon; default 10).","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max observations to return, 1-100 (default 20).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"rovbase"},"operation":{"type":"string","const":"find_predator_observations"},"parameters":{"type":"object","properties":{"species":{"anyOf":[{"type":"string"},{"type":"null"}]},"from_year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"to_year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"lon":{"anyOf":[{"type":"number"},{"type":"null"}]},"radius_km":{"anyOf":[{"type":"number"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["species","from_year","to_year","lat","lon","radius_km","limit","offset"]},"data":{"type":"object","properties":{"total":{"type":"integer"},"returned":{"type":"integer"},"observations":{"type":"array","items":{"type":"object","properties":{"species":{"type":"boolean"},"scientific_name":{"type":["string","null"]},"date":{"type":["string","null"],"format":"date"},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"locality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"county":{"type":"boolean"},"basis_of_record":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/rovbase/count_predator_observations":{"get":{"operationId":"rovbase_count_predator_observations","summary":"count predator observations","description":"Count observations per large carnivore for a period and/or area.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Rovbase large carnivores"],"parameters":[{"name":"from_year","in":"query","required":false,"description":"Parameteren from_year.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"to_year","in":"query","required":false,"description":"Parameteren to_year.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"lat","in":"query","required":false,"description":"Parameteren lat.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"lon","in":"query","required":false,"description":"Parameteren lon.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"radius_km","in":"query","required":false,"description":"Parameteren radius_km.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"rovbase"},"operation":{"type":"string","const":"count_predator_observations"},"parameters":{"type":"object","properties":{"from_year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"to_year":{"anyOf":[{"type":"integer"},{"type":"null"}]},"lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"lon":{"anyOf":[{"type":"number"},{"type":"null"}]},"radius_km":{"anyOf":[{"type":"number"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["from_year","to_year","lat","lon","radius_km","limit","offset"]},"data":{"type":"object","properties":{"total":{"type":"number"},"by_species":{"type":"object","properties":{},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/fhi/list_sources":{"get":{"operationId":"fhi_list_sources","summary":"list sources","description":"List the statistics sources (registers) in FHI's statistics banks.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["FHI Statistics"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"fhi"},"operation":{"type":"string","const":"list_sources"},"parameters":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["limit","offset"]},"data":{"type":"array","items":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/fhi/search_tables":{"get":{"operationId":"fhi_search_tables","summary":"search tables","description":"Find tables by keyword in their titles, across all sources or one.","x-description-language":"en","x-response-schema-status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"tags":["FHI Statistics"],"parameters":[{"name":"query","in":"query","required":false,"description":"Words to match in table titles (case-insensitive, all words must appear), e.g. \"svangerskapsavbrot alder\". Titles are in Norwegian. Empty query lists every table.","schema":{"type":"string","default":""}},{"name":"source_id","in":"query","required":false,"description":"Limit to one source id from list_sources(), e.g. \"daar\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"fhi"},"operation":{"type":"string","const":"search_tables"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","source_id","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"source_id":{"type":"string"},"table_id":{"type":"integer"},"title":{"type":"string"},"published_at":{"type":["string","null"],"format":"date-time"},"modified_at":{"type":["string","null"],"format":"date-time"}},"additionalProperties":false,"required":["source_id","table_id","title"]}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false},"example":{"source":"fhi","operation":"search_tables","parameters":{"query":"","source_id":"example-id"},"data":[{"source_id":"example-id","table_id":1,"title":"Example","published_at":"2026-01-15T12:00:00Z","modified_at":"2026-01-15T12:00:00Z"}],"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"fhi","name":"FHI Statistics","description":"Public-health tables from the Norwegian Institute of Public Health and Directorate of Health.","cache_ttl_seconds":300,"documentation":"https://statistikk-data.fhi.no/"}]},"_provenance":{"data":{"source":"fhi","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/fhi"},"entities":{"source":"fhi","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/fhi","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/fhi/search_tables","source":"https://allemannsdata.com/wiki/api/v1/kilder/fhi","wiki":"https://allemannsdata.com/wiki/kilder/fhi/search_tables/"}}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/fhi/get_table_dimensions":{"get":{"operationId":"fhi_get_table_dimensions","summary":"get table dimensions","description":"Get a table's dimensions and the valid value codes for each.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["FHI Statistics"],"parameters":[{"name":"source_id","in":"query","required":true,"description":"Source id from list_sources(), e.g. \"daar\".","schema":{"type":"string"}},{"name":"table_id","in":"query","required":true,"description":"Table id from search_tables(), e.g. 588.","schema":{"type":"integer"}},{"name":"search_values","in":"query","required":false,"description":"Optional filter on value labels (case-insensitive substring), useful for large hierarchical dimensions like geography \u2014 e.g. \"bergen\" to find a municipality code.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"fhi"},"operation":{"type":"string","const":"get_table_dimensions"},"parameters":{"type":"object","properties":{"source_id":{"type":"string"},"table_id":{"type":"integer"},"search_values":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["source_id","table_id","search_values","limit","offset"]},"data":{"type":"object","properties":{"source_id":{"type":["string","null"]},"table_id":{"type":["string","null"]},"dimensions":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"code":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"label":{"type":["string","null"]},"values":{"type":"array","items":{"type":"object","properties":{"code":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"label":{"type":["string","null"]}},"additionalProperties":false}},"note":{"anyOf":[{"type":"null"},{"type":"string"}]}},"additionalProperties":false}]}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/fhi/get_table_data":{"get":{"operationId":"fhi_get_table_data","summary":"get table data","description":"Query a table's data and return it as labeled rows.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["FHI Statistics"],"parameters":[{"name":"source_id","in":"query","required":true,"description":"Source id from list_sources(), e.g. \"abr\".","schema":{"type":"string"}},{"name":"table_id","in":"query","required":true,"description":"Table id from search_tables(), e.g. 588.","schema":{"type":"integer"}},{"name":"selections","in":"query","required":false,"description":"Dict of {dimension_code: [value_codes]}, codes from get_table_dimensions(). Any dimension you omit is filled with ALL its values, so only specify the ones you want to narrow, but narrow enough that the result stays under 50000 cells. Example: {\"AARGANG\": [\"2023\", \"2024\"], \"MEASURE_TYPE\": [\"ANTALL\"]}","schema":{"anyOf":[{"additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"type":"object"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"fhi"},"operation":{"type":"string","const":"get_table_data"},"parameters":{"type":"object","properties":{"source_id":{"type":"string"},"table_id":{"type":"integer"},"selections":{"anyOf":[{"additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"type":"object"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["source_id","table_id","selections","limit","offset"]},"data":{"type":"object","properties":{"source_id":{"type":["string","null"]},"table_id":{"type":["string","null"]},"title":{"type":["string","null"]},"updated":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"unit":{"anyOf":[{"type":"null"},{"type":["string","null"]}]},"rows":{"type":"array","items":{"type":"object","properties":{"value":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"total_cells":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"truncated":{"type":"boolean"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/fhi/get_table_description":{"get":{"operationId":"fhi_get_table_description","summary":"get table description","description":"Get a table's descriptive metadata: what the register covers, how the\nfigures are produced, and caveats for interpreting them.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["FHI Statistics"],"parameters":[{"name":"source_id","in":"query","required":true,"description":"Source id from list_sources(), e.g. \"abr\".","schema":{"type":"string"}},{"name":"table_id","in":"query","required":true,"description":"Table id from search_tables(), e.g. 588.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"fhi"},"operation":{"type":"string","const":"get_table_description"},"parameters":{"type":"object","properties":{"source_id":{"type":"string"},"table_id":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["source_id","table_id","limit","offset"]},"data":{"type":"object","properties":{"name":{"type":["string","null"]},"is_official_statistics":{"type":["boolean","null"]},"paragraphs":{"type":"array","items":{"type":"object","properties":{"header":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"content":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/mattilsynet/search_establishments":{"get":{"operationId":"mattilsynet_search_establishments","summary":"search establishments","description":"Search food-serving establishments by their most recent Smilefjes grade.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian Food Safety Authority"],"parameters":[{"name":"name","in":"query","required":false,"description":"Substring match on establishment name (case-insensitive).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"poststed","in":"query","required":false,"description":"Filter by city/town, e.g. \"Oslo\" (case-insensitive).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"postnr","in":"query","required":false,"description":"Filter by exact postal code, e.g. \"0162\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"min_karakter","in":"query","required":false,"description":"Only establishments whose latest grade is at least this (0=smiling/no violations ... 3=frowning/serious violations).","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max establishments to return.","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"mattilsynet"},"operation":{"type":"string","const":"search_establishments"},"parameters":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"poststed":{"anyOf":[{"type":"string"},{"type":"null"}]},"postnr":{"anyOf":[{"type":"string"},{"type":"null"}]},"min_karakter":{"anyOf":[{"type":"integer"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["name","poststed","postnr","min_karakter","limit","offset"]},"data":{"type":"object","properties":{"total":{"type":"integer"},"establishments":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/mattilsynet/get_inspection_history":{"get":{"operationId":"mattilsynet_get_inspection_history","summary":"get inspection history","description":"Get every Smilefjes inspection recorded for one establishment, oldest first.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian Food Safety Authority"],"parameters":[{"name":"tilsynsobjektid","in":"query","required":false,"description":"Establishment id, from search_establishments.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"orgnummer","in":"query","required":false,"description":"Alternatively, an organisation number - covers every establishment under it (e.g. all addresses of one chain).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"mattilsynet"},"operation":{"type":"string","const":"get_inspection_history"},"parameters":{"type":"object","properties":{"tilsynsobjektid":{"anyOf":[{"type":"string"},{"type":"null"}]},"orgnummer":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["tilsynsobjektid","orgnummer","limit","offset"]},"data":{"type":"object","properties":{"total":{"type":"integer"},"inspections":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/mattilsynet/get_requirement_points":{"get":{"operationId":"mattilsynet_get_requirement_points","summary":"get requirement points","description":"Get the detailed requirement-point (kravpunkt) grades for one inspection.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian Food Safety Authority"],"parameters":[{"name":"tilsynid","in":"query","required":true,"description":"Inspection id, from search_establishments or get_inspection_history.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"mattilsynet"},"operation":{"type":"string","const":"get_requirement_points"},"parameters":{"type":"object","properties":{"tilsynid":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["tilsynid","limit","offset"]},"data":{"type":"object","properties":{"tilsynid":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"kravpunkter":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/utdanning/search_schools":{"get":{"operationId":"utdanning_search_schools","summary":"search schools","description":"Search the national school register (NSR): primary and secondary schools\n(grunnskoler, videreg\u00e5ende), fagskoler and folkeh\u00f8yskoler.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Norwegian education data"],"parameters":[{"name":"query","in":"query","required":false,"description":"National, unscoped free-text name search, e.g. \"Nordnes skole\". Supply kommunenr or fylkesnr to constrain the geographic scope.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"kommunenr","in":"query","required":false,"description":"Limit to a municipality (4-digit code, e.g. \"4601\").","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"fylkesnr","in":"query","required":false,"description":"Limit to a county (2-digit code, e.g. \"46\").","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"include_closed","in":"query","required":false,"description":"Also include units that are no longer active.","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"description":"Max units returned (default 25, maximum 100).","schema":{"type":"integer","default":25}},{"name":"offset","in":"query","required":false,"description":"Number of matching units to skip (default 0).","schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"utdanning"},"operation":{"type":"string","const":"search_schools"},"parameters":{"type":"object","properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"kommunenr":{"anyOf":[{"type":"string"},{"type":"null"}]},"fylkesnr":{"anyOf":[{"type":"string"},{"type":"null"}]},"include_closed":{"type":"boolean"},"limit":{"type":"integer"},"offset":{"type":"integer"}},"additionalProperties":false,"required":["query","kommunenr","fylkesnr","include_closed","limit","offset"]},"data":{"type":"object","properties":{"total":{"type":"integer"},"limit":{"type":["integer","null"]},"offset":{"type":["integer","null"]},"returned":{"type":"integer"},"truncated":{"type":"boolean"},"has_more_results":{"type":"boolean"},"units":{"type":["integer","null"]},"scope_reference":{"type":"object","properties":{"kommunenr":{"anyOf":[{"type":["string","null"]},{"anyOf":[{"type":["string","null"]},{"type":"null"}]}]},"basis":{"type":"string"}},"additionalProperties":false},"next_offset":{"anyOf":[{"type":["integer","null"]},{"type":"integer"}]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/utdanning/search_kindergartens":{"get":{"operationId":"utdanning_search_kindergartens","summary":"search kindergartens","description":"Search the national kindergarten register (NBR).","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Norwegian education data"],"parameters":[{"name":"query","in":"query","required":false,"description":"National, unscoped free-text name search, e.g. \"Espira\". Supply kommunenr or fylkesnr to constrain the geographic scope.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"kommunenr","in":"query","required":false,"description":"Limit to a municipality (4-digit code, e.g. \"4601\").","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"fylkesnr","in":"query","required":false,"description":"Limit to a county (2-digit code, e.g. \"46\").","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"include_closed","in":"query","required":false,"description":"Also include units that are no longer active.","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"description":"Max units returned (default 25, maximum 100).","schema":{"type":"integer","default":25}},{"name":"offset","in":"query","required":false,"description":"Number of matching units to skip (default 0).","schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"utdanning"},"operation":{"type":"string","const":"search_kindergartens"},"parameters":{"type":"object","properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"kommunenr":{"anyOf":[{"type":"string"},{"type":"null"}]},"fylkesnr":{"anyOf":[{"type":"string"},{"type":"null"}]},"include_closed":{"type":"boolean"},"limit":{"type":"integer"},"offset":{"type":"integer"}},"additionalProperties":false,"required":["query","kommunenr","fylkesnr","include_closed","limit","offset"]},"data":{"type":"object","properties":{"total":{"type":"integer"},"limit":{"type":["integer","null"]},"offset":{"type":["integer","null"]},"returned":{"type":"integer"},"truncated":{"type":"boolean"},"has_more_results":{"type":"boolean"},"units":{"type":["integer","null"]},"scope_reference":{"type":"object","properties":{"kommunenr":{"anyOf":[{"type":["string","null"]},{"anyOf":[{"type":["string","null"]},{"type":"null"}]}]},"basis":{"type":"string"}},"additionalProperties":false},"next_offset":{"anyOf":[{"type":["integer","null"]},{"type":"integer"}]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/utdanning/get_unit":{"get":{"operationId":"utdanning_get_unit","summary":"get unit","description":"Full detail for one school or kindergarten by organisation number.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian education data"],"parameters":[{"name":"orgnr","in":"query","required":true,"description":"9-digit organisation number from search_schools() or search_kindergartens().","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"utdanning"},"operation":{"type":"string","const":"get_unit"},"parameters":{"type":"object","properties":{"orgnr":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["orgnr","limit","offset"]},"data":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/utdanning/list_udir_tables":{"get":{"operationId":"utdanning_list_udir_tables","summary":"list udir tables","description":"List the export tables in Udir's statistikkbanken API.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian education data"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"utdanning"},"operation":{"type":"string","const":"list_udir_tables"},"parameters":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["limit","offset"]},"data":{"type":"array","items":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/utdanning/get_udir_table_filters":{"get":{"operationId":"utdanning_get_udir_table_filters","summary":"get udir table filters","description":"Get a Udir table's filters and the valid values for each.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian education data"],"parameters":[{"name":"eksport_id","in":"query","required":true,"description":"EksportID from list_udir_tables(), e.g. 151.","schema":{"type":"integer"}},{"name":"search_values","in":"query","required":false,"description":"Optional case-insensitive substring filter on value names - useful for the huge hierarchical EnhetID filter, e.g. \"bergen\" to find a municipality or school id.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"utdanning"},"operation":{"type":"string","const":"get_udir_table_filters"},"parameters":{"type":"object","properties":{"eksport_id":{"type":"integer"},"search_values":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["eksport_id","search_values","limit","offset"]},"data":{"type":"object","properties":{"eksport_id":{"type":["string","null"]},"filters":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"mandatory":{"type":"boolean"},"default":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"values":{"anyOf":[{"type":"array","items":{"type":"object","additionalProperties":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}}},{"type":"array","items":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"note":{"anyOf":[{"type":"null"},{"type":"string"}]}},"additionalProperties":false}]}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/utdanning/get_udir_table_data":{"get":{"operationId":"utdanning_get_udir_table_data","summary":"get udir table data","description":"Query a Udir statistikkbanken table.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian education data"],"parameters":[{"name":"eksport_id","in":"query","required":true,"description":"EksportID from list_udir_tables(), e.g. 151.","schema":{"type":"integer"}},{"name":"filters","in":"query","required":true,"description":"Dict of {filter_id: [value_ids]}, ids from get_udir_table_filters(). At least one filter is required; any filter you omit means all its values. \"*\" is a valid value. Example: {\"TidID\": [202412], \"EnhetID\": [-12]} (EnhetID -12 = national level).","schema":{"additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"type":"object"}},{"name":"page","in":"query","required":false,"description":"Page number for paging through large results (default 1).","schema":{"type":"integer","default":1}},{"name":"rows_per_page","in":"query","required":false,"description":"Rows per page (default 500).","schema":{"type":"integer","default":500}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"utdanning"},"operation":{"type":"string","const":"get_udir_table_data"},"parameters":{"type":"object","properties":{"eksport_id":{"type":"integer"},"filters":{"additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"type":"object"},"page":{"type":"integer"},"rows_per_page":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["eksport_id","filters","page","rows_per_page","limit","offset"]},"data":{"type":"object","properties":{"eksport_id":{"type":["string","null"]},"page":{"type":["integer","null"]},"rows_total":{"anyOf":[{"type":["integer","null"]},{"type":"integer"}]},"rows":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/utdanning/list_dbh_tables":{"get":{"operationId":"utdanning_list_dbh_tables","summary":"list dbh tables","description":"List the ~110 tables in DBH, HK-dir's statistics database on higher\neducation (universities, university colleges) and fagskoler.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian education data"],"parameters":[{"name":"query","in":"query","required":false,"description":"Words to match in table name or topic (case-insensitive, all words must appear), e.g. \"registrerte studenter\". Names are in Norwegian. Empty query lists every table.","schema":{"type":"string","default":""}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"utdanning"},"operation":{"type":"string","const":"list_dbh_tables"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"table_id":{"type":"integer"},"name":{"type":["string","null"]},"topic":{"type":"string"},"variables":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/utdanning/get_dbh_table_info":{"get":{"operationId":"utdanning_get_dbh_table_info","summary":"get dbh table info","description":"Get a DBH table's variables: name, datatype and whether each is a\nrecommended group-by column.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian education data"],"parameters":[{"name":"table_id","in":"query","required":true,"description":"Table id from list_dbh_tables(), e.g. 123.","schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"utdanning"},"operation":{"type":"string","const":"get_dbh_table_info"},"parameters":{"type":"object","properties":{"table_id":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["table_id","limit","offset"]},"data":{"type":"object","properties":{"table_id":{"type":["string","null"]},"name":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"variables":{"type":"array","items":{"type":"object","properties":{"variable":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"datatype":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"group_by_suggested":{"type":"boolean"},"comment":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/utdanning/find_dbh_institution":{"get":{"operationId":"utdanning_find_dbh_institution","summary":"find dbh institution","description":"Find a higher-education institution's DBH code by (part of) its name.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian education data"],"parameters":[{"name":"name","in":"query","required":true,"description":"Substring of the institution name or short name, e.g. \"oslo\", \"NTNU\", \"handelsh\u00f8yskolen\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"utdanning"},"operation":{"type":"string","const":"find_dbh_institution"},"parameters":{"type":"object","properties":{"name":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["name","limit","offset"]},"data":{"type":"array","items":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/utdanning/get_dbh_table_data":{"get":{"operationId":"utdanning_get_dbh_table_data","summary":"get dbh table data","description":"Query a DBH table and return labeled rows.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian education data"],"parameters":[{"name":"table_id","in":"query","required":true,"description":"Table id from list_dbh_tables(), e.g. 123.","schema":{"type":"integer"}},{"name":"filters","in":"query","required":true,"description":"Dict of {variable: [values]}, variables from get_dbh_table_info(). At least one filter is required. Values are code strings; special forms: [\"*\"] = all values, [\"TOP(2)\"] = the 2 highest (e.g. latest years), [\"BETWEEN(2020,2024)\"] = an inclusive range. Example: {\"\u00c5rstall\": [\"TOP(2)\"], \"Institusjonskode\": [\"1110\"]}","schema":{"additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"type":"object"}},{"name":"group_by","in":"query","required":false,"description":"Variables to aggregate by, e.g. [\"Institusjonskode\", \"\u00c5rstall\"]. Required for aggregation tables (most Studentdata tables): measure columns are summed per combination. Omit for plain/code tables (the API's error says which is needed).","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"sort_by","in":"query","required":false,"description":"Variables to sort by; must be among group_by when grouping.","schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"utdanning"},"operation":{"type":"string","const":"get_dbh_table_data"},"parameters":{"type":"object","properties":{"table_id":{"type":"integer"},"filters":{"additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"type":"object"},"group_by":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"sort_by":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["table_id","filters","group_by","sort_by","limit","offset"]},"data":{"type":"object","properties":{"table_id":{"type":["string","null"]},"rows_total":{"type":"integer"},"truncated":{"type":"boolean"},"rows":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/avinor/get_flights":{"get":{"operationId":"avinor_get_flights","summary":"get flights","description":"Flights to/from one airport, with schedule and live status from Avinor.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Avinor flight data"],"parameters":[{"name":"airport","in":"query","required":true,"description":"IATA code, e.g. \"OSL\", \"BGO\", \"TRD\", \"SVG\", \"TOS\". Full coverage for Avinor's 43 Norwegian airports; a foreign airport returns only its flights to/from Norway. Unknown codes error.","schema":{"type":"string"}},{"name":"direction","in":"query","required":false,"description":"Optional \"arrivals\" or \"departures\"; default both.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"hours_back","in":"query","required":false,"description":"Window start, hours before now (default 1).","schema":{"type":"integer","default":1}},{"name":"hours_ahead","in":"query","required":false,"description":"Window end, hours after now (default 7).","schema":{"type":"integer","default":7}},{"name":"include_codeshare","in":"query","required":false,"description":"Also list codeshare flight numbers (e.g. the KL/AF number of a SAS-operated flight) per flight.","schema":{"type":"boolean","default":false}},{"name":"max_results","in":"query","required":false,"description":"Cap on flights returned (default 100). A large airport can have hundreds in the default window; narrow the window or direction rather than raising the cap.","schema":{"type":"integer","default":100}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"avinor"},"operation":{"type":"string","const":"get_flights"},"parameters":{"type":"object","properties":{"airport":{"type":"string"},"direction":{"anyOf":[{"type":"string"},{"type":"null"}]},"hours_back":{"type":"integer"},"hours_ahead":{"type":"integer"},"include_codeshare":{"type":"boolean"},"max_results":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["airport","direction","hours_back","hours_ahead","include_codeshare","max_results","limit","offset"]},"data":{"type":"object","properties":{"airport":{"type":"string"},"last_update":{"anyOf":[{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"string"}]},{"type":"null"}]},"flight_count":{"type":"integer"},"flights":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"flight_id":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"airline":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"direction":{"type":"string"},"schedule_time":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"string"}]},"airport":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"area":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"delayed":{"type":"boolean"},"status":{"type":"object","properties":{"code":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"time":{"type":["string","null"],"format":"date-time"}},"additionalProperties":false},"codeshare_flights":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}]},"truncated":{"type":"boolean"},"attribution":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/avinor/lookup_airport":{"get":{"operationId":"avinor_lookup_airport","summary":"lookup airport","description":"Find an airport's IATA code by name, or its name by code.","x-description-language":"en","x-response-schema-status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"tags":["Avinor flight data"],"parameters":[{"name":"query","in":"query","required":true,"description":"IATA code (e.g. \"OSL\") or part of an airport name (e.g. \"Bergen\"). Case-insensitive.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"avinor"},"operation":{"type":"string","const":"lookup_airport"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"avinor":{"type":"boolean"}},"additionalProperties":false,"required":["code","name","avinor"]}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false},"example":{"source":"avinor","operation":"lookup_airport","parameters":{"query":"example value"},"data":[{"code":"example value","name":"Example","avinor":true}],"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"avinor","name":"Avinor flight data","description":"Real-time arrivals, departures, status, airport metadata and airline names for Norwegian airports.","cache_ttl_seconds":60,"documentation":"https://partner.avinor.no/"}]},"_provenance":{"data":{"source":"avinor","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/avinor"},"entities":{"source":"avinor","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/avinor","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/lookup_airport","source":"https://allemannsdata.com/wiki/api/v1/kilder/avinor","wiki":"https://allemannsdata.com/wiki/kilder/avinor/lookup_airport/"}}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/avinor/lookup_airline":{"get":{"operationId":"avinor_lookup_airline","summary":"lookup airline","description":"Find an airline's IATA code by name, or its name by code.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Avinor flight data"],"parameters":[{"name":"query","in":"query","required":true,"description":"IATA code (e.g. \"SK\") or part of an airline name (e.g. \"Norwegian\"). Case-insensitive.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"avinor"},"operation":{"type":"string","const":"lookup_airline"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","offset"]},"data":{"type":"array","items":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/banenor/get_station_board":{"get":{"operationId":"banenor_get_station_board","summary":"get station board","description":"Live departure/arrival board for one Norwegian railway station, straight\nfrom Bane NOR - the data shown on the physical station screens.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Bane NOR train data"],"parameters":[{"name":"station","in":"query","required":true,"description":"Bane NOR station code, e.g. \"OSL\" (Oslo S), \"BRG\" (Bergen), \"TND\" (Trondheim S). Use lookup_station to find a code. Unknown codes error.","schema":{"type":"string"}},{"name":"direction","in":"query","required":false,"description":"\"all\" (default), \"departures\" or \"arrivals\".","schema":{"type":"string","default":"all"}},{"name":"minutes_ahead","in":"query","required":false,"description":"Window from now, in minutes (default 120).","schema":{"type":"integer","default":120}},{"name":"line","in":"query","required":false,"description":"Only this line, e.g. \"L2\", \"R12\", \"FLY1\". Exact match.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"destination","in":"query","required":false,"description":"Only trains whose final stop is this station NAME (e.g. \"Skien\", not \"SKN\").","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"operator","in":"query","required":false,"description":"Only this operator code, e.g. \"VY\", \"VYG\", \"FLY\", \"GAG\", \"SJN\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"max_trains","in":"query","required":false,"description":"Cap on trains returned (default 20), applied upstream to the trains departing/arriving next.","schema":{"type":"integer","default":20}},{"name":"include_formation","in":"query","required":false,"description":"Also return train formation per train where reported: wagon order and types, open/closed state, on-board services (bicycle, quiet, wheelchair, bistro, wlan, ...) and automatic passenger-count occupancy. Verbose; off by default.","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"banenor"},"operation":{"type":"string","const":"get_station_board"},"parameters":{"type":"object","properties":{"station":{"type":"string"},"direction":{"type":"string"},"minutes_ahead":{"type":"integer"},"line":{"anyOf":[{"type":"string"},{"type":"null"}]},"destination":{"anyOf":[{"type":"string"},{"type":"null"}]},"operator":{"anyOf":[{"type":"string"},{"type":"null"}]},"max_trains":{"type":"integer"},"include_formation":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["station","direction","minutes_ahead","line","destination","operator","max_trains","include_formation","limit","offset"]},"data":{"type":"object","properties":{"station":{"type":"string"},"train_count":{"type":"integer"},"trains":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"train":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"line":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"operator":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"product":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"service":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"origin":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"destination":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"via":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"at_stop":{"type":"boolean"},"formation":{"anyOf":[{"type":"null"},{"anyOf":[{"type":"object","properties":{"wagon_count":{"type":"integer"},"wagons":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"number":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"type":{"type":["string","null"]},"open":{"type":"boolean"},"engine":{"type":"boolean"},"occupancy":{"type":"integer"},"goods":{"type":"boolean"},"services":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"additionalProperties":false}]}}},"additionalProperties":false},{"type":"null"}]}]},"prediction_inaccurate":{"type":"boolean"}},"additionalProperties":false}]}},"attribution":{"type":["object","null"],"properties":{},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/banenor/get_train":{"get":{"operationId":"banenor_get_train","summary":"get train","description":"Current status of one train by its national train number: every stop\nwith planned, expected and actually observed times and platforms.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Bane NOR train data"],"parameters":[{"name":"train_number","in":"query","required":true,"description":"The train number, e.g. \"605\" (Oslo S-Bergen), \"43\" (Dovrebanen). This is the number shown on tickets and boards (VY 605 -> \"605\"). Freight trains are included - something neither Entur nor other public APIs offer.","schema":{"type":"string"}},{"name":"date","in":"query","required":false,"description":"Optional \"YYYY-MM-DD\" to disambiguate when the same number runs on several days inside Bane NOR's data horizon (roughly the current day). Default: all matches.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"banenor"},"operation":{"type":"string","const":"get_train"},"parameters":{"type":"object","properties":{"train_number":{"type":"string"},"date":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["train_number","date","limit","offset"]},"data":{"type":"object","properties":{"train_number":{"type":"boolean"},"match_count":{"type":"integer"},"matches":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"train":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"date":{"type":["string","null"],"format":"date"},"line":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"operator":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"product":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"service":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"origin":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"destination":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"calls":{"type":"array","items":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"station":{"type":["object","null"],"properties":{},"additionalProperties":false},"name":{"type":["string","null"]}},"additionalProperties":false}]}}},"additionalProperties":false}]}},"attribution":{"type":["object","null"],"properties":{},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/banenor/get_disruptions":{"get":{"operationId":"banenor_get_disruptions","summary":"get disruptions","description":"Cancellations and disruptions of individual train journeys, from Bane\nNOR's situation exchange feed.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Bane NOR train data"],"parameters":[{"name":"hours_ahead","in":"query","required":false,"description":"Only situations starting within this many hours from now (default 24). The full feed carries ~a week of planned changes (thousands of records); keep this small unless you really want them all.","schema":{"type":"integer","default":24}},{"name":"station","in":"query","required":false,"description":"Only situations touching this station code (e.g. \"OSL\").","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"train_number","in":"query","required":false,"description":"Only situations for this train number.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"max_results","in":"query","required":false,"description":"Page size (default 50). `total_count` is the number matching before paging.","schema":{"type":"integer","default":50}},{"name":"offset","in":"query","required":false,"description":"Skip this many matching situations (default 0). When the response is truncated it carries `next_offset`; pass that back as offset for the next page. Prefer narrowing with station, train_number or hours_ahead over paging through the national feed.","schema":{"type":"integer","default":0}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"banenor"},"operation":{"type":"string","const":"get_disruptions"},"parameters":{"type":"object","properties":{"hours_ahead":{"type":"integer"},"station":{"anyOf":[{"type":"string"},{"type":"null"}]},"train_number":{"anyOf":[{"type":"string"},{"type":"null"}]},"max_results":{"type":"integer"},"offset":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25}},"additionalProperties":false,"required":["hours_ahead","station","train_number","max_results","offset","limit"]},"data":{"type":"object","properties":{"total_count":{"type":"integer"},"offset":{"type":["integer","null"]},"disruptions":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"situation":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"condition":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"train":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"date":{"type":["string","null"],"format":"date"},"valid_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"affected_stops":{"type":"array","items":{"type":"object","properties":{"code":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"name":{"type":["string","null"]}},"additionalProperties":false}}},"additionalProperties":false}]},"truncated":{"type":"boolean"},"attribution":{"type":["object","null"],"properties":{},"additionalProperties":false},"next_offset":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"integer"}]},"note":{"type":"string"}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/banenor/lookup_station":{"get":{"operationId":"banenor_lookup_station","summary":"lookup station","description":"Find a station's Bane NOR code by name, or its name by code.","x-description-language":"en","x-response-schema-status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"tags":["Bane NOR train data"],"parameters":[{"name":"query","in":"query","required":true,"description":"Station code (e.g. \"OSL\") or part of a station name (e.g. \"Lilleham\"). Case-insensitive.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"banenor"},"operation":{"type":"string","const":"lookup_station"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false,"required":["code","name"]}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false},"example":{"source":"banenor","operation":"lookup_station","parameters":{"query":"example value"},"data":[{"code":"example value","name":"Example"}],"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"banenor","name":"Bane NOR train data","description":"Real-time station boards, train movements and rail disruptions from the infrastructure manager.","cache_ttl_seconds":30,"documentation":"https://www.banenor.no/reise-og-trafikk/apne-data/"}]},"_provenance":{"data":{"source":"banenor","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/banenor"},"entities":{"source":"banenor","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/banenor","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/banenor/lookup_station","source":"https://allemannsdata.com/wiki/api/v1/kilder/banenor","wiki":"https://allemannsdata.com/wiki/kilder/banenor/lookup_station/"}}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/vegvesen/find_traffic_points":{"get":{"operationId":"vegvesen_find_traffic_points","summary":"find traffic points","description":"Find traffic registration points (trafikkregistreringspunkt) - the\nphysical counting stations on Norwegian roads that this server's other\ntraffic tools read from. Search by name, spatially around a coordinate,\nor both; all filters combine.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian Public Roads Administration"],"parameters":[{"name":"query","in":"query","required":false,"description":"Free-text substring match on the point's name, e.g. \"Lodalen\". When the query equals a municipality name, only points in that municipality are returned and substring hits elsewhere (\"Bergen\" also matches \"Bergenhus\" in \u00d8stfold) are dropped but reported in a `note`. When no municipality matches the query, all substring hits are returned as-is.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"county_number","in":"query","required":false,"description":"Norwegian county number, e.g. 3 for Oslo.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"road_category","in":"query","required":false,"description":"One of E (Europaveg), R (Riksveg), F (Fylkesveg), K (Kommunal veg), P (Privat veg).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"lat","in":"query","required":false,"description":"WGS84 coordinate to search around. Adds distance_km to each result and sorts nearest first.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"lon","in":"query","required":false,"description":"WGS84 coordinate to search around. Adds distance_km to each result and sorts nearest first.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"radius_km","in":"query","required":false,"description":"Max distance from lat/lon (default 50).","schema":{"type":"number","default":50}},{"name":"operational_only","in":"query","required":false,"description":"True (default) to only return currently active stations.","schema":{"type":"boolean","default":true}},{"name":"limit","in":"query","required":false,"description":"Max results to return, 1 to 100 (default 20).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"vegvesen"},"operation":{"type":"string","const":"find_traffic_points"},"parameters":{"type":"object","properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"county_number":{"anyOf":[{"type":"integer"},{"type":"null"}]},"road_category":{"anyOf":[{"type":"string"},{"type":"null"}]},"lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"lon":{"anyOf":[{"type":"number"},{"type":"null"}]},"radius_km":{"type":"number"},"operational_only":{"type":"boolean"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","county_number","road_category","lat","lon","radius_km","operational_only","limit","offset"]},"data":{"anyOf":[{"type":"object","properties":{"results":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"note":{"type":"string"}},"additionalProperties":false},{"type":"object","properties":{"results":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"note":{"type":"string"}},"additionalProperties":false},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/vegvesen/get_traffic_volume":{"get":{"operationId":"vegvesen_get_traffic_volume","summary":"get traffic volume","description":"Get recent hourly traffic volume for a registration point - the\nclosest thing to real-time traffic counts Vegvesen publishes (data\ntypically lags an hour or so behind the clock).","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian Public Roads Administration"],"parameters":[{"name":"point_id","in":"query","required":true,"description":"A point id from find_traffic_points(), e.g. \"17684V2460285\".","schema":{"type":"string"}},{"name":"hours","in":"query","required":false,"description":"How many recent hours to fetch, 1 to 168 (default 24).","schema":{"type":"integer","default":24}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"vegvesen"},"operation":{"type":"string","const":"get_traffic_volume"},"parameters":{"type":"object","properties":{"point_id":{"type":"string"},"hours":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["point_id","hours","limit","offset"]},"data":{"type":"object","properties":{"point_id":{"type":["string","null"]},"name":{"type":["string","null"]},"hours":{"type":"array","items":{"type":"object","properties":{"from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"to":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"volume":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"coverage_pct":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/vegvesen/get_average_daily_traffic":{"get":{"operationId":"vegvesen_get_average_daily_traffic","summary":"get average daily traffic","description":"Get yearly average daily traffic (AADT / \"\u00c5DT\") for a registration\npoint - the standard measure of how busy a road is, averaged over\na full year to smooth out seasonal and day-of-week swings.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian Public Roads Administration"],"parameters":[{"name":"point_id","in":"query","required":true,"description":"A point id from find_traffic_points(), e.g. \"17684V2460285\".","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"vegvesen"},"operation":{"type":"string","const":"get_average_daily_traffic"},"parameters":{"type":"object","properties":{"point_id":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["point_id","limit","offset"]},"data":{"type":"object","properties":{"point_id":{"type":["string","null"]},"name":{"type":["string","null"]},"yearly":{"type":"array","items":{"type":"object","properties":{"year":{"type":["integer","null"]},"average_daily_traffic":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/vegvesen/list_road_object_types":{"get":{"operationId":"vegvesen_list_road_object_types","summary":"list road object types","description":"List NVDB road object types (vegobjekttyper) - the ~400 categories of\nthings recorded against the road network, e.g. speed limits, tunnels,\nbridges, guardrails, traffic signs.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian Public Roads Administration"],"parameters":[{"name":"name","in":"query","required":false,"description":"Substring to filter by, matched case-insensitively against the Norwegian name (e.g. \"fartsgrense\", \"bru\", \"tunnel\"). Without this, the catalogue has ~400 entries; only the first `limit` are returned.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max results to return, 1 to 200 (default 30).","schema":{"type":"integer","default":30}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"vegvesen"},"operation":{"type":"string","const":"list_road_object_types"},"parameters":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["name","limit","offset"]},"data":{"type":"object","properties":{"count":{"type":"integer"},"returned":{"type":["integer","null"]},"types":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"short_name":{"type":["string","null"]},"description":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"category":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/vegvesen/search_road_objects":{"get":{"operationId":"vegvesen_search_road_objects","summary":"search road objects","description":"Search NVDB for road objects of one type, e.g. all speed limit signs\nin a county, or all tunnels on a given road.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian Public Roads Administration"],"parameters":[{"name":"type_id","in":"query","required":true,"description":"A road object type id from list_road_object_types(), e.g. 105 for Fartsgrense (speed limit).","schema":{"type":"integer"}},{"name":"kommune","in":"query","required":false,"description":"Municipality number, e.g. 301 for Oslo.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"fylke","in":"query","required":false,"description":"County number, e.g. 3 for Oslo.","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"name":"vegsystemreferanse","in":"query","required":false,"description":"Road system reference, e.g. \"EV18\" or \"RV150\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Max results to return, 1 to 50 (default 20).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"vegvesen"},"operation":{"type":"string","const":"search_road_objects"},"parameters":{"type":"object","properties":{"type_id":{"type":"integer"},"kommune":{"anyOf":[{"type":"integer"},{"type":"null"}]},"fylke":{"anyOf":[{"type":"integer"},{"type":"null"}]},"vegsystemreferanse":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["type_id","kommune","fylke","vegsystemreferanse","limit","offset"]},"data":{"type":"object","properties":{"count":{"type":["integer","null"]},"returned":{"type":"integer"},"objects":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"road_reference":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"properties":{"type":"object","additionalProperties":{"type":["string","number","boolean","null"]}}},"additionalProperties":false}}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/vegvesen/get_road_at_point":{"get":{"operationId":"vegvesen_get_road_at_point","summary":"get road at point","description":"Find the road network reference nearest a coordinate - the road-network\nequivalent of reverse geocoding an address.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian Public Roads Administration"],"parameters":[{"name":"lat","in":"query","required":true,"description":"WGS84 coordinate.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"WGS84 coordinate.","schema":{"type":"number"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"vegvesen"},"operation":{"type":"string","const":"get_road_at_point"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","limit","offset"]},"data":{"type":"object","properties":{"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"match":{"type":"null"},"road_reference":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"road_link_position":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"distance_m":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/vegvesen/get_traffic_messages":{"get":{"operationId":"vegvesen_get_traffic_messages","summary":"get traffic messages","description":"Get traffic messages (veimeldinger) from Vegvesen's DATEX II feed -\nroadworks, road closures, incidents, ferry disruptions, reduced speed\nand lane restrictions on Norwegian roads. Newest first.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian Public Roads Administration"],"parameters":[{"name":"road_number","in":"query","required":false,"description":"Filter to one road, e.g. \"E16\", \"F42\", \"RV150\" (Ev/Rv/Fv prefixes are normalized, so \"Fv. 42\" also works).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"situation_type","in":"query","required":false,"description":"Filter on message type. Main types: MaintenanceWorks, ConstructionWorks (roadworks), RoadOrCarriagewayOrLaneManagement (closures/lane control), SpeedManagement, ReroutingManagement, GeneralNetworkManagement, Accident, VehicleObstruction, EnvironmentalObstruction, AnimalPresenceObstruction, InfrastructureDamageObstruction, PublicEvent, TransitInformation (ferry). Sub-types also match, e.g. \"roadClosed\", \"roadworks\", \"ferry\", \"rockfalls\", \"temporaryTrafficLights\".","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"lat","in":"query","required":false,"description":"WGS84 coordinate to search around.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"lon","in":"query","required":false,"description":"WGS84 coordinate to search around.","schema":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"name":"radius_km","in":"query","required":false,"description":"Search radius when lat/lon is given (default 50).","schema":{"type":"number","default":50}},{"name":"include_planned","in":"query","required":false,"description":"False (default) returns only messages active right now; True also includes announced future works/closures.","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"description":"Max messages to return, 1 to 100 (default 30).","schema":{"type":"integer","default":30}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"vegvesen"},"operation":{"type":"string","const":"get_traffic_messages"},"parameters":{"type":"object","properties":{"road_number":{"anyOf":[{"type":"string"},{"type":"null"}]},"situation_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"lon":{"anyOf":[{"type":"number"},{"type":"null"}]},"radius_km":{"type":"number"},"include_planned":{"type":"boolean"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["road_number","situation_type","lat","lon","radius_km","include_planned","limit","offset"]},"data":{"type":"object","properties":{"matched_records":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"returned":{"type":"integer"},"messages":{"anyOf":[{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},{"type":"array","items":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/statnett/get_physical_flow":{"get":{"operationId":"statnett_get_physical_flow","summary":"get physical flow","description":"Get the current physical power flow (MW) on every interconnector between\nNordic/Baltic price areas and countries, live from Statnett.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Statnett operational data"],"parameters":[{"name":"area","in":"query","required":false,"description":"Optional price area or country code to filter to, e.g. \"NO2\" or \"DK1\" (case-insensitive). Matches either end of the connection. Omit for all interconnectors.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"statnett"},"operation":{"type":"string","const":"get_physical_flow"},"parameters":{"type":"object","properties":{"area":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["area","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"from_area":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"to_area":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"flow_mw":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"time":{"type":"string"}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/statnett/get_production_consumption":{"get":{"operationId":"statnett_get_production_consumption","summary":"get production consumption","description":"Get the current Nordic/Baltic electricity production (by source),\nconsumption and net exchange per country, live from Statnett.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Statnett operational data"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"statnett"},"operation":{"type":"string","const":"get_production_consumption"},"parameters":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["limit","offset"]},"data":{"type":"object","properties":{"measured_at":{"type":"string"},"countries":{"type":"object","properties":{"SE":{"type":"object","properties":{"production_mw":{"type":["number","null"]},"nuclear_mw":{"type":["number","null"]},"hydro_mw":{"type":["number","null"]},"thermal_mw":{"type":["number","null"]},"wind_mw":{"type":["number","null"]},"not_specified_mw":{"type":["number","null"]},"consumption_mw":{"type":["number","null"]},"net_exchange_mw":{"type":["number","null"]}},"additionalProperties":false},"DK":{"type":"object","properties":{"production_mw":{"type":["number","null"]},"nuclear_mw":{"type":["number","null"]},"hydro_mw":{"type":["number","null"]},"thermal_mw":{"type":["number","null"]},"wind_mw":{"type":["number","null"]},"not_specified_mw":{"type":["number","null"]},"consumption_mw":{"type":["number","null"]},"net_exchange_mw":{"type":["number","null"]}},"additionalProperties":false},"NO":{"type":"object","properties":{"production_mw":{"type":["number","null"]},"nuclear_mw":{"type":["number","null"]},"hydro_mw":{"type":["number","null"]},"thermal_mw":{"type":["number","null"]},"wind_mw":{"type":["number","null"]},"not_specified_mw":{"type":["number","null"]},"consumption_mw":{"type":["number","null"]},"net_exchange_mw":{"type":["number","null"]}},"additionalProperties":false},"FI":{"type":"object","properties":{"production_mw":{"type":["number","null"]},"nuclear_mw":{"type":["number","null"]},"hydro_mw":{"type":["number","null"]},"thermal_mw":{"type":["number","null"]},"wind_mw":{"type":["number","null"]},"not_specified_mw":{"type":["number","null"]},"consumption_mw":{"type":["number","null"]},"net_exchange_mw":{"type":["number","null"]}},"additionalProperties":false},"EE":{"type":"object","properties":{"production_mw":{"type":["number","null"]},"nuclear_mw":{"type":["number","null"]},"hydro_mw":{"type":["number","null"]},"thermal_mw":{"type":["number","null"]},"wind_mw":{"type":["number","null"]},"not_specified_mw":{"type":["number","null"]},"consumption_mw":{"type":["number","null"]},"net_exchange_mw":{"type":["number","null"]}},"additionalProperties":false},"LT":{"type":"object","properties":{"production_mw":{"type":["number","null"]},"nuclear_mw":{"type":["number","null"]},"hydro_mw":{"type":["number","null"]},"thermal_mw":{"type":["number","null"]},"wind_mw":{"type":["number","null"]},"not_specified_mw":{"type":["number","null"]},"consumption_mw":{"type":["number","null"]},"net_exchange_mw":{"type":["number","null"]}},"additionalProperties":false},"LV":{"type":"object","properties":{"production_mw":{"type":["number","null"]},"nuclear_mw":{"type":["number","null"]},"hydro_mw":{"type":["number","null"]},"thermal_mw":{"type":["number","null"]},"wind_mw":{"type":["number","null"]},"not_specified_mw":{"type":["number","null"]},"consumption_mw":{"type":["number","null"]},"net_exchange_mw":{"type":["number","null"]}},"additionalProperties":false},"TOTAL":{"type":"object","properties":{"production_mw":{"type":["number","null"]},"nuclear_mw":{"type":["number","null"]},"hydro_mw":{"type":["number","null"]},"thermal_mw":{"type":["number","null"]},"wind_mw":{"type":["number","null"]},"not_specified_mw":{"type":["number","null"]},"consumption_mw":{"type":["number","null"]},"net_exchange_mw":{"type":["number","null"]}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/statnett/get_power_situation":{"get":{"operationId":"statnett_get_power_situation","summary":"get power situation","description":"Get Statnett's current power-situation assessment for Norway's price\nareas (NO1-NO5): whether the grid capacity situation is normal or\nstrained for the season.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Statnett operational data"],"parameters":[{"name":"area","in":"query","required":false,"description":"Optional price area to filter to, e.g. \"NO3\" (case-insensitive). Omit for all five areas.","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"statnett"},"operation":{"type":"string","const":"get_power_situation"},"parameters":{"type":"object","properties":{"area":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["area","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"area":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"status":{"type":["string","null"]},"description":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/strompris/get_prices":{"get":{"operationId":"strompris_get_prices","summary":"get prices","description":"Get one day's hourly spot prices for one price area.","x-description-language":"en","x-response-schema-status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"tags":["Norwegian electricity spot prices"],"parameters":[{"name":"date","in":"query","required":true,"description":"Day as \"YYYY-MM-DD\".","schema":{"type":"string"}},{"name":"area","in":"query","required":true,"description":"Price area NO1..NO5 (NO1 Oslo, NO2 Kristiansand, NO3 Trondheim, NO4 Tromso, NO5 Bergen).","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"strompris"},"operation":{"type":"string","const":"get_prices"},"parameters":{"type":"object","properties":{"date":{"type":"string"},"area":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["date","area","limit","offset"]},"data":{"type":"object","properties":{"date":{"type":"string","format":"date"},"area":{"type":"string","enum":["NO1","NO2","NO3","NO4","NO5"]},"prices":{"type":"array","items":{"type":"object","properties":{"NOK_per_kWh":{"type":"number"},"EUR_per_kWh":{"type":"number"},"EXR":{"type":"number"},"time_start":{"type":"string","format":"date-time"},"time_end":{"type":"string","format":"date-time"},"time_start_utc":{"type":"string","format":"date-time"},"time_end_utc":{"type":"string","format":"date-time"}},"additionalProperties":false,"required":["NOK_per_kWh","EUR_per_kWh","EXR","time_start","time_end","time_start_utc","time_end_utc"]}}},"additionalProperties":false,"required":["date","area","prices"]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false},"example":{"source":"strompris","operation":"get_prices","parameters":{"date":"2026-01-15","area":"example value"},"data":{"date":"2026-01-15","area":"NO1","prices":[{"NOK_per_kWh":1.0,"EUR_per_kWh":1.0,"EXR":1.0,"time_start":"2026-01-15T12:00:00Z","time_end":"2026-01-15T12:00:00Z","time_start_utc":"2026-01-15T12:00:00Z","time_end_utc":"2026-01-15T12:00:00Z"}]},"entities":[{"type":"electricity_price_area","id":"EXAMPLE VALUE","name":"EXAMPLE VALUE","source":"strompris","description":"Norwegian electricity bidding zone."}],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"strompris","name":"Norwegian electricity spot prices","description":"Current and historical hourly spot prices, cheapest hours and price-area lookup for NO1\u2013NO5.","cache_ttl_seconds":300,"documentation":"https://www.hvakosterstrommen.no/strompris-api"}]},"_provenance":{"data":{"source":"strompris","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/strompris"},"entities":{"source":"strompris","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/strompris","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/strompris/get_prices","source":"https://allemannsdata.com/wiki/api/v1/kilder/strompris","wiki":"https://allemannsdata.com/wiki/kilder/strompris/get_prices/"}}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/strompris/get_price_now":{"get":{"operationId":"strompris_get_price_now","summary":"get price now","description":"Get the spot price for the current hour in a price area.","x-description-language":"en","x-response-schema-status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"tags":["Norwegian electricity spot prices"],"parameters":[{"name":"area","in":"query","required":true,"description":"Price area NO1..NO5.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"strompris"},"operation":{"type":"string","const":"get_price_now"},"parameters":{"type":"object","properties":{"area":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["area","limit","offset"]},"data":{"type":"object","properties":{"area":{"type":"string","enum":["NO1","NO2","NO3","NO4","NO5"]},"current":{"type":"object","properties":{"NOK_per_kWh":{"type":"number"},"EUR_per_kWh":{"type":"number"},"EXR":{"type":"number"},"time_start":{"type":"string","format":"date-time"},"time_end":{"type":"string","format":"date-time"},"time_start_utc":{"type":"string","format":"date-time"},"time_end_utc":{"type":"string","format":"date-time"}},"additionalProperties":false,"required":["NOK_per_kWh","EUR_per_kWh","EXR","time_start","time_end","time_start_utc","time_end_utc"]}},"additionalProperties":false,"required":["area","current"]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false},"example":{"source":"strompris","operation":"get_price_now","parameters":{"area":"example value"},"data":{"area":"NO1","current":{"NOK_per_kWh":1.0,"EUR_per_kWh":1.0,"EXR":1.0,"time_start":"2026-01-15T12:00:00Z","time_end":"2026-01-15T12:00:00Z","time_start_utc":"2026-01-15T12:00:00Z","time_end_utc":"2026-01-15T12:00:00Z"}},"entities":[{"type":"electricity_price_area","id":"EXAMPLE VALUE","name":"EXAMPLE VALUE","source":"strompris","description":"Norwegian electricity bidding zone."}],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"strompris","name":"Norwegian electricity spot prices","description":"Current and historical hourly spot prices, cheapest hours and price-area lookup for NO1\u2013NO5.","cache_ttl_seconds":300,"documentation":"https://www.hvakosterstrommen.no/strompris-api"}]},"_provenance":{"data":{"source":"strompris","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/strompris"},"entities":{"source":"strompris","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/strompris","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/strompris/get_price_now","source":"https://allemannsdata.com/wiki/api/v1/kilder/strompris","wiki":"https://allemannsdata.com/wiki/kilder/strompris/get_price_now/"}}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/strompris/get_price_range":{"get":{"operationId":"strompris_get_price_range","summary":"get price range","description":"Get hourly prices across a date range for one price area (max 31 days).","x-description-language":"en","x-response-schema-status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"tags":["Norwegian electricity spot prices"],"parameters":[{"name":"start_date","in":"query","required":true,"description":"First day, \"YYYY-MM-DD\".","schema":{"type":"string"}},{"name":"end_date","in":"query","required":true,"description":"Last day inclusive, \"YYYY-MM-DD\".","schema":{"type":"string"}},{"name":"area","in":"query","required":true,"description":"Price area NO1..NO5.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"strompris"},"operation":{"type":"string","const":"get_price_range"},"parameters":{"type":"object","properties":{"start_date":{"type":"string"},"end_date":{"type":"string"},"area":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["start_date","end_date","area","limit","offset"]},"data":{"type":"object","properties":{"area":{"type":"string","enum":["NO1","NO2","NO3","NO4","NO5"]},"prices":{"type":"array","items":{"type":"object","properties":{"NOK_per_kWh":{"type":"number"},"EUR_per_kWh":{"type":"number"},"EXR":{"type":"number"},"time_start":{"type":"string","format":"date-time"},"time_end":{"type":"string","format":"date-time"},"time_start_utc":{"type":"string","format":"date-time"},"time_end_utc":{"type":"string","format":"date-time"}},"additionalProperties":false,"required":["NOK_per_kWh","EUR_per_kWh","EXR","time_start","time_end","time_start_utc","time_end_utc"]}},"missing_days":{"type":"array","items":{"type":"string","format":"date"}}},"additionalProperties":false,"required":["area","prices","missing_days"]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false},"example":{"source":"strompris","operation":"get_price_range","parameters":{"start_date":"2026-01-15","end_date":"2026-01-15","area":"example value"},"data":{"area":"NO1","prices":[{"NOK_per_kWh":1.0,"EUR_per_kWh":1.0,"EXR":1.0,"time_start":"2026-01-15T12:00:00Z","time_end":"2026-01-15T12:00:00Z","time_start_utc":"2026-01-15T12:00:00Z","time_end_utc":"2026-01-15T12:00:00Z"}],"missing_days":["2026-01-15"]},"entities":[{"type":"electricity_price_area","id":"EXAMPLE VALUE","name":"EXAMPLE VALUE","source":"strompris","description":"Norwegian electricity bidding zone."}],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"strompris","name":"Norwegian electricity spot prices","description":"Current and historical hourly spot prices, cheapest hours and price-area lookup for NO1\u2013NO5.","cache_ttl_seconds":300,"documentation":"https://www.hvakosterstrommen.no/strompris-api"}]},"_provenance":{"data":{"source":"strompris","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/strompris"},"entities":{"source":"strompris","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/strompris","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/strompris/get_price_range","source":"https://allemannsdata.com/wiki/api/v1/kilder/strompris","wiki":"https://allemannsdata.com/wiki/kilder/strompris/get_price_range/"}}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/strompris/get_cheapest_hours":{"get":{"operationId":"strompris_get_cheapest_hours","summary":"get cheapest hours","description":"Rank a day's hours from cheapest and return the n cheapest.","x-description-language":"en","x-response-schema-status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"tags":["Norwegian electricity spot prices"],"parameters":[{"name":"date","in":"query","required":true,"description":"Day as \"YYYY-MM-DD\".","schema":{"type":"string"}},{"name":"area","in":"query","required":true,"description":"Price area NO1..NO5.","schema":{"type":"string"}},{"name":"n","in":"query","required":false,"description":"How many cheapest hours to return (default 3).","schema":{"type":"integer","default":3}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"strompris"},"operation":{"type":"string","const":"get_cheapest_hours"},"parameters":{"type":"object","properties":{"date":{"type":"string"},"area":{"type":"string"},"n":{"type":"integer"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["date","area","n","limit","offset"]},"data":{"type":"object","properties":{"date":{"type":"string","format":"date"},"area":{"type":"string","enum":["NO1","NO2","NO3","NO4","NO5"]},"cheapest":{"type":"array","items":{"type":"object","properties":{"NOK_per_kWh":{"type":"number"},"EUR_per_kWh":{"type":"number"},"EXR":{"type":"number"},"time_start":{"type":"string","format":"date-time"},"time_end":{"type":"string","format":"date-time"},"time_start_utc":{"type":"string","format":"date-time"},"time_end_utc":{"type":"string","format":"date-time"}},"additionalProperties":false,"required":["NOK_per_kWh","EUR_per_kWh","EXR","time_start","time_end","time_start_utc","time_end_utc"]}}},"additionalProperties":false,"required":["date","area","cheapest"]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false},"example":{"source":"strompris","operation":"get_cheapest_hours","parameters":{"date":"2026-01-15","area":"example value","n":3},"data":{"date":"2026-01-15","area":"NO1","cheapest":[{"NOK_per_kWh":1.0,"EUR_per_kWh":1.0,"EXR":1.0,"time_start":"2026-01-15T12:00:00Z","time_end":"2026-01-15T12:00:00Z","time_start_utc":"2026-01-15T12:00:00Z","time_end_utc":"2026-01-15T12:00:00Z"}]},"entities":[{"type":"electricity_price_area","id":"EXAMPLE VALUE","name":"EXAMPLE VALUE","source":"strompris","description":"Norwegian electricity bidding zone."}],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"strompris","name":"Norwegian electricity spot prices","description":"Current and historical hourly spot prices, cheapest hours and price-area lookup for NO1\u2013NO5.","cache_ttl_seconds":300,"documentation":"https://www.hvakosterstrommen.no/strompris-api"}]},"_provenance":{"data":{"source":"strompris","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/strompris"},"entities":{"source":"strompris","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/strompris","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/strompris/get_cheapest_hours","source":"https://allemannsdata.com/wiki/api/v1/kilder/strompris","wiki":"https://allemannsdata.com/wiki/kilder/strompris/get_cheapest_hours/"}}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/strompris/find_area":{"get":{"operationId":"strompris_find_area","summary":"find area","description":"Look up which price area (NO1..NO5) a coordinate falls in.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian electricity spot prices"],"parameters":[{"name":"lat","in":"query","required":true,"description":"Latitude in decimal degrees (WGS84), e.g. 59.911.","schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"description":"Longitude in decimal degrees (WGS84), e.g. 10.75.","schema":{"type":"number"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"strompris"},"operation":{"type":"string","const":"find_area"},"parameters":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["lat","lon","limit","offset"]},"data":{"type":"object","properties":{"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"kommunenummer":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"kommunenavn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"area":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"area_name":{"type":["string","null"]}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/datanorge/sparql_query":{"get":{"operationId":"datanorge_sparql_query","summary":"sparql query","description":"Run a SPARQL query against the data.norge.no national data catalog.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Data catalog SPARQL"],"parameters":[{"name":"query","in":"query","required":true,"description":"A SPARQL 1.1 SELECT, ASK, CONSTRUCT or DESCRIBE query. Declare the prefixes you use. The main ones in this store: PREFIX dcat: <http://www.w3.org/ns/dcat#> PREFIX dct:  <http://purl.org/dc/terms/> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX cpsv: <http://purl.org/vocab/cpsv#> Main classes: dcat:Dataset, dcat:Distribution, dcat:DataService, dcat:Catalog, skos:Concept, cpsv:PublicService, modelldcatno:InformationModel (PREFIX modelldcatno: <https://data.norge.no/vocabulary/modelldcatno#>). Events (cv:BusinessEvent/LifeEvent) are documented upstream but the store currently has none. Datasets have dct:title, dct:description, dcat:keyword, dcat:theme, dct:publisher (an agent with foaf:name), and dcat:distribution -> dcat:accessURL / dcat:downloadURL / dct:format. Data services have dct:title and dcat:endpointURL. Cross-resource relations: ?service dcat:servesDataset ?dataset; ?dataset dct:subject ?concept. Aggregation (GROUP BY, COUNT) works normally. Concept definitions are mostly indirect: ?c (euvoc:xlDefinition| skosno:definisjon)/(rdf:value|rdfs:label) ?text, with PREFIX euvoc: <http://publications.europa.eu/ontology/euvoc#> PREFIX skosno: <https://data.norge.no/vocabulary/skosno#> (some concepts use plain dct:description instead, and some carry labels only via skosxl:prefLabel/skosxl:literalForm). Literals are language-tagged (\"nb\", \"nn\", \"en\", some \"no\" or untagged), so filter with STR()/LANG() as needed.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"datanorge"},"operation":{"type":"string","const":"sparql_query"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","offset"]},"data":{"type":"object","properties":{"boolean":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"rows":{"type":"object","properties":{},"additionalProperties":false},"truncated":{"type":"boolean"},"turtle":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/datanorge/search_datasets":{"get":{"operationId":"datanorge_search_datasets","summary":"search datasets","description":"Search the national data catalog for datasets by words in their title\nor description.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Data catalog SPARQL"],"parameters":[{"name":"query","in":"query","required":true,"description":"One or more words, e.g. \"sykkel oslo\". All words must match (case-insensitive, any language). Norwegian terms usually find more than English ones.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max datasets to return (default 20, max 100).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"datanorge"},"operation":{"type":"string","const":"search_datasets"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"uri":{"type":["string","null"],"format":"uri"},"title":{"type":["string","null"]},"description":{"type":["string","null"]},"publisher":{"type":["string","null"]}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/datanorge/search_resources":{"get":{"operationId":"datanorge_search_resources","summary":"search resources","description":"Search the other catalog resource types by words in title/description:\ndata services (APIs), public services or information models.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Data catalog SPARQL"],"parameters":[{"name":"query","in":"query","required":true,"description":"One or more words, all must match (case-insensitive). Norwegian terms usually find more than English ones.","schema":{"type":"string"}},{"name":"resource_type","in":"query","required":true,"description":"\"data_service\" (~1,000 APIs/endpoints), \"public_service\" (~1,200 offentlige tjenester) or \"information_model\" (~13 informasjonsmodeller).","schema":{"enum":["data_service","public_service","information_model"],"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max results (default 20, max 100).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"datanorge"},"operation":{"type":"string","const":"search_resources"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"resource_type":{"enum":["data_service","public_service","information_model"],"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","resource_type","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"data_service":{"type":"string"},"public_service":{"type":"string"},"information_model":{"type":"string"}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/datanorge/search_concepts":{"get":{"operationId":"datanorge_search_concepts","summary":"search concepts","description":"Search begreper (concepts/terms) in the national data catalog by words\nin their preferred or alternative labels.","x-description-language":"en","x-response-schema-status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"tags":["Data catalog SPARQL"],"parameters":[{"name":"query","in":"query","required":true,"description":"One or more words, all must match (case-insensitive).","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max concepts to return (default 20, max 100).","schema":{"type":"integer","default":20}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"datanorge"},"operation":{"type":"string","const":"search_concepts"},"parameters":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["query","limit","offset"]},"data":{"type":"array","items":{"type":"object","properties":{"uri":{"type":["string","null"],"format":"uri"},"label":{"type":["string","null"]},"definition":{"type":["string","null"]},"publisher":{"type":["string","null"]}},"additionalProperties":false}},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/kilder/kjoretoy/get_vehicle":{"get":{"operationId":"kjoretoy_get_vehicle","summary":"get vehicle","description":"Get technical data for one vehicle, never owner information.","x-description-language":"en","x-response-schema-status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"tags":["Norwegian Public Roads Administration \u2013 vehicles"],"parameters":[{"name":"registration_number","in":"query","required":false,"description":"Norwegian registration number (kjennemerke).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"vin","in":"query","required":false,"description":"Vehicle identification number (understellsnummer).","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Maximum list items returned by the gateway.","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","required":false,"description":"Number of list items to skip.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak validator for betingede GET-kall med If-None-Match.","schema":{"type":"string"}},"Cache-Control":{"description":"Gatewayens anbefalte mellomlagringstid.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","const":"kjoretoy"},"operation":{"type":"string","const":"get_vehicle"},"parameters":{"type":"object","properties":{"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}]},"vin":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"offset":{"type":"integer","minimum":0,"default":0}},"additionalProperties":false,"required":["registration_number","vin","limit","offset"]},"data":{"anyOf":[{"type":"object","properties":{"status":{"type":"string"},"kjennemerke":{"type":"string"},"understellsnummer":{"type":"string"}},"additionalProperties":false},{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}]},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_provenance":{"type":"object","properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"entities":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]},"_raw_values":{"type":"object","properties":{"source":{"type":"string"},"source_api":{"type":"string","format":"uri"},"derived_from":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false,"required":["source","source_api"]}},"additionalProperties":false,"required":["data","entities"]},"_raw_values":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"source":{"type":"string","format":"uri"},"wiki":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["self","source","wiki"]}},"required":["source","operation","parameters","data","entities","_meta","_provenance","_links"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/InvalidParameters"},"404":{"description":"The requested source, operation, or entity was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/SourceUnavailable"},"500":{"description":"Unexpected internal API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"responses":{"Success":{"description":"Vellykket svar.","headers":{"ETag":{"description":"Svak HTTP-validator.","schema":{"type":"string"}},"Cache-Control":{"description":"Mellomlagringsdirektiv.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiEnvelope"}}}},"InvalidParameters":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"Too many requests.","headers":{"Retry-After":{"description":"Seconds until the client should retry.","schema":{"type":"integer"}},"RateLimit-Limit":{"schema":{"type":"integer"}},"RateLimit-Remaining":{"schema":{"type":"integer"}},"RateLimit-Reset":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"SourceUnavailable":{"description":"The upstream data source is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"ApiEnvelope":{"type":"object","additionalProperties":false,"properties":{"data":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Entity"}},"_meta":{"$ref":"#/components/schemas/Metadata"},"_links":{"type":"object","additionalProperties":{"type":"string","format":"uri"}}}},"Metadata":{"type":"object","properties":{"retrieved_at":{"type":"string","format":"date-time"},"language":{"type":"string","const":"en"},"content_languages":{"type":"array","items":{"type":"string","const":"en"}},"sources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"documentation":{"type":"string","format":"uri"},"cache_ttl_seconds":{"type":"integer","minimum":0},"rate_limit":{"type":"string"}},"additionalProperties":false,"required":["id","name","description","cache_ttl_seconds"]}},"result_count":{"type":"integer","minimum":0},"requested_limit":{"type":"integer","minimum":0},"possibly_truncated":{"type":"boolean"},"cache":{"type":"object","properties":{"status":{"type":"string"},"stored_at":{"type":"string","format":"date-time"},"age_seconds":{"type":"number","minimum":0},"ttl_seconds":{"type":"integer","minimum":0},"scope":{"type":"string"}},"additionalProperties":false},"statuses":{"type":"object","additionalProperties":{"type":"object","properties":{"status":{"type":"string"},"reason":{"type":"string"}},"additionalProperties":false,"required":["status"]}}},"required":["retrieved_at","language","content_languages","sources"],"additionalProperties":false},"Entity":{"type":"object","properties":{"type":{"type":"string"},"id":{"type":["string","integer","null"]},"namespace":{"type":["string","null"]},"canonical_id":{"type":["string","null"],"description":"Namespaced identifier suitable for cross-source joins."},"name":{"type":["string","null"]},"source":{"type":"string"},"description":{"type":["string","null"]},"coordinates":{"type":["object","null"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"},"crs":{"type":"string","const":"WGS84"}},"required":["lat","lon","crs"],"additionalProperties":false},"attributes":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"relationships":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"target":{"type":"object","properties":{"type":{"type":"string"},"id":{"type":["string","null"]},"namespace":{"type":["string","null"]},"canonical_id":{"type":["string","null"]},"name":{"type":["string","null"]}},"additionalProperties":false,"required":["type"]}},"additionalProperties":false,"required":["type","target"]}},"_links":{"type":"object","additionalProperties":{"type":"string","format":"uri"}}},"required":["type","source"],"additionalProperties":false},"Error":{"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"}},"required":["self","api_index"],"additionalProperties":false}},"additionalProperties":false,"required":["error","suggestion","_meta","_links"]}}}}
