Skip to content

About

Versioned schemas, fixtures, and validation tools for Coordbench.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Coordbench Contracts

Coordbench製品間で交換するContract v1です。JSON Schema、synthetic fixture、offline validator、互換性testを含みます。

このtreeはcoordbench-platformの明示allowlistからGit履歴を継承せず生成されます。Private Repositoryの履歴、secret、credential、個人情報、実dataは含みません。

Contract set

  • Contract set: 1.0.0
  • Schema ID: urn:coordbench:schema:<resource>:v1
  • JSON Schema: Draft 2020-12
  • JSON canonicalization: RFC 8785
  • Resource checksum: SHA-256

Offline validation

python3 -m venv .venv
.venv/bin/python -m pip install -r requirements-dev.txt
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=python PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
  .venv/bin/python -m pytest -q -p no:cacheprovider tests
PYTHONPATH=python .venv/bin/python -m coordbench_contracts validate \
  --schema-id urn:coordbench:schema:site:v1 \
  --document fixtures/valid/site.v1.json

Validationはoffline catalogだけを使用し、unknown schema、unknown major、checksum mismatchをfail closedで拒否します。

Data policy

fixtureはsynthetic専用です。secret、credential、個人情報、customer data、private座標、実点群、database、backup、model weightを追加しないでください。

Ownership and license

  • Copyright holder: @yusuke315
  • Repository owner: coordbench
  • Code owner: @yusuke315
  • License: Apache License 2.0。詳細はLICENSEを参照してください。

Publication status

このclean treeのcoordbench/coordbench-contractsへのinitial commit / pushは2026-08-18に承認されました。Release、Repository保護設定、将来versionの公開はそれぞれ別の変更として扱います。

About

Versioned schemas, fixtures, and validation tools for Coordbench.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages