{
  "id": "cr_sicop_goods_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Costa Rican procurement catalogue code of a good or service (SICOP)",
  "doc": "Code of a good or service in the catalogue of SICOP, the procurement system of the Costa Rican public sector. Its first eight digits are the classification code, a UNSPSC commodity (39101605, fluorescent lamps); the next eight are the identification code of the item within that class (92074333). Buyers ask for an item by these sixteen digits; a product code of eight more digits, added when a supplier registers its product, makes the full code of twenty-four digits. Procurement reports give the sixteen digits in one column (COD_BIEN_SERVICIO), which a spreadsheet may turn into a number.",
  "is_pii": false,
  "categories": [
    "industry",
    "government"
  ],
  "country": [
    "CR"
  ],
  "langs": [
    "es"
  ],
  "classification": "categorical",
  "regexp": "^[1-9]\\d{15}(?:\\d{8})?$",
  "examples": [
    {
      "value": "3910160592074333",
      "description": "classification 39101605 (fluorescent lamps) and identification 92074333",
      "valid": true
    },
    {
      "value": "4010160492001000",
      "description": "a line of a 2016 purchase of the INEC",
      "valid": true
    },
    {
      "value": "39101605",
      "description": "the classification code alone: unspsc",
      "valid": false
    },
    {
      "value": "391016059207433",
      "description": "fifteen digits",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.uned.ac.cr/ejecutiva/images/Tabla_1_Fichas_Luminarias_Refrigeradores_Domésticos_y_Congeladores.pdf"
    },
    {
      "type": "doc",
      "url": "https://www.sicop.go.cr/"
    }
  ],
  "translations": {
    "es": {
      "name": "Código de bien o servicio del catálogo de SICOP"
    },
    "ru": {
      "name": "Код товара или услуги каталога SICOP (Коста-Рика)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "crsicopgoodscodebyname",
        "type": "field",
        "match": "regex",
        "file": "cr/cr_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/CR/industry/cr_sicop_goods_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CR/industry/cr_sicop_goods_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CR/industry/cr_sicop_goods_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/cr_sicop_goods_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/cr_sicop_goods_code.json"
  }
}