---
id: "es_ruct_universidad_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Spanish university code (RUCT)"
regexp: "^\\d{3}$"
categories: ["education"]
country: ["ES"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/es_ruct_universidad_code"
---

# Spanish university code (RUCT) (`es_ruct_universidad_code`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Three-digit code of a university in the Spanish register of universities, centres and degrees (Registro de Universidades, Centros y Títulos, RUCT) of the ministry in charge of universities, as in 010 for the Universidad Complutense de Madrid, 036 for the Universidad Carlos III de Madrid and 056 for the Universidad Rey Juan Carlos. The open data of Spanish universities (UniversiDATA) give it in cod_universidad next to the name of the university.

- Parent datatype: [`id`](https://registry.apicrafter.io/datatype/id.md)
- Personal data (PII): no
- Categories: Education (education)
- Countries: Spain (ES)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{3}$
```

## Examples

- `056` — Universidad Rey Juan Carlos
- `036` — Universidad Carlos III de Madrid
- `010` — Universidad Complutense de Madrid
- `56` (invalid example) — leading zero lost

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `esructuniversidadcodebyname` (field, `es/es_codes.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- es: Código de universidad (RUCT)
- ru: Код университета в реестре RUCT (Испания)

## Sources

- doc: <https://www.educacion.gob.es/ruct/home>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/es_ruct_universidad_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/ES/education/es_ruct_universidad_code.yaml>
