Validate Godot save-game fixtures and catch compatibility drift before release.
Project description
Godot Save Schema Guard
Validate Godot save-game fixtures against explicit schemas and catch incompatible save format changes before release.
The first release focuses on JSON saves because they are deterministic to validate outside the engine. It is meant to be a release gate: do not break player saves.
Install
python -m pip install -e .
When published:
python -m pip install godot-save-schema-guard
Quick Start
godot-save-guard validate saves\fixtures --schema schemas\save.schema.json
godot-save-guard validate examples\fixtures --schema examples\schema\save.schema.json --format markdown --output SAVE_COMPATIBILITY.md
godot-save-guard migrate saves\v1 --output-dir migrated\v2 --command "godot --headless --script tools/migrate_save.gd --input {input} --output {output}"
What It Checks
- Invalid JSON fixtures.
- Missing top-level
version. - Missing required schema properties.
- Numeric type drift such as
"100"where a number is expected. - Type mismatches.
- Unexpected properties when
additionalPropertiesis false. - Migration command failures.
Documentation
Development
python -m pip install -e .
python -m unittest discover -s tests -v
godot-save-guard validate examples\fixtures --schema examples\schema\save.schema.json --fail-on none
Fixtures are generic and intentionally small so the repository is safe to publish.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file godot_save_schema_guard-0.1.1.tar.gz.
File metadata
- Download URL: godot_save_schema_guard-0.1.1.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18599db9cc7bbe90d7593f9a1e331efe6dd23fe0bce6080a4f1f7f59436a75bc
|
|
| MD5 |
fb4441165288a687f775757b1feb74db
|
|
| BLAKE2b-256 |
6856c35a3de11b3b3653ac01b00d6999ea901a77a7d6b4a0da54de17c9b01574
|
Provenance
The following attestation bundles were made for godot_save_schema_guard-0.1.1.tar.gz:
Publisher:
publish-save-schema-guard.yml on NonniGB/godot-production-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
godot_save_schema_guard-0.1.1.tar.gz -
Subject digest:
18599db9cc7bbe90d7593f9a1e331efe6dd23fe0bce6080a4f1f7f59436a75bc - Sigstore transparency entry: 1764609422
- Sigstore integration time:
-
Permalink:
NonniGB/godot-production-toolkit@6e2b31e529d0e641fe23e807b5ad656f6602580f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/NonniGB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-save-schema-guard.yml@6e2b31e529d0e641fe23e807b5ad656f6602580f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file godot_save_schema_guard-0.1.1-py3-none-any.whl.
File metadata
- Download URL: godot_save_schema_guard-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
558894b99cea820727bc89cb54c89fec6aed57b3362fdcd328d250d511d803ea
|
|
| MD5 |
1c852c8d7293e6d63d4ce5bd695680dd
|
|
| BLAKE2b-256 |
6a5299c522e34faa7f77a0e0bb2caddb8e053ac10be105cb6edac34f274d720d
|
Provenance
The following attestation bundles were made for godot_save_schema_guard-0.1.1-py3-none-any.whl:
Publisher:
publish-save-schema-guard.yml on NonniGB/godot-production-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
godot_save_schema_guard-0.1.1-py3-none-any.whl -
Subject digest:
558894b99cea820727bc89cb54c89fec6aed57b3362fdcd328d250d511d803ea - Sigstore transparency entry: 1764610236
- Sigstore integration time:
-
Permalink:
NonniGB/godot-production-toolkit@6e2b31e529d0e641fe23e807b5ad656f6602580f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/NonniGB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-save-schema-guard.yml@6e2b31e529d0e641fe23e807b5ad656f6602580f -
Trigger Event:
workflow_dispatch
-
Statement type: