---
id: "chemical_oxygen_demand"
kind: "datatype"
status: "draft"
is_pii: false
name: "Chemical oxygen demand (COD)"
regexp: "^<?\\s?\\d+(?:[.,]\\d+)?\\s?(?:mg/L|mg/l|mgO2/L|mg O2/L|ppm)?$"
categories: ["environment", "chemistry", "values"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/chemical_oxygen_demand"
---

# Chemical oxygen demand (COD) (`chemical_oxygen_demand`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Chemical oxygen demand of water: the oxygen needed to oxidize the organic and oxidizable inorganic matter of a sample with a strong oxidant (dichromate), in milligrams of oxygen per litre (DQO in Spanish and French). It is higher than the biochemical oxygen demand of the same sample.

- Parent datatype: [`numeric`](https://registry.apicrafter.io/datatype/numeric.md)
- Personal data (PII): no
- Categories: Environment (protected areas, biodiversity, water, weather, emissions, waste) (environment), Chemistry (chemistry), All measurable values (percentage, amount and e.t.c) (values)
- Countries: global
- Languages: Common to most languages (common)

## Detection

Regular expression (Python `re`):

```
^<?\s?\d+(?:[.,]\d+)?\s?(?:mg/L|mg/l|mgO2/L|mg O2/L|ppm)?$
```

## Examples

- `36` — mg O2/L
- `<5` — below the detection limit
- `abc` (invalid example) — not a number

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `chemicaloxygendemandbyname` (field, `common/observations.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- es: Demanda química de oxígeno (DQO)
- ru: Химическое потребление кислорода (ХПК)

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Chemical_oxygen_demand>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/chemical_oxygen_demand.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/environment/chemical_oxygen_demand.yaml>
