The method
Use this prompt in ChatGPT. Input your business details (name, address, services) and target keywords. The output is a JSON-LD schema markup optimized for Rank Math, ready to be pasted into your website's header or used with Rank Math's custom schema builder.
The prompts
Prompt 1
I need a schema markup generator that provides the appropriate JSON-LD code to be used on a local business website, optimized for use with Rank Math. Please provide me with the schema after you receive the required information. The business is called 'Acme Plumbing', located at '123 Main Street, Anytown, CA 91234'. The business specializes in 'residential plumbing repairs', 'drain cleaning', and 'water heater installation'. Our target keywords are: 'plumber Anytown', 'drain cleaning Anytown', and 'water heater repair Anytown'. Also, our phone number is 555-1212, and our website is acmeplumbing.com. Please generate the schema for a LocalBusiness. Make sure the schema includes aggregate rating and also the days that the business is opened.
Prompt 2
Create JSON-LD schema markup for Rank Math for a restaurant named 'Bella Italia' located at '456 Oak Avenue, Anytown, NY 10001'. We serve 'Italian cuisine', specializing in 'pizza' and 'pasta'. Target keywords: 'Italian restaurant Anytown', 'pizza Anytown', 'pasta Anytown'. Our phone number is 555-2424, and our website is bellaitaliarestaurant.com. The menu URL is bellaitaliarestaurant.com/menu. Use the 'Restaurant' schema type. The restaurant is open everyday from 11 AM to 10 PM. Include a price range of $$