{"openapi":"3.1.0","info":{"title":"Oppfang Data","description":"Verified data about Norway, for AI agents: places, businesses, industry, rules, nature, safety and travel. Every fact has source, licence, confidence and status. Rules come with links to the legal text. Every answer carries a signed freshness certificate (last verified, valid until, sources, journal anchor). Guidance only.","version":"0.1"},"paths":{"/v1/terms":{"get":{"summary":"Terms","description":"Terms of use, privacy and how to object. Draft until the service opens.","operationId":"terms_v1_terms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/company/search":{"get":{"summary":"Company Search","description":"Companies by name, with organisation number, form, industry and place. Sole proprietorships are not searchable by name.","operationId":"company_search_v1_company_search_get","parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string","minLength":3,"maxLength":80,"title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/company/{org_number}":{"get":{"summary":"Company","description":"Company check: exists, operating, where, signs of life, accounts as published, flags from the register. Companies only, no people, no credit score.","operationId":"company_v1_company__org_number__get","parameters":[{"name":"org_number","in":"path","required":true,"schema":{"type":"string","title":"Org Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/area":{"get":{"summary":"Area","description":"Around a point or a company: inhabitants within estimated driving time, change over five years, age profile, and businesses of an industry in the same rings. Sums only.","operationId":"area_v1_area_get","parameters":[{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":72,"minimum":57},{"type":"null"}],"title":"Lat"}},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":32,"minimum":4},{"type":"null"}],"title":"Lon"}},{"name":"org_number","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9]{9}$"},{"type":"null"}],"title":"Org Number"}},{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":6},{"type":"null"}],"description":"Industry code to count competitors, e.g. 56.101","title":"Code"},"description":"Industry code to count competitors, e.g. 56.101"},{"name":"minutes","in":"query","required":false,"schema":{"type":"string","maxLength":20,"default":"5,10,20,30","title":"Minutes"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/method/sources":{"post":{"summary":"Method Sources","description":"Grade sources (Admiralty code), find echoes, check age and whether a signal holds. Body: {\"sources\": [{\"url\", \"claim\", \"date\"}], \"own_domains\": [..]}. No data stored.","operationId":"method_sources_v1_method_sources_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/method/probability":{"post":{"summary":"Method Probability","description":"Probability words on the UK PHIA yardstick. Body: {\"value\": 0.7} gives words; {\"text\": \"...\"} checks that words and numbers agree.","operationId":"method_probability_v1_method_probability_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/method/hypotheses":{"post":{"summary":"Method Hypotheses","description":"Analysis of Competing Hypotheses (Heuer). Body: {\"hypotheses\": [{id, text}], \"evidence\": [{id, text, credibility, cells: {hyp_id: CC|C|N|I|II}}]}.","operationId":"method_hypotheses_v1_method_hypotheses_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/industry/codes":{"get":{"summary":"Industry Codes","description":"Find industry codes (SN2025) by words in Norwegian or English. Free.","operationId":"industry_codes_v1_industry_codes_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":60,"description":"Words or a code: 'camping', 'frisør', '56'","title":"Q"},"description":"Words or a code: 'camping', 'frisør', '56'"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/industry/economics":{"get":{"summary":"Industry Economics","description":"How an industry is doing in a municipality, from filed annual accounts. Aggregates only, never under five companies.","operationId":"industry_economics_v1_industry_economics_get","parameters":[{"name":"municipality_code","in":"query","required":true,"schema":{"type":"string","minLength":4,"maxLength":4,"title":"Municipality Code"}},{"name":"code","in":"query","required":true,"schema":{"type":"string","maxLength":6,"title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/industry/gaps":{"get":{"summary":"Industry Gaps","description":"Municipalities with the fewest businesses in an industry for their population, against the national rate. A sign of a gap, not proof.","operationId":"industry_gaps_v1_industry_gaps_get","parameters":[{"name":"code","in":"query","required":true,"schema":{"type":"string","maxLength":6,"description":"Industry code, e.g. 56 or 56.101","title":"Code"},"description":"Industry code, e.g. 56 or 56.101"},{"name":"min_inhabitants","in":"query","required":false,"schema":{"type":"integer","maximum":1000000,"minimum":500,"default":3000,"title":"Min Inhabitants"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/industry":{"get":{"summary":"Industry","description":"Industries in a municipality: businesses, employees, new and closed, per 1000 inhabitants and against Norway. Counts only, never a single business.","operationId":"industry_v1_industry_get","parameters":[{"name":"municipality_code","in":"query","required":true,"schema":{"type":"string","pattern":"^[0-9]{4}$","title":"Municipality Code"}},{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":6},{"type":"null"}],"description":"Industry code; without it the largest industries","title":"Code"},"description":"Industry code; without it the largest industries"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":40,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rights":{"get":{"summary":"Rights","description":"For every source: what it builds on, kind of evidence, redistribution, commercial use, conditions, legal basis and when the terms were last checked. Free.","operationId":"rights_v1_rights_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/coverage":{"get":{"summary":"Coverage","description":"How much is known in a municipality, before paying: places to stay, eat and do, and how many have hours, website and confirmed location. Free.","operationId":"coverage_v1_coverage_get","parameters":[{"name":"municipality_code","in":"query","required":true,"schema":{"type":"string","pattern":"^[0-9]{4}$","title":"Municipality Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/health":{"get":{"summary":"Health","description":"Service status: database, journal hash chain and data freshness. Free.","operationId":"health_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/concepts":{"get":{"summary":"Concepts","description":"Which concept (activity, phenomenon, food, lodging ...) a traveller means, from words in any language.","operationId":"concepts_v1_concepts_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","description":"What the traveller wants, any language: 'dog sledding', '犬ぞり'","title":"Q"},"description":"What the traveller wants, any language: 'dog sledding', '犬ぞり'"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/concepts/{code}":{"get":{"summary":"Concept","description":"One concept: label, description, search terms in several languages and the rules that apply.","operationId":"concept_v1_concepts__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/recommend":{"get":{"summary":"Recommend","description":"Where to go for a wish ('northern lights', 'Hundeschlitten', 'freeride'): areas with operating offers, in season.","operationId":"recommend_v1_recommend_get","parameters":[{"name":"want","in":"query","required":true,"schema":{"type":"string","description":"The wish, any language: 'northern lights', 'オーロラ', 'Hundeschlitten'","title":"Want"},"description":"The wish, any language: 'northern lights', 'オーロラ', 'Hundeschlitten'"},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"}},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon"}},{"name":"radius_km","in":"query","required":false,"schema":{"type":"number","default":400,"title":"Radius Km"}},{"name":"areas","in":"query","required":false,"schema":{"type":"integer","default":3,"title":"Areas"}},{"name":"spread","in":"query","required":false,"schema":{"type":"boolean","description":"Prefer places with less tourism pressure","default":true,"title":"Spread"},"description":"Prefer places with less tourism pressure"},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"YYYY-MM-DD. Checks the season. For northern lights, today or tomorrow gives tonight's measured chance; empty or later gives planning areas","title":"Date"},"description":"YYYY-MM-DD. Checks the season. For northern lights, today or tomorrow gives tonight's measured chance; empty or later gives planning areas"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/itinerary":{"get":{"summary":"Itinerary","description":"A day-by-day trip plan: bases, travel legs, experiences, food and lodging, each with its source.","operationId":"itinerary_v1_itinerary_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":30,"minimum":1,"description":"Length of the trip in days","default":14,"title":"Days"},"description":"Length of the trip in days"},{"name":"start","in":"query","required":false,"schema":{"type":"string","description":"Where the trip starts: a place name or 'lat,lon'","default":"Oslo","title":"Start"},"description":"Where the trip starts: a place name or 'lat,lon'"},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Where it ends; empty for a round trip","title":"End"},"description":"Where it ends; empty for a round trip"},{"name":"interests","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"description":"Themes (nature, culture, food, activities, parks, family), concept codes, or words in any language ('fjords', 'オーロラ')","default":["nature","food","activities"],"title":"Interests"},"description":"Themes (nature, culture, food, activities, parks, family), concept codes, or words in any language ('fjords', 'オーロラ')"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"YYYY-MM-DD; decides the season","title":"Start Date"},"description":"YYYY-MM-DD; decides the season"},{"name":"pace","in":"query","required":false,"schema":{"type":"string","description":"relaxed, normal or active: more or fewer nights per base","default":"normal","title":"Pace"},"description":"relaxed, normal or active: more or fewer nights per base"},{"name":"transport","in":"query","required":false,"schema":{"type":"string","description":"car or public","default":"car","title":"Transport"},"description":"car or public"},{"name":"style","in":"query","required":false,"schema":{"type":"string","description":"see_most, balanced, hidden_gems, slow or road_trip","default":"balanced","title":"Style"},"description":"see_most, balanced, hidden_gems, slow or road_trip"},{"name":"fitness","in":"query","required":false,"schema":{"type":"string","description":"easy, moderate, demanding or expert: hardest trails suggested","default":"easy","title":"Fitness"},"description":"easy, moderate, demanding or expert: hardest trails suggested"},{"name":"region","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Explore around this place only (name or 'lat,lon')","title":"Region"},"description":"Explore around this place only (name or 'lat,lon')"},{"name":"must_see","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"description":"Places that must be in the plan","default":[],"title":"Must See"},"description":"Places that must be in the plan"},{"name":"avoid","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"description":"Themes, concepts or words to leave out","default":[],"title":"Avoid"},"description":"Themes, concepts or words to leave out"},{"name":"max_travel_hours","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":12,"minimum":1},{"type":"null"}],"description":"Longest leg you accept","title":"Max Travel Hours"},"description":"Longest leg you accept"},{"name":"lodging","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"What the traveller wants to sleep in: hotel, cabin, hostel, tourist_cabin, campsite, motorhome, tent. Empty: one of each kind; ask.","title":"Lodging"},"description":"What the traveller wants to sleep in: hotel, cabin, hostel, tourist_cabin, campsite, motorhome, tent. Empty: one of each kind; ask."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/thing/{thing_id}":{"get":{"summary":"Thing","description":"One thing and its thread: where, what, when, how full, which rules, and links (ids) to what is near. Walk on by id.","operationId":"thing_v1_thing__thing_id__get","parameters":[{"name":"thing_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thing Id"}},{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":12,"minimum":1},{"type":"null"}],"title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/around":{"get":{"summary":"Around","description":"Everything around a point, with filters that combine.","operationId":"around_v1_around_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":81,"minimum":57,"title":"Lat"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":35,"minimum":2,"title":"Lon"}},{"name":"radius_km","in":"query","required":false,"schema":{"type":"number","maximum":200,"exclusiveMinimum":0,"default":25,"title":"Radius Km"}},{"name":"concepts","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Concept codes; any of them","title":"Concepts"},"description":"Concept codes; any of them"},{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":12,"minimum":1},{"type":"null"}],"description":"Leaves out what is not in season","title":"Month"},"description":"Leaves out what is not in season"},{"name":"max_difficulty","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(easy|moderate|demanding|expert)$"},{"type":"null"}],"title":"Max Difficulty"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(business|place|stop|facility|protected_area)$"},{"type":"null"}],"title":"Kind"}},{"name":"max_wikipedia_languages","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"0 = places nobody has written about","title":"Max Wikipedia Languages"},"description":"0 = places nobody has written about"},{"name":"min_small_local","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"description":"Small and local businesses (0 to 1)","title":"Min Small Local"},"description":"Small and local businesses (0 to 1)"},{"name":"max_stop_km","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":10,"exclusiveMinimum":0},{"type":"null"}],"description":"Reachable without a car: a stop within this distance","title":"Max Stop Km"},"description":"Reachable without a car: a stop within this distance"},{"name":"address_precision","in":"query","required":false,"schema":{"type":"boolean","description":"Leave out businesses only known by postcode","default":false,"title":"Address Precision"},"description":"Leave out businesses only known by postcode"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/valued-areas":{"get":{"summary":"Valued Areas","description":"Outdoor areas valued by professionals for the municipalities: value, use, experience, quiet and untouched, each on its own scale.","operationId":"valued_areas_v1_valued_areas_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":81,"minimum":57,"title":"Lat"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":35,"minimum":2,"title":"Lon"}},{"name":"radius_km","in":"query","required":false,"schema":{"type":"number","maximum":200,"exclusiveMinimum":0,"default":25,"title":"Radius Km"}},{"name":"max_use","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":5,"minimum":1},{"type":"null"}],"description":"2 = little used today: documented hidden places","title":"Max Use"},"description":"2 = little used today: documented hidden places"},{"name":"min_quiet","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":5,"minimum":1},{"type":"null"}],"title":"Min Quiet"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/heritage-areas":{"get":{"summary":"Heritage Areas","description":"UNESCO world heritage, protected cultural environments and landscapes of national interest.","operationId":"heritage_areas_v1_heritage_areas_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":81,"minimum":57,"title":"Lat"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":35,"minimum":2,"title":"Lon"}},{"name":"radius_km","in":"query","required":false,"schema":{"type":"number","maximum":300,"exclusiveMinimum":0,"default":50,"title":"Radius Km"}},{"name":"level","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(world_heritage|protected_by_law|national_interest|regional|municipal)$"},{"type":"null"}],"title":"Level"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/camping":{"get":{"summary":"Camping","description":"Campsites, cabins, open shelters, motorhome parking, rest areas, toilets and dump stations near a point.","operationId":"camping_v1_camping_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":81,"minimum":57,"title":"Lat"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":35,"minimum":2,"title":"Lon"}},{"name":"radius_km","in":"query","required":false,"schema":{"type":"number","maximum":200,"exclusiveMinimum":0,"default":50,"title":"Radius Km"}},{"name":"kinds","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Any of: campsite, cabin, tourist_cabin, shelter, campfire_site, motorhome_parking, rest_area, toilet, dump_station","title":"Kinds"},"description":"Any of: campsite, cabin, tourist_cabin, shelter, campfire_site, motorhome_parking, rest_area, toilet, dump_station"},{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":12,"minimum":1},{"type":"null"}],"description":"The month of the stay; campsites are often seasonal","title":"Month"},"description":"The month of the stay; campsites are often seasonal"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":40,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/parking":{"get":{"summary":"Parking","description":"Registered parking areas: spaces, free spaces, charging, disabled, park and ride, and those named for motorhomes.","operationId":"parking_v1_parking_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":81,"minimum":57,"title":"Lat"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":35,"minimum":2,"title":"Lon"}},{"name":"radius_km","in":"query","required":false,"schema":{"type":"number","maximum":100,"exclusiveMinimum":0,"default":5,"title":"Radius Km"}},{"name":"free","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Free"}},{"name":"disabled","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Disabled"}},{"name":"charging","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Charging"}},{"name":"motorhome","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Motorhome"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/camping/check":{"get":{"summary":"Camping Check","description":"Wild camping at this exact point: distance to the nearest dwelling, farmland, protection rules and the law. Never a permission.","operationId":"camping_check_v1_camping_check_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":72,"minimum":57,"title":"Lat"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":32,"minimum":4,"title":"Lon"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","pattern":"^(tent|motorhome)$","default":"tent","title":"Kind"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accessible":{"get":{"summary":"Accessible","description":"Trails, toilets, piers, shelters, parking and entrances measured in the field for people with this need.","operationId":"accessible_v1_accessible_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":81,"minimum":57,"title":"Lat"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":35,"minimum":2,"title":"Lon"}},{"name":"need","in":"query","required":false,"schema":{"type":"string","pattern":"^(wheelchair|powered_wheelchair|low_vision)$","default":"wheelchair","title":"Need"}},{"name":"radius_km","in":"query","required":false,"schema":{"type":"number","maximum":100,"exclusiveMinimum":0,"default":10,"title":"Radius Km"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"include_partly","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Partly"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/travel-time":{"get":{"summary":"Travel Time","description":"Estimated travel time between two places, by car or public transport.","operationId":"travel_time_v1_travel_time_get","parameters":[{"name":"from","in":"query","required":true,"schema":{"type":"string","description":"thing id or 'lat,lon'","title":"From"},"description":"thing id or 'lat,lon'"},{"name":"to","in":"query","required":true,"schema":{"type":"string","title":"To"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"}},{"name":"transport","in":"query","required":false,"schema":{"type":"string","pattern":"^(car|public)$","default":"car","title":"Transport"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/closed-businesses":{"get":{"summary":"Closed Businesses","description":"Tourism companies that are bankrupt, being wound up or struck off: check before recommending from memory. Free.","operationId":"closed_businesses_v1_closed_businesses_get","parameters":[{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"municipality","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Municipality"}},{"name":"reason","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(bankrupt|winding_up|forced_dissolution|deleted|inactive_or_deleted)$"},{"type":"null"}],"title":"Reason"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/report/{thing_id}":{"post":{"summary":"Report","description":"Tell us what you found: closed, wrong position, as described. Fixed answers only. Free.","operationId":"report_v1_report__thing_id__post","parameters":[{"name":"thing_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thing Id"}},{"name":"report","in":"query","required":true,"schema":{"type":"string","description":"One of: visited_as_described, closed_permanently, closed_when_visited, wrong_position, wrong_offer, wrong_hours, not_safe, crowded","title":"Report"},"description":"One of: visited_as_described, closed_permanently, closed_when_visited, wrong_position, wrong_offer, wrong_hours, not_safe, crowded"},{"name":"visited","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Visited"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/guests/{thing_id}":{"post":{"summary":"Guest Feedback","description":"Guest feedback, good and bad: a score, what was praised and what was criticised. Fixed aspects, no free text. Free.","operationId":"guest_feedback_v1_guests__thing_id__post","parameters":[{"name":"thing_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thing Id"}},{"name":"score","in":"query","required":true,"schema":{"type":"integer","maximum":5,"minimum":1,"title":"Score"}},{"name":"visited","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Visited"}},{"name":"code","in":"query","required":true,"schema":{"type":"string","maxLength":40,"description":"feedback.code from /v1/itinerary","title":"Code"},"description":"feedback.code from /v1/itinerary"},{"name":"praised","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[],"title":"Praised"}},{"name":"criticised","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[],"title":"Criticised"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/guests":{"get":{"summary":"Guest Summary","description":"Summary of what guests say, positive and negative side by side, for one thing or a whole municipality. Free.","operationId":"guest_summary_v1_guests_get","parameters":[{"name":"thing","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Thing"}},{"name":"municipality_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9]{4}$"},{"type":"null"}],"title":"Municipality Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/business-events":{"get":{"summary":"Business Events","description":"Bankruptcies, wind-ups, deletions, restructurings and recoveries seen since a date, so an agent can correct itself. Free.","operationId":"business_events_v1_business_events_get","parameters":[{"name":"since","in":"query","required":true,"schema":{"type":"string","format":"date","description":"YYYY-MM-DD","title":"Since"},"description":"YYYY-MM-DD"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/visitor-pressure":{"get":{"summary":"Visitor Pressure","description":"How full is it: hotel bed occupancy, guests per resident and road traffic per month, and similar, quieter places.","operationId":"visitor_pressure_v1_visitor_pressure_get","parameters":[{"name":"where","in":"query","required":true,"schema":{"type":"string","description":"Municipality, town or municipality code","title":"Where"},"description":"Municipality, town or municipality code"},{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":12,"minimum":1},{"type":"null"}],"description":"Month of travel; gives history and quieter alternatives","title":"Month"},"description":"Month of travel; gives history and quieter alternatives"},{"name":"max_km","in":"query","required":false,"schema":{"type":"number","maximum":2500,"minimum":20,"default":500,"title":"Max Km"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/fishing/salmon":{"get":{"summary":"Salmon River","description":"Salmon, sea trout and Arctic char in one river on one date: open or not, season per species, quotas and limits,\nwhich regulation applies (extraordinary rules for the year first), catch per year, and what it takes (fee, licence, gear,\nreporting). river is a name (Gaula, Altaelva) or a river number (122.Z). Guidance only.","operationId":"salmon_river_v1_fishing_salmon_get","parameters":[{"name":"river","in":"query","required":true,"schema":{"type":"string","title":"River"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/fishing/salmon/near":{"get":{"summary":"Salmon Near","description":"Salmon rivers near a point, with whether each is open on the date and its main terms.","operationId":"salmon_near_v1_fishing_salmon_near_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":81,"minimum":57,"title":"Lat"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":35,"minimum":2,"title":"Lon"}},{"name":"radius_km","in":"query","required":false,"schema":{"type":"number","maximum":150,"exclusiveMinimum":0,"default":30,"title":"Radius Km"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/safety":{"get":{"summary":"Safety","description":"Free. The safety thread for a place: how hard the hike is (published ranges), season, daylight against the hours it takes,\nwhat to bring, when to turn back, weather and avalanche links, emergency numbers. Guidance only.","operationId":"safety_v1_safety_get","parameters":[{"name":"thing_id","in":"query","required":true,"schema":{"type":"string","title":"Thing Id"}},{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":12,"minimum":1},{"type":"null"}],"title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/safety/municipality/{code}":{"get":{"summary":"Safety Municipality","description":"Free. Rescue incidents of outdoor kinds in a municipality per year, against Norway per resident (when reuse is cleared).","operationId":"safety_municipality_v1_safety_municipality__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/conditions":{"get":{"summary":"Conditions","description":"Weather now and aurora chance at fixed points across Norway, best first (met.no, NOAA).","operationId":"conditions_v1_conditions_get","parameters":[{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"}},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon"}},{"name":"radius_km","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Radius Km"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/businesses":{"get":{"summary":"Businesses","description":"Verified tourism businesses in a municipality or around a point, with source and freshness for every fact.","operationId":"businesses_v1_businesses_get","parameters":[{"name":"municipality","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Municipality"}},{"name":"concept","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept"}},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"}},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon"}},{"name":"radius_km","in":"query","required":false,"schema":{"type":"number","default":25,"title":"Radius Km"}},{"name":"max_relevance","in":"query","required":false,"schema":{"type":"integer","default":2,"title":"Max Relevance"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/places":{"get":{"summary":"Places","description":"Public places that are not businesses: toilets, rest areas, stops, protected areas and named sights.","operationId":"places_v1_places_get","parameters":[{"name":"concept","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept"}},{"name":"municipality","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Municipality"}},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"}},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon"}},{"name":"radius_km","in":"query","required":false,"schema":{"type":"number","default":25,"title":"Radius Km"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/municipalities/{code}":{"get":{"summary":"Municipality","description":"One municipality: name, code and what the engine knows there.","operationId":"municipality_v1_municipalities__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/legal":{"get":{"summary":"Legal","description":"Laws and regulations a traveller must know, each with a link to the legal text (Lovdata).","operationId":"legal_v1_legal_get","parameters":[{"name":"concept","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/protected-areas":{"get":{"summary":"Protected Areas","description":"Protected areas (nature reserves, national parks ...) at a point, with their rules.","operationId":"protected_areas_v1_protected_areas_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","title":"Lat"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","title":"Lon"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/place-names":{"get":{"summary":"Place Names","description":"Official places with this name, each with a permanent place number, type, municipality, one GPS point\nand every official spelling. The same name often means several places: choose by type and municipality.","operationId":"place_names_v1_place_names_get","parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string","description":"A place name in any official language: 'Lakselv', 'Leavdnja', 'Lemmijoki'","title":"Name"},"description":"A place name in any official language: 'Lakselv', 'Leavdnja', 'Lemmijoki'"},{"name":"municipality","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"4-digit municipality code, e.g. 5622","title":"Municipality"},"description":"4-digit municipality code, e.g. 5622"},{"name":"place_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SSR type, e.g. tettsted, bygdelagBygd, fjell","title":"Place Type"},"description":"SSR type, e.g. tettsted, bygdelagBygd, fjell"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/certificate/public-key":{"get":{"summary":"Certificate Public Key","description":"The Ed25519 public key that signs every freshness certificate, and how to verify one.","operationId":"certificate_public_key_v1_certificate_public_key_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/certificate/verify":{"post":{"summary":"Certificate Verify","description":"Send a certified answer back (as JSON) to check that it is genuine and unchanged.","operationId":"certificate_verify_v1_certificate_verify_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}