# SchemaGuard GMC 2026 Auditor (`lancera/schemaguard-gmc-auditor`) Actor

Commercial Pay-Per-Event (PPE) Apify Actor for Shopify & E-Commerce SEO Agencies. Runs the 12-Point GMC 2026 Engine, detects First-Variant Out-Of-Stock Traps, and outputs ready-to-inject JSON-LD, GEO citations, and Shopify GraphQL Auto-Fix payloads.

- **URL**: https://apify.com/lancera/schemaguard-gmc-auditor.md
- **Developed by:** [Lancer Alexander](https://apify.com/lancera) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 product audited and graphql payloads

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## SchemaGuard GMC 2026 & GEO Auditor + Shopify GraphQL Auto-Fixer

Commercial Pay-Per-Event (PPE) Apify Actor engineered for **Shopify Plus Stores, E-Commerce SEO Agencies, Make/n8n/Zapier Automation Builders, and AI MCP Clients**.

***

### Why Agencies & Store Owners Use This Actor

- **12-Point Google Merchant Center (GMC) 2026 Compliance Engine:** Automatically detects **First-Variant Out-Of-Stock Traps** (where Variant #1 is `OutOfStock` while secondary variants are `InStock`), missing GS1 `gtin13`/`gtin12` barcodes, missing `hasMerchantReturnPolicy`, missing `shippingDetails`, and duplicate conflicting JSON-LD blocks.
- **GEO First-30% LLM Citation Zone Payloads:** Generates entity-dense `geoConversationalLeadParagraph`, semantic HTML5 `htmlSpecTable`, and `faqPageSchemaJson` (`FAQPage`) optimized for Perplexity, ChatGPT Search, and Google AI Overviews.
- **Zero-Code Shopify GraphQL Admin API Mutation Output:** Every dataset record includes pre-formatted `productUpdate` and `metafieldsSet` GraphQL mutations (`namespace: "custom"`, `key: "schemaguard_jsonld_2026"`, `type: "json"`) ready to pipe directly into an **n8n, Make.com, or Zapier** HTTP Request node.

***

### Input Parameters

| Field | Type | Description |
| :--- | :--- | :--- |
| `storeUrls` | Array | Target Shopify storefront or product URLs (e.g., `https://store.com`). |
| `maxProductsPerStore` | Integer | Maximum number of products to audit per storefront via `/products.json`. |
| `returnPolicyDays` | Integer | Merchant return window in days (default: `30`). |
| `flatShippingRate` | String | Domestic flat shipping rate for `OfferShippingDetails` (default: `"0.00"`). |
| `currencyDefault` | String | Fallback ISO 4217 currency code (default: `"USD"`). |

***

### Output Dataset Structure (Per Audited Product)

Each audited product outputs a flat JSON record containing:

1. **`gmcReadinessScore`** (`0–100`) & itemized 12-point diagnostic breakdown.
2. **`firstVariantTrapDetected`** (`true/false`) with exact in-stock vs. out-of-stock variant counts.
3. **`readyToInjectJsonLd`** — 100/100 validated `@graph` (`ProductGroup` + `AggregateOffer` + `FAQPage`).
4. **`shopifyGraphqlMutationInput`** — Ready-to-fire Shopify Admin API `2026-01` GraphQL mutation payload.

***

### Need Turnkey Shopify Theme Auto-Fix Kits or Chrome Extension?

- **SchemaGuard Merchant Pro (Chrome Extension MV3 v2.0):** [Instant Browser Auditor & Fix Pack Exporter ($9.00 Lifetime)](https://vothanh1.gumroad.com/l/istvro)
- **Shopify OS 2.0 No-Code Schema Auto-Fix Kit (v6.4):** [43-Setting Theme Customize App Block + Config Wizard ($9.99)](https://vothanh1.gumroad.com/l/eolvo)
- **Agency Bulk Suite & Done-For-You (DFY) Theme Patching:** [Offline Theme .ZIP Patcher + GMC Supplemental Feed + 50 n8n/Make Blueprints ($29 / $99)](https://vothanh1.gumroad.com/l/mftey)

# Actor input Schema

## `startUrls` (type: `array`):

List of Shopify store URLs, /products.json endpoints, product XML sitemaps, or individual product URLs.

## `rawCatalogInput` (type: `string`):

Optional direct payload from n8n, Make.com, Zapier, or MCP clients for zero-latency processing.

## `maxProducts` (type: `integer`):

Maximum number of products to audit and generate GraphQL mutations for in this run.

## `currency` (type: `string`):

Fallback currency code used in AggregateOffer and OfferShippingDetails.

## `country` (type: `string`):

Target country code for MerchantReturnPolicy and OfferShippingDetails.

## `returnDays` (type: `integer`):

Number of return days injected into GMC 2026 hasMerchantReturnPolicy.

## `shippingRate` (type: `number`):

Default shipping rate injected into OfferShippingDetails (0 = Free Shipping).

## `defaultBrand` (type: `string`):

Fallback brand name when product vendor is missing.

## `metafieldNamespace` (type: `string`):

Target Shopify Admin GraphQL metafield namespace.

## `metafieldKey` (type: `string`):

Target Shopify Admin GraphQL metafield key for the fixed JSON-LD payload.

## `enablePpeBilling` (type: `boolean`):

Triggers Actor.charge({ eventName: 'product-audited-and-graphql-payload-generated', count: 1 }) per product.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://lumiere-clinical.myshopify.com/products.json"
    }
  ],
  "maxProducts": 25,
  "currency": "USD",
  "country": "US",
  "returnDays": 30,
  "shippingRate": 0,
  "defaultBrand": "",
  "metafieldNamespace": "custom",
  "metafieldKey": "schemaguard_jsonld_2026",
  "enablePpeBilling": true
}
```

# Actor output Schema

## `results` (type: `string`):

Flat dataset records containing GMC 2026 scores, JSON-LD, and Shopify GraphQL mutations.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://lumiere-clinical.myshopify.com/products.json"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lancera/schemaguard-gmc-auditor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [{ "url": "https://lumiere-clinical.myshopify.com/products.json" }] }

# Run the Actor and wait for it to finish
run = client.actor("lancera/schemaguard-gmc-auditor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://lumiere-clinical.myshopify.com/products.json"
    }
  ]
}' |
apify call lancera/schemaguard-gmc-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lancera/schemaguard-gmc-auditor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/NfxTyLNMYKWkygixj/builds/dddKyZxbS0t9ujjK8/openapi.json
