XooCode(){

GasStation

GasStation is a direct AutomotiveBusiness subtype for fuel stations: petrol, diesel, and EV charging. Many stations dual-function as convenience stores; in that case dual-type with ConvenienceStore.

Full example of schema.org/GasStation json-ld markup

The markup is verified as valid with Rich Results Test from Google.

schema.org/GasStation
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": ["GasStation", "ConvenienceStore"],
  "name": "Xoo Fuel Dunmore",
  "address": { "@type": "PostalAddress", "streetAddress": "1 Highway Plz", "addressLocality": "Dunmore", "addressRegion": "PA", "postalCode": "18512", "addressCountry": "US" },
  "telephone": "+1-570-555-0861",
  "openingHours": "Mo-Su 00:00-23:59",
  "priceRange": "$",
  "amenityFeature": [
    { "@type": "LocationFeatureSpecification", "name": "EV charging (4 stalls)", "value": true },
    { "@type": "LocationFeatureSpecification", "name": "Diesel available", "value": true },
    { "@type": "LocationFeatureSpecification", "name": "Air and water", "value": true }
  ],
  "url": "https://xoocode.com/shops/xoo-fuel-dunmore"
}
</script>

Minimal valid version

The smallest markup that still produces a valid GasStation entity. Use it as the floor. Reach for the advanced example above when you want search engines and AI agents to understand more about your content.

schema.org/GasStation (minimal)
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "GasStation",
  "name": "Xoo Fuel Dunmore",
  "address": { "@type": "PostalAddress", "streetAddress": "1 Highway Plz", "addressLocality": "Dunmore", "addressRegion": "PA", "postalCode": "18512", "addressCountry": "US" }
}
</script>

Google rich results this unlocks

GasStation is a structural type. It does not produce a rich result on its own.

Its value comes from combining it with a primary type whose markup earns a rich result (Article, Product, Event, and so on). GasStation becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.

Common GasStation mistakes

Mistakes that pass validation but silently fail to earn rich results or mislead consumers walking the graph. Avoid these and your markup will be ahead of most sites in the wild.

  1. 01

    GasStation for an EV-only charging site

    Wrong
    GasStation for a standalone EV supercharger without fuel pumps
    Right
    GasStation covers both but consider bare AutomotiveBusiness or a specific Place for pure-EV sites; reality: most people still search 'gas station' for any fuel stop

    Schema.org does not have a dedicated EV charging type. GasStation is the closest fit; populate amenityFeature so consumers know the charging is the draw.

About the example data

"Xoo Fuel Dunmore", a fictional combined fuel station and convenience store.

Comments

Loading comments...

Leave a comment