{
  "id": "biochemical_oxygen_demand",
  "kind": "datatype",
  "status": "draft",
  "name": "Biochemical oxygen demand (BOD)",
  "doc": "Biochemical oxygen demand of water: the dissolved oxygen that microorganisms take to break down the organic matter of a sample, usually in five days at 20 °C (BOD5, DBO5 in Spanish and French), in milligrams of oxygen per litre. Clean rivers stay below a few mg/L and untreated sewage reaches hundreds; a laboratory writes a value below its detection limit as <2.",
  "parent": "numeric",
  "is_pii": false,
  "categories": [
    "environment",
    "chemistry",
    "values"
  ],
  "langs": [
    "common"
  ],
  "regexp": "^<?\\s?\\d+(?:[.,]\\d+)?\\s?(?:mg/L|mg/l|mgO2/L|mg O2/L|ppm)?$",
  "examples": [
    {
      "value": "18.5",
      "description": "mg O2/L",
      "valid": true
    },
    {
      "value": "<2",
      "description": "below the detection limit",
      "valid": true
    },
    {
      "value": "250 mg/L",
      "description": "with the unit",
      "valid": true
    },
    {
      "value": "alto",
      "description": "not a number",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Biochemical_oxygen_demand"
    }
  ],
  "translations": {
    "es": {
      "name": "Demanda bioquímica de oxígeno (DBO)"
    },
    "ru": {
      "name": "Биохимическое потребление кислорода (БПК)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "biochemicaloxygendemandbyname",
        "type": "field",
        "match": "regex",
        "file": "common/observations.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/environment/biochemical_oxygen_demand.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/environment/biochemical_oxygen_demand.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/environment/biochemical_oxygen_demand.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/biochemical_oxygen_demand",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/biochemical_oxygen_demand.json"
  }
}