Schema: datePublished
Schema: datePublished Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: datePublished.
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.
In-depth Article JSON-LD example wired into the Xoo universe via Jane Xoo's 1945 pediatric paper, the artifact behind the Person example's claim that she redefined modern healthcare for children. Covers author @id references, the datePublished/dateModified/dateCreated triple, the 110-character headline rule, and Google's three-aspect-ratio image requirement.
In-depth SoftwareApplication JSON-LD example wired into the Xoo universe via XooStructured, Xoo Code Inc.'s flagship cross-platform IDE for authoring JSON-LD schema markup. Shows how the same Offer and AggregateRating pattern from Product applies to intangible digital goods, plus app-specific properties for system requirements, permissions, versioning, and multi-OS support.
An in-depth JSON-LD example for Recipe markup, wired into the Xoo universe as the specific nutritional formula from Jane Xoo's 1945 clinical framework. Learn HowToStep composition, NutritionInformation, ISO 8601 durations, recipeYield as QuantitativeValue, and how a Recipe can be derived from and cross-referenced with an Article.
FAQPage JSON-LD example for the Xoo Code Shop Dunmore visitor FAQ. Covers the mainEntity composition pattern, Question and Answer nesting, when to use FAQPage vs QAPage, and the 2023 Google rich result change that redefined when FAQ markup earns a SERP card.
Review JSON-LD example for a standalone product review with author, rating, review body, date published, and item reviewed. The individual review structure used inside Product, LocalBusiness, Recipe, Book, and Movie.
NewsArticle JSON-LD example for a local business opening reported by the fictional Dunmore Herald. Covers dateline, NewsMediaOrganization as publisher with ethicsPolicy and masthead, speakable for Google Assistant news briefings, the print-edition trio, and @id cross-references to the Xoo Code Shop LocalBusiness.
BlogPosting JSON-LD example for a company blog post about the XooTee t-shirt launch. Covers the Blog container via isPartOf, comment and commentCount for reader discussion, interactionStatistic for engagement metrics, detailed author identity with worksFor cross-reference, and how BlogPosting differs from Article and NewsArticle.
TechArticle JSON-LD example for a developer tutorial on the XooStructured IDE. Covers proficiencyLevel, dependencies, timeRequired in ISO 8601, the CreativeWorkSeries container for documentation sets, and how TechArticle compares to HowTo for instructional content.
Book JSON-LD example for Jane Xoo's 1948 pediatric textbook, the expanded version of her 1945 paper. Covers ISBN, numberOfPages, bookEdition, bookFormat, workExample for editions, inLanguage, the Offers pattern for book pricing, and publisher as Organization with @id cross-references to the Person and Article examples.
Movie JSON-LD example for a documentary about Jane Xoo's pediatric work. Covers director, actor, duration in ISO 8601, contentRating, releasedEvent for premiere details, aggregateRating, review with nested Rating, and the WatchAction pattern for streaming links that Google uses to build the movie knowledge panel.
Dataset JSON-LD example for Jane Xoo's 1945-1955 pediatric outcome data. Covers distribution with DataDownload for file formats, temporalCoverage and spatialCoverage, variableMeasured, license, measurementTechnique, and how Dataset markup feeds Google Dataset Search.
ClaimReview JSON-LD example for a fact-check of the claim that Jane Xoo's pediatric framework reduced infant mortality by 60%. Covers claimReviewed, reviewRating with the textual verdict scale, itemReviewed as a Claim with firstAppearance, and how Google uses ClaimReview for the fact-check rich result and label in search results.
MusicRecording JSON-LD example for a film score track from The Children's Doctor documentary. Covers byArtist, recordingOf with MusicComposition and ISWC code, ISRC code, inAlbum cross-reference, duration in ISO 8601, and ListenAction for streaming links.
MusicAlbum JSON-LD example for The Children's Doctor film score. Covers track listing with MusicRecording references, numTracks, albumProductionType and albumReleaseType enums, byArtist as a shared credit, and how MusicAlbum connects to MusicRecording via the track property.
Photograph JSON-LD example for a portrait of Jane Xoo from 1945. Covers contentUrl, thumbnail, exifData with PropertyValue pairs, copyrightHolder, acquireLicensePage for licensing, locationCreated with Place, and how Photograph differs from ImageObject for standalone photo pages.
DigitalDocument JSON-LD example for a downloadable PDF whitepaper on structured data ROI. Covers hasDigitalDocumentPermission for access control, encoding with MediaObject for file metadata, pagination, and how DigitalDocument differs from Article for non-HTML published content.
PodcastEpisode JSON-LD example for the Xoo Code podcast discussing structured data with a guest. Covers partOfSeries with PodcastSeries, associatedMedia with AudioObject for the episode file, episodeNumber, seasonNumber, timeRequired, and how podcast markup feeds Google Podcasts and AI-powered podcast discovery.
Credential JSON-LD example for a schema.org certification. Covers credentialCategory, recognizedBy, validFor, and validIn (the 4 properties unique to Credential), plus the EducationalOccupationalCredential subtype.
SoftwareSourceCode JSON-LD example for the XooStructured IDE open-source validator. Covers codeRepository, programmingLanguage, codeSampleType, runtimePlatform, and targetProduct (the 5 properties unique to SoftwareSourceCode).
LiveBlogPosting JSON-LD example for live XooCon coverage. Covers coverageStartTime, coverageEndTime, and liveBlogUpdate (the 3 properties unique to LiveBlogPosting), plus Google's live blog rich result.
AudioObject JSON-LD example for the Xoo Code podcast episode audio file. Covers caption, transcript, and embeddedTextCaption (the 3 properties unique to AudioObject), plus contentUrl, encodingFormat, and duration.
DiscussionForumPosting JSON-LD example for a community forum thread. DiscussionForumPosting adds no properties of its own; used for forum posts, Reddit-style threads, and community Q&A.
ScholarlyArticle JSON-LD example for Jane Xoo's 1945 paper. ScholarlyArticle adds no properties of its own; used for peer-reviewed academic papers, journal articles, and research publications.
CreativeWork JSON-LD example for a whitepaper publication. CreativeWork is the parent of Article, Book, Movie, SoftwareApplication, and 100+ other types. Covers the most important of its 121 direct properties: author, datePublished, publisher, license, citation, and isPartOf.
Comment JSON-LD example for a blog post reply. Covers downvoteCount, upvoteCount, parentItem, and sharedContent (the 4 properties unique to Comment), plus how to structure comment threads with nested replies.
Report JSON-LD example for a Xoo Code transparency report. Report adds one property (reportNumber) on top of Article. Used for official reports, annual reports, transparency reports, government reports, and research reports.
Thesis JSON-LD example for a doctoral dissertation. Thesis adds one property (inSupportOf) on top of CreativeWork. Used for theses, dissertations, and academic qualification documents. Lives in the bib schema.org extension.
Legislation JSON-LD example for a Pennsylvania structured data tax credit act. Covers the most important of Legislation's 20 properties: legislationDate, legislationIdentifier, legislationLegalForce (with LegalForceStatus enum), jurisdiction, legislationPassedBy. Note: Legislation is in the pending schema.org area.
Map JSON-LD example for a museum venue map. Covers the mapType property with the full MapCategoryType enumeration (ParkingMap, SeatingMap, TransitMap, VenueMap) and how Map relates to downloadable site plans, seating charts, and transit diagrams.
SocialMediaPosting JSON-LD example for a microblog post with a shared image. SocialMediaPosting is an Article subtype that adds one property, sharedContent, for the embedded asset being shared or quoted. It is the parent of BlogPosting and DiscussionForumPosting.
AdvertiserContentArticle JSON-LD example for sponsored editorial content. Google's spam policy requires paid editorial to be clearly marked; AdvertiserContentArticle is the machine-readable half of that disclosure.
SatiricalArticle JSON-LD stub for satire and parody articles. Direct Article subtype with no unique properties.
ReportageNewsArticle JSON-LD stub for journalistic news reports based on direct observation and verification. Pending NewsArticle subtype with no unique properties.
OpinionNewsArticle JSON-LD stub for opinion columns, editorials, and op-eds. Pending NewsArticle subtype with no unique properties.
AnalysisNewsArticle JSON-LD stub for explainers, deep-dives, and analysis of news events. Pending NewsArticle subtype with no unique properties.
ReviewNewsArticle JSON-LD stub for news reviews (restaurant reviews, film reviews, product reviews as news pieces). Pending NewsArticle subtype; for a standalone Review without the news wrapper, use the Review type directly.
BackgroundNewsArticle JSON-LD stub for background explainers that provide context for unfolding news events. Pending NewsArticle subtype with no unique properties.
AskPublicNewsArticle JSON-LD stub for public-Q-and-A news pieces, reader-question columns, and civic dialogue formats. Pending NewsArticle subtype with no unique properties.
Periodical JSON-LD example for a regularly published serial (a journal, magazine, or trade publication) with ISSN. Periodical is a CreativeWorkSeries subtype adding issn, startDate, and endDate properties.
PublicationVolume JSON-LD example for a single volume (annual run) of a Periodical. Adds volumeNumber, pageStart, pageEnd, and pagination properties.
PublicationIssue JSON-LD example for a single issue of a Periodical. Adds issueNumber, pageStart, pageEnd, and pagination properties.
Quotation JSON-LD example for a cited quote attributed to a person, character, or organization. Quotation is a pending CreativeWork subtype adding spokenByCharacter.
Claim JSON-LD example for a factual claim being fact-checked. Claim is a CreativeWork subtype adding appearance, firstAppearance, and claimInterpreter. It is the canonical itemReviewed target inside a ClaimReview.
ComicIssue JSON-LD stub for a single issue of a comic series. PublicationIssue subtype adding artist, colorist, inker, letterer, and penciler properties (inherited from ComicStory via shared comic vocabulary).
ComicStory JSON-LD example for a single interior story or cover within a comic. CreativeWork subtype adding the comics creative-team properties: artist, colorist, inker, letterer, penciler.
Atlas JSON-LD stub for a bound collection of maps. CreativeWork subtype with no unique properties. Included Maps attach via hasPart.
MusicPlaylist JSON-LD example for a curated list of MusicRecording tracks. CreativeWork subtype adding numTracks and track. Parent of MusicAlbum and MusicRelease.
Game JSON-LD example for the parent type behind VideoGame. CreativeWork subtype adding 5 game properties: characterAttribute, gameItem, gameLocation, numberOfPlayers, quest. Covers board games, RPGs, TTRPGs, and electronic games generically.
VideoGame JSON-LD example for an electronic game. Inherits from both Game and SoftwareApplication, adding 10 properties: actor, cheatCode, director, gameEdition, gamePlatform, gameServer, gameTip, musicBy, playMode, trailer. Covers GamePlayMode enum (CoOp, MultiPlayer, SinglePlayer).
Episode JSON-LD example for the parent of PodcastEpisode, RadioEpisode, and TVEpisode. Adds episodeNumber, partOfSeason, partOfSeries, actor, director, musicBy, productionCompany, trailer, and duration.
TVEpisode JSON-LD example for a single episode of a TV show. Episode subtype adding countryOfOrigin, titleEIDR, subtitleLanguage, and partOfSeason.
MovieSeries JSON-LD example for a film franchise. CreativeWorkSeries subtype adding actor, director, musicBy, productionCompany, trailer.
RadioEpisode JSON-LD stub for a single episode of a radio show. Direct Episode subtype with no unique properties.
Guide JSON-LD example for a buying guide, product recommendation guide, or ranked list. Pending CreativeWork subtype adding category and reviewAspect.
AmpStory JSON-LD stub for an AMP Story (visual, full-screen, tap-through content format). Dual-inherits from CreativeWork and MediaObject. Note: Google has deprecated Web Stories / AMP Stories in Search as of 2024.
WebContent JSON-LD stub for generic web-addressable content when the finer WebPage / WebSite / WebPageElement distinctions do not apply. Pending CreativeWork subtype with no unique properties.
MusicRelease JSON-LD example for a specific release of an album or EP (a vinyl pressing, a digital release, a CD). MusicPlaylist subtype adding catalogNumber, creditedTo, duration, musicReleaseFormat (MusicReleaseFormatType enum), recordLabel, releaseOf.
CriticReview JSON-LD stub for professional critic reviews. Direct Review subtype with no unique properties. Signals professional vs amateur reviewer.
UserReview JSON-LD stub for end-user reviews (consumers, purchasers, attendees). Direct Review subtype with no unique properties. Contrasts with CriticReview for professional reviews.
EmployerReview JSON-LD example for reviews of an Organization in its role as an employer (Glassdoor-style reviews). Pending Review subtype with no unique properties.
Blog JSON-LD example for the parent container of BlogPosting entries. CreativeWork subtype with blogPost and issn.
PresentationDigitalDocument JSON-LD example for a slide deck (Keynote, PowerPoint, Google Slides). Direct DigitalDocument subtype with no unique properties.
APIReference JSON-LD example for API documentation pages. TechArticle subtype carrying assembly, assemblyVersion, targetPlatform, programmingModel, executableLibraryName for language / framework / version scoping.
MedicalScholarlyArticle JSON-LD reference — ScholarlyArticle subtype carrying publicationType. For peer-reviewed medical literature.