---
id: "total_dissolved_solids"
kind: "datatype"
status: "draft"
is_pii: false
name: "Total dissolved solids"
regexp: "^[-+]?\\d+(?:[.,]\\d+)?\\s?(?:mg/L|mg/l|ppm|g/L)?$"
categories: ["environment", "chemistry", "values"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/total_dissolved_solids"
---

# Total dissolved solids (`total_dissolved_solids`)

> **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.

Total dissolved solids (TDS) of water: the mass of dissolved minerals, salts and organic matter per volume, in milligrams per litre or parts per million (drinking water below about 600 mg/L), measured by evaporation or estimated from the electrical conductivity.

- 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`):

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

## Examples

- `660.89` — mg/L
- `250 mg/L` — with the unit
- `abc` (invalid example) — not a number

## Metacrafter rules

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

- `totaldissolvedsolidsbysensorname` (field, `common/environment.yaml`)
- `dissolvedsolidsspanishbyname` (field, `common/observations.yaml`)
- `totaldissolvedsolidsreadingbyname` (field, `common/observations.yaml`)

## Supported by tools

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

## Translations

- ru: Общая минерализация (сухой остаток)

## Sources

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

## Quality

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

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