{
  "id": "fr_pcs",
  "kind": "datatype",
  "status": "draft",
  "name": "French occupation and socio-professional category code (PCS)",
  "doc": "Code in the INSEE nomenclature of professions and socio-professional categories (PCS). In PCS 2020 a group has 1 digit, a category 2 digits, a grouped profession 2 digits and a capital letter, and a profession 2 digits, a capital letter and a digit (37B5). In PCS 2003 a profession has 3 digits and a lowercase letter (372e). Public data often holds the 2-digit category.",
  "is_pii": false,
  "categories": [
    "persons",
    "industry"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "fr"
  ],
  "classification": "categorical",
  "regexp": "^(?:\\d{1,2}|\\d{2}[A-Z]\\d?|\\d{3}[a-z])$",
  "examples": [
    {
      "value": "3",
      "description": "Cadres et professions intellectuelles supérieures (groupe)",
      "valid": true
    },
    {
      "value": "37",
      "description": "catégorie of group 3",
      "valid": true
    },
    {
      "value": "37B5",
      "description": "Juristes (PCS 2020 profession)",
      "valid": true
    },
    {
      "value": "372e",
      "description": "Juristes (PCS 2003 profession)",
      "valid": true
    },
    {
      "value": "37b5",
      "description": "PCS 2020 uses a capital letter",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.insee.fr/fr/metadonnees/pcs2020"
    },
    {
      "type": "doc",
      "url": "https://www.insee.fr/fr/metadonnees/pcs2003"
    }
  ],
  "translations": {
    "fr": {
      "name": "Professions et catégories socioprofessionnelles (PCS)"
    },
    "ru": {
      "name": "Код профессии и социально-профессиональной категории Франции (PCS)"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/FR/persons/fr_pcs.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/persons/fr_pcs.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/persons/fr_pcs.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/fr_pcs",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/fr_pcs.json"
  }
}