AI-assisted original teaching exercise. The post and comment identifiers below are synthetic. This article is an editorial explanation, not a real community thread.
A flat export can change who a reply addresses
A supplier exports a discussion as three comments under one post. In the source model, C2 answers C1; C1 and C3 address the original post. Moving C2 beside C1 changes that relationship even if every sentence survives. The acceptance decision is whether the supplied parent links preserve the actual discussion structure. It is separate from counting Q&A answers or choosing an accepted answer.
Supporting platform facts
Google recommends nesting forum comments under the post or comment they relate to. A genuinely linear discussion can place replies under the original post. Its forum guidance concerns user-generated discussion, rather than content mainly written by the site's publisher or agents. A question-and-answer model has separate guidance. These facts do not turn an editorial page into a forum.
Start with an explicit parent register
Our fictional record identifies POST-7 as the root, C1 as its reply, C2 as a reply to C1, and C3 as another reply to POST-7. A declares a threaded model. The local output places C2 inside C1's comments collection, while C3 remains a root child. The result is SELECTED_PARENT_BINDINGS_MATCH_ONLY. No author, text, date or live page has been checked. The ID-only projection is deliberately incomplete as production structured data.
J represents a different, genuinely linear input: all three comments explicitly point to POST-7. Its three root children are consistent with that supplied model. B changes only the mode label to linear while retaining C2's nested parent. The helper keeps LINEAR_MODE_PARENT_MISMATCH. It does not flatten the data to make the chosen template appear correct. The supplier must resolve which model the real site uses.
Stop when the graph cannot support a trustworthy projection
C points C2 to absent C404. The output retains both identifiers, making the missing source relationship inspectable. D makes C1 point back to C2, forming a cycle. E duplicates C1's identity; H reuses the root ID for a comment. Each stops projection. A production pipeline needs to resolve those records against its source, rather than invent a parent, silently discard a comment or join separate discussions.
A hidden parent needs an explicit visibility decision
F marks C1 hidden while C2 still refers to it. Our finite contract puts the entire visible projection on hold. This is a conservative review rule designed here, not a claim that Google prescribes this exact error or moderation policy. It prevents the teaching tool from silently reattaching C2 to the root. G lacks a visibility decision altogether and remains unresolved. Actual moderation and privacy choices belong to the responsible team.
I declares a publisher article rather than a user discussion. The helper stops before graph projection. Do not create synthetic participants, comments or testimonials to change that answer. Our own page remains Article markup and does not publish the fictional thread as DiscussionForumPosting.
Replay the finite review
Keep the five files together, run eight test groups, then inspect the ten filled results. The tests compare A's nested projection with J's three root children, retain C's missing-parent reason, detect a self-parent cycle and verify that input is not mutated. Every result keeps liveThreadVerified, fullSchemaValidated and publicationApproved false. The envelope accepts at most 200 comments and a file of at most 1MiB; it is a small review aid, not a general discussion parser.
Hand over the relationship evidence
- Obtain the actual source thread identity, contribution model, stable comment IDs, parent links and visible-content decisions.
- Compare the source relationships with the proposed output before translating them into complete supported markup. Keep unresolved nodes and reasons.
- Separately validate visible text, authors, dates, URLs, complete schema and real page access under the site's authorised release process.
Preserving a supplied tree does not prove that its input is true, that Google has crawled it or that an AI answer cited it. Keep actual search observations separate from this configuration exercise.
Ten filled decisions
| Case | Expected teaching result |
|---|---|
| A | SELECTED_PARENT_BINDINGS_MATCH_ONLY |
| B | LINEAR_MODE_PARENT_MISMATCH |
| C | DANGLING_PARENT |
| D | CYCLIC_PARENT_CHAIN |
| E | DUPLICATE_OR_ROOT_ID |
| F | VISIBLE_PROJECTION_REQUIRES_REVIEW |
| G | VISIBILITY_UNRESOLVED |
| H | DUPLICATE_OR_ROOT_ID |
| I | DISCUSSION_MODEL_UNVERIFIED |
| J | SELECTED_PARENT_BINDINGS_MATCH_ONLY |
Run locally with Python 3.10+
python3 -B -m unittest -v test_review.py
python3 -B review.py filled-review.jsonSource and boundaries
Google Search Central: discussion forum guidance · Supporting structure and content-scope passages checked 6 November 2026. Cases, graph checks and review labels are original design; they are not Google error codes or a complete markup validator.
Review Q&A answer roles separately · Review the separate FAQ feature history