Skip to main content

Pages with Schema Template Gaps

Priority: None

Impact: Negative

What issues it may cause​

A gap means something you expect on this page type is missing, or does not have the value you specified. It is not a Google validation error: the Rich Results reports cover that. Gaps are often identical across every page of a type, so one template fix usually clears many pages at once.

How do you fix it​

  • Open Schema Compliance to see which conditions are unmet and how many pages share each gap
  • Check whether the gap comes from the page template or from page data: the same gap on every page points at the template

  • Update the markup, or update the schema template if the condition no longer reflects what you expect
  • Re-crawl to confirm

What is the positive impact​

Pages that match their template carry the structured data your team decided they should have, which keeps the site consistent for search engines and AI systems and easier to maintain.

How to fetch the data for this report template​

You will need to run a crawl for report template to generate report. When report has been generated and you have crawl id you can fetch data for the report using the following query:

Operation: query GetReportStatForCrawl( $crawlId: ObjectID! $reportTemplateCode: String! $after: String ) { getReportStat( input: {crawlId: $crawlId, reportTemplateCode: $reportTemplateCode} ) { crawlUrls(after: $after, reportType: Basic) { nodes { url pageTitle pageTypeNames schemaTypesPresent schemaFailedConditions crawlDatetime httpStatusCode indexable deeprank } totalCount pageInfo { endCursor hasNextPage } } } }Variables: {"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"pages_with_schema_template_gaps"}
GetReportStatForCrawlTry in Explorer
GraphQL
query GetReportStatForCrawl(
$crawlId: ObjectID!
$reportTemplateCode: String!
$after: String
) {
getReportStat(
input: {crawlId: $crawlId, reportTemplateCode: $reportTemplateCode}
) {
crawlUrls(after: $after, reportType: Basic) {
nodes {
url
pageTitle
pageTypeNames
schemaTypesPresent
schemaFailedConditions
crawlDatetime
httpStatusCode
indexable
deeprank
}
totalCount
pageInfo {
endCursor
hasNextPage
}
}
}
}