> For the complete documentation index, see [llms.txt](https://structure.js.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://structure.js.org/schema-concept.md).

# Schema concept

The schema is an object responsible to map the attributes Structure should handle, it is the parameter of the `attributes` function.

```javascript
attributes({
  name: String,
  age: Number,
})(class User {});
```

There are two ways to declare an attribute of the schema, the **shorthand attribute definition** and the **complete attribute definition**.
