> For the complete documentation index, see [llms.txt](https://pavan-joshi.gitbook.io/making-payment-transactions-smart/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pavan-joshi.gitbook.io/making-payment-transactions-smart/data-models/structure-metadata-using-data-models.md).

# Structure Metadata Using Data Models

Using data models to structure metadata

This guide provides information for Bitcoin lightning-driven web applications with steps to structure metadata according to the designed specifications

### Steps to be followed to Structure Metadata

* Check for the Available data model type
* Check for the supported attributes
* Make sure you use the proper type for the attributes mentioned in the table created for each data model type
* Structure metadata in **JSON** format&#x20;
* Pass Metadata
