Skip to content

Schema markup for glamping & campsites

Glamping and campsite schema markup, unit by unit

Use the Campground type and list each kind of unit (shepherd's hut, yurt, bell tent) in containsPlace with how many it sleeps and what it has. Give your season as opening hours with start and end dates, and add the facilities everyone shares, pet rules and check-in times.

The type to use

Campground

Campground is both a LodgingBusiness and a CivicStructure, and it covers glamping as well as tent pitches. Use it rather than VacationRental unless a single hut is let on its own, with no site around it.

Campground on schema.org

What to include

The properties that matter for glamping & campsites

Most important first. Fill in what's true for you and leave out the rest; every value must also be on the page.

containsPlace
Each unit type as an Accommodation with its occupancy, beds and its own amenities. The hut with the wood-fired tub shouldn't share a description with the yurts.
openingHoursSpecification
Your season, given as office hours with validFrom and validThrough dates (1 March to 31 October), so “are they open in October?” has an answer.
amenityFeature
Facilities every guest shares: hot showers, a washing-up shelter, fire pits, EV charging. Extras that come with one unit go on that unit.
petsAllowed
Dogs are often welcome in some huts and not in the yurts. A short note says which.
geo
Coordinates for your gate or car park. Rural postcodes and sat-navs send people up the wrong farm track; a precise point doesn't.
checkinTime
Arrival from, usually mid-afternoon so units can be cleaned and aired between guests.
checkoutTime
When units must be empty. If changeover days are earlier, name them on the page.

Example

Copy, then make it yours

This is the markup for a made-up business. Replace every value with your own before you use it.

  1. Change every name, address, number and link to your own, and delete lines that don't apply.
  2. Paste it into your site's header code (website builders call it “code injection” or “custom code”), or let HotelCited add it for you.
  3. Check it with Google's Rich Results Test or the Schema Markup Validator.

Campground JSON-LD

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Campground",
  "name": "Curlew Moor Glamping",
  "url": "https://www.example.com/",
  "image": [
    "https://www.example.com/images/huts-at-dusk.jpg",
    "https://www.example.com/images/yurt-inside.jpg"
  ],
  "telephone": "+44 1632 960582",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "High Shaw Farm",
    "addressLocality": "Bellingham",
    "addressRegion": "Northumberland",
    "postalCode": "NE48 2LP",
    "addressCountry": "GB"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 55.15872,
    "longitude": -2.27311
  },
  "checkinTime": "15:00:00",
  "checkoutTime": "10:00:00",
  "petsAllowed": "Dogs welcome in the two shepherd's huts; not in the yurts",
  "openingHoursSpecification": {
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": [
      "Monday",
      "Tuesday",
      "Wednesday",
      "Thursday",
      "Friday",
      "Saturday",
      "Sunday"
    ],
    "opens": "08:00",
    "closes": "20:00",
    "validFrom": "2027-03-01",
    "validThrough": "2027-10-31"
  },
  "amenityFeature": [
    {
      "@type": "LocationFeatureSpecification",
      "name": "Hot showers",
      "value": true
    },
    {
      "@type": "LocationFeatureSpecification",
      "name": "Fire pits",
      "value": true
    },
    {
      "@type": "LocationFeatureSpecification",
      "name": "EV charging",
      "value": true
    },
    {
      "@type": "LocationFeatureSpecification",
      "name": "Dark-sky site",
      "value": true
    }
  ],
  "containsPlace": [
    {
      "@type": "Accommodation",
      "name": "Shepherd's hut with wood-fired hot tub",
      "occupancy": {
        "@type": "QuantitativeValue",
        "value": 2
      },
      "bed": {
        "@type": "BedDetails",
        "numberOfBeds": 1,
        "typeOfBed": "Double"
      },
      "amenityFeature": [
        {
          "@type": "LocationFeatureSpecification",
          "name": "Wood-fired hot tub",
          "value": true
        },
        {
          "@type": "LocationFeatureSpecification",
          "name": "Log burner",
          "value": true
        }
      ]
    },
    {
      "@type": "Accommodation",
      "name": "Yurt",
      "occupancy": {
        "@type": "QuantitativeValue",
        "value": 4
      },
      "bed": [
        {
          "@type": "BedDetails",
          "numberOfBeds": 1,
          "typeOfBed": "Double"
        },
        {
          "@type": "BedDetails",
          "numberOfBeds": 2,
          "typeOfBed": "Single"
        }
      ],
      "amenityFeature": [
        {
          "@type": "LocationFeatureSpecification",
          "name": "Wood-burning stove",
          "value": true
        },
        {
          "@type": "LocationFeatureSpecification",
          "name": "Private bathroom",
          "value": false
        }
      ]
    }
  ]
}
</script>

Watch out

Mistakes glamping & campsites make with markup

  • VacationRental for a whole field of units

    VacationRental describes one home let to one party. A site with eight huts and a shower block is a Campground with eight units in it.

  • Last year's season still in the code

    A validThrough date in the past tells anyone reading the code that your season has ended. Roll the dates forward when you open bookings for next year.

  • The hot tub listed for the whole site

    Put the hot tub on the one hut that has it. As a site-wide amenity it tells assistants every unit comes with one, and the yurt guests arrive expecting it.

Also worth adding

  • CampingPitch: For tent and campervan pitches: the Accommodation type schema.org made for them, with each pitch type's size and hook-up described the same way as the huts.
  • Event: For dated happenings such as a stargazing night or a summer music weekend, on the page that sells tickets.

FAQ

Glamping & campsites: markup questions

Type to search these questions, or ask anything about getting found on Google and AI.

Two of our huts stay open in winter. How do we show that?

Add a second set of office hours with the winter dates, then give those two huts' containsPlace entries their own openingHoursSpecification for the whole year. Say the same on their pages (“open all year”), so the code and the words agree.

Do huts, yurts and pitches count toward numberOfRooms?

It's an awkward fit for a campsite, so leave it out. Let containsPlace list your unit types, and put a total (“6 huts and 20 pitches”) in your description if you want one.

Each hut has its own page. Does each need its own block?

The site's Campground block belongs on the home page. A hut's page can carry an Accommodation block with the same details as its containsPlace entry, but it's optional; clear text on the page matters more.

Someone is asking AI where to stay tonight.

Check your site free, then press Optimize. Back to your guests.