@@ -57,8 +57,12 @@ console.log('📍 Address:', protectedData.address);
5757}
5858```
5959
60- ::: info Schema Structure The schema automatically maps your data structure to
61- types that iApps can understand and validate. :::
60+ ::: info Schema Structure
61+
62+ The schema automatically maps your data structure to types that iApps can
63+ understand and validate.
64+
65+ :::
6266
6367## Supported Data Types
6468
@@ -73,8 +77,12 @@ The schema automatically detects these types:
7377| ` application/octet-stream ` | Binary data | File contents |
7478| ` image/jpeg ` , ` image/png ` , etc. | Media files | Images, videos |
7579
76- ::: tip Auto-Detection The SDK automatically detects file types based on
77- content. No need to specify MIME types manually. :::
80+ ::: tip Auto-Detection
81+
82+ The SDK automatically detects file types based on content. No need to specify
83+ MIME types manually.
84+
85+ :::
7886
7987## Why Schemas Matter
8088
@@ -232,9 +240,12 @@ const fileData = await dataProtectorCore.protectData({
232240Once you have protected data with a schema, you'll want to process it inside an
233241iApp.
234242
235- ::: warning Type Matching ** Your iApp and frontend must use the same field names
236- and types.** If they don't match, you'll get runtime errors when processing the
237- data. :::
243+ ::: warning Type Matching
244+
245+ ** Your iApp and frontend must use the same field names and types.** If they
246+ don't match, you'll get runtime errors when processing the data.
247+
248+ :::
238249
239250→ ** Ready to build an iApp?** Check out our detailed
240251[ Inputs and Outputs guide] ( /build-iapp/guides/inputs-and-outputs ) to learn how
0 commit comments