{
  "id": "ar_bapin_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Argentine public investment project code (BAPIN)",
  "doc": "Number of a project in BAPIN, the Banco de Proyectos de Inversión Pública of the national public investment system (SNIP, Law 24.354): a project must be registered there to enter the national investment plan and the budget, and budget execution data carry the code; 0 stands for spending without a BAPIN project. Any short number matches, so use the field name (codigo_bapin_id, bapin).",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "government",
    "finances"
  ],
  "country": [
    "AR"
  ],
  "langs": [
    "es"
  ],
  "classification": "identifier",
  "regexp": "^\\d{1,6}$",
  "examples": [
    {
      "value": "30025",
      "description": "Obras de Emergencias en Puentes. Nacional",
      "valid": true
    },
    {
      "value": "143014",
      "description": "a project of the 2023 budget",
      "valid": true
    },
    {
      "value": "0",
      "description": "no BAPIN project",
      "valid": true
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.argentina.gob.ar/sites/default/files/dnip.pdf"
    },
    {
      "type": "doc",
      "url": "https://www.presupuestoabierto.gob.ar/sici/datos-abiertos"
    }
  ],
  "translations": {
    "es": {
      "name": "Código BAPIN de proyecto de inversión"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "arbapinbyname",
        "type": "field",
        "match": "regex",
        "file": "ar_country/ar_finances.yaml"
      }
    ]
  },
  "quality": {
    "score": 85,
    "missing": [
      "negative example",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/AR/government/ar_bapin_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/AR/government/ar_bapin_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/AR/government/ar_bapin_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ar_bapin_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ar_bapin_code.json"
  }
}