> ## Documentation Index
> Fetch the complete documentation index at: https://trustos.telefonicatech.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Data Model

An asset is a digital representation of a real asset in the physical world. An asset records every single state or data change (e.g. the update of metadata, the transfer of ownership, etc.) This allows us to track the whole transactions since its creation in an immutable and transparent way.

| Name                              |    Type   | Optional | Description                                                  |
| :-------------------------------- | :-------: | :------: | :----------------------------------------------------------- |
| `assetId`                         |  `string` |     ❌    | Unique identifier of the asset.                              |
| `data`                            |  `object` |     ❌    | Immutable data of the asset.                                 |
| `networkId`                       | `integer` |     ❌    | Identifier of the Blockchain network.                        |
| `assetHash`                       |  `string` |     ❌    | Hash of `assetId` and `data` properties.                     |
| `transactions`                    |  `array`  |     ❌    | Transactions of the asset.                                   |
| `transactions[0].metadata`        |  `object` |     ❌    | Metadata of the last transaction.                            |
| `transactions[0].timestamp`       | `integer` |     ❌    | Timestamp of the transaction.                                |
| `transactions[0].userOwner`       |  `string` |     ❌    | Identifier of the user owner of the asset.                   |
| `transactions[0].hash`            |  `string` |     ❌    | Hash of `metadata`, `timestamp`, and `userOwner` properties. |
| `transactions[0].smartContract`   |  `string` |     ❌    | Smart contract where the evidence was registered.            |
| `transactions[0].transactionHash` |  `string` |     ❌    | Identifier of the transaction in the Blockchain network.     |
