{
  "id": "earthquake_magnitude",
  "kind": "datatype",
  "status": "draft",
  "name": "Earthquake magnitude",
  "doc": "Size of an earthquake on a magnitude scale: a number with one to three decimals, from below zero for the smallest events a dense network records to about 9.5 for the largest earthquake measured (Valdivia, 1960). Seismic catalogues give it next to the origin time, latitude, longitude and depth of the event and name the scale in the column or beside it: local magnitude (ML), moment magnitude (Mw), body-wave (mb), surface-wave (Ms), duration (Md) and others (magnitude(Mw), ML, mag, magType). The scales are logarithmic and agree only roughly, so a catalogue may hold several magnitudes of one event with their standard errors. A number alone does not tell a magnitude from another measure: the field name does.",
  "parent": "numeric",
  "is_pii": false,
  "categories": [
    "science",
    "environment",
    "values"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^(?:-[0-3]|\\d|10)(?:[.,]\\d{1,3})?$",
  "examples": [
    {
      "value": "4.46",
      "description": "Moment magnitude of an aftershock catalogue",
      "valid": true
    },
    {
      "value": "1.864",
      "description": "Local magnitude with three decimals, IPOC catalogue of northern Chile",
      "valid": true
    },
    {
      "value": "8.8",
      "valid": true
    },
    {
      "value": "-0.3",
      "description": "A micro-earthquake",
      "valid": true
    },
    {
      "value": "25",
      "description": "Above every magnitude scale",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Seismic_magnitude_scales"
    }
  ],
  "translations": {
    "es": {
      "name": "Magnitud de un sismo"
    },
    "ru": {
      "name": "Магнитуда землетрясения"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "earthquakemagnitudebyname",
        "type": "field",
        "match": "regex",
        "file": "common/observations.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/science/earthquake_magnitude.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/science/earthquake_magnitude.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/science/earthquake_magnitude.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/earthquake_magnitude",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/earthquake_magnitude.json"
  }
}