{
  "id": "total_dissolved_solids",
  "kind": "datatype",
  "status": "draft",
  "name": "Total dissolved solids",
  "doc": "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": "numeric",
  "is_pii": false,
  "categories": [
    "environment",
    "chemistry",
    "values"
  ],
  "langs": [
    "common"
  ],
  "regexp": "^[-+]?\\d+(?:[.,]\\d+)?\\s?(?:mg/L|mg/l|ppm|g/L)?$",
  "examples": [
    {
      "value": "660.89",
      "description": "mg/L",
      "valid": true
    },
    {
      "value": "250 mg/L",
      "description": "with the unit",
      "valid": true
    },
    {
      "value": "abc",
      "description": "not a number",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Total_dissolved_solids"
    }
  ],
  "translations": {
    "ru": {
      "name": "Общая минерализация (сухой остаток)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "totaldissolvedsolidsbysensorname",
        "type": "field",
        "match": "regex",
        "file": "common/environment.yaml"
      },
      {
        "rule": "dissolvedsolidsspanishbyname",
        "type": "field",
        "match": "regex",
        "file": "common/observations.yaml"
      },
      {
        "rule": "totaldissolvedsolidsreadingbyname",
        "type": "field",
        "match": "regex",
        "file": "common/observations.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/environment/total_dissolved_solids.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/environment/total_dissolved_solids.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/environment/total_dissolved_solids.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/total_dissolved_solids",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/total_dissolved_solids.json"
  }
}