Schema Examples
All JSON-LD structured data examples and schema property references on XooCode.
Code Examples
Full JSON-LD markup examples verified with Google Rich Results Test.
Markup for Person according to Schema.org is a flexible way of marking up any type of person related to your website or business. With this example you will learn how to easily and manually mark up important people related to your webpage.
Use Organization to mark up your company details on your company website. This example shows you all the details of how to do it manually.
A clear, readable and advanced example in json+ld markup for Events. Use it to understand how you can explicitly structure relevant data about upcoming or finished events on your own webpage resources.
Use the Schema.org definition of LocalBusiness to improve the listing of your local store. This in-depth example shows you exactly how to manually mark up your location.
WebPage markup should be the cornerstone of all your markup work. WebPage can and should per definition be used on all webpages without exception. Follow our simple, yet deep WebPage markup example to understand how.
Complex Properties
Properties that support nested objects and @id cross-page linking.
- address(5)
- affiliation
- aggregateRating
- alumniOf
- amenityFeature
- areaServed
- attendee
- audience
- brand(2)
- colleague
- contactPoint
- contributor(2)
- editor
- founder
- funder
- GeoShape
- hoursAvailable(2)
- image(4)
- learningResourceType
- LocalBusiness
- location
- locationCreated
- mainEntity
- mainEntityOfPage(3)
- memberOf
- offers
- organizer
- owns
- parent
- performerIn(2)
- PostalAddress(3)
- publisher
- review
- sibling
- sponsor
- spouse
- subEvent
- workFeatured
- worksFor(2)
Simple Properties
Single-value string properties used across schema types.
- about
- additionalName
- addressCountry
- addressLocality
- alternateName(3)
- alternativeHeadline
- alumni
- author
- award(2)
- birthDate
- branchCode
- copyrightHolder
- copyrightYear
- currenciesAccepted
- dateCreated
- dateModified
- datePublished
- deathPlace
- description(5)
- discussionUrl
- duns
- educationalUse
- endDate
- expires
- familyName
- foundingDate
- gender
- givenName
- hasMap
- honorificPrefix
- honorificSuffix
- keywords
- knows
- lastReviewed
- legalName
- leiCode
- license
- LocationFeatureSpecification
- logo(2)
- naics
- name(5)
- nationality
- numberOfEmployees
- openingHours
- paymentAccepted
- person(2)
- photo
- postalCode
- potentialAction(3)
- priceCurrency
- priceRange
- primaryImageOfPage
- productSupported
- ratingValue
- reviewCount
- reviewedBy
- reviewRating
- sameAs(5)
- seeks(2)
- significantLink
- smokingAllowed
- specialty
- startDate
- streetAddress
- subjectOf(2)
- taxID
- telephone
- text
- translator
- url(5)
- vatID
- version