Has JSON-LD Answer reports whether a page’s raw HTML contains a JSON-LD @type value of Answer — the schema.org type that marks the answer half of a question-and-answer graph. RankGear returns 1 when it finds the pattern and 0 when it does not; it matches the source text, so the signal reflects presence of the string, not a validated graph.
| Factor ID | RG-SCJ-012 |
|---|---|
| Family | Structured Data – JSON-LD |
| Measurement | Binary presence (0 / 1) |
| Measured zone | Raw rendered HTML |
What it measures
This factor reports whether RankGear finds an @type value of Answer in the page’s raw source. In schema.org, Answer is the type used inside a question-and-answer graph to mark a response to a Question. A value of 1 means the pattern was present in the HTML that RankGear fetched; a value of 0 means it was not found.
How RankGear measures it
RankGear searches the raw HTML for "@type": "Answer", allowing flexible whitespace around the colon and optionally allowing a schema: prefix on the type value. Matching is case-insensitive, so capitalization differences do not affect detection.
What RankGear looks for
<script type="application/ld+json">
{
"@type": "Answer",
"text": "..."
}
</script>
// matches, with flexible whitespace and an optional prefix:
"@type":"Answer"
"@type": "schema:Answer"| Value | Meaning |
|---|---|
| 1 | The @type value Answer was found in the raw HTML. |
| 0 | No Answer type string was found. |
How to optimize it
Use Answer only for a genuine answer within a valid question-and-answer graph. Because this factor is a presence check rather than a target to chase, treat it as an observation: add the markup where a real question-and-answer pair exists on the page, not as a token inserted to flip the flag to 1.
Important considerations
- RankGear pattern-matches source text rather than parsing or validating a JSON-LD graph.
- A matching string outside a valid JSON-LD script can still produce 1.
- Capitalization differences do not affect detection.
- All structured data must match visible, truthful content on the page.
- This is a prioritization signal that relates to position within a measured result set — presence of the markup does not cause a page to rank or guarantee any position.
Related factors
Part of the Factors reference · how RankGear measures · glossary.