{
  "id": "ro_lmi_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Romanian historic monument code (cod LMI)",
  "doc": "Code of a monument in the Romanian List of Historic Monuments (Lista monumentelor istorice, LMI): the county code, the group (I archaeology, II architecture, III public monuments, IV memorial sites), the kind (m monument, a ensemble, s site), the value class (A national, B local) and a five-digit number, with a two-digit suffix for a part of an ensemble, as in IS-II-m-A-03957.01.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "government"
  ],
  "country": [
    "RO"
  ],
  "langs": [
    "ro"
  ],
  "classification": "identifier",
  "regexp": "^[A-Z]{1,2}-(?:I|II|III|IV)-[ams]-[AB]-\\d{5}(?:\\.\\d{2})?$",
  "examples": [
    {
      "value": "IS-II-m-A-03957.01",
      "description": "Part of an ensemble in Iași",
      "valid": true
    },
    {
      "value": "B-II-m-B-18332",
      "description": "Monument in Bucharest",
      "valid": true
    },
    {
      "value": "AG-IV-m-B-13976",
      "description": "Memorial site in Argeș",
      "valid": true
    },
    {
      "value": "IS-V-m-A-03957",
      "description": "No group V",
      "valid": false
    }
  ],
  "translations": {
    "ro": {
      "name": "Cod LMI"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "rolmicodevalue",
        "type": "data",
        "match": "regex",
        "file": "ro/ro_common.yaml"
      }
    ]
  },
  "quality": {
    "score": 75,
    "missing": [
      "source link",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/RO/government/ro_lmi_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/RO/government/ro_lmi_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/RO/government/ro_lmi_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ro_lmi_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ro_lmi_code.json"
  }
}