Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Note: You are viewing the development version of Schema.org. See how we work for more details.

Restaurant

A Schema.org Type
A restaurant.
PropertyExpected TypeDescription
Properties from FoodEstablishment
acceptsReservations Boolean  or
Text  or
URL
Indicates whether a FoodEstablishment accepts reservations. Values can be Boolean, an URL at which reservations can be made or (for backwards compatibility) the strings Yes or No.
hasMenu Menu  or
Text  or
URL
Either the actual menu as a structured representation, as text, or a URL of the menu. Supersedes menu.
servesCuisine Text The cuisine of the restaurant.
starRating Rating An official rating for a lodging business or food establishment, e.g. from national associations or standards bodies. Use the author property to indicate the rating organization, e.g. as an Organization with name such as (e.g. HOTREC, DEHOGA, WHR, or Hotelstars).
Properties from LocalBusiness
currenciesAccepted Text The currency accepted.

Use standard formats: ISO 4217 currency format, e.g. "USD"; Ticker symbol for cryptocurrencies, e.g. "BTC"; well known names for Local Exchange Trading Systems (LETS) and other currency types, e.g. "Ithaca HOUR".
openingHours Text The general opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas ',' separating each day. Day or time ranges are specified using a hyphen '-'.

  • Days are specified using the following two-letter combinations: Mo, Tu, We, Th, Fr, Sa, Su.
  • Times are specified using 24:00 format. For example, 3pm is specified as 15:00, 10am as 10:00.
  • Here is an example: <time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time>.
  • If a business is open 7 days a week, then it can be specified as <time itemprop="openingHours" datetime="Mo-Su">Monday through Sunday, all day</time>.
paymentAccepted Text Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.
priceRange Text The price range of the business, for example $$$.
Properties from Organization
acceptedPaymentMethod LoanOrCredit  or
PaymentMethod  or
Text
The payment method(s) that are accepted in general by an organization, or for some specific demand or offer.
actionableFeedbackPolicy CreativeWork  or
URL
For a NewsMediaOrganization or other news-related Organization, a statement about public engagement activities (for news media, the newsroom’s), including involving the public - digitally or otherwise -- in coverage decisions, reporting and activities after publication.
address PostalAddress  or
Text
Physical address of the item.
agentInteractionStatistic InteractionCounter The number of completed interactions for this entity, in a particular role (the 'agent'), in a particular action (indicated in the statistic), and in a particular context (i.e. interactionService).
aggregateRating AggregateRating The overall rating, based on a collection of reviews or ratings, of the item.
alumni Person Alumni of an organization.
Inverse property: alumniOf
areaServed AdministrativeArea  or
GeoShape  or
Place  or
Text
The geographic area where a service or offered item is provided. Supersedes serviceArea.
award Text An award won by or for this item. Supersedes awards.
brand Brand  or
Organization
The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.
contactPoint ContactPoint A contact point for a person or organization. Supersedes contactPoints.
correctionsPolicy CreativeWork  or
URL
For an Organization (e.g. NewsMediaOrganization), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.
department Organization A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours). For example: a store with a pharmacy, or a bakery with a cafe.
dissolutionDate Date The date that this organization was dissolved.
diversityPolicy CreativeWork  or
URL
Statement on diversity policy by an Organization e.g. a NewsMediaOrganization. For a NewsMediaOrganization, a statement describing the newsroom’s diversity policy on both staffing and sources, typically providing staffing data.
diversityStaffingReport Article  or
URL
For an Organization (often but not necessarily a NewsMediaOrganization), a report on staffing diversity issues. In a news context this might be for example ASNE or RTDNA (US) reports, or self-reported.
duns Text The Dun & Bradstreet DUNS number for identifying an organization or business person.
email Text Email address.
employee Person Someone working for this organization. Supersedes employees.
ethicsPolicy CreativeWork  or
URL
Statement about ethics policy, e.g. of a NewsMediaOrganization regarding journalistic and publishing practices, or of a Restaurant, a page describing food source policies. In the case of a NewsMediaOrganization, an ethicsPolicy is typically a statement describing the personal, organizational, and corporate standards of behavior expected by the organization.
event Event Upcoming or past event associated with this place, organization, or action. Supersedes events.
faxNumber Text The fax number.
founder Organization  or
Person
A person or organization who founded this organization. Supersedes founders.
foundingDate Date The date that this organization was founded.
foundingLocation Place The place where the Organization was founded.
funder Organization  or
Person
A person or organization that supports (sponsors) something through some kind of financial contribution.
funding Grant A Grant that directly or indirectly provide funding or sponsorship for this item. See also ownershipFundingInfo.
Inverse property: fundedItem
globalLocationNumber Text The Global Location Number (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.
hasCertification Certification Certification information about a product, organization, service, place, or person.
hasCredential EducationalOccupationalCredential A credential awarded to the Person or Organization.
hasGS1DigitalLink URL The GS1 digital link associated with the object. This URL should conform to the particular requirements of digital links. The link should only contain the Application Identifiers (AIs) that are relevant for the entity being annotated, for instance a Product or an Organization, and for the correct granularity. In particular, for products:
  • A Digital Link that contains a serial number (AI 21) should only be present on instances of IndividualProduct
  • A Digital Link that contains a lot number (AI 10) should be annotated as SomeProduct if only products from that lot are sold, or IndividualProduct if there is only a specific product.
  • A Digital Link that contains a global model number (AI 8013) should be attached to a Product or a ProductModel.
Other item types should be adapted similarly.
hasMemberProgram MemberProgram MemberProgram offered by an Organization, for example an eCommerce merchant or an airline.
hasMerchantReturnPolicy MerchantReturnPolicy Specifies a MerchantReturnPolicy that may be applicable. Supersedes hasProductReturnPolicy.
hasOfferCatalog OfferCatalog Indicates an OfferCatalog listing for this Organization, Person, or Service.
hasPOS Place Points-of-Sales operated by the organization or person.
interactionStatistic InteractionCounter The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used. Supersedes interactionCount.
isicV4 Text The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.
iso6523Code Text An organization identifier as defined in ISO 6523(-1). The identifier should be in the XXXX:YYYYYY:ZZZ or XXXX:YYYYYYformat. Where XXXX is a 4 digit ICD (International Code Designator), YYYYYY is an OID (Organization Identifier) with all formatting characters (dots, dashes, spaces) removed with a maximal length of 35 characters, and ZZZ is an optional OPI (Organization Part Identifier) with a maximum length of 35 characters. The various components (ICD, OID, OPI) are joined with a colon character (ASCII 0x3a). Note that many existing organization identifiers defined as attributes like leiCode (0199), duns (0060) or GLN (0088) can be expressed using ISO-6523. If possible, ISO-6523 codes should be preferred to populating vatID or taxID, as ISO identifiers are less ambiguous.
keywords DefinedTerm  or
Text  or
URL
Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.
knowsAbout Text  or
Thing  or
URL
Of a Person, and less typically of an Organization, to indicate a topic that is known about - suggesting possible expertise but not implying it. We do not distinguish skill levels here, or relate this to educational content, events, objectives or JobPosting descriptions.
knowsLanguage Language  or
Text
Of a Person, and less typically of an Organization, to indicate a known language. We do not distinguish skill levels or reading/writing/speaking/signing here. Use language codes from the IETF BCP 47 standard.
legalName Text The official name of the organization, e.g. the registered company name.
leiCode Text An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.
location Place  or
PostalAddress  or
Text  or
VirtualLocation
The location of, for example, where an event is happening, where an organization is located, or where an action takes place.
logo ImageObject  or
URL
An associated logo.
makesOffer Offer A pointer to products or services offered by the organization or person.
Inverse property: offeredBy
member Organization  or
Person
A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals. Supersedes musicGroupMember, members.
Inverse property: memberOf
memberOf MemberProgramTier  or
Organization  or
ProgramMembership
An Organization (or ProgramMembership) to which this Person or Organization belongs.
Inverse property: member
naics Text The North American Industry Classification System (NAICS) code for a particular organization or business person.
nonprofitStatus NonprofitType nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.
numberOfEmployees QuantitativeValue The number of employees in an organization, e.g. business.
ownershipFundingInfo AboutPage  or
CreativeWork  or
Text  or
URL
For an Organization (often but not necessarily a NewsMediaOrganization), a description of organizational ownership structure; funding and grants. In a news/media setting, this is with particular reference to editorial independence. Note that the funder is also available and can be used to make basic funder information machine-readable.
owns OwnershipInfo  or
Product
Products owned by the organization or person.
parentOrganization Organization The larger organization that this organization is a subOrganization of, if any. Supersedes branchOf.
Inverse property: subOrganization
publishingPrinciples CreativeWork  or
URL
The publishingPrinciples property indicates (typically via URL) a document describing the editorial principles of an Organization (or individual, e.g. a Person writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a CreativeWork (e.g. NewsArticle) the principles are those of the party primarily responsible for the creation of the CreativeWork.

While such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a funder) can be expressed using schema.org terminology.
review Review A review of the item. Supersedes reviews.
seeks Demand A pointer to products or services sought by the organization or person (demand).
skills DefinedTerm  or
Text
A statement of knowledge, skill, ability, task or any other assertion expressing a competency that is either claimed by a person, an organization or desired or required to fulfill a role or to work in an occupation.
slogan Text A slogan or motto associated with the item.
sponsor Organization  or
Person
A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.
subOrganization Organization A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific 'department' property.
Inverse property: parentOrganization
taxID Text The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.
telephone Text The telephone number.
unnamedSourcesPolicy CreativeWork  or
URL
For an Organization (typically a NewsMediaOrganization), a statement about policy on use of unnamed sources and the decision process required.
vatID Text The Value-added Tax ID of the organization or person.
Properties from Place
additionalProperty PropertyValue A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.

Note: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism.
address PostalAddress  or
Text
Physical address of the item.
aggregateRating AggregateRating The overall rating, based on a collection of reviews or ratings, of the item.
amenityFeature LocationFeatureSpecification An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.
branchCode Text A short textual code (also called "store code") that uniquely identifies a place of business. The code is typically assigned by the parentOrganization and used in structured URLs.

For example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" is a branchCode for a particular branch.
containedInPlace Place The basic containment relation between a place and one that contains it. Supersedes containedIn.
Inverse property: containsPlace
containsPlace Place The basic containment relation between a place and another that it contains.
Inverse property: containedInPlace
event Event Upcoming or past event associated with this place, organization, or action. Supersedes events.
faxNumber Text The fax number.
geo GeoCoordinates  or
GeoShape
The geo coordinates of the place.
geoContains GeospatialGeometry  or
Place
Represents a relationship between two geometries (or the places they represent), relating a containing geometry to a contained geometry. "a contains b iff no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a". As defined in DE-9IM.
geoCoveredBy GeospatialGeometry  or
Place
Represents a relationship between two geometries (or the places they represent), relating a geometry to another that covers it. As defined in DE-9IM.
geoCovers GeospatialGeometry  or
Place
Represents a relationship between two geometries (or the places they represent), relating a covering geometry to a covered geometry. "Every point of b is a point of (the interior or boundary of) a". As defined in DE-9IM.
geoCrosses GeospatialGeometry  or
Place
Represents a relationship between two geometries (or the places they represent), relating a geometry to another that crosses it: "a crosses b: they have some but not all interior points in common, and the dimension of the intersection is less than that of at least one of them". As defined in DE-9IM.
geoDisjoint GeospatialGeometry  or
Place
Represents spatial relations in which two geometries (or the places they represent) are topologically disjoint: "they have no point in common. They form a set of disconnected geometries." (A symmetric relationship, as defined in DE-9IM.)
geoEquals GeospatialGeometry  or
Place
Represents spatial relations in which two geometries (or the places they represent) are topologically equal, as defined in DE-9IM. "Two geometries are topologically equal if their interiors intersect and no part of the interior or boundary of one geometry intersects the exterior of the other" (a symmetric relationship).
geoIntersects GeospatialGeometry  or
Place
Represents spatial relations in which two geometries (or the places they represent) have at least one point in common. As defined in DE-9IM.
geoOverlaps GeospatialGeometry  or
Place
Represents a relationship between two geometries (or the places they represent), relating a geometry to another that geospatially overlaps it, i.e. they have some but not all points in common. As defined in DE-9IM.
geoTouches GeospatialGeometry  or
Place
Represents spatial relations in which two geometries (or the places they represent) touch: "they have at least one boundary point in common, but no interior points." (A symmetric relationship, as defined in DE-9IM.)
geoWithin GeospatialGeometry  or
Place
Represents a relationship between two geometries (or the places they represent), relating a geometry to one that contains it, i.e. it is inside (i.e. within) its interior. As defined in DE-9IM.
globalLocationNumber Text The Global Location Number (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.
hasCertification Certification Certification information about a product, organization, service, place, or person.
hasDriveThroughService Boolean Indicates whether some facility (e.g. FoodEstablishment, CovidTestingFacility) offers a service that can be used by driving through in a car. In the case of CovidTestingFacility such facilities could potentially help with social distancing from other potentially-infected users.
hasGS1DigitalLink URL The GS1 digital link associated with the object. This URL should conform to the particular requirements of digital links. The link should only contain the Application Identifiers (AIs) that are relevant for the entity being annotated, for instance a Product or an Organization, and for the correct granularity. In particular, for products:
  • A Digital Link that contains a serial number (AI 21) should only be present on instances of IndividualProduct
  • A Digital Link that contains a lot number (AI 10) should be annotated as SomeProduct if only products from that lot are sold, or IndividualProduct if there is only a specific product.
  • A Digital Link that contains a global model number (AI 8013) should be attached to a Product or a ProductModel.
Other item types should be adapted similarly.
hasMap Map  or
URL
A URL to a map of the place. Supersedes maps, map.
isAccessibleForFree Boolean A flag to signal that the item, event, or place is accessible for free. Supersedes free.
isicV4 Text The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.
keywords DefinedTerm  or
Text  or
URL
Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.
latitude Number  or
Text
The latitude of a location. For example 37.42242 (WGS 84).
logo ImageObject  or
URL
An associated logo.
longitude Number  or
Text
The longitude of a location. For example -122.08585 (WGS 84).
maximumAttendeeCapacity Integer The total number of individuals that may attend an event or venue.
openingHoursSpecification OpeningHoursSpecification The opening hours of a certain place.
photo ImageObject  or
Photograph
A photograph of this place. Supersedes photos.
publicAccess Boolean A flag to signal that the Place is open to public visitors. If this property is omitted there is no assumed default boolean value.
review Review A review of the item. Supersedes reviews.
slogan Text A slogan or motto associated with the item.
smokingAllowed Boolean Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.
specialOpeningHoursSpecification OpeningHoursSpecification The special opening hours of a certain place.

Use this to explicitly override general opening hours brought in scope by openingHoursSpecification or openingHours.
telephone Text The telephone number.
tourBookingPage URL A page providing information on how to book a tour of some Place, such as an Accommodation or ApartmentComplex in a real estate setting, as well as other kinds of tours as appropriate.
Properties from Thing
additionalType Text  or
URL
An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide.
alternateName Text An alias for the item.
description Text  or
TextObject
A description of the item.
disambiguatingDescription Text A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.
identifier PropertyValue  or
Text  or
URL
The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.
image ImageObject  or
URL
An image of the item. This can be a URL or a fully described ImageObject.
mainEntityOfPage CreativeWork  or
URL
Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details.
Inverse property: mainEntity
name Text The name of the item.
potentialAction Action Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.
sameAs URL URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.
subjectOf CreativeWork  or
Event
A CreativeWork or Event about this Thing.
Inverse property: about
url URL URL of the item.

Examples

Example 1
Copied
Example notes or example HTML without markup.
GreatFood
4 stars - based on 250 reviews
1901 Lemur Ave
Sunnyvale, CA 94086
(408) 714-1489
<a href="http://www.greatfood.com">www.greatfood.com</a>

Hours:
Mon-Sat 11am - 2:30pm
Mon-Thur 5pm - 9:30pm
Fri-Sat 5pm - 10pm

Categories: Middle Eastern, Mediterranean
Price Range: $$
Takes Reservations: Yes
Example encoded as Microdata embedded in HTML.
<div itemscope itemtype="https://schema.org/Restaurant">
  <span itemprop="name">GreatFood</span>

  <div itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating">
    <span itemprop="ratingValue">4</span> stars -
    based on <span itemprop="reviewCount">250</span> reviews
  </div>

  <div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
    <span itemprop="streetAddress">1901 Lemur Ave</span>
    <span itemprop="addressLocality">Sunnyvale</span>,
    <span itemprop="addressRegion">CA</span> <span itemprop="postalCode">94086</span>
  </div>
  <span itemprop="telephone">(408) 714-1489</span>
  <a itemprop="url" href="http://www.greatfood.com">www.greatfood.com</a>

  Hours:
  <meta itemprop="openingHours" content="Mo-Sa 11:00-14:30">Mon-Sat 11am - 2:30pm
  <meta itemprop="openingHours" content="Mo-Th 17:00-21:30">Mon-Thu 5pm - 9:30pm
  <meta itemprop="openingHours" content="Fr-Sa 17:00-22:00">Fri-Sat 5pm - 10:00pm

  Categories:
  <span itemprop="servesCuisine">
    Middle Eastern
  </span>,
  <span itemprop="servesCuisine">
    Mediterranean
  </span>

  Price Range: <span itemprop="priceRange">$$</span>
  Takes Reservations: Yes
</div>
Example encoded as RDFa embedded in HTML.
<div vocab="https://schema.org/" typeof="Restaurant">
  <span property="name">GreatFood</span>

  <div property="aggregateRating" typeof="AggregateRating">
    <span property="ratingValue">4</span> stars -
    based on <span property="reviewCount">250</span> reviews
  </div>

  <div property="address" typeof="PostalAddress">
    <span property="streetAddress">1901 Lemur Ave</span>
    <span property="addressLocality">Sunnyvale</span>,
    <span property="addressRegion">CA</span> <span property="postalCode">94086</span>
  </div>
  <span property="telephone">(408) 714-1489</span>
  <a property="url" href="http://www.greatfood.com">www.greatfood.com</a>

  Hours:
  <meta property="openingHours" content="Mo-Sa 11:00-14:30">Mon-Sat 11am - 2:30pm
  <meta property="openingHours" content="Mo-Th 17:00-21:30">Mon-Thu 5pm - 9:30pm
  <meta property="openingHours" content="Fr-Sa 17:00-22:00">Fri-Sat 5pm - 10:00pm

  Categories:
  <span property="servesCuisine">
    Middle Eastern
  </span>,
  <span property="servesCuisine">
    Mediterranean
  </span>

  Price Range: <span property="priceRange">$$</span>
  Takes Reservations: Yes
</div>
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Restaurant",
  "address": {
    "@type": "PostalAddress",
    "addressLocality": "Sunnyvale",
    "addressRegion": "CA",
    "postalCode": "94086",
    "streetAddress": "1901 Lemur Ave"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4",
    "reviewCount": "250"
  },
  "name": "GreatFood",
  "openingHours": [
    "Mo-Sa 11:00-14:30",
    "Mo-Th 17:00-21:30",
    "Fr-Sa 17:00-22:00"
  ],
  "priceRange": "$$",
  "servesCuisine": [
    "Middle Eastern",
    "Mediterranean"
  ],
  "telephone": "(408) 714-1489",
  "url": "http://www.greatfood.com"
}
</script>
Structured representation of the JSON-LD example.
Example 2
Copied
Example notes or example HTML without markup.
A Restaurant named "Tartine Bakery" with a ViewAction as a
potentialAction, with several target endpoints including
the simple url http://example.com/player?id=123 and
full EntryPoint descriptions for Windows and iOS SoftwareApplication
apps.
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json">

{
  "@context": "https://schema.org",
  "@type": "Restaurant",
  "name": "Tartine Bakery",
  "potentialAction": {
    "@type": "ViewAction",
    "target": [
      "http://www.urbanspoon.com/r/6/92204",
      {
        "@type": "EntryPoint",
        "urlTemplate": "http://api.urbanspoon.com/r/6/92204",
        "contentType": "application/json+ld"
      },
      "android-app://com.urbanspoon/http/www.urbanspoon.com/r/6/92204",
      {
        "@type": "EntryPoint",
        "urlTemplate": "urbanspoon://r/6/92204",
        "actionApplication": {
          "@type": "SoftwareApplication",
          "@id": "284708449",
          "name": "Urbanspoon iPhone & iPad App",
          "operatingSystem": "iOS"
        }
      },
      {
        "@type": "EntryPoint",
        "urlTemplate": "urbanspoon://r/6/92204",
        "actionApplication": {
          "@type": "SoftwareApplication",
          "@id": "5b23b738-bb64-4829-9296-5bcb59bb0d2d",
          "name": "Windows Phone App",
          "operatingSystem": "Windows Phone 8"
        }
      }
    ]
  }
}
</script>
Structured representation of the JSON-LD example.
Example 3
Copied
Example notes or example HTML without markup.
<div>
  <h1>Fondue for Fun and Fantasy</h1>
  <p>Fantastic and fun for all your cheesy occasions.</p>
  <p>Open: Daily from 11:30am till 11pm</p>
  <p>Phone: 555-0100-3333</p>
  <p>View <a href="http://example.com/menu">our menu</a>.</p>
</div>
Example encoded as Microdata embedded in HTML.
<div itemscope itemtype="https://schema.org/Restaurant">
  <h1 itemprop="name">Fondue for Fun and Fantasy</h1>
  <p itemprop="description">Fantastic and fun for all your cheesy occasions.</p>
  <p>Open: <span itemprop="openingHours" content="Mo,Tu,We,Th,Fr,Sa,Su 11:30-23:00">Daily from 11:30am till 11pm</span></p>
  <p>Phone: <span itemprop="telephone" content="+155501003333">555-0100-3333</span></p>
  <p>View <a itemprop="hasMenu" href="http://example.com/menu">our menu</a>.</p>
</div>
Example encoded as RDFa embedded in HTML.
<div vocab="https://schema.org/" typeof="Restaurant">
  <h1 property="name">Fondue for Fun and Fantasy</h1>
  <p property="description">Fantastic and fun for all your cheesy occasions.</p>
  <p>Open: <span property="openingHours" content="Mo,Tu,We,Th,Fr,Sa,Su 11:30-23:00">Daily from 11:30am till 11pm</span></p>
  <p>Phone: <span property="telephone" content="+155501003333">555-0100-3333</span></p>
  <p>View <a property="hasMenu" href="http://example.com/menu">our menu</a>.</p>
</div>
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Restaurant",
  "name": "Fondue for Fun and Fantasy",
  "description": "Fantastic and fun for all your cheesy occasions",
  "openingHours": "Mo,Tu,We,Th,Fr,Sa,Su 11:30-23:00",
  "telephone": "+155501003333",
  "hasMenu": "http://example.com/menu"
}
</script>
Structured representation of the JSON-LD example.