Skip to content
  • There are no suggestions because the search field is empty.

How to implement Schema.org with Quinta?

Schema.org activation is handled by QUINTA. This guide covers the webmaster steps only: adding the data-schemas attribute to the script tag, verifying injection, and validating.

What is Schema.org and why it matters

Schema.org is a structured data standard supported by Google, Bing, and AI engines (ChatGPT, Gemini, Perplexity). Its implementation improves hotel visibility in both organic search results and generative AI search (AEO:  Answer Engine Optimization).

Q-Share handles the full injection pipeline automatically. Once the data-schemas attribute is configured, the script fetches the structured data from Q-Data, formats it as JSON-LD, and injects it directly into the page DOM  no manual authoring required.

 

01 — How automatic injection works

The Q-Share script performs three operations in the background on each page load:

  1. Calls the Q-Share API using the configured license key and language
  2. Fetches the structured data matching the Schema.org types defined in data-schemas
  3. Injects a <script type="application/ld+json"> tag into the page DOM automatically

The resulting output injected into the page looks like this:

<!-- Automatically injected by the Q-Share script --> <script type="application/ld+json"> {   "@context": "https://schema.org",   "@type": "Hotel",   "name": "Hotel Name",   ... } </script>

To verify injection is working, open the raw page source (Ctrl+U) and search for application/ld+json.

 

02 — Add the data-schemas attribute

The data-schemas attribute controls which Schema.org types are injected on each page. Add it directly to the Q-Share script tag already installed on the page.

Three selection modes are available.

 

Mode 1 — Single schema

Inject one Schema.org type. Recommended for pages with a single content focus.

<script   src="https://q-share.quicktext.im/script.min.js"   data-license="XXXXX-XXXX"   data-lang="en"   data-schemas="Hotel" ></script>

Page mapping examples:

Page data-schemas value
Homepage "Hotel"
Rooms page "HotelRoom"
Restaurant page "Restaurant"
Gallery page "ImageObject"
Events page "Event"
Offers page "OfferCatalog"

Mode 2 — Multiple schemas

Inject multiple Schema.org types on the same page. Recommended for high-value pages combining several content types. Values are comma-separated.

 
 
<script   src="https://q-share.quicktext.im/script.min.js"   data-license="XXXXX-XXXX"   data-lang="en"   data-schemas="Hotel,FAQPage,OfferCatalog" ></script>

Page mapping examples:

Page data-schemas value
Homepage "Hotel,OfferCatalog"
FAQ page "FAQPage,Hotel"
Offers page "OfferCatalog,Offer"
Full homepage "Hotel,FAQPage,OfferCatalog"

Mode 3 — Schema with specific child properties

Inject a Schema.org type while exposing only selected child properties. Useful for reducing the JSON-LD payload on pages where only a subset of the hotel data is relevant, or for targeting specific rich snippet formats.

 
 
<script   data-schemas="Hotel[Address,Geo,Amenities],Breadcrumb" ></script>

Syntax: the parent type is followed by its child properties in square brackets, comma-separated. Multiple types can be combined in the same attribute value.

 

Syntax reference

Mode Syntax Use case
Single schema "Hotel" Homogeneous content page
Multiple schemas "FAQPage,OfferCatalog" Page combining multiple content types
Granular selection "Hotel[Address,Geo]" Granular property-level control
Mixed combination "Hotel[Geo,Amenities],Breadcrumb" Mix of simple and filtered schema types

 

03 — Available Schema.org types

Schema.org type Recommended page Description
Hotel Homepage General hotel establishment data
HotelRoom Rooms page Room descriptions and amenities
OfferCatalog Homepage / Offers Structured catalog of offers and services
Offer Offers / Rates page Rate offer with pricing and booking terms
FAQPage FAQ page Q&A pairs optimized for rich snippet eligibility
ImageObject Gallery page Indexable images with structured metadata
Restaurant Restaurant page Hotel restaurant structured data
Event Events page Conferences, seminars, weddings
Breadcrumb All pages Breadcrumb trail for Google SERP navigation

 

04 — Validation

Once the script is deployed with data-schemas configured, validate using the following tools. Allow 2–5 minutes after first deployment before testing.

Tool URL Purpose
Rich Results Test search.google.com/test/rich-results Google rich snippets eligibility check
Schema Markup Validator validator.schema.org Schema.org syntax compliance
Google Search Console search.google.com/search-console Indexing monitoring and error tracking