# Databox Data Schemes

A Databox scheme is like a template for your data. This feature allows you to build a data structure containing multiple different value types which can then be added to your databox object. This is great if you want to create multiple entries like enemies where all have the same value types like: name, description, health, strength etc. So instead of adding each value separately you can create a data scheme first. Then you only have to add the scheme for each new enemy you want to add.

### Create a Databox data scheme

[![addScheme](https://github.com/doorfortyfour/DataboxDocumentation/raw/master/docs/img/addScheme.png)](https://github.com/doorfortyfour/DataboxDocumentation/blob/master/docs/img/addScheme.png)

1. Right click somewhere in the project view and select: `Create / Databox / New Databox Data Scheme`
2. Add a new scheme and name it.
3. Inside of the newly created scheme you can now add databox data types and build your scheme.\
   [![createScheme](https://github.com/doorfortyfour/DataboxDocumentation/raw/master/docs/img/createNewScheme.png)](https://github.com/doorfortyfour/DataboxDocumentation/blob/master/docs/img/createNewScheme.png)

### Add a scheme

Now that you have created a Databox scheme object you can assign it to your Databox object.

[![addtodatabox](https://github.com/doorfortyfour/DataboxDocumentation/raw/master/docs/img/addSchemeToDatabox.png)](https://github.com/doorfortyfour/DataboxDocumentation/blob/master/docs/img/addSchemeToDatabox.png)

1. Select a Databox object. On the right side in the editor choose `Add Scheme` from the dropdown.
2. Assign the Databox scheme object to the empty slot.
3. Set a new entry name.
4. Select the scheme you want to add
5. Click on the button `Add Scheme`


---

# 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://giantgrey.gitbook.io/databox-documentation/databox-data-schemes.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.
