{
  "id": "fr_actes_matiere_code",
  "kind": "datatype",
  "status": "draft",
  "name": "French ACTES subject code (nomenclature ACTES)",
  "doc": "Subject code of an act of a local authority in the ACTES nomenclature used to send acts to the prefecture for the legality check. The SCDL deliberations schema of data.gouv.fr (DELIB_MATIERE_CODE) gives its second level: a matter 1 to 9 and a sub-matter separated by a dot, 1.1 to 1.7, 2.1 to 2.3, 3.1 to 3.6, 4.1 to 4.5, 5.1 to 5.8, 6.1 to 6.5, 7.1 to 7.10, 8.1 to 8.9 and 9.1 to 9.4 (7.1 is Finances locales / Décisions budgétaires).",
  "is_pii": false,
  "categories": [
    "government"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "fr"
  ],
  "classification": "categorical",
  "regexp": "^[1-9]\\.(?:[1-9]|10)$",
  "examples": [
    {
      "value": "7.1",
      "description": "Finances locales, décisions budgétaires",
      "valid": true
    },
    {
      "value": "8.2",
      "description": "Second sub-matter of matter 8",
      "valid": true
    },
    {
      "value": "7.10",
      "description": "Last sub-matter of matter 7",
      "valid": true
    },
    {
      "value": "10.1",
      "description": "no matter 10",
      "valid": false
    },
    {
      "value": "7.1.2",
      "description": "a third level",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://schema.data.gouv.fr/schemas/scdl/deliberations/latest/schema.json"
    }
  ],
  "translations": {
    "fr": {
      "name": "Code matière ACTES"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "fractesmatierebyname",
        "type": "field",
        "match": "regex",
        "file": "fr/fr_government.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/FR/government/fr_actes_matiere_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/government/fr_actes_matiere_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/government/fr_actes_matiere_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/fr_actes_matiere_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/fr_actes_matiere_code.json"
  }
}