# JSON-LD ❺🧪

{% hint style="danger" %}
**EXPERIMENTAL ALPHA** ⑤

DO NOT USE this in production code, as it may be removed. We'll see if this approach works. Testing with Google is in progress.&#x20;

**STATUS**

Testing Google response to our script generated JSON-LD.&#x20;
{% endhint %}

{% embed url="<https://developers.google.com/search/docs/appearance/structured-data/search-gallery>" %}

## Overview <a href="#display-captions-in-webflows-lightboxes" id="display-captions-in-webflows-lightboxes"></a>

**A great website is a wonderful thing, but it's useless if no one can find it.**&#x20;

In the SEO game, structured data is a powerful tool, but there is no direct support for generating it in Webflow.&#x20;

Here we want to make that easier;

* Generate structured JSON data reliably, with zero concerns about malformed JSON
* Generate valid JSON-LD without needing to know the exact syntax, convert dates, or know constants
* Handle arrays and sub-structures with the same level of ease
* Do this all *dynamically* so that it can be accomplished with CMS data as well.&#x20;

Working on;

* Automatic timespan conversions to ISO-8601 durations&#x20;
* Automatic date conversions to ISO-8601 dates&#x20;
* &#x20;? decode HTML from Webflow embedded fields \
  `window.sa5.decodeHTML()`&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://attr.sygnal.com/sa5-seo/json-ld.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
