Urgent.News

What's breaking now, across thousands of outlets.

Tech

LocalBusiness Schema: What Service Businesses Should Mark Up

Most LocalBusiness schema examples assume a coffee shop: one address, a storefront, a menu and opening hours on the door. That's fine if you run a coffee shop. But a plumber who drives to customers' homes doesn't look like that. Neither does a cleaning company run from a home office, a law firm with three branches, or an HVAC contractor covering half a county. Copy a café template onto these…

LocalBusiness Schema provides structured data for businesses to enhance search engine visibility. This is particularly important for service businesses that do not have a fixed location, such as plumbers or HVAC contractors. Marking up a service business with the appropriate schema can make it eligible for local business rich results, appearing in knowledge panels or carousels on Google.

To accurately represent a service business, the most specific type of LocalBusiness should be chosen from the long list provided by Schema.org. For example, a plumber would use the "Plumber" type, while a cleaning company might use "CleaningBusiness". If a business fits into multiple categories, they can list several types as an array.

There are two required properties for service businesses: "name" and "address". The "name" property should match the business name on signage and Google Business Profile. The "address" property requires a "PostalAddress" with specific properties like street address, locality, region, postal code, and country.

Recommended properties for service businesses include "telephone" with the main number, "url" for the business webpage, "geo" for latitude and longitude coordinates, "openingHoursSpecification" for service times, and "priceRange" for cost indications. Optional additions can include "image" and "logo" for visual branding, "sameAs" for linking to social media profiles, and "@id" for a stable reference to the business.

A complete example for a fictional plumber with a storefront would include the "@context", "@type", "@id", "name", "url", "telephone", "image", "logo", "priceRange", "address", "geo", and "openingHoursSpecification" properties. Each property should match the business's actual information and adhere to Google's documentation for accurate representation.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

The Simplest Transactional Email API Explained in 3 Trade-offs (for Small SaaS)

For a small SaaS sending a password-reset email, the least complex choice is a direct transactional-email API with one send operation and a preconfigured template.

  • Small SaaS can use Infrai for simple transactional emails with one key and one bill.
  • Consider SES, SendGrid, Mailgun, or Postmark for regional controls and delivery workflow needs.

BlockWall: A Tiny Script That Blocks Ad Blockers

If your website is funded by ads, you've probably wondered how many visitors never see them. I wanted a simple, friendly way to ask those visitors to support a site, so I built BlockWall .

  • BlockWall is a free JavaScript script to block ad blockers
  • Users must disable ad blocker to view content after message
  • Customizable appearance and functionality with CSS styling

Addendum: I corrected my own instrument and the number went down from 807 to 612

About: The $6.3B hack wasn't a code bug (Dev.to, id 4949662, published 30-Oct-2026 21:58:55Z). Footprint: HUELLA-ADDENDUM-CORRECCION-MOTOR-20261030 The article states that 807 of the observations from…

  • 612 observations made of ten repositories after correction
  • Two domain errors corrected, not two thresholds
  • Total count reduced from 807 to 612 after fixes

More from Saturday 31 October →