Article Schema Framework

Use conditional-logic schema generation to keep Article markup aligned with real page state and avoid stale or invalid static templates.

When To Use It

Google Search CentralArticle documentation

Use for news, blog, and sports article pages where the visible content is a complete article with a clear byline, visible headline, primary image, and publication timestamps. The markup helps Google show better title text, images, and date information for the article.

Key Implementation Documentation Highlights

  • Google lists no required properties for Article. Add the properties that apply to your content.
  • Recommended properties: author (with author.name and author.url), datePublished, dateModified, headline, and image.
  • Supported types: Article, NewsArticle, and BlogPosting.
  • author: include every author, each in its own author entry, typed as Person or Organization. author.name holds only the name: no job titles, honorifics, publisher names, or prefixes such as "posted by". Use author.url (or sameAs) to point at a page that uniquely identifies the author.
  • datePublished and dateModified use ISO 8601. Google recommends timezone information; without it, Google defaults to the timezone used by Googlebot.
  • headline: keep it concise, since long titles may be truncated on some devices.
  • image: crawlable, indexable, representative of the content, and in a format Google Images supports. For best results provide multiple high-resolution images (at least 50,000 pixels, width times height) in 16x9, 4x3, and 1x1 aspect ratios.
  • For multi-part articles, rel=canonical should point at each individual page or a view-all page, not at page 1. For subscription or registration content, consider paywalled content markup.
  • Use the Rich Results Test and URL Inspection to validate rendering, eligibility, and crawlability.

Article Schema Decision Gates

Before emitting Article schema, the page should pass a few content and indexability checks. These gates prevent a reusable framework from marking up thin, utility, category, or non-indexable URLs as articles.

  • Emit Article only when the page has a visible article body and a visible headline. Google requires no specific property, so the gate is about the page, not about filling fields.
  • Suppress Article schema when the URL is noindex, blocked from crawling, canonicalized to another page, or missing a stable canonical URL.
  • Include image only when the asset is crawlable, absolute, representative of the article, and not known to be under 50,000 pixels.
  • Normalize dates to ISO 8601 with a timezone offset and never emit a dateModified earlier than datePublished.
  • Use headline for the article title. It is the title property Google documents for Article.

Article Subtype Selection Logic

A production framework should choose the most specific type instead of defaulting every editorial URL to Article. The type decision should be deterministic and based on the page template, content purpose, and publisher rules.

  • Use NewsArticle for timely reporting, announcements, and newsroom-style content where freshness and publication chronology matter.
  • Use BlogPosting for opinion, analysis, tutorials, and blog-style resources that live in a blog or insights section.
  • Use Article as the fallback when the page is editorial but does not cleanly match a narrower subtype.
  • Avoid Article markup on landing pages, service pages, tag pages, author archives, faceted URLs, and thin excerpts.

Data Sourcing Model

Strong Article schema usually fails because fields are sourced from inconsistent places. Treat schema generation as a small data pipeline rather than a static snippet.

  • Headline should come from the canonical H1 or editorial title field.
  • Authors should come from the byline data model as a list, one record per author, with a profile URL each. Do not fall back to the brand unless the visible byline is the organization, and then type it as Organization.
  • Author names should be stored without honorifics, job titles, or "By" prefixes, so schema output never needs string surgery to stay clean.
  • Dates should come from publication and modified timestamps in the CMS, stored with an offset, then formatted consistently during build or render.
  • Images should come from the primary article image and its 16x9, 4x3, and 1x1 crops, with known width and height so the 50,000 pixel floor can be checked.

Template Approach

const pageData = {
  title: "Sample Article Entity",
  url: "https://www.example.com/article/sample",
  publishDate: "2026-01-20T09:00:00-05:00",
  image: "https://www.example.com/assets/article.jpg",
  authorName: "Example Author"
};

const staticTemplate = {
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": pageData.title,
  "url": pageData.url,
  "datePublished": pageData.publishDate,
  "image": pageData.image,
  "author": { "@type": "Person", "name": pageData.authorName }
};

Conditional-logic Framework

const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
const ISO_DATE_TIME = /^(\d{4})-(\d{2})-(\d{2})T([01]\d|2[0-3]):[0-5]\d(:[0-5]\d(\.\d+)?)?(Z|[+-]\d{2}:\d{2})$/;

function isAbsoluteUrl(value) {
  if (typeof value !== "string") return false;
  try {
    const url = new URL(value);
    return (url.protocol === "https:" || url.protocol === "http:") && Boolean(url.hostname);
  } catch {
    return false;
  }
}

function isRealDate(y, m, d) {
  const date = new Date(Date.UTC(Number(y), Number(m) - 1, Number(d)));
  return date.getUTCMonth() === Number(m) - 1 && date.getUTCDate() === Number(d);
}

// Calendar date (YYYY-MM-DD); a full date-time is cut to its date part.
function toIsoDate(value) {
  if (typeof value !== "string") return null;
  const v = value.trim();
  const m = v.match(ISO_DATE) || v.match(ISO_DATE_TIME);
  return m && isRealDate(m[1], m[2], m[3]) ? v.slice(0, 10) : null;
}

// Date-time with Z or an offset (kept as written), or a plain date.
// A date-time without a timezone is rejected instead of guessed.
function toIsoDateTime(value) {
  if (typeof value !== "string") return null;
  const v = value.trim();
  const m = v.match(ISO_DATE) || v.match(ISO_DATE_TIME);
  return m && isRealDate(m[1], m[2], m[3]) ? v : null;
}

// Drop null, undefined, "", [] and {} recursively.
function compact(value) {
  if (Array.isArray(value)) {
    const items = value.map(compact).filter((v) => v !== undefined);
    return items.length ? items : undefined;
  }
  if (value && typeof value === "object") {
    const out = {};
    for (const [key, v] of Object.entries(value)) {
      const c = compact(v);
      if (c !== undefined) out[key] = c;
    }
    return Object.keys(out).length ? out : undefined;
  }
  if (value === null || value === undefined || value === "") return undefined;
  return value;
}

// Page gates: indexable, self-canonical, and the marked-up content is visible.
function passesPageGates(source) {
  if (!source.isIndexable || !source.isContentVisible) return false;
  if (!isAbsoluteUrl(source.url)) return false;
  return !source.canonicalUrl || source.canonicalUrl === source.url;
}

const HONORIFIC = /^(dr|mr|mrs|ms|prof)\.?\s+/i;
const BYLINE_PREFIX = /^(posted by|written by|by)\s+/i;
const MIN_IMAGE_PIXELS = 50000;

function chooseArticleType(source) {
  if (source.template === "news") return "NewsArticle";
  if (source.template === "blog") return "BlogPosting";
  return "Article";
}

// author.name holds only the name: strip byline prefixes and honorifics,
// and reject strings that join several people or carry a job title.
function cleanAuthorName(name, publisherName) {
  if (typeof name !== "string") return null;
  const clean = name.trim().replace(BYLINE_PREFIX, "").replace(HONORIFIC, "").trim();
  if (!clean || /,|\||\s(and|&)\s/i.test(clean)) return null;
  if (publisherName && clean.toLowerCase().includes(publisherName.toLowerCase())) return null;
  return clean;
}

function buildAuthor(author, publisherName) {
  const name = cleanAuthorName(author.name, publisherName);
  if (!name) return null;
  return {
    "@type": author.isOrganization ? "Organization" : "Person",
    "name": name,
    "url": isAbsoluteUrl(author.url) ? author.url : null
  };
}

// Keep crawlable absolute images; drop any image known to be under 50K pixels.
function buildImages(images) {
  return (images || [])
    .filter((img) => isAbsoluteUrl(img.url))
    .filter((img) => !(img.width && img.height) || img.width * img.height >= MIN_IMAGE_PIXELS)
    .map((img) => ({ "@type": "ImageObject", "url": img.url, "width": img.width, "height": img.height }));
}

function buildArticleSchema(source) {
  if (!passesPageGates(source)) return null;
  // Google lists no required Article properties. This framework still
  // refuses to emit a node without the visible headline.
  if (!source.headline) return null;

  const datePublished = toIsoDateTime(source.datePublished);
  let dateModified = toIsoDateTime(source.dateModified);
  if (datePublished && dateModified && Date.parse(dateModified) < Date.parse(datePublished)) {
    dateModified = null; // never emit a modified date earlier than the publish date
  }

  const schema = {
    "@context": "https://schema.org",
    "@type": chooseArticleType(source),
    "headline": source.headline.trim(),
    "image": buildImages(source.images),
    "datePublished": datePublished,
    "dateModified": dateModified,
    // Each author in its own entry, never one joined string.
    "author": (source.authors || []).map((a) => buildAuthor(a, source.publisherName)).filter(Boolean)
  };

  return compact(schema) || null;
}

// Usage
// const source = {
//   "isIndexable": true,
//   "isContentVisible": true,
//   "url": "https://www.example.com/blog/crawl-budget-audit",
//   "canonicalUrl": "https://www.example.com/blog/crawl-budget-audit",
//   "template": "blog",
//   "headline": "How to Run a Crawl Budget Audit",
//   "datePublished": "2026-09-14T08:00:00-04:00",
//   "dateModified": "2026-10-02T16:30:00-04:00",
//   "publisherName": "Example Media",
//   "authors": [
//     {
//       "name": "By Dana Reyes",
//       "url": "https://www.example.com/authors/dana-reyes"
//     },
//     {
//       "name": "Dr. Sam Okafor",
//       "url": "https://www.example.com/authors/sam-okafor"
//     }
//   ],
//   "images": [
//     {
//       "url": "https://www.example.com/img/crawl-audit-16x9.jpg",
//       "width": 1600,
//       "height": 900
//     },
//     {
//       "url": "https://www.example.com/img/crawl-audit-4x3.jpg",
//       "width": 1200,
//       "height": 900
//     },
//     {
//       "url": "https://www.example.com/img/crawl-audit-1x1.jpg",
//       "width": 1000,
//       "height": 1000
//     }
//   ]
// };
// const jsonLd = buildArticleSchema(source); // null means: emit nothing

The Output As An Entity Graph

The conditional-logic output above, parsed in your browser and drawn as the graph a crawler builds from it. Every nested object is a node and the property that holds it is the edge. Tap a node to inspect its properties, or drag to rearrange.

Why Conditional Logic Is Better Than Static Templates

  • Prevents emitting empty, null, or stale fields, such as a date without a timezone or an author string that joins two people.
  • Supports multiple page states (for example: no author yet, no image yet, draft article, canonicalized syndicated article) without duplicate templates.
  • Lets engineering teams centralize schema policy checks, such as author name cleaning and image size floors, in reusable code paths.
  • Makes large-scale schema maintenance safer when content models evolve over time.

Common Failure Modes To Monitor

  • Article schema emits on a URL that is canonicalized elsewhere, or on page 2 of a multi-part article whose canonical points at page 1.
  • dateModified is older than datePublished, or dates lose their timezone offset after a CMS migration.
  • author.name carries a job title, honorific, publisher name, or several names in one string, or the author is a bare string with no @type.
  • Authors have no url or sameAs, so Google cannot disambiguate them.
  • The image URL is blocked, redirected, a data URI, under 50,000 pixels, or replaced by a temporary CDN URL.

Deployment Checklist

  • Compare every schema value against visible page content before release, especially the byline and dates.
  • Validate the final rendered HTML, not only the source template, because client-side rendering and build steps can change the emitted JSON-LD.
  • Log suppressed Article schema cases so teams can distinguish intentional non-emission from generation failures.
  • Re-run validation when article templates, author models, image handling, canonical logic, or publication-date fields change.
  • Track warning counts by article subtype so NewsArticle, BlogPosting, and generic Article issues can be diagnosed separately.

Property Reference

What Google's Article documentation requires and recommends, property by property. These are the same rules the SchemaCDN validator checks. Each name links to its schema.org definition.

Article properties in Google's documentation
PropertyGoogleExpectsNotes
authorRecommendedPerson or Organization, can repeatThe author of the article (Person or Organization). List each author in their own author field.
author.nameRecommendedTextThe name of the author. Only the name, no titles, honorifics or publisher names.
author.urlRecommendedURLA link to a web page that uniquely identifies the author of the article, for example the author's social media page, an about me page, or a bio page.
dateModifiedRecommendedDateTimeThe date and time the article was most recently modified, in ISO 8601 format.
datePublishedRecommendedDateTimeThe date and time the article was first published, in ISO 8601 format, ideally with timezone information.
headlineRecommendedTextThe title of the article. Keep it concise, long titles may be truncated on some devices.
imageRecommendedURL or ImageObject, can repeatThe URL to an image that is representative of the article. Provide multiple high-resolution images (at least 50K pixels) in 16x9, 4x3 and 1x1. Aspect ratios: 16x9, 4x3, 1x1.

Explore Other Schema Framework Pages

Limited Book Actions Use when your page helps users read, preview, or purchase books through clearly described actions. Book Open Breadcrumb Use on pages that belong to a clear hierarchy and display navigational trail links users can follow. BreadcrumbList Open Carousel Use when a page lists multiple related entities in a scannable sequence that can be surfaced as cards. ItemList Open Course Use for educational offerings where curriculum details, provider identity, and delivery context are explicit. Course Open Dataset Use for dataset landing pages so datasets are discoverable in Google Dataset Search with license, creator and download details. Dataset Open Discussion Forum Use for forum and community threads where a primary post and subsequent replies are publicly visible. DiscussionForumPosting Open Limited Education Q&A Use for educational question-answer pages where a single canonical answer and supporting context are visible. Quiz Open Employer Aggregate Rating Use on pages that publish employer rating aggregates from a clear and policy-compliant review source. EmployerAggregateRating Open Retired Estimated Salary Use for compensation insight pages that present transparent salary ranges for specific occupations and locations. Occupation Open Event Use for upcoming events with a real-world or virtual occurrence, schedule, and location context. Event Open Retired Fact Check Use for fact-checking pages that evaluate a specific claim with a transparent rating methodology. ClaimReview Open Retired Home Activities Use for virtual classes and activities where participation details and timing are clearly listed. Event Open Retired How-To Use for instructional content that teaches a process through ordered steps and actionable detail. HowTo Open Image Metadata Use on image pages and image hosts that expose ownership and licensing information to search engines. ImageObject Open Job Posting Use for active job listings that include role details, hiring entity, and location/salary context. JobPosting Open Retired Learning Video Use for educational videos where the learning objective and pedagogical structure are explicit. LearningResource Open Local Business Use for physical businesses serving local customers with publicly verifiable contact and location details. LocalBusiness Open Loyalty Program Use to publish a loyalty program and its tiers once at the organization level, so member prices and member shipping can reference them. MemberProgram Open Math Solvers Use for pages that solve mathematical expressions and present step-by-step computational guidance. MathSolver Open Merchant Listing Use on pages where a product can be bought, with price, availability, shipping and return details. Product Open Limited Movie Use for movie detail pages with canonical film information and transparent metadata attribution. Movie Open Organization Use for official organization pages to clarify brand identity and authoritative entity signals. Organization Open Retired Practice Problems Use for educational practice content that presents solvable problems and answer validation structure. Quiz Open Product Snippet Use for product pages where pricing, availability, and product identity are visible to users. Product Open Product Variants Use when one product comes in variants such as size or color, grouped with ProductGroup. ProductGroup Open Profile Page Use for creator or contributor profile pages where identity attributes and ownership are explicit. ProfilePage Open Q&A Use for pages where users submit questions and community or editorial answers are displayed. QAPage Open Recipe Use for recipe pages with complete ingredients, instructions, and preparation details. Recipe Open Return Policy Use to publish a merchant return policy once at the organization level, with offer-level overrides. MerchantReturnPolicy Open Review Snippet Use when a page publishes genuine reviews tied to a clearly identified product, service, or entity. Review Open Shipping Policy Use to publish shipping rates, delivery times and destinations once at the organization level. ShippingService Open Site Name Use on the home page so Google shows the preferred site name in search results. WebSite Open Retired Sitelinks Search Box Use on sites with a functioning internal search endpoint that can accept URL query parameters. WebSite Open Software App (Beta) Use for software product pages that describe platform support and application category clearly. SoftwareApplication Open Limited Speakable Use for news-style pages where specific text segments are appropriate for text-to-speech playback. SpeakableSpecification Open Subscription and Paywalled Content Use for pages with restricted sections so Google can distinguish free previews from protected content. CreativeWork Open Limited Vacation Rental Use for rental property detail pages where booking-relevant amenities and location signals are explicit. VacationRental Open Retired Vehicle Listing Use for inventory pages selling vehicles with standardized listing fields and offer information. Car Open Video Use for pages where a primary video is embedded and key media metadata is visible on-page. VideoObject Open

Implement Article Schema Frameworks Correctly

Get implementation support for conditional schema architecture, validation, and deployment governance.