跳到主要内容
IM智引科技

研究 / 外贸与 B2B 增长

Author Schema + Organization Schema JSON-LD 注入实战

结构化数据是告诉 Google"我们是谁"的官方语言。这篇给出可直接复制的 Organization、Person、Article Schema 完整代码,讲清楚各字段的作用、sameAs 属性如何绑定外部实体、如何在 Astro 中封装可复用的 Schema 组件,以及用 Rich Results Test 验证。

BLKTECH 编辑部2026年8月4日12 分钟难度 实战免费AstroJSON-LD

Organization Schema放在首页和About页,含legalName/address/foundingDate/certification等字段;Person Schema放在作者主页,用sameAs数组链接LinkedIn等外部档案;Article Schema放在博客文章,author字段引用Person实体。用Google Rich Results Test验证语法。

Author Schema + Organization Schema JSON-LD 注入实战

结构化数据(Schema.org)是 Google 理解页面实体关系的主要途径。E-E-A-T 的建设,最终要通过 Schema 让 Google 能机器读取。


Organization Schema(公司实体)

放在哪里:首页 + About Us 页

{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://www.aquaflowpumps.com/#organization",
  "name": "AquaFlow Industrial",
  "legalName": "AquaFlow Industrial Co., Ltd.",
  "url": "https://www.aquaflowpumps.com",
  "logo": {
    "@type": "ImageObject",
    "url": "https://www.aquaflowpumps.com/logo.png",
    "width": 512,
    "height": 512
  },
  "description": "Manufacturer of industrial centrifugal, submersible and magnetic drive pumps for chemical processing, water treatment and food manufacturing applications.",
  "foundingDate": "2003",
  "numberOfEmployees": {
    "@type": "QuantitativeValue",
    "value": 180
  },
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "No. 88 Industrial Road, Nanhai District",
    "addressLocality": "Foshan",
    "addressRegion": "Guangdong",
    "postalCode": "528200",
    "addressCountry": "CN"
  },
  "contactPoint": [
    {
      "@type": "ContactPoint",
      "telephone": "+86-757-1234-5678",
      "contactType": "sales",
      "email": "info@aquaflowpumps.com",
      "availableLanguage": ["English", "Chinese"],
      "areaServed": ["US", "EU", "AU", "CA"]
    }
  ],
  "hasCredential": [
    {
      "@type": "EducationalOccupationalCredential",
      "credentialCategory": "certification",
      "name": "ISO 9001:2015 Quality Management System",
      "recognizedBy": {
        "@type": "Organization",
        "name": "TÜV Rheinland"
      }
    },
    {
      "@type": "EducationalOccupationalCredential",
      "credentialCategory": "certification",
      "name": "CE Marking (EN 809)",
      "recognizedBy": {
        "@type": "Organization",
        "name": "European Union"
      }
    }
  ],
  "sameAs": [
    "https://www.linkedin.com/company/aquaflow-industrial",
    "https://www.thomasnet.com/profile/aquaflow-industrial",
    "https://www.europages.co.uk/AQUAFLOW-INDUSTRIAL"
  ]
}

关键字段说明

字段 作用
@id 实体的唯一标识符,其他 Schema 可以引用它
legalName 法定注册名称(比 name 更正式,增强可信度)
foundingDate 成立年份,年头越长信任度越高
hasCredential 认证证书,Trustworthiness 的核心信号
sameAs 最重要——绑定外部平台档案,实现跨来源验证

Person Schema(专家实体)

放在哪里:作者主页(Author Pillar)

{
  "@context": "https://schema.org",
  "@type": "Person",
  "@id": "https://www.aquaflowpumps.com/authors/michael-chen/#person",
  "name": "Michael Chen",
  "givenName": "Michael",
  "familyName": "Chen",
  "jobTitle": "Senior Pump Systems Engineer",
  "worksFor": {
    "@id": "https://www.aquaflowpumps.com/#organization"
  },
  "image": "https://www.aquaflowpumps.com/authors/michael-chen.jpg",
  "description": "Pump systems engineer with 15 years of experience in centrifugal pump hydraulic design, NPSH optimization, and corrosion-resistant material selection for chemical service applications.",
  "url": "https://www.aquaflowpumps.com/authors/michael-chen/",
  "email": "michael.chen@aquaflowpumps.com",
  "alumniOf": {
    "@type": "CollegeOrUniversity",
    "name": "South China University of Technology"
  },
  "hasCredential": [
    {
      "@type": "EducationalOccupationalCredential",
      "credentialCategory": "degree",
      "name": "B.Eng in Mechanical Engineering"
    },
    {
      "@type": "EducationalOccupationalCredential",
      "credentialCategory": "membership",
      "name": "Hydraulic Institute Member"
    }
  ],
  "knowsAbout": [
    "Centrifugal pump hydraulic design",
    "NPSH analysis and cavitation prevention",
    "Corrosion-resistant material selection",
    "API 610 compliance",
    "Magnetic drive pump applications"
  ],
  "sameAs": [
    "https://www.linkedin.com/in/michaelchen-pumps",
    "https://www.researchgate.net/profile/Michael-Chen-Pumps"
  ]
}

关键字段

  • worksFor@id 引用 Organization 实体 → 建立人与公司的关联
  • knowsAbout 声明专长领域 → 影响 Google 判断他有资格写哪类内容
  • sameAs 链接 LinkedIn → 跨来源验证这个人真实存在

Article Schema(技术文章)

放在哪里:每篇 Resource Cluster(博客文章)

{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "headline": "Centrifugal Pump vs Gear Pump: Complete Selection Guide",
  "description": "Engineering comparison of centrifugal and gear pumps covering viscosity limits, flow characteristics, and application selection criteria.",
  "image": "https://www.aquaflowpumps.com/blog/pump-comparison-cover.jpg",
  "datePublished": "2026-08-04",
  "dateModified": "2026-08-04",
  "author": {
    "@id": "https://www.aquaflowpumps.com/authors/michael-chen/#person"
  },
  "publisher": {
    "@id": "https://www.aquaflowpumps.com/#organization"
  },
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://www.aquaflowpumps.com/blog/centrifugal-vs-gear-pump/"
  },
  "about": [
    { "@type": "Thing", "name": "Centrifugal Pump" },
    { "@type": "Thing", "name": "Gear Pump" },
    { "@type": "Thing", "name": "Pump Selection" }
  ],
  "citation": [
    {
      "@type": "CreativeWork",
      "name": "API 610: Centrifugal Pumps for Petroleum, Petrochemical and Natural Gas Industries"
    },
    {
      "@type": "CreativeWork",
      "name": "ISO 5199: Technical Specifications for Centrifugal Pumps"
    }
  ]
}

为什么用 TechArticle 而不是 ArticleTechArticle 是专门用于技术内容的类型,Google 对它的处理更倾向于展示给专业受众。

citation 字段的价值:引用行业标准,直接增强 Authoritativeness 信号——这是 GEO 优化的重要手段。


Astro 组件封装

创建 src/components/seo/SchemaOrg.astro

---
export interface Props {
  type: 'organization' | 'person' | 'article' | 'product';
  data: Record<string, any>;
}
const { type, data } = Astro.props;
const SITE = 'https://www.aquaflowpumps.com';

// 共用的 Organization 引用
const ORG_ID = `${SITE}/#organization`;

function buildSchema() {
  switch (type) {
    case 'organization':
      return {
        "@context": "https://schema.org",
        "@type": "Organization",
        "@id": ORG_ID,
        "name": "AquaFlow Industrial",
        "legalName": "AquaFlow Industrial Co., Ltd.",
        "url": SITE,
        "foundingDate": "2003",
        ...data,
      };

    case 'person':
      return {
        "@context": "https://schema.org",
        "@type": "Person",
        "@id": `${SITE}/authors/${data.slug}/#person`,
        "worksFor": { "@id": ORG_ID },
        ...data,
      };

    case 'article':
      return {
        "@context": "https://schema.org",
        "@type": "TechArticle",
        "publisher": { "@id": ORG_ID },
        "author": { "@id": `${SITE}/authors/${data.authorSlug}/#person` },
        ...data,
      };

    default:
      return { "@context": "https://schema.org", ...data };
  }
}

const schema = buildSchema();
---

<script type="application/ld+json" set:html={JSON.stringify(schema)} />

使用方式

<!-- 在文章页 -->
<SchemaOrg
  type="article"
  data={{
    headline: entry.data.title,
    description: entry.data.description,
    datePublished: entry.data.publishedAt.toISOString().split('T')[0],
    authorSlug: 'michael-chen',
  }}
/>

验证 Schema

工具一:Google Rich Results Test search.google.com/test/rich-results

输入 URL 或粘贴 HTML,Google 会显示识别到的所有 Schema 类型和错误。

工具二:Schema Markup Validator validator.schema.org

更严格的语法验证,会报告 Schema.org 规范层面的问题。

验证 Checklist

□ 首页有 Organization Schema,无错误
□ About 页有 Organization Schema
□ 每个作者主页有 Person Schema,sameAs 链接有效
□ 每篇文章有 TechArticle Schema,author 正确引用 Person @id
□ SKU 页有 Product Schema
□ FAQ 模块有 FAQPage Schema
□ Rich Results Test 无 Error(Warning 可以接受)

→ 实体绑定策略:LinkedIn / 专利 / 学术引用的知识图谱连接

NEXT ACTION / 下一步

继续系列:AI 外贸站建设全系列

把读到的方法变成一个小行动,完成后再回来迭代。

继续

RELATED / 相关推荐

接着读这些

按同一分类、系列与标签为你挑选。