# A 64-bit integer
schema:
    type: integer
    format: int64
```

Various tools may treat a **number/integer** without a format attribute as a type capable of holding the closest representation of that number in the target language. For example, a **number** might be represented by a **double,** and an **integer** by an **int64.** Therefore, it's recommended that you **be explicit with the format of your number type and always populate the format attribute**.

The **number** type also has some optional attributes for additional validation:

- **minimum** \- The **minimum** inclusive number the value should contain.
- **maximum** \- The **maximum** inclusive number the value should contain.
- **exclusiveMinimum** \- Make the **minimum** number exclusive.
- **exclusiveMaximum** \- Make the **maximum** number exclusive.
- **multipleOf** \- Specify the **number/integer** is a multiple of the provided value.

Some examples are below:

```yaml