{"id":"19497a02-d026-4623-be83-ad4090daba7f","type":"DATASET","name":"Consumo de água","slug":"consumo-de-agua","description":"O Conjunto de dados contem informação relativo ao consumo médio de água por cliente em m3. A granularidade espacial do conjunto de dados abrange os municípios de Alvaiázere, Ansião, Castanheira de Pera, Figueiró dos Vinhos, Góis, Pampilhosa da Serra, Penela, Pedrogão Grande, Lousã e Vila Nova de...","free_access_class":"FREE_NO_AUTH","auth_type":"NONE","homepage_url":"https://dados.gov.pt/pages/datasets/consumo-de-agua","docs_url":"https://dados.gov.pt/pages/datasets/consumo-de-agua","repo_url":null,"status":"ACTIVE","verification_state":"VERIFIED","tags":[],"logo_url":"https://www.google.com/s2/favicons?sz=64&domain=dados.gov.pt","primary_source_url":"https://api-dados-abertos.apin.pt/WaterConsumptionObserved_ngsild","extraction_confidence":"0.00","created_at":"2026-07-12T22:18:15.934Z","updated_at":"2026-12-01T03:08:35.632Z","last_verified_at":"2026-12-01T03:08:35.632Z","deprecated_at":null,"ranking_score":53,"last_ranked_at":"2026-11-20T06:33:16.882Z","last_seen_at":null,"last_validated_at":null,"last_uptime_at":"2026-11-25T03:06:24.427Z","popularity_score":"0.0000","maintenance_score":"0.6000","institution_id":null,"institution_type":null,"country_code":"PT","official_confidence":0,"proof_summary":"Confidence: 0%","source_seed_url":null,"is_public_sector":true,"published_at":"2026-07-13T10:21:00.000Z","geographic_scope":"NATIONAL","name_en":"Water consumption","description_en":"This dataset provides figures on average water consumption per customer, expressed in cubic metres. It covers a set of Portuguese municipalities, including Alvaiázere, Ansião, Castanheira de Pera, Figueiró dos Vinhos, Góis, Pampilhosa da Serra, Penela, Pedrógão Grande, Lousã and Vila Nova de (municipality name truncated in source). The data is published as part of Portugal's open data portal (dados.gov.pt) and offers a municipal-level view of domestic or general water use, useful for tracking consumption patterns across this group of central Portuguese municipalities over time.","native_lang":"pt","access_level":"direct","formats":["CSV"],"capability_tier":"sample","trust_score":40.269230769230774,"merged_into_entry_id":null,"identity_key":"DATASET|https://api-dados-abertos.apin.pt/WaterConsumptionObserved_ngsild|consumo de água","upstream_ref":null,"content_changed_at":"2026-11-01T03:07:29.977Z","upstream_gone_checks":0,"upstream_gone_since":null,"description_en_local_failures":0,"institution":null,"title_qualifier":null,"access":{"level":"direct","primary":{"kind":"download","label":"Download CSV","method":"GET","url":"https://api-dados-abertos.apin.pt/WaterConsumptionObserved_ngsild","format":"CSV","byte_size":"37192856","source":"distribution","runnable":true},"actions":[{"kind":"download","label":"Download CSV","method":"GET","url":"https://api-dados-abertos.apin.pt/WaterConsumptionObserved_ngsild","format":"CSV","byte_size":"37192856","source":"distribution","runnable":true},{"kind":"landing","label":"Read the docs","method":"GET","url":"https://dados.gov.pt/pages/datasets/consumo-de-agua","source":"docs","runnable":false}],"formats":["CSV"]},"maturity":{"entry_id":"19497a02-d026-4623-be83-ad4090daba7f","granularity":"entry","granularity_label":"One unit = one catalog entry. A PROXY for the SCOPE.md §4 ladder, which governs source families, not entries: a family with 400 entries moves this reading 400 times as much as a family with one. Never compare or combine with the source_family reading.","level":"profiled","level_index":3,"level_label":"Profiled","meaning":"Schema, dimensions and licence understood","counts_as_coverage":false,"blocked_by":null,"rungs":[{"level":"discovered","level_index":1,"label":"Discovered","meaning":"Source and metadata recorded","evidence":"membership of the named population the ladder is taken over","counts_as_coverage":false,"met":true,"reached":true,"criterion":"TRUE"},{"level":"verified","level_index":2,"label":"Verified","meaning":"Access tested successfully","evidence":"entries.verification_state = 'VERIFIED'","counts_as_coverage":false,"met":true,"reached":true,"criterion":"entries.verification_state = 'VERIFIED'"},{"level":"profiled","level_index":3,"label":"Profiled","meaning":"Schema, dimensions and licence understood","evidence":"a data profile with at least one field (entry_data_profiles.field_count > 0)","counts_as_coverage":false,"met":true,"reached":true,"criterion":"EXISTS (SELECT 1 FROM entry_data_profiles p WHERE p.entry_id = entries.id AND COALESCE(p.field_count, 0) > 0)"},{"level":"executable","level_index":4,"label":"Executable","meaning":"Queries run through Commodity","evidence":"entries.capability_tier = 'live' — today's proxy for \"queryable through us\"","counts_as_coverage":true,"met":false,"reached":false,"criterion":"entries.capability_tier = 'live'"},{"level":"joinable","level_index":5,"label":"Joinable","meaning":"Canonical identifiers and concepts mapped","evidence":"a field link to a canonical identifier whose sampled VALUES match its format, on a field the current profile still has (entry_data_profiles.fields names it, field_count > 0)","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM entry_field_links efl JOIN entry_data_profiles jp ON jp.entry_id = efl.entry_id WHERE efl.entry_id = entries.id AND efl.identifier_id IS NOT NULL AND efl.value_status = 'match' AND COALESCE(jp.field_count, 0) > 0 AND COALESCE(jp.fields @> jsonb_build_array(jsonb_build_object('name', efl.field_name)), false))"},{"level":"reproducible","level_index":6,"label":"Reproducible","meaning":"Snapshots and transformation evidence retained","evidence":"at least one retained evidence manifest (migration 078) that names at least one column, every one of them a field of the current profile — except, on a grouped citation, the computed columns 'count' and '<fn>_<field>'","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM evidence_manifests em JOIN entry_data_profiles rp ON rp.entry_id = em.entry_id WHERE em.entry_id = entries.id AND COALESCE(rp.field_count, 0) > 0 AND jsonb_array_length(em.columns) > 0 AND (CASE WHEN em.query_params ? 'aggregate' THEN em.columns - 'count' - (COALESCE(em.query_params->'aggregate'->>'fn', '') || '_' || COALESCE(em.query_params->'aggregate'->>'field', '')) ELSE em.columns END) <@ COALESCE((SELECT jsonb_agg(f->'name') FROM jsonb_array_elements(CASE WHEN jsonb_typeof(rp.fields) = 'array' THEN rp.fields END) f), '[]'::jsonb))"},{"level":"guaranteed","level_index":7,"label":"Guaranteed","meaning":"Monitored against an operational reliability target","evidence":"an active reliability target with a named monitor (migration 096)","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM entry_reliability_targets rt WHERE rt.entry_id = entries.id AND rt.is_active = true)"}],"officialness":{"basis":"catalog_inherited","label":"Inherited from the upstream catalog: this item came from a trusted official government catalog, and that provenance — not per-item proof — is the warrant. Its own proof score is below 80 or it matched no registered institution (apps/worker/src/connectors/catalog/qualify-store.ts).","proof_confidence":0,"proven_threshold":80,"institution_id":null,"definition":"CASE WHEN COALESCE(entries.is_public_sector, false) IS NOT TRUE THEN 'not_official' WHEN COALESCE(entries.official_confidence, 0) >= 80 AND entries.institution_id IS NOT NULL THEN CASE WHEN EXISTS (SELECT 1 FROM api_candidates oc WHERE oc.merged_into_entry_id = entries.id AND oc.official_confidence >= 80 AND oc.proposed_institution_id IS NOT NULL) THEN 'per_item_proven' ELSE 'integrator_asserted' END ELSE 'catalog_inherited' END"},"source_family":{"key":"api-dados-abertos.apin.pt","label":"One unit = one source family, approximated by the serving host of the entry's primary source URL (e.g. bdl.stat.gov.pl). A COMPUTED stand-in for the curated families of SCOPE.md §5, which no table holds yet. A family sits at the highest level any of its entries has reached, because a family is integrated to the depth of its deepest working integration. Never compare or combine with the entry reading."},"generated_at":"2026-12-01T07:51:57.756Z"},"update_schedule":{"last_update":"2026-10-07T11:23:26.000Z","declared_frequency":"annual","next_update":"2027-10-08T11:23:26.000Z","next_update_basis":"declared_frequency","next_update_source_url":null,"predicted":true,"next_update_tentative":false,"confidence":"medium","overdue":false,"overdue_since":null,"method":"Last upstream modification plus one declared annual period."},"legal_basis":{"source":"data.europa.eu High-Value Dataset records (dcatap:applicableLegislation), matched to this entry by URL","legislation":[],"statements":[],"record_publishers":[],"harvested_at":null},"distribution_role":{"role":"undetermined","basis":"native_record_publisher_not_linked_institution","source_catalogue":null,"source_url":null},"publisher_organisation":null,"api_details":null,"dataset_details":{"id":"8eb34cc0-6a6f-4252-be97-495961458427","entry_id":"19497a02-d026-4623-be83-ad4090daba7f","upstream_issued":null,"upstream_modified":"2026-10-07T11:23:26.000Z","themes":[],"update_frequency":"annual","temporal_start":"2020-01-01T00:00:00.000Z","temporal_end":"2026-03-31T00:00:00.000Z","spatial_coverage":null,"landing_page":null,"license_id":null,"license_raw":null,"has_documentation":false,"has_data_dictionary":false,"has_versioning":false,"source_portal":"dados.gov.pt","source_portal_url":"https://dados.gov.pt","created_at":"2026-07-20T13:11:23.606Z","updated_at":"2026-11-29T20:11:01.482Z","publisher":"APIN - Empresa Intermunicipal de Ambiente do Pinhal Interior, S.A.","publisher_url":"https://dados.gov.pt/organizations/apin-empresa-intermunicipal-de-ambiente-do-pinhal-interior-s-a","record_origin":"native","record_source_catalogue":null,"record_source_url":null,"publisher_register_scheme":null,"publisher_register_id":null,"distributions":[{"id":"a60330c6-8a77-4337-9379-8f8983a7c1f4","dataset_details_id":"8eb34cc0-6a6f-4252-be97-495961458427","title":"WaterConsumptionObserved_ngsild","description":null,"access_url":"https://api-dados-abertos.apin.pt/WaterConsumptionObserved_ngsild","download_url":"https://api-dados-abertos.apin.pt/WaterConsumptionObserved_ngsild","media_type":"text/csv","format":"csv","byte_size":"37192856","license_id":null,"license_raw":null,"last_checked_at":"2026-12-01T03:08:34.118Z","is_available":true,"last_http_status":200,"created_at":"2026-07-20T13:11:24.097Z","updated_at":"2026-12-01T03:08:34.118Z","last_content_type":"application/json; charset=utf-8"}],"license":null},"license":null,"reuse":{"license_id":null,"license_name":null,"license_url":null,"commercial_use":{"status":"unknown","value":null},"redistribution":{"status":"unknown","value":null},"attribution_required":{"status":"unknown","value":null},"share_alike":{"status":"unknown","value":null},"personal_data_warning":{"status":"unknown","value":null},"cache_and_mirror":{"status":"unknown","value":null},"derivatives":{"status":"unknown","value":null},"undetermined":["commercial_use","redistribution","attribution_required","share_alike","personal_data_warning","cache_and_mirror","derivatives"],"basis":"unverified","confidence":0.1,"confidence_tier":"low","source_text":null,"source_url":null,"reviewed_at":null},"license_raw":null,"licence":{"licence_id":null,"status":"none_stated","basis":"no_licence_recorded","terms":[],"redistribution":"unknown","commercial":"unknown","licence_url":null,"licence_raw":null,"source_url":null,"notice":"licence: none stated — redistribution: not stated; commercial reuse: not stated"},"latest_check":{"id":"9bc81a44-96d4-4c7e-ab53-ea2bf233bc54","entry_id":"19497a02-d026-4623-be83-ad4090daba7f","status":"VERIFIED","last_checked_at":"2026-12-01T03:08:35.329Z","p50_latency_ms":4516,"p95_latency_ms":null,"last_error":null,"consecutive_failures":0,"created_at":"2026-07-12T22:30:39.719Z","updated_at":"2026-12-01T03:08:35.329Z","consecutive_successes":236,"probe_url":"https://api-dados-abertos.apin.pt/WaterConsumptionObserved_ngsild","probe_method":"GET","probe_http_status":200,"probe_content_type":"application/json; charset=utf-8","probe_succeeded_at":"2026-12-01T03:08:35.329Z"},"data_profile":{"id":"c3e274ea-3b31-49bf-abdc-838916f189da","entry_id":"19497a02-d026-4623-be83-ad4090daba7f","profile_source":"distribution","profile_kind":"dataset","dataset_id":null,"fields":[{"name":"id","type":"text","label":null,"description":null,"description_en":"Unique NGSI-LD identifier for the water consumption observation."},{"name":"type","type":"text","label":null,"description":null,"description_en":"Entity type, here WaterConsumptionObserved."},{"name":"dateObserved","type":"text","label":null,"description":null,"description_en":"Date and time when the water consumption was recorded."},{"name":"waterConsumption","type":"text","label":null,"description":null,"description_en":"Measured water consumption value, in cubic metres."},{"name":"location","type":"text","label":null,"description":null,"description_en":"Geographic coordinates of the water meter or connection point."},{"name":"address","type":"text","label":null,"description":null,"description_en":"Postal address, district and region of the water connection."},{"name":"waterType","type":"text","label":null,"description":null,"description_en":"Type of water supplied, such as cold or hot."},{"name":"alarmStopsLeaks","type":"text","label":null,"description":null,"description_en":"Indicates whether a leak-stop alarm has been triggered."},{"name":"alarmTamper","type":"text","label":null,"description":null,"description_en":"Indicates whether a meter tampering alarm has been triggered."},{"name":"alarmWaterQuality","type":"text","label":null,"description":null,"description_en":"Indicates whether a water quality alarm has been triggered."},{"name":"alarmInProgress","type":"text","label":null,"description":null,"description_en":"Indicates whether an alarm is currently active."},{"name":"@context","type":"text","label":null,"description":null,"description_en":"JSON-LD context defining the vocabulary used in the entity."}],"field_count":12,"sample_records":[{"id":"urn:apin:WaterConsumptionObserved:1","type":"WaterConsumptionObserved","address":"{\"type\": \"Property\", \"value\": {\"district\": \"Leiria\", \"addressRegion\": \"Centro\", \"addressCountry\": \"Portugal\", \"addressLocality\": \"ANSIÃO\"}}","@context":"[\"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld\", \"https://raw.githubusercontent.com/smart-data-models/dataModel.WaterConsumption/master/context.jsonld\"]","location":"{\"type\": \"GeoProperty\", \"value\": {\"type\": \"Point\", \"coordinates\": [-8.457645737, 39.878927644]}}","waterType":"{\"type\": \"Property\", \"value\": \"cold\"}","alarmTamper":"{\"type\": \"Property\", \"value\": 0}","dateObserved":"{\"type\": \"Property\", \"value\": {\"@type\": \"DateTime\", \"@value\": \"2025-12-31T23:59:59.000Z\"}}","alarmInProgress":"{\"type\": \"Property\", \"value\": 0}","alarmStopsLeaks":"{\"type\": \"Property\", \"value\": 0}","waterConsumption":"{\"type\": \"Property\", \"value\": 0, \"unitCode\": \"MTQ\"}","alarmWaterQuality":"{\"type\": \"Property\", \"value\": 0}"},{"id":"urn:apin:WaterConsumptionObserved:2","type":"WaterConsumptionObserved","address":"{\"type\": \"Property\", \"value\": {\"district\": \"Leiria\", \"addressRegion\": \"Centro\", \"addressCountry\": \"Portugal\", \"addressLocality\": \"ANSIÃO\"}}","@context":"[\"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld\", \"https://raw.githubusercontent.com/smart-data-models/dataModel.WaterConsumption/master/context.jsonld\"]","location":"{\"type\": \"GeoProperty\", \"value\": {\"type\": \"Point\", \"coordinates\": [-8.3702267, 39.8905817]}}","waterType":"{\"type\": \"Property\", \"value\": \"cold\"}","alarmTamper":"{\"type\": \"Property\", \"value\": 0}","dateObserved":"{\"type\": \"Property\", \"value\": {\"@type\": \"DateTime\", \"@value\": \"2025-12-31T23:59:59.000Z\"}}","alarmInProgress":"{\"type\": \"Property\", \"value\": 0}","alarmStopsLeaks":"{\"type\": \"Property\", \"value\": 0}","waterConsumption":"{\"type\": \"Property\", \"value\": 1, \"unitCode\": \"MTQ\"}","alarmWaterQuality":"{\"type\": \"Property\", \"value\": 0}"},{"id":"urn:apin:WaterConsumptionObserved:4","type":"WaterConsumptionObserved","address":"{\"type\": \"Property\", \"value\": {\"district\": \"Leiria\", \"addressRegion\": \"Centro\", \"addressCountry\": \"Portugal\", \"addressLocality\": \"ANSIÃO\"}}","@context":"[\"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld\", \"https://raw.githubusercontent.com/smart-data-models/dataModel.WaterConsumption/master/context.jsonld\"]","location":"{\"type\": \"GeoProperty\", \"value\": {\"type\": \"Point\", \"coordinates\": [-8.483177014, 39.92019014]}}","waterType":"{\"type\": \"Property\", \"value\": \"cold\"}","alarmTamper":"{\"type\": \"Property\", \"value\": 0}","dateObserved":"{\"type\": \"Property\", \"value\": {\"@type\": \"DateTime\", \"@value\": \"2025-12-31T23:59:59.000Z\"}}","alarmInProgress":"{\"type\": \"Property\", \"value\": 0}","alarmStopsLeaks":"{\"type\": \"Property\", \"value\": 0}","waterConsumption":"{\"type\": \"Property\", \"value\": 6, \"unitCode\": \"MTQ\"}","alarmWaterQuality":"{\"type\": \"Property\", \"value\": 0}"},{"id":"urn:apin:WaterConsumptionObserved:5","type":"WaterConsumptionObserved","address":"{\"type\": \"Property\", \"value\": {\"district\": \"Leiria\", \"addressRegion\": \"Centro\", \"addressCountry\": \"Portugal\", \"addressLocality\": \"ANSIÃO\"}}","@context":"[\"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld\", \"https://raw.githubusercontent.com/smart-data-models/dataModel.WaterConsumption/master/context.jsonld\"]","location":"{\"type\": \"GeoProperty\", \"value\": {\"type\": \"Point\", \"coordinates\": [-8.3913195, 39.8926182]}}","waterType":"{\"type\": \"Property\", \"value\": \"cold\"}","alarmTamper":"{\"type\": \"Property\", \"value\": 0}","dateObserved":"{\"type\": \"Property\", \"value\": {\"@type\": \"DateTime\", \"@value\": \"2025-12-31T23:59:59.000Z\"}}","alarmInProgress":"{\"type\": \"Property\", \"value\": 0}","alarmStopsLeaks":"{\"type\": \"Property\", \"value\": 0}","waterConsumption":"{\"type\": \"Property\", \"value\": 8, \"unitCode\": \"MTQ\"}","alarmWaterQuality":"{\"type\": \"Property\", \"value\": 0}"},{"id":"urn:apin:WaterConsumptionObserved:13","type":"WaterConsumptionObserved","address":"{\"type\": \"Property\", \"value\": {\"district\": \"Leiria\", \"addressRegion\": \"Centro\", \"addressCountry\": \"Portugal\", \"addressLocality\": \"ANSIÃO\"}}","@context":"[\"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld\", \"https://raw.githubusercontent.com/smart-data-models/dataModel.WaterConsumption/master/context.jsonld\"]","location":"{\"type\": \"GeoProperty\", \"value\": {\"type\": \"Point\", \"coordinates\": [-8.3571111, 39.9226095]}}","waterType":"{\"type\": \"Property\", \"value\": \"cold\"}","alarmTamper":"{\"type\": \"Property\", \"value\": 0}","dateObserved":"{\"type\": \"Property\", \"value\": {\"@type\": \"DateTime\", \"@value\": \"2025-12-31T23:59:59.000Z\"}}","alarmInProgress":"{\"type\": \"Property\", \"value\": 0}","alarmStopsLeaks":"{\"type\": \"Property\", \"value\": 0}","waterConsumption":"{\"type\": \"Property\", \"value\": 10, \"unitCode\": \"MTQ\"}","alarmWaterQuality":"{\"type\": \"Property\", \"value\": 0}"}],"record_count":null,"data_size_bytes":"46333688","dataset_count":null,"query_examples":[{"url":"https://api-dados-abertos.apin.pt/WaterConsumptionObserved_ngsild","curl":"curl -sL 'https://api-dados-abertos.apin.pt/WaterConsumptionObserved_ngsild' -o data.csv","label":"Download distribution","method":"GET","description":"Full csv file download — the schema shown was inferred from the file's first records."},{"url":"https://api-dados-abertos.apin.pt/WaterConsumptionObserved_ngsild","curl":"curl -sL 'https://api-dados-abertos.apin.pt/WaterConsumptionObserved_ngsild' -H 'Range: bytes=0-4095'","label":"Preview first bytes","method":"GET","description":"First 4 KB of the file (servers honoring Range requests)."}],"status":"ok","error_message":null,"profiled_at":"2026-11-29T20:11:00.037Z","run_id":"00178d8a-cf68-47dd-a71a-9aec4171d8b2","created_at":"2026-07-20T13:11:23.439Z","updated_at":"2026-11-29T20:11:00.235Z","license_raw":null,"license_id":null,"consecutive_failure_count":0,"last_error_at":null,"last_error_message":null,"fields_with_example_values":12,"example_values_counted_at":"2026-11-29T20:11:00.037Z","ods_features":null,"previewable":true,"declared_periods":null,"declared_areas":null,"declared_population":null,"personal_data":{"status":"none","basis":"no_person_column_cited","grain":"none","allowed":true,"columns":{"direct_identifiers":[],"family_names":[],"given_names":[],"attributes":[],"unresolved_names":[],"measures":[],"entity_identifiers":[]},"publication":null,"publication_evidence":null,"notice":"personal data: no cited column names a natural person (the cited columns are all this reads)"}},"datasets":[],"limits":[],"manifest":{"answer_sha256":"5994b574966cbb6a7901b08a8151eec085949a140850fbefb56a257d19cce397","answer_sha256_rule":"sha256 (hex, UTF-8) of JSON.stringify(this body) after deleting the keys listed in manifest.stamped_keys from manifest, and deleting manifest itself if it is then empty. The hash was computed before the stamp existed, so no field of the stamp is inside it.","stamped_keys":["answer_sha256","answer_sha256_rule","stamped_keys","row_count","row_count_basis","live","live_basis","created_at","created_at_basis","durable_citation"],"row_count":29,"row_count_basis":"Objects that are elements of a JSON array anywhere in this body, excluding manifest. Not a claim about which collection is the answer. Largest single collection: data_profile.fields[] (12 rows).","live":false,"live_basis":"This body was replayed from the worker edge cache (x-edge-cache: hit); the bytes, and therefore answer_sha256, are those of the execution that filled the cache.","created_at":"2026-12-01T07:54:30.119Z","created_at_basis":"When this response body was assembled, deliberately OUTSIDE the hashed bytes so the same answer hashes identically on every request. Not the upstream read time — that is provenance[].retrieved_at. A zone-cached replay carries the assembly time, not your receipt time.","durable_citation":"This manifest is produced at response time and is NOT stored. A durable, replayable citation is persisted only on an explicit cite: GET /api/v1/entries/{id-or-slug}/evidence or the MCP cite_query tool for one entry, and POST /api/v1/answer/cite for a domain answer, which stores this same answer_sha256 with the sources the answer consulted."}}