# Data Model

In the previous step we create a Organization Unit and a repository nautic.\
We are now going to create project called swimmingpool.

![](/files/-M-FWZ45b-Est6e1Xuza)

In the New Item select "project"

![](/files/-M-FWZ47Zgpue8P0u40H)\
Enter the data as shown above. The Project general settings view is then displayed.

![](/files/-M-FWZ49AaHgx9KSJKdv)

We want to add a dependency on the pojo/entity java model. So we click as shown below on the "dependencies" menu item.

![](/files/-M-FWZ4BAKQ4uNqC9leW)

We then enter the data as shown below.

![](/files/-M-FWZ4DyErKTmOa3Cu_)\
This is a community project we shall speak later about.

The version you should use now is 2.0.10 and the associate maven project is [here](https://github.com/chtiJBUG/drools-onboarding/tree/master/drools-framework-examples/drools-framework-swimming-pool-model). Then as in our runtime we configured all necessary settings for maven, all is retrieved. The project we use is on maven central.\
The following screen is then displayed.

![](/files/-M-FWZ4FfJ5WQ8POCxqG)

As said in the introduction on BRMS, all dependency are shown.

> Note that in the 6.4.0 version there is a bug. If the workbench is restarted or you quit the editor and re-open it, the list is then empty when you log again. But it is only a display problem as in the repository the dependency is kept.\
> the JIRA is [here](https://issues.jboss.org/browse/GUVNOR-2508). It is corrected in version 6.5.0.

Now we have to say which java entity/classes we want to use in our rules. This is then done as follows.\
![](/files/-M-FWZ4H5jQtsVLZ0luk)\
Then the list looks like this.\
![](/files/-M-FWZ4J3BwEdQshA9Bm)

## Where dependencies and package white list are stored

As said before, in case of a restart of the workbench application, the dependency list is empty.\
In this case, to see the dependency, you set the project explorer mode to repository view as shown below

![](/files/-M-FWZ4LCq5ZpIxeHQmH)\
You can now see how the repository is stored with all files.

![](/files/-M-FWZ4NLeI7V9VshWzy)

Click on the pom.xml file. In the dependency part of the file, you should see what we entered before.

![](/files/-M-FWZ4PuHYilwSoSX0c)\
And in the file package-names-white-list the package we defined allowed to be used in the guided editors.

![](/files/-M-FWZ4RWg5FjnU2xNhx)


---

# 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://nicolas-heron.gitbook.io/droolsonboarding/brms/data_model.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.
