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

# Spanish official degree code (RUCT) (`es_ruct_titulo_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.

Seven-digit code of an official university degree in the Spanish register of universities, centres and degrees (RUCT), as in 2500089 for the bachelor's degree in journalism of the Universidad Rey Juan Carlos and 4310001 for a master's degree. In the register the codes of bachelor's degrees (grados) start with 25, those of master's degrees with 43 and those of doctoral programmes with 56; this is what the published codes show, the register does not state it as a rule. Universities give the code in cod_titulacion of their tables on degrees, enrolment and graduates.

- 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{7}$
```

## Examples

- `2500089` — Graduado o Graduada en Periodismo por la Universidad Rey Juan Carlos
- `4310001` — Máster Universitario en Gestión y Políticas Públicas
- `250008` (invalid example) — six digits

## Metacrafter rules

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

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

## Supported by tools

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

## Translations

- es: Código de titulación (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_titulo_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/ES/education/es_ruct_titulo_code.yaml>
