{
  "id": "ae_dewa_contract_account",
  "kind": "datatype",
  "status": "draft",
  "name": "DEWA contract account number",
  "doc": "Ten-digit contract account number of a customer of the Dubai Electricity and Water Authority (DEWA), printed on the bill and given in the DEWA files of Dubai Pulse (contract_account of the Shams Dubai solar net metering, smart meter and move-in data). In those files accounts start with 20 or 30; the accounts of the 20 series end with a weighted check digit, weights 10 to 2 modulo 11 with a remainder of 10 written as 0 (all 17 017 such accounts of the 2017 and 2019 files pass it). It is the weighting of the NHS number and ISBN-10, so most of these accounts also pass those checks. An account of a household identifies the premises of a person.",
  "is_pii": true,
  "categories": [
    "energy",
    "finances"
  ],
  "country": [
    "AE"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[23]0\\d{8}$",
  "examples": [
    {
      "value": "2002323313",
      "description": "a commercial account of the Shams Dubai file",
      "valid": true
    },
    {
      "value": "3001330751",
      "description": "an account of the 30 series",
      "valid": true
    },
    {
      "value": "1002323313",
      "description": "not of the 20 or 30 series",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Dubai_Electricity_and_Water_Authority"
    }
  ],
  "translations": {
    "ar": {
      "name": "رقم الحساب التعاقدي لهيئة كهرباء ومياه دبي"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "aedewacontractaccountbyname",
        "type": "field",
        "match": "regex",
        "file": "ae/ae_finances.yaml"
      },
      {
        "rule": "aedewacontractaccountvalue",
        "type": "data",
        "match": "func",
        "file": "ae/ae_finances.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/AE/finances/ae_dewa_contract_account.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/AE/finances/ae_dewa_contract_account.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/AE/finances/ae_dewa_contract_account.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ae_dewa_contract_account",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ae_dewa_contract_account.json"
  }
}