Write structured data
clickd_schema_createMakes JSON-LD for one page from the fields given, ready to paste, and fetches nothing.
When: to write the structured data a fix asks for; call it with only type to see the fields.
Instead: clickd_check with kind product to check a live product page.
Inputs: type is one of the types offered; as a more exact one, such as Plumber; fields the values by field key, as text. Give only what the page shows.
Returns: jsonld, script (ready to paste), missing, problems, recommended and fields.
Fails: a type not offered says which are. Works with no key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | A more exact type, for LocalBusiness (such as Plumber, RoofingContractor, Restaurant) or Article (BlogPosting, NewsArticle). | |
| type | Yes | The schema type to make. | |
| fields | No | Values by field key, as text, such as { "name": "Acme Plumbing" }. A list is one value a line. |