估算工资 (Occupation) 结构化数据

借助 Occupation 结构化数据,工资估算服务提供商可以指定各种工作类型的工资范围和按地区计算的平均工资,以及职业的详细信息(如一般福利、资格要求和教育背景要求)。借助 OccupationAggregationByEmployer 结构化数据,工资估算服务提供商可以按照经验水平或招聘单位等因素对职业进行汇总。

估算工资可以显示在 Google 搜索的招聘信息 (Jobs) 中,也能以估算工资富媒体搜索结果的形式显示在指定职业的搜索结果中。

Google 搜索招聘信息中的估算工资信息

How to add structured data

Structured data is a standardized format for providing information about a page and classifying the page content. If you're new to structured data, you can learn more about how structured data works.

Here's an overview of how to build, test, and release structured data.

  1. Add the required properties. Based on the format you're using, learn where to insert structured data on the page.
  2. Follow the guidelines.
  3. Validate your code using the Rich Results Test and fix any critical errors. Consider also fixing any non-critical issues that may be flagged in the tool, as they can help improve the quality of your structured data (however, this isn't necessary to be eligible for rich results).
  4. Deploy a few pages that include your structured data and use the URL Inspection tool to test how Google sees the page. Be sure that your page is accessible to Google and not blocked by a robots.txt file, the noindex tag, or login requirements. If the page looks okay, you can ask Google to recrawl your URLs.
  5. To keep Google informed of future changes, we recommend that you submit a sitemap. You can automate this with the Search Console Sitemap API.

示例

Occupation 示例

以下 JSON-LD 示例显示了一个包含估算工资数据的简单 Occupation


<html>
  <head>
    <title>Software Developer, Applications</title>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org/",
      "@type": "Occupation",
      "name": "Software Developer, Applications",
      "mainEntityOfPage": {
        "@type": "WebPage",
        "lastReviewed": "2024-07-23T14:20:00-05:00"
      },
      "description": "Develops information systems by designing, developing, and installing software solutions",
      "estimatedSalary": [
        {
          "@type": "MonetaryAmountDistribution",
          "name": "base",
          "currency": "USD",
          "duration": "P1Y",
          "percentile10": "100000.5",
          "percentile25": "115000",
          "median": "120000.28",
          "percentile75": "130000",
          "percentile90": "150000"
        }
      ],
      "occupationLocation": [
        {
          "@type": "City",
          "name": "Mountain View"
        }
      ]
    }
    </script>
  </head>
  <body>
  </body>
</html>

OccupationAggregationByEmployer 示例

以下 JSON-LD 示例显示了一个较为复杂的 OccupationAggregationByEmployer,其中也包含估算工资数据:

<html>
  <head>
    <title>App/Web App Developer</title>
    <script type="application/ld+json">
    {
      "@context": "https://schema.googleapis.com/",
      "@type": "OccupationAggregationByEmployer",
      "name": "App/Web App Developer",
      "mainEntityOfPage": {
        "@type": "WebPage",
        "lastReviewed": "2024-07-23T14:20:00-05:00"
      },
      "description": "Develops information systems by designing, developing, and installing software solutions.",
      "estimatedSalary": [
        {
          "@type": "MonetaryAmountDistribution",
          "name": "base",
          "currency": "USD",
          "duration": "P1Y",
          "percentile10": "100000.5",
          "percentile25": "115000",
          "median": "120000.28",
          "percentile75": "130000",
          "percentile90": "150000"
        },
        {
          "@type": "MonetaryAmountDistribution",
          "name": "bonus",
          "currency": "USD",
          "duration": "P1Y",
          "percentile10": "10000",
          "percentile25": "20000",
          "median": "25000",
          "percentile75": "27000",
          "percentile90": "60000"
        }
      ],
      "occupationLocation": [
        {
          "@type": "State",
          "name": "Oregon"
        },
        {
          "@type": "State",
          "name": "Washington"
        },
        {
          "@type": "State",
          "name": "California"
        }
      ],
      "hiringOrganization": {
        "@type": "Organization",
        "name": "Google LLC"
      },
      "sampleSize":1000,
      "industry": "Technology",
      "jobBenefits": "6 weeks paid vacation every year",
      "yearsExperienceMin": 3,
      "yearsExperienceMax": 7
    }
    </script>
  </head>
  <body>
  </body>
</html>

指南

您必须遵循常规结构化数据的质量指南技术指南。此外,Occupation 结构化数据还需要遵循以下指南:

技术指南

  • Occupation 结构化数据是独立的数据,不需要与您向 Google 提供的其他任何结构化数据相关联。
  • 只需向网页添加一个 OccupationOccupationAggregationByEmployer。不要向每个网页添加多个这样的类型定义。
  • 确保您的结构化数据与您在网页上显示的内容一致。以下是一些示例:
    • 您的网页上仅向用户显示工资中间值,并且您的结构化数据仅包含这些值。
    • 您在网页上将年薪四舍五入为最接近的 5000 的倍数,并且在结构化数据中提供相同精确度的年薪。
  • 除非另有规定,否则仅在定义中指定属性一次。
  • 如果职业的特点取决于不同的地点(例如,美国东北部地区的工资范围可能不同于中西部地区),请创建单独的网页,其中每个网页都有自己的 Occupation 定义,并且这些定义要指定不同的 occupationLocation
  • 不要将估算工资结构化数据添加到列表网页(即显示职业列表的网页)。
  • 如果您的网页会发生更改,请每天更新一次站点地图。

内容指南

  • 如果有相似的职业名称,并且所有职位的工资范围和说明也都相似,请将这些职业名称归为一组。职业名称必须具体,但也不能繁琐得让人看不懂。以下是一些示例:
    • 不要太过宽泛:

      不建议:“临床、咨询和学校心理学家”

      建议:“学校辅导员”、“临床心理学家”、“临床治疗师”、“心理学博士”

    • 不要太过具体:

      不建议:“家庭保健注册护士”和“注册护士 (RN)”,以及“RN - 注册护士 - 家庭保健 - 旅行护士”

      建议:“注册护士”

不同结构化数据类型的定义

本部分介绍与估算工资相关的结构化数据类型。

为了使您的内容能够出现在 Google 搜索的招聘信息中并显示为富媒体搜索结果,您必须为其添加必要属性。您还可添加建议属性,以便添加与您内容相关的更多信息,进而优化用户体验。

Occupation

Occupation 类型负责定义有关职位的信息,如估算工资、技能要求和工作职责。如需了解 Occupation 的完整定义,请访问 schema.org/Occupation

Google 支持的属性如下:

必需属性
estimatedSalary

MonetaryAmountDistribution 数组

相应职业在指定 occupationLocation 的估算工资。请根据百分等级指定工资范围或估算工资。

以下示例显示了一个估算工资范围:

"estimatedSalary": [{
  "@type": "MonetaryAmountDistribution",
  "name": "base",
  "currency": "USD",
  "duration": "P1Y",
  "minValue": "100000", // Inherited from QuantitativeValue
  "maxValue": "150000", // Inherited from QuantitativeValue
  "median": "124900" // Inherited from QuantitativeValueDistribution
}]

如需注明基本工资、奖金和其他形式的货币薪酬,请在 estimatedSalary 数组中定义多种工资。必须指定基本工资,但可以自行选择是否指定其他类型的薪酬。

下面是一个包含奖金的薪酬示例:

"estimatedSalary": [
  {
    "@type": "MonetaryAmountDistribution",
    "name": "base",
    "currency": "USD",
    "duration": "P1Y",
    "minValue": "100000",
    "maxValue": "150000",
    "median": "124900"
  }, {
    "@type": "MonetaryAmountDistribution",
    "name": "bonus",
    "currency": "USD",
    "duration": "P1Y",
    "minValue": "0",
    "maxValue": "34500",
    "median": "4450"
  }
]
estimatedSalary.duration

Duration

获得估算工资所需的期限(采用 ISO 8601 日期格式)。例如,如果估算工资是在一年内获得的,则 duration 应采用 P1Y

estimatedSalary.name

Text

值的类型。必须指定基本工资,但可以自行选择是否指定其他类型的薪酬。例如,“基本工资”、“奖金”和“佣金”。

name

Text

职业名称。此属性允许使用非结构化文本。例如,“软件工程师”。

最佳做法:

  • 此属性必须仅包含职业名称。
  • 请勿在 name 属性中包含职位代码、地址、日期、工资或公司名称。

    不建议:立即申请 IT 职位 - 位于布加勒斯特,会说法语

    建议:市场专员,会说法语

  • 提供简单明了的职位名称。
  • 不要过度使用 !* 等特殊字符。滥用特殊字符可能会导致系统将您的标记视为垃圾性质的结构化标记。可以使用数字以及 /- 等字符。

    不建议:*** 仓库正在招聘工作人员!!有公交可抵达!!***

    建议:仓库发货和收货助理

occupationLocation

CityStateCountry 数组

相应职业说明所适用的工作地点。如果要指定单个工作地点,请在一个 Name 属性中定义国家/地区级、省级行政区级或城市级工作地点。

较具体的工作地点示例(建议)

"occupationLocation": {
  "@type": "City", // Maximum level of granularity (recommended)
  "name": "Mountain View, CA, US" // City, State, and Country inputted on same property
}

较宽泛的工作地点示例

以下是两个不太具体但仍可接受的工作地点示例:

"occupationLocation": {
  "@type": "State",
  "name": "CA, US"
}
"occupationLocation": {
  "@type": "Country",
  "name": "US"
}

最佳做法:

  • 工作地点不得具体到比城市更小的范围。
  • 如果您所在的国家/地区未设立省级行政区,可以在 State 属性中输入地区名称。
  • occupationLocation 的值是职业的实际工作地点,而不是创建估算工资信息时所在的地点。
  • 如果一种 Occupation 类型具有多个工作地点,请在 occupationLocation 数组中指定这些工作地点,如以下示例所示。
    "occupationLocation": [
      {
        "@type": "City",
        "name": "Portland, Oregon, US" // Salary specified for multiple locations
      }, {
        "@type": "City",
        "name": "Seattle, Washington, US"
       }
    ]
  • 职业的工资范围、教育背景要求和资格要求等数据经常会因工作地点而异。为了体现这一点,请定义多个网页,其中每个网页都有自己的 Occupation 定义和不同的 occupationLocation
建议的属性
description

Text

职业说明。

description 必须是对职位的完整说明,包括工作职责、资格要求、技能要求、工作时长、教育背景要求和经验要求。

其他指南:

  • 在用户可能会访问的所有叶级页(而不只是顶级页)上添加 description
  • description 必须唯一地标识相应职业,并提供具体说明来阐述从事相应职业具体需要做哪些事情。

    不建议:“实习 - 实习是协助相关人员胜任白领岗位和专业岗位的工作培训。”

    建议:“数据分析师实习生 - 与数据分析师一起工作的实习机会。数据分析师负责从数据中提取信息资料,以协助相关人员根据数据做出决策。”

  • description 不能与 name 相同。
  • 请勿在 description 中包含招聘单位,而应使用 hiringOrganization
estimatedSalary.currency

Text

金额中由 3 个字母表示的 ISO 4217 货币代码。例如,“USD”或“CAD”。

estimatedSalary.median

Number

中间值。例如,相应职业的工资有半数等于或低于此值。

estimatedSalary.percentile10

Number

第 10 百分位的值。例如,相应职业的工资有 10% 等于或低于此值。

estimatedSalary.percentile25

Number

第 25 百分位的值。例如,相应职业的工资有 25% 等于或低于此值。

estimatedSalary.percentile75

Number

第 75 百分位的值。例如,相应职业的工资有 75% 等于或低于此值。

estimatedSalary.percentile90

Number

第 90 百分位的值。例如,相应职业的工资有 90% 等于或低于此值。

mainEntityOfPage

WebPage

网页描述的主要内容。

mainEntityOfPage.lastReviewed

Date

估算工资信息的生成日期(采用 ISO 8601 格式)。 例如:

"mainEntityOfPage": {
  "@type": "WebPage",
  "lastReviewed": "2017-07-23T14:20:00-05:00"
}

OccupationAggregationByEmployer

OccupationAggregationByEmployer 提供按雇主分组的职位相关数据。例如,当按雇主汇总一组职业时,您可以为这些职业指定行业和招聘单位。

Google 支持的属性如下:

必需属性
estimatedSalary

MonetaryAmountDistribution 数组

相应职业在指定 occupationLocation 的估算工资。请根据百分等级指定工资范围或估算工资。

以下示例显示了一个估算工资范围:

"estimatedSalary": [{
  "@type": "MonetaryAmountDistribution",
  "name": "base",
  "currency": "USD",
  "duration": "P1Y",
  "minValue": "100000", // Inherited from QuantitativeValue
  "maxValue": "150000", // Inherited from QuantitativeValue
  "median": "124900" // Inherited from QuantitativeValueDistribution
}]

如需注明基本工资、奖金和其他形式的货币薪酬,请在 estimatedSalary 数组中定义多种工资。必须指定基本工资,但可以自行选择是否指定其他类型的薪酬。

指定奖金的示例

"estimatedSalary": [
  {
    "@type": "MonetaryAmountDistribution",
    "name": "base",
    "currency": "USD",
    "duration": "P1Y",
    "minValue": "100000",
    "maxValue": "150000",
    "median": "124900"
  }, {
    "@type": "MonetaryAmountDistribution",
    "name": "bonus",
    "currency": "USD",
    "duration": "P1Y",
    "minValue": "0",
    "maxValue": "34500",
    "median": "4450"
  }
]
estimatedSalary.duration

Duration

获得估算工资所需的期限(采用 ISO 8601 日期格式)。例如,如果估算工资是在一年内获得的,则 duration 应采用 P1Y

estimatedSalary.name

Text

值的类型。必须指定基本工资,但可以自行选择是否指定其他类型的薪酬。例如,“基本工资”、“奖金”和“佣金”。

hiringOrganization

Organization

提供相应职位的组织。请将 @context 设为“https://schema.org/”。hiringOrganization 必须是公司名称(例如,“Starbucks, Inc”),而不是正在招人的工作地点的具体地址(例如,“主街上的星巴克”)。例如:

"hiringOrganization": {
  "@context": "https://schema.org/",
  "@type": "Organization",
  "name": "Google LLC"
}

name

Text

职业名称。此属性允许使用非结构化文本。例如,“软件工程师”。

最佳做法:

  • 此属性必须仅包含职业名称。
  • 请勿在 name 属性中包含职位代码、地址、日期、工资或公司名称。

    不建议:立即申请 IT 职位 - 位于布加勒斯特,会说法语

    建议:市场专员,会说法语

  • 提供简单明了的职位名称。
  • 不要过度使用 !* 等特殊字符。滥用特殊字符可能会导致系统将您的标记视为垃圾性质的结构化标记。可以使用数字以及“/”和“-”等字符。

    不建议:*** 仓库正在招聘工作人员!!有公交可抵达!!***

    建议:仓库发货和收货助理

occupationLocation

CityStateCountry 数组

相应职业说明所适用的工作地点。如果要指定单个工作地点,请在一个 Name 属性中定义国家/地区级、省级行政区级或城市级工作地点。

较具体的工作地点示例(建议)

"occupationLocation": {
  "@type": "City", // Maximum level of granularity (recommended)
  "name": "Mountain View, CA, US" // City, State, and Country inputted on same property
}

较宽泛的工作地点示例

以下是两个不太具体但仍可接受的工作地点示例:

"occupationLocation": {
  "@type": "State",
  "name": "CA, US"
}
"occupationLocation": {
  "@type": "Country",
  "name": "US"
}

最佳做法:

  • 工作地点不得具体到比城市更小的范围。
  • 如果您所在的国家/地区未设立省级行政区,可以在 State 属性中输入地区名称。
  • occupationLocation 的值是职业的实际工作地点,而不是创建估算工资信息时所在的地点。
  • 如果一种 Occupation 类型具有多个工作地点,请在 occupationLocation 数组中指定这些工作地点,如以下示例所示。
    "occupationLocation": [
      {
        "@type": "City",
        "name": "Portland, Oregon, US" // Salary specified for multiple locations
      }, {
        "@type": "City",
        "name": "Seattle, Washington, US"
       }
    ]
  • 职业的工资范围、教育背景要求和资格要求等数据经常会因工作地点而异。为了体现这一点,请定义多个网页,其中每个网页都有自己的 Occupation 定义和不同的 occupationLocation
建议的属性
description

Text

职业说明。

description 必须是对职位的完整说明,包括工作职责、资格要求、技能要求、工作时长、教育背景要求和经验要求。

其他指南:

  • 在用户可能会访问的所有叶级页(而不只是顶级页)上添加 description
  • description 必须唯一地标识相应职业,并提供具体说明来阐述从事相应职业具体需要做哪些事情。

    不建议:“实习 - 实习是协助相关人员胜任白领岗位和专业岗位的工作培训。”

    建议:“数据分析师实习生 - 与数据分析师一起工作的实习机会。数据分析师负责从数据中提取信息资料,以协助相关人员根据数据做出决策。”

  • description 不能与 name 相同。
  • 请勿在 description 中包含招聘单位,而应使用 hiringOrganization
estimatedSalary.currency

Text

金额中由 3 个字母表示的 ISO 4217 货币代码。例如,“USD”或“CAD”。

estimatedSalary.median

Number

中间值。例如,相应职业的工资有半数等于或低于此值。

estimatedSalary.percentile10

Number

第 10 百分位的值。例如,相应职业的工资有 10% 等于或低于此值。

estimatedSalary.percentile25

Number

第 25 百分位的值。例如,相应职业的工资有 25% 等于或低于此值。

estimatedSalary.percentile75

Number

第 75 百分位的值。例如,相应职业的工资有 75% 等于或低于此值。

estimatedSalary.percentile90

Number

第 90 百分位的值。例如,相应职业的工资有 90% 等于或低于此值。

industry

Text

与相应职位有关的行业。

jobBenefits

Text

与相应职位有关的福利说明。

mainEntityOfPage

WebPage

网页描述的主要内容。

mainEntityOfPage.lastReviewed

Date

估算工资信息的生成日期(采用 ISO 8601 格式)。 例如:

"mainEntityOfPage": {
  "@type": "WebPage",
  "lastReviewed": "2017-07-23T14:20:00-05:00"
}
sampleSize

Number

汇总工资数据的来源数据点数量。例如:

"sampleSize": 42
yearsExperienceMax

Number

相应职业可以接受的最高工作经验年限。例如,初级职位可能指定最多拥有 5 年的工作经验,如以下示例所示:

"yearsExperienceMax": 5
yearsExperienceMin

Number

相应职业的最低工作经验年限要求。例如,高级职位可能要求至少拥有 10 年工作经验,如以下示例所示:

"yearsExperienceMin": 10

问题排查

如果您在实施或调试结构化数据时遇到问题,请查看下面列出的一些实用资源。

  • 如果您使用了内容管理系统 (CMS) 或其他人负责管理您的网站,请向其寻求帮助。请务必向其转发列明问题细节的任何 Search Console 消息。
  • Google 不能保证使用结构化数据的功能一定会显示在搜索结果中。如需查看导致 Google 无法将您的内容显示为富媒体搜索结果的各种常见原因,请参阅结构化数据常规指南
  • 您的结构化数据可能存在错误。请参阅结构化数据错误列表
  • 如果您的网页受到结构化数据手动操作的影响,其中的结构化数据将会被忽略(但该网页仍可能会出现在 Google 搜索结果中)。如需修正结构化数据问题,请使用“人工处置措施”报告
  • 再次查看相关指南,确认您的内容是否未遵循指南。问题可能是因为出现垃圾内容或使用垃圾标记导致的。不过,问题可能不是语法问题,因此富媒体搜索结果测试无法识别这些问题。
  • 针对富媒体搜索结果缺失/富媒体搜索结果总数下降进行问题排查
  • 请等待一段时间,以便 Google 重新抓取您的网页并重新将其编入索引。请注意,网页发布后,Google 可能需要几天时间才会找到和抓取该网页。有关抓取和索引编制的常见问题,请参阅 Google 搜索抓取和索引编制常见问题解答
  • Google 搜索中心论坛中发帖提问。