> For the complete documentation index, see [llms.txt](https://community-test.logicnets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community-test.logicnets.com/release-9/platform-documentation/other-help-articles/data-models-in-libraries.md).

# Data Models in Libraries

It possible to define an explicit data model in a library package and use that data model in the projects that included the library package. First you must create the data models and data objects in the data models in your library project.

![](https://2802811211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdFhfexCjZ5JMhwGzzywq%2Fuploads%2Fgit-blob-a68915b7a5fcaeed560584b93a74001930703447%2F2262870a-4605-403c-8e14-32be04303837.png?alt=media)

Then you publish your library and include the published library in your other project (see above).

Now you can go to the *Data* tab of one of your logicnets. If you open the dropdown you will see all of the data models defined in your current project and all of the data models defined in the included library packages. The name of the library alias is between brackets behind the data model name.

![](https://2802811211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdFhfexCjZ5JMhwGzzywq%2Fuploads%2Fgit-blob-05f902939c247869a5f0457cdb7b24886eb608ba%2F471db61d-132f-4bdc-aa62-37f1fee60ea0.png?alt=media)

You can sync the data objects between the linked-library data models and the data objects defined in the logicnets. The sync will only go one way. It is not prohibited to update or add data objects in the linked library packages.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://community-test.logicnets.com/release-9/platform-documentation/other-help-articles/data-models-in-libraries.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
