What Is Discussion Forum Schema?

Published
14 min read

What Is Discussion Forum Schema?

Discussion forum schema is structured data that identifies a user-generated discussion post and describes its author, publication date, complete text or media, comments, interactions and canonical URL.

The primary type is DiscussionForumPosting, a subtype of SocialMediaPosting. It fits forum-style pages where users collectively share first-hand perspectives. The original post is the main entity, and replies can be nested as Comment nodes that preserve the visible conversation structure.

This markup is not for publisher-authored articles, product reviews or pages that merely allow comments. It describes genuine user-generated discussion. It cannot verify that a post is true, make a community trustworthy or guarantee placement in a discussion feature.

  1. Identify the exact page, asset, entity or relationship described in this section.
  2. Inspect the live implementation and retain the observed evidence.
  3. Compare the observation with the intended meaning and its primary specification.
  4. Correct any mismatch, then retest the live result.
  5. Record the accountable owner and review date.
What Is Discussion Forum Schema? reference table
ElementRepresentsEvidence source
DiscussionForumPostingOriginal user postVisible thread opener
authorPost creatorPlatform account
datePublishedCreation timeModeration or post record
textComplete post textRendered discussion
commentDirect replyVisible reply tree
interactionStatisticLikes or shares on platformEvent ledger
urlCanonical discussion URLThread routing
isPartOfForum or group contextCommunity taxonomy
sharedContentReferenced external or platform contentVisible share or quote
  • Use it only for user-generated posts.
  • Represent the complete visible conversation.
  • Source identities and counts from platform records.

Primary specification: Google Search discussion-forum structured data documentation.

DiscussionForumPosting schema models a real user-created conversation, not publisher content with a comment section.

How Does DiscussionForumPosting Schema Work?

DiscussionForumPosting schema works by creating one original post node, connecting its creator and platform context, and nesting the visible comments in the same relationship structure users see.

A parser reads the canonical post, author, timestamp, text or media and interaction data. Direct replies can sit beneath the post; replies to comments can be nested below the relevant Comment. Stable URLs or fragments allow individual contributions to resolve to their visible location.

JSON-LD is supported, while Microdata or RDFa can reduce duplication when long user text already exists in the HTML. Regardless of format, the delivered markup must contain the same complete content. Syntax validation cannot detect moderation state, deleted content or fabricated counts.

  • The exact page, asset, entity or relationship covered by this section
  • The live implementation rather than an editor-only preview
  • The primary specification or first-party record defining the expected behavior
  • The validation result, accountable owner and review date
How Does DiscussionForumPosting Schema Work? reference table
StageGraph actionFailure example
IdentifySelect original UGC postPublisher article marked as forum
AttributeConnect platform authorSite owner replaces username
PublishUse real creation dateLatest comment date used as post date
NestAttach comments to correct parentFlat list loses reply tree
CountUse platform interaction ledgerExternal likes copied
CanonicalizeSet thread URLEvery pagination page claims new discussion
ModerateReflect visible approved stateRemoved spam remains in graph
  1. Confirm the page is a user-created discussion.
  2. Map the original post and author.
  3. Preserve comment hierarchy.
  4. Attach platform interaction data.
  5. Validate rendered and moderation states.

The graph works when it preserves the real author, content, order, nesting and canonical location of the rendered discussion.

DiscussionForumPosting vs QAPage

DiscussionForumPosting fits open-ended conversation and first-hand perspectives, while QAPage fits one focused question where users can submit answers; choose the type from the community interaction model.

A thread debating SEO workflow choices is a general discussion. A page asking one technical question and accepting competing answers is closer to QAPage. A publisher-written FAQ uses neither discussion type merely because it contains questions.

Some communities mix formats. Classify each page template rather than the entire domain. If a question thread includes comments on answers, model the Q&A structure honestly instead of forcing every response into a flat forum post. Avoid using both primary types for the same entity unless the page genuinely supports a coherent relationship.

  1. Identify the exact page, asset, entity or relationship described in this section.
  2. Inspect the live implementation and retain the observed evidence.
  3. Compare the observation with the intended meaning and its primary specification.
  4. Correct any mismatch, then retest the live result.
  5. Record the accountable owner and review date.
DiscussionForumPosting vs QAPage reference table
Page patternBest-fit typeReason
Open community discussionDiscussionForumPostingConversation is not one answered question
Experience-sharing threadDiscussionForumPostingFirst-hand perspectives
One question with user answersQAPageAnswer model is primary
Support question accepting alternativesQAPageUsers contribute answers
Publisher FAQ pageFAQPage when justifiedPublisher controls multiple answers
Publisher blog with commentsArticleMain content is publisher-authored
Product review listReview or product contextReviews are not forum posts
Social feed postSocialMediaPosting when suitableBroader social platform context
  • Inspect the page’s primary interaction.
  • Separate questions, discussions and reviews.
  • Apply the type per template or content object.

Use forum markup for general UGC discussion and QAPage for one user-answerable question, never based on desired appearance alone.

Which Discussion Forum Properties Matter Most?

The most important discussion properties are author, datePublished, complete text or representative media and URL, followed by headline, comments, interaction statistics, forum context and shared content.

A text post should include the complete text found on the page. Media-first posts can rely on supported ImageObject or VideoObject relationships when the visible media is the primary content. The URL should resolve to the canonical discussion, and multi-page threads should maintain a deliberate thread-level identity.

Author nodes can link to creator profiles described with ProfilePage schema. Interaction counts should represent likes, shares or other supported actions on the hosting platform. Do not import unrelated social totals or estimated engagement.

  • The exact page, asset, entity or relationship covered by this section
  • The live implementation rather than an editor-only preview
  • The primary specification or first-party record defining the expected behavior
  • The validation result, accountable owner and review date
Which Discussion Forum Properties Matter Most? reference table
PropertyPriorityAudit question
authorRequired for supported useDoes it identify the real platform creator?
datePublishedRequired for supported useIs it the original posting time?
text or mediaRequired content representationIs the full visible post represented?
urlHighDoes it resolve to the canonical discussion?
headlineUsefulDoes it match the visible thread title?
commentUsefulAre visible replies nested correctly?
interactionStatisticOptionalCan every count be reproduced?
isPartOfOptionalDoes it identify the actual forum or group?
sharedContentSituationalIs the referenced content visible?
  1. Map the original author and time.
  2. Represent complete visible content.
  3. Set a stable discussion URL.
  4. Nest approved replies accurately.
  5. Add only reproducible platform counts.

Prioritize complete content, real authorship, timestamps and canonical identity before optional engagement enrichment.

How Should Comments and Threading Be Marked Up?

Comments should be nested beneath the post or comment they directly answer, preserving the visible reply tree, authors, timestamps, text and stable URLs or fragments where available.

A flat chronological list loses meaning when users reply to one another. Use nested Comment relationships for threads and keep display order consistent with the interface. If the platform supports multiple sort modes, structured output should follow a stable canonical representation rather than changing identities with every sort parameter.

Deleted, hidden, quarantined and pending comments need explicit editorial rules. Do not expose private or removed text in JSON-LD. If a moderation placeholder remains visible, the graph should not secretly contain the original prohibited content.

  1. Identify the exact page, asset, entity or relationship described in this section.
  2. Inspect the live implementation and retain the observed evidence.
  3. Compare the observation with the intended meaning and its primary specification.
  4. Correct any mismatch, then retest the live result.
  5. Record the accountable owner and review date.
How Should Comments and Threading Be Marked Up? reference table
Thread caseMarkup approachQuality check
Direct reply to postComment under original postParent relationship matches UI
Reply to commentNested CommentCorrect ancestor preserved
Deep threadContinue tree where visible and practicalNo orphan replies
Collapsed commentInclude only if content remains accessibleUser can reveal full text
Deleted commentOmit private original contentNo data leak
Pending moderationDo not publish as public contributionVisibility state respected
Alternate sortKeep stable canonical representationIDs do not change by sort
Permalinked replyUse stable URL or fragmentLink opens contribution
  • Preserve parent-child reply relationships.
  • Respect moderation and privacy state.
  • Use stable contribution permalinks.

Comment markup should reproduce the public conversation tree without leaking moderated, private or alternate-sort content.

How Should Authors and Interaction Counts Be Modeled?

Forum authors should use stable platform identities linked to public profiles, while interaction counts should come only from reproducible actions recorded on the hosting platform.

A handle can change, so retain an internal identifier and stable profile URL where policy allows. Deleted or anonymous accounts require a consistent representation that does not expose private identity. Organizations can be authors when the account genuinely belongs to and speaks for that organization.

Like, share, follow and write counts need the correct InteractionCounter type and event source. Do not sum views, likes and comments into one engagement number. Bot-filtering, deleted reactions and asynchronous counters need a documented source of truth so the page and graph remain consistent.

  • The exact page, asset, entity or relationship covered by this section
  • The live implementation rather than an editor-only preview
  • The primary specification or first-party record defining the expected behavior
  • The validation result, accountable owner and review date
How Should Authors and Interaction Counts Be Modeled? reference table
Identity or countCorrect sourceAvoid
Display nameCurrent public account recordParsing post text
IdentifierStable internal public-safe IDEmail address
Profile URLCanonical public profileSession-specific URL
Anonymous authorPlatform’s truthful anonymous stateDeanonymization
Like countApproved reaction ledgerVisible count copied before refresh
Share countHosting-platform share eventsExternal social estimate
Follower countHosting-platform profile statisticTotals from other networks
Write countPublished contribution ledgerIncluding drafts or spam blindly
  1. Resolve stable public account identity.
  2. Protect private and deleted-user data.
  3. Define each interaction event.
  4. Compute counts from authoritative ledgers.
  5. Synchronize visible and structured totals.

Stable creator IDs and source-backed interaction counters preserve accountability without inventing popularity or exposing private users.

How Do Pagination, Canonicals and Indexing Affect Forums?

Forum pagination and canonical rules should let important thread content remain discoverable while preventing sort, filter and parameter variants from fragmenting the same discussion identity.

Long threads may span several URLs. Each page needs accessible navigation and a deliberate indexing strategy. The discussion’s structured URL can represent the first or canonical thread page, while comments on later pages still need crawlable paths if they are intended for discovery.

Do not canonicalize every paginated page to page one if that makes unique later content effectively disappear from discovery. Infinite-scroll interfaces need real paginated URLs or another crawlable architecture. Sort-order and tracking parameters should not generate independent forum entities.

  1. Identify the exact page, asset, entity or relationship described in this section.
  2. Inspect the live implementation and retain the observed evidence.
  3. Compare the observation with the intended meaning and its primary specification.
  4. Correct any mismatch, then retest the live result.
  5. Record the accountable owner and review date.
How Do Pagination, Canonicals and Indexing Affect Forums? reference table
URL situationSEO handlingSchema handling
Single-page threadSelf-canonical URLOne discussion node
Paginated long threadCrawlable page series with deliberate canonicalsStable thread identity and visible comments
Sort parameterCanonical to preferred orderNo new discussion ID
Tracking parameterCanonical clean URLIgnore tracking value
Infinite scrollProvide crawlable paginated stateRendered content remains discoverable
Comment permalinkResolve to visible contributionStable comment URL
Merged duplicate threadRedirect or canonical by policyConsolidate identity
Deleted threadTruthful status and user experienceDo not keep active post markup
  • Make important replies crawlable.
  • Consolidate sort and tracking variants.
  • Keep thread and contribution IDs stable.

A sound forum architecture preserves crawlable contribution URLs and one stable discussion identity without hiding valuable paginated content.

What Discussion Forum Schema Mistakes Are Common?

Common forum-schema mistakes include marking publisher articles as UGC, flattening reply trees, exposing moderated text, copying external engagement counts, using QAPage incorrectly and creating new thread identities for URL variants.

Large communities often have several renderers: desktop, mobile, app previews and cached versions. If each produces different comments or counts, the structured graph drifts. Third-party forum plugins can also duplicate custom JSON-LD or omit full text to save payload size.

Markup should not become a path around moderation. Spam, harassment, illegal content and private data remain unacceptable merely because users submitted them. Search eligibility is secondary to user safety and platform integrity.

  • The exact page, asset, entity or relationship covered by this section
  • The live implementation rather than an editor-only preview
  • The primary specification or first-party record defining the expected behavior
  • The validation result, accountable owner and review date
What Discussion Forum Schema Mistakes Are Common? reference table
MistakeRiskCorrection
Publisher article labeled forum postWrong content originUse Article
Q&A thread labeled general forumWrong interaction modelUse QAPage
Replies flattenedConversation meaning lostPreserve nesting
Removed text remains in JSON-LDPrivacy or safety leakSync moderation output
Partial post text onlyIncomplete content representationInclude full visible text
External likes copiedUnsupported interaction evidenceUse platform ledger
Parameter creates new @idIdentity fragmentationCanonicalize variants
Duplicate plugin markupConflicting thread factsAssign one graph owner
  1. Classify content origin and interaction model.
  2. Compare public text and reply structure.
  3. Test moderation state leakage.
  4. Reconcile counters and author IDs.
  5. Consolidate canonical thread URLs.

Forum markup quality depends on truthful UGC classification, conversation structure, moderation integrity and stable URL identity.