> For the complete documentation index, see [llms.txt](https://venty.gitbook.io/cmc-plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://venty.gitbook.io/cmc-plus/usage/capturenetworkstate/capturenetwork-schema.md).

# 🔹 CaptureNetwork: Schema

**CaptureNetwork: Schema** is the configuration layer used to control how your prediction data is processed inside the **CaptureNetworkState** system.

Its main purpose is to define how values created through the **DefinePrediction** nodes should be handled during the serialization and deserialization process.

Instead of manually managing how every value is written into and read from the prediction packet, the Schema system allows developers to configure the behavior of each property in a structured way.

***

### <mark style="color:$primary;">Schema Configuration</mark>

Through the Schema system, developers can customize important serialization settings such as:

* How many bits a value should use inside the packet
* Whether the value should be compressed
* The default value of the property
* How the value should be processed during reading and writing

These settings allow each prediction variable to be optimized according to its actual requirements.

For example, a value that only requires a small range does not need to use unnecessary packet space. By defining the correct bit size and serialization rules, developers can reduce the amount of data transferred during movement prediction.

***

### <mark style="color:$primary;">Packet Optimization Layer</mark>

CaptureNetwork: Schema acts as the optimization layer between your gameplay data and the final network prediction packet.

The system gives developers control over how prediction data is stored, allowing them to create more efficient movement packets while maintaining deterministic synchronization between client and server.

The goal is not to send the maximum amount of data, but to send only the required information in the most efficient format.

***

### <mark style="color:$success;">Summary</mark>

**CaptureNetwork: Schema provides the tools required to customize and optimize prediction data serialization.**

By configuring how values are stored, compressed, and transmitted, developers can build more efficient custom movement systems while keeping full control over their network prediction workflow.
