{
  "id": "es_aplicacion_presupuestaria",
  "kind": "datatype",
  "status": "draft",
  "name": "Spanish public budget line (aplicación presupuestaria)",
  "doc": "Budget line (aplicación presupuestaria) of a Spanish public budget, as the City of Madrid writes it in its contract registers: the budget year, the organic code, the programme code and the economic code, as in 2026 001130 - 33210 - 62999. A contract that spans several years lists one line per year, often with the amount.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "government",
    "finances"
  ],
  "country": [
    "ES"
  ],
  "langs": [
    "es"
  ],
  "classification": "identifier",
  "regexp": "^\\d{4} \\d{3,6} - \\d{5} - \\d{5}$",
  "examples": [
    {
      "value": "2026 001130 - 33210 - 62999",
      "valid": true
    },
    {
      "value": "2026 001120 - 13610 - 22104",
      "valid": true
    },
    {
      "value": "33210",
      "description": "Programme code alone",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "other",
      "url": "https://datos.madrid.es/"
    }
  ],
  "translations": {
    "es": {
      "name": "Aplicación presupuestaria"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "esaplicacionpresupuestariabyfield",
        "type": "field",
        "match": "regex",
        "file": "es/es_common.yaml"
      }
    ]
  },
  "quality": {
    "score": 83,
    "missing": [
      "authoritative source link",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/ES/government/es_aplicacion_presupuestaria.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/ES/government/es_aplicacion_presupuestaria.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/ES/government/es_aplicacion_presupuestaria.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/es_aplicacion_presupuestaria",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/es_aplicacion_presupuestaria.json"
  }
}