{
  "id": "es_bdns_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Spanish grant call code (BDNS)",
  "doc": "Number of a call for grants in the Spanish national database of grants (Base de Datos Nacional de Subvenciones, BDNS), where every public body must register its calls. It is a plain number given in order of registration, six digits in the current series (604968 for a call of January 2022); the first calls of 2014 have three digits. The number is the key of the page of the call (infosubvenciones.es/bdnstrans/GE/es/convocatorias/604968), and municipalities publish it in their tables of grants (Código BDNS).",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "government",
    "finances"
  ],
  "country": [
    "ES"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\d{3,7}$",
  "examples": [
    {
      "value": "604968",
      "description": "a call of the Ayuntamiento de Arganda del Rey registered in January 2022",
      "valid": true
    },
    {
      "value": "302000",
      "description": "a call registered in March 2016",
      "valid": true
    },
    {
      "value": "BDNS604968",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.infosubvenciones.es/bdnstrans/GE/es/convocatorias"
    }
  ],
  "translations": {
    "es": {
      "name": "Código BDNS de convocatoria"
    },
    "ru": {
      "name": "Код конкурса субсидий в базе BDNS (Испания)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "esbdnscodebyname",
        "type": "field",
        "match": "regex",
        "file": "es/es_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/ES/government/es_bdns_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/ES/government/es_bdns_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/ES/government/es_bdns_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/es_bdns_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/es_bdns_code.json"
  }
}