{
  "id": "fr_rnsr",
  "kind": "datatype",
  "status": "draft",
  "name": "French national research structure number (RNSR)",
  "doc": "Number of a research structure (laboratory, research unit, federation) in the Répertoire national des structures de recherche kept by the French Ministry of Higher Education and Research: ten characters, nine digits that start with the year the structure was registered, and a final letter (200012199P). Open data of the ministry name the field numero_national_de_structure.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "education",
    "science"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:19|20)\\d{7}[A-Z]$",
  "examples": [
    {
      "value": "200012199P",
      "description": "A structure registered in 2000",
      "valid": true
    },
    {
      "value": "201420835R",
      "description": "A structure registered in 2014",
      "valid": true
    },
    {
      "value": "0750671X",
      "description": "A UAI number (fr_uai)",
      "valid": false
    },
    {
      "value": "200012199",
      "description": "no final letter",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P3016"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://appliweb.dgri.education.fr/rnsr/"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P3016"
    }
  ],
  "translations": {
    "fr": {
      "name": "Numéro national de structure de recherche (RNSR)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "frrnsrbyfieldname",
        "type": "field",
        "match": "regex",
        "file": "fr/fr_education.yaml"
      },
      {
        "rule": "frrnsrvalue",
        "type": "data",
        "match": "regex",
        "file": "fr/fr_education.yaml"
      }
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/FR/education/fr_rnsr.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/education/fr_rnsr.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/education/fr_rnsr.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/fr_rnsr",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/fr_rnsr.json"
  }
}