{
  "id": "co_estrato",
  "kind": "datatype",
  "status": "draft",
  "name": "Colombian socioeconomic stratum (estrato)",
  "doc": "Stratum of a dwelling in the socioeconomic stratification of Colombia (Ley 142 de 1994): the mayor of each municipality classes residential properties from 1 to 6 (1 bajo-bajo, 2 bajo, 3 medio-bajo, 4 medio, 5 medio-alto, 6 alto), and the stratum sets the tariff of public utilities, with subsidies for strata 1 to 3 and a surcharge for 5 and 6. Registers of students, patients, beneficiaries and utility subscribers carry it as a number or with the word (ESTRATO 2); it describes the dwelling, and by extension the household.",
  "parent": "category",
  "is_pii": false,
  "categories": [
    "realestate",
    "persons"
  ],
  "country": [
    "CO"
  ],
  "langs": [
    "es"
  ],
  "classification": "categorical",
  "regexp": "^(?:(?:ESTRATO|Estrato|estrato) )?[1-6]$",
  "examples": [
    {
      "value": "1",
      "description": "bajo-bajo",
      "valid": true
    },
    {
      "value": "6",
      "description": "alto",
      "valid": true
    },
    {
      "value": "ESTRATO 2",
      "valid": true
    },
    {
      "value": "7",
      "description": "there are six strata",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://es.wikipedia.org/wiki/Estratificación_socioeconómica_en_Colombia"
    }
  ],
  "translations": {
    "es": {
      "name": "Estrato socioeconómico (Colombia)"
    },
    "ru": {
      "name": "Социально-экономическая страта жилья (Колумбия)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "coestratobyname",
        "type": "field",
        "match": "regex",
        "file": "co/co_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/CO/realestate/co_estrato.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CO/realestate/co_estrato.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CO/realestate/co_estrato.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/co_estrato",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/co_estrato.json"
  }
}