{
  "id": "electric_power",
  "kind": "datatype",
  "status": "draft",
  "name": "Electric power (W, kW, MW)",
  "doc": "Electric power or a power rating with its unit: watts, kilowatts, megawatts or gigawatts (80W a street light, 350 kW a fast EV charger, 50 - 350 kW a range of chargers, 1.5 MW a generator). Energy is power over time, in kWh or MWh (energy_amount); a field of numbers without a unit is a power when its name says so (nominal_rating_watts, capacity_kw).",
  "parent": "numeric",
  "is_pii": false,
  "categories": [
    "values"
  ],
  "langs": [
    "common"
  ],
  "regexp": "^\\d+(?:[.,]\\d+)?\\s*(?:(?:-|–|to)\\s*\\d+(?:[.,]\\d+)?\\s*)?(?:W|kW|KW|kw|MW|GW|watts?|Watts?)$",
  "examples": [
    {
      "value": "80W",
      "description": "nominal rating of a Powercor public light, City of Greater Geelong",
      "valid": true
    },
    {
      "value": "350 kW",
      "description": "EV charging stations",
      "valid": true
    },
    {
      "value": "50 - 350 kW",
      "valid": true
    },
    {
      "value": "1.5 MW",
      "valid": true
    },
    {
      "value": "350 kWh",
      "description": "an amount of energy, energy_amount",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Electric_power"
    }
  ],
  "translations": {
    "ru": {
      "name": "Электрическая мощность (Вт, кВт, МВт)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "electricpowerbyname",
        "type": "field",
        "match": "regex",
        "file": "common/assets.yaml"
      },
      {
        "rule": "electricpowervalue",
        "type": "data",
        "match": "func",
        "file": "common/assets.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/values/electric_power.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/values/electric_power.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/values/electric_power.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/electric_power",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/electric_power.json"
  }
}