---
id: "boolean"
kind: "datatype"
status: "stable"
is_pii: false
categories: ["common"]
langs: ["common"]
quality: 60
url: "http://registry.apicrafter.io/datatype/boolean"
---

# Boolean (`boolean`)

In computer science, the Boolean data type is a data type that has one of two possible values (usually denoted true and false) which is intended to represent the two truth values of logic and Boolean algebra.

- Personal data (PII): no
- Categories: Common (common)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Mappings

- d3m: `http://schema.org/Boolean`

## Metacrafter rules

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

- `booleancommon` (data, `common/boolean.yaml`)
- `booleanyesno` (data, `common/boolean.yaml`)
- `flagpostfixrule` (data, `common/boolean.yaml`)
- `hasprefixrule` (data, `common/boolean.yaml`)
- `isprefixrule` (data, `common/boolean.yaml`)
- `participleprefixrule` (data, `common/boolean.yaml`)
- `showprefixrule` (data, `common/boolean.yaml`)
- `rusyesnobool` (data, `ru/ru_common.yaml`)

## Supported by tools

- `alteryxdesignercloud`
- `auctus`
- `csvdetective`
- `dataiku`
- `googledatastudio`
- `ibmknowledgecatalog`
- `metacrafter`
- `metacrafterpro`
- `talend`
- `woodwork`

## Translations

- ru: Логический тип: Логи́ческий тип да́нных, или булев тип, или булевый тип (от англ. Boolean или logical data type) — примитивный тип данных в информатике, принимающий два возможных значения, иногда называемых истиной (true) и ложью (false).

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Boolean_data_type>
- schema.org: <https://schema.org/Boolean>

## Quality

Score 60/100. Missing: regexp, examples, negative example.

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