Local Schema Generator
AI-generatedSummary
Submits business details to the Apify Local Schema Generator actor and returns its generated schema data. Requires Apify API credentials with an API token.
Inputs
- Business Name (required) — Official business name.
- Business Type (required) — Business category, such as Plumber, Restaurant, or Dentist; the actor maps it to a schema.org type.
- Street Address, City, State, ZIP Code, Phone, Website URL, Email, Description — Optional business contact and location details and a short business description.
- Business Hours (JSON) — Operating hours as JSON; invalid JSON is treated as an empty object.
- Include Organization Schema — Defaults to true; asks the actor to include Organization schema alongside LocalBusiness.
- Include WebSite Schema — Defaults to true; asks the actor to include WebSite schema with a search action.
- Output Format — Choose both script tag and JSON (default), script tag only, or JSON only.
- Minify Output — Defaults to false; asks the actor to remove whitespace from JSON output.
- Demo Mode — Defaults to false; asks the actor to run with sample data.
- Timeout (seconds) — Defaults to 120; sets how long the node waits for the actor run to finish.
Output shape
One output item per input item, each containing the actor run result.
On success, the item includes runId, status, schemaCount, and schemas fetched from the run's dataset. If the run does not succeed, it includes runId, status, and a message. Request or processing errors raise a node error.