---
id: "data_type"
kind: "datatype"
status: "draft"
is_pii: false
name: "Data type name (int, String, boolean, VARCHAR(64))"
categories: ["software"]
langs: ["common"]
quality: 70
url: "https://registry.apicrafter.io/datatype/data_type"
---

# Data type name (int, String, boolean, VARCHAR(64)) (`data_type`)

> **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.

Name of the data type of a field, column, parameter or return value in the documentation of an API, a programming language, a file format or a database schema: int, String, boolean, void, double, List<String>, java.lang.Integer, xs:date of XML Schema, VARCHAR(64), bigint(20) unsigned and Decimal(39,0) of SQL. Javadoc tables name the column Modifier and Type, and data dictionaries Type or Data Type. Words such as Text, Date and Number are types only in a column named after the type.

- Parent datatype: [`category`](https://registry.apicrafter.io/datatype/category.md)
- Personal data (PII): no
- Categories: Software development (software)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Examples

- `int`
- `String`
- `boolean`
- `VARCHAR(64)` — SQL with its length
- `List<String>` — Java generic
- `xs:date` — XML Schema
- `Name` (invalid example) — not a type

## Metacrafter rules

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

- `datatypebyname` (field, `common/software.yaml`)
- `datatypevalue` (data, `common/software.yaml`)

## Supported by tools

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

## Translations

- ru: Тип данных (int, String, boolean, VARCHAR(64))

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Data_type>
- wikipedia: <https://en.wikipedia.org/wiki/Primitive_data_type>

## Quality

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

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