{
  "id": "fr_budget_chapitre_code",
  "kind": "datatype",
  "status": "draft",
  "name": "French local budget chapter code",
  "doc": "Code of a chapter of the budget of a French local authority in the M14, M52, M57, M71 or M4 instruction. In a budget voted by nature it is two or three digits that group accounts: 011 Charges à caractère général, 012 Charges de personnel et frais assimilés, 65 Autres charges de gestion courante, 21 Immobilisations corporelles, 040 Opérations d'ordre de transfert entre sections. In a budget voted by function it is three digits starting with 90 (investment) or 93 (operating). The SCDL budget schema of data.gouv.fr gives it in BGT_NATURE.",
  "is_pii": false,
  "categories": [
    "finances",
    "government"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^\\d{2,3}$",
  "examples": [
    {
      "value": "011",
      "description": "Charges à caractère général",
      "valid": true
    },
    {
      "value": "65",
      "description": "Autres charges de gestion courante",
      "valid": true
    },
    {
      "value": "930",
      "description": "A chapter of a budget voted by function",
      "valid": true
    },
    {
      "value": "64111",
      "description": "An article (fr_budget_nature_code)",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://schema.data.gouv.fr/scdl/budget/"
    },
    {
      "type": "doc",
      "url": "https://www.collectivites-locales.gouv.fr/finances-locales/instructions-budgetaires-et-comptables"
    }
  ],
  "translations": {
    "fr": {
      "name": "Code de chapitre budgétaire"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "frbudgetchapitrecodebyname",
        "type": "field",
        "match": "regex",
        "file": "fr/fr_budget.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/FR/finances/fr_budget_chapitre_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/finances/fr_budget_chapitre_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/finances/fr_budget_chapitre_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/fr_budget_chapitre_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/fr_budget_chapitre_code.json"
  }
}