This is an example of raw content blocks in Cloudpress and Sanity. Below is the JSON for a Geopoint.
@@begin_raw_content
{
"_key": "43898233bd25",
"_type": "geopoint",
"lat": 13.736717,
"lng": 100.523186
}
@@end_raw_content
If we want to include more than one element, we must ensure they are wrapped in a JSON array. For example, here is an array containing the JSON for both the geopoint and the file.
@@begin_raw_content
[
{
"_key": "43898233bd26",
"_type": "geopoint",
"lat": 13.736717,
"lng": 100.523186
},
{
"_key": "cb8195537099",
"_type": "file",
"asset": {
"_type": "reference",
"_ref": "file-1f59e84376b2acda296b1b431a16e5cd5dfb7da8-pdf"
}
}
]
@@end_raw_content