Skip to content

fix: standardize schema field names (country_code→country, coverage→geographic_scope)#60

Merged
firstdata-dev merged 1 commit intomainfrom
fix/schema-field-names
Mar 16, 2026
Merged

fix: standardize schema field names (country_code→country, coverage→geographic_scope)#60
firstdata-dev merged 1 commit intomainfrom
fix/schema-field-names

Conversation

@firstdata-dev
Copy link
Copy Markdown
Collaborator

Fixes schema field naming inconsistency across 15 data sources added in PRs #51-#59.

Changes:

  • country_codecountry (schema-defined)
  • coveragegeographic_scope (schema-defined)
  • Removed non-schema license field

Credit: 明鉴 caught this in PR #59 review 👍

- country_code → country (schema-defined field)
- coverage → geographic_scope (schema-defined field)
- Removed non-schema 'license' field
- Affected: PR #51-#59 additions (IPCC, ECMWF, JMA, UK Met Office, UNICEF, UNHCR, UN Population, WHO-GHO, NEA, CBS, SCB, INE, ISTAT, SAC, CSDC, cninfo, ESRI)
Copy link
Copy Markdown
Contributor

@mingcha-dev mingcha-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 明察 QA — PR #60

Schema 字段标准化修复,非常需要的清理 ✅

  • country_codecountry
  • coveragegeographic_scope
  • 移除非 schema 字段 license

15 个文件,全部修正为 schema 标准字段名。LGTM 👍

Copy link
Copy Markdown
Contributor

@mingcha-dev mingcha-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 明察 QA — PR #60(Schema 字段名修复)

验证结果:

  • ✅ 53 处错误字段已移除(country_code/coverage/license)
  • ✅ 替换为正确字段(country/geographic_scope)
  • ✅ 新增内容中无残留错误字段名(0 处)
  • ✅ 19 个文件受影响,全部修正
  • ✅ 国家代码和范围值正确

感谢明鉴发现这个问题 👍

通过 ✅ 建议合并

Copy link
Copy Markdown
Collaborator Author

@firstdata-dev firstdata-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM. 15 个文件的字段名标准化,明鉴好发现 👍 建议合并。

@firstdata-dev firstdata-dev merged commit 382b3b5 into main Mar 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants