Kenapa validasi schema kritis

Schema JSON-LD yang salah sama saja dengan tidak ada schema. Google parser strict, satu property typo bisa membuat seluruh node di-skip. Brand yang invest di schema tapi tidak validate rutin sering kaget: mereka kira sinyalnya sudah kirim, padahal Google diam-diam abaikan semua karena syntax error.

Rutinitas validasi bulanan adalah disiplin minimum untuk brand yang serius. Schema breaks setelah deploy template baru, setelah upgrade CMS, setelah developer junior "improve" kode tanpa dokumentasi.

@graph structure baseline@graph: [WebSite@id: #websiteOrganization@id: #orgPerson@id: #authorWebPage@id: #webpageBreadcrumbList@id: #breadcrumb]

Checklist: Validate schema dalam 15 menit

  1. Extract schema dari halaman Anda. Buka halaman di browser, view-source (Ctrl+U), Ctrl+F cari "application/ld+json". Copy isi block script yang muncul. Satu halaman sering punya beberapa JSON-LD block (header, footer, per-page), copy semuanya.
  2. Paste ke validator.schema.org. Buka validator.schema.org. Paste JSON-LD atau fetch by URL. Validator ini strict terhadap Schema.org spec. Cek tab "Errors" dan "Warnings" di hasil.
  3. Paste ke Google Rich Results Test. Buka search.google.com/test/rich-results. Ini lebih praktis untuk tahu rich snippet apa yang eligible muncul. Pakai "Test code" atau "Test URL" tergantung preferensi.
  4. Interpret errors dengan checklist di bawah. Error berbeda punya impact berbeda. Gunakan tabel common errors kami untuk prioritasi fix.
  5. Fix, redeploy, retest. Setelah fix, clear cache CMS dan CDN, lalu retest di kedua validator. Iterasi sampai zero error. Warnings boleh ditunda kalau non-critical.

Common errors dan fix-nya

Tabel ini merangkum 8 error paling sering kami temukan di audit schema untuk brand Indonesia. Pakai sebagai reference saat interpret hasil validator.

Error Severity Kenapa Terjadi Fix
Missing or inconsistent @id Error Property @id tidak ada atau berbeda antar halaman untuk entitas yang sama Tetapkan @id konsisten URL absolute, contoh: https://brand.com/#organization. Pakai di semua halaman.
Invalid @type value Error @type tidak match Schema.org vocabulary, sering karena typo atau nama class yang salah Cek spec di schema.org/[TypeName]. @type case sensitive, LocalBusiness bukan localbusiness.
sameAs URL broken Error URL di sameAs array 404 atau redirect ke homepage platform Hapus URL broken atau ganti dengan URL canonical aktif. Audit berkala pakai tool sameAs check.
Missing required property Error Property wajib seperti name, url, atau address tidak ada Baca spec @type Anda di Schema.org, tambah property yang marked "Required".
Wrong nesting Error Object di-place sebagai string, atau nested object kurang @type Setiap nested object butuh @type sendiri. address butuh @type PostalAddress, bukan plain object.
Missing image or logo Warning Google recommend image untuk rich snippet, tidak wajib untuk parsing Tambah property image atau logo dengan URL absolute ke foto WebP min 1200x675px.
Mixed http/https URLs Warning Protocol inconsistent, Google perlakukan sebagai URL berbeda Force HTTPS di semua URL JSON-LD, termasuk sameAs, image, dan @id.
Duplicate @id Error Dua entity berbeda pakai @id sama, sering copy-paste mistake Setiap entity unik wajib unique @id. Organization dan Person tidak boleh share @id.

Tool validator official yang kami rekomendasikan

Dua tool yang kami pakai setiap audit schema:

  • validator.schema.org — validator official dari konsorsium Schema.org. Strict terhadap spec, cocok untuk cek technical correctness. Output lengkap: parsed tree, errors, warnings.
  • Google Rich Results Test — validator official Google, fokus ke rich snippet eligibility. Output memperlihatkan rich result type apa yang eligible muncul di SERP.

Untuk deep audit, kami juga pakai Bing Markup Validator untuk second opinion, dan SchemaApp Chrome extension untuk spot-check selama development.

Disiplin deployment

Setelah schema valid, perlakukan seperti production code:

  • Commit schema ke version control. Bukan di-paste langsung ke WordPress editor.
  • Automated test di CI. Jalankan validator via API di pipeline deploy, fail build kalau ada error.
  • Monitoring bulanan. Cek Google Search Console "Enhancements" report, spot broken structured data.
  • Dokumentasi @id registry. Simpan list semua @id yang brand Anda pakai, supaya tim tidak invent @id baru random.

Pertanyaan Umum Validator Schema

Apa bedanya validator.schema.org dengan Google Rich Results Test?
validator.schema.org strict terhadap spec Schema.org, menangkap error syntax dan property salah ketik. Google Rich Results Test pragmatis, fokus ke apa yang Google benar-benar pakai untuk rich snippet. Pakai keduanya: yang pertama untuk technical correctness, yang kedua untuk bisnis outcome.
Apakah warning wajib di-fix?
Error wajib fix, warning sebaiknya fix tapi tidak blocking. Warning umum seperti "image recommended" atau "missing logo" tidak menghentikan Google parsing, tapi mengurangi chance rich snippet muncul. Fix warning yang relevan dengan goal Anda.
Schema mana yang paling penting untuk B2B Indonesia?
Organization dan Person adalah baseline wajib. Website pakai WebSite dan BreadcrumbList. Halaman produk atau layanan pakai Service atau Product. FAQ page pakai FAQPage. Halaman artikel pakai Article. Kalau Anda punya event atau speaking engagement, tambah Event schema.
Bagaimana kalau @id saya typo atau inconsistent?
Ini error paling umum yang kami temukan di audit. @id harus URL absolute dan konsisten antar halaman. Misalnya Organization @id di homepage harus identik dengan yang di-reference di contact page. Inconsistency @id membuat Google gagal konsolidasi entitas. Fix pakai find-and-replace setelah audit semua template.

Butuh schema deployment yang proven?

IP dan Identitas Brand Sprint (Rp 15-35 juta) mencakup audit schema lengkap, fix semua error, deployment JSON-LD konsisten lintas halaman, plus trademark registration bundle. Buat brand yang butuh full-stack entity infrastructure, lihat paket Entity Infrastructure kami.

IP dan Identitas Brand