{"source":"sodir","operation":"search_discoveries","description":"Search petroleum discoveries on the Norwegian continental shelf, with\nSodir's recoverable-resource estimate where one exists.","parameters":[{"name":"name","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Partial discovery name, e.g. \"sverdrup\" or \"16/2-6\"."},{"name":"field","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Partial name of the field the discovery was included in."},{"name":"operator","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Partial operator company name."},{"name":"status","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"e.g. \"Producing\", \"Approved for production\", \"Shut down\", \"Production likely but unclarified\", \"Production not evaluated\"."},{"name":"hc_type","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"\"OIL\", \"GAS\", \"OIL/GAS\", \"GAS/CONDENSATE\", \"OIL/CONDENSATE\"."},{"name":"main_area","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"\"North sea\", \"Norwegian sea\" or \"Barents sea\"."},{"name":"from_year","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]},"required":false,"default":null,"description":"Inclusive bounds on the discovery year."},{"name":"to_year","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]},"required":false,"default":null,"description":"Inclusive bounds on the discovery year."},{"name":"limit","schema":{"type":"integer"},"required":false,"default":50,"description":"Maximum discoveries to return (default 50, max 200)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/sodir/search_discoveries?name={name}&field={field}&operator={operator}&status={status}&hc_type={hc_type}&main_area={main_area}&from_year={from_year}&to_year={to_year}&limit=50&offset=0","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"count":{"type":"integer"},"returned":{"type":"integer"},"discoveries":{"type":"array","items":{"type":"object","properties":{"discovery":{"type":["string","null"]},"operator":{"type":["string","null"]},"status":{"type":["string","null"]},"hc_type":{"type":["string","null"]},"discovery_year":{"type":["integer","null"]},"discovery_wellbore":{"type":["string","null"]},"main_area":{"type":["string","null"]},"field":{"type":["string","null"]},"included_in_field_from":{"type":["string","null"],"format":"date"},"included_in_discovery":{"type":["string","null"]},"owner_kind":{"type":["string","null"]},"owner":{"type":["string","null"]},"npdid":{"type":["string","null"]},"factpage_url":{"type":["string","null"],"format":"uri"},"resources":{"type":["object","null"],"properties":{"discovery":{"type":["string","null"]},"resource_class":{"type":["string","null"]},"valid_date":{"type":["string","null"],"format":"date"},"recoverable_oil_mill_sm3":{"type":["number","null"]},"recoverable_gas_bill_sm3":{"type":["number","null"]},"recoverable_ngl_mill_tonnes":{"type":["number","null"]},"recoverable_condensate_mill_sm3":{"type":["number","null"]},"recoverable_oil_equivalent_mill_sm3":{"type":["number","null"]}},"additionalProperties":false}},"additionalProperties":false}},"note":{"type":["string","null"]}},"additionalProperties":false,"required":["count","returned","discoveries"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"error_contract":{"scope":"top-level HTTP error response; never part of a success payload","schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object"}},"additionalProperties":false,"required":["code","message","retryable"]},"suggestion":{"type":"string"},"_meta":{"type":"object","properties":{"retrieved_at":{"type":"string","format":"date-time"},"language":{"type":"string","const":"en"},"content_languages":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"type":"object"}}},"required":["retrieved_at","language","content_languages","sources"]},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"api_index":{"type":"string","format":"uri"},"feedback":{"type":"string","format":"uri"}},"required":["self","api_index","feedback"],"additionalProperties":false}},"additionalProperties":false,"required":["error","suggestion","_meta","_links"]},"statuses":{"400":{"codes":["MISSING_PARAMETER","INVALID_PARAMETER","INVALID_REQUEST"],"retryable":false},"404":{"codes":["SOURCE_NOT_FOUND","OPERATION_NOT_FOUND","ENTITY_NOT_FOUND"],"retryable":false},"429":{"codes":["RATE_LIMITED","GATEWAY_RATE_LIMITED"],"retryable":true},"502":{"codes":["SOURCE_UNAVAILABLE"],"retryable":true},"500":{"codes":["INTERNAL_ERROR"],"retryable":true}}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/sodir/search_discoveries/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/sodir/search_discoveries","source":"https://allemannsdata.com/wiki/api/v1/kilder/sodir","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["count","returned","discoveries","discoveries[].discovery","discoveries[].operator","discoveries[].status","discoveries[].hc_type","discoveries[].discovery_year","discoveries[].discovery_wellbore","discoveries[].main_area","discoveries[].field","discoveries[].included_in_field_from","discoveries[].included_in_discovery","discoveries[].owner_kind","discoveries[].owner","discoveries[].npdid","discoveries[].factpage_url","discoveries[].resources","discoveries[].resources.discovery","discoveries[].resources.resource_class","discoveries[].resources.valid_date","discoveries[].resources.recoverable_oil_mill_sm3","discoveries[].resources.recoverable_gas_bill_sm3","discoveries[].resources.recoverable_ngl_mill_tonnes","discoveries[].resources.recoverable_condensate_mill_sm3","discoveries[].resources.recoverable_oil_equivalent_mill_sm3","note"],"output_fields_truncated":false,"canonical_field_aliases":{},"response_example":{"source":"sodir","operation":"search_discoveries","parameters":{"name":"Example","field":"example value","operator":"example value","status":"example value","hc_type":"example value","main_area":"example value","from_year":1,"to_year":1,"limit":50},"data":{"count":1,"returned":1,"discoveries":[{"discovery":"example value","operator":"example value","status":"example value","hc_type":"example value","discovery_year":1,"discovery_wellbore":"example value","main_area":"example value","field":"example value","included_in_field_from":"2026-01-15","included_in_discovery":"example value","owner_kind":"example value","owner":"example value","npdid":"example value","factpage_url":"https://example.invalid/resource","resources":{"discovery":"example value","resource_class":"example value","valid_date":"2026-01-15","recoverable_oil_mill_sm3":1.0,"recoverable_gas_bill_sm3":1.0,"recoverable_ngl_mill_tonnes":1.0,"recoverable_condensate_mill_sm3":1.0,"recoverable_oil_equivalent_mill_sm3":1.0}}],"note":"example value"},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"sodir","name":"Sokkeldirektoratet factpages","description":"Fields, production, reserves, wellbores, discoveries, production licences, companies and offshore facilities on the Norwegian continental shelf.","cache_ttl_seconds":3600,"documentation":"https://www.sodir.no/fakta/om-oss/apne-data/faktasider-og-faktakart-teknisk-informasjon/"}]},"_provenance":{"data":{"source":"sodir","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/sodir"},"entities":{"source":"sodir","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/sodir","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/sodir/search_discoveries","source":"https://allemannsdata.com/wiki/api/v1/kilder/sodir","wiki":"https://allemannsdata.com/wiki/kilder/sodir/search_discoveries/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
