# Type Bool

* string&#x20;
* integer
* float
* bool
* date
* id
* array / object

Le type booléean est un type qui soit vrai soit faux, il inclue des paramètres de personnalisation.&#x20;

Pour générer un champs id sur un dataset cela prend toujours la même forme

```yaml
// Exemple de champs générés


- fieldName: test random 
    type : bool
    rules:
      range:
        probability: 0.5
    
  
```

{% hint style="info" %}
**probability** ->*float*  ce paramètre indque au logiciel la part de boolean devant être égale à true
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dataset-generation-doc.gitbook.io/dataset-generation-doc/type-bool.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
