# Reference

The repo's own docs, rendered as they are. Each page names its source file; the code in [the GitHub repo](https://github.com/project-wildshard/shard-format) is the spec, and these pages explain it. Format version 0.1.0.6.

- [Shard file fields](https://format.wildshard.io/docs/shardfile.md) (`docs/SHARDFILE.md`): What `shard.json` and its sections may say: every field, its bounds, the 500 m cube and its entryways.
- [Runtime contract](https://format.wildshard.io/docs/runtime-contract.md) (`docs/RUNTIME-CONTRACT.md`): Which sections, client-plan kinds, server hosts and named files a shard may declare, which engine host runs each, the budgets and the limits. Mostly generated from code.
- [Script ABI](https://format.wildshard.io/docs/script-abi.md) (`docs/SCRIPT-ABI.md`): The Wasm a shard ships as its only code: imports, exports, the IO block, sides, fuel and admission.
- [Named file families](https://format.wildshard.io/docs/platform-file-families.md) (`docs/PLATFORM-FILE-FAMILIES.md`): The registered streamed JSON file families and the schema that defines each.
- [Preparation](https://format.wildshard.io/docs/preparation.md) (`docs/preparation.md`): `cook.json` and `validation.json`: what an author computes before upload, and the preparation spec version.
- [Validation codes](https://format.wildshard.io/docs/validation-codes.md) (`docs/VALIDATION-CODES.md`): Every stable refusal and report code the validator gives. Generated from code.
- [Audio targets](https://format.wildshard.io/docs/audio.md) (`docs/audio.md`): What audio to ship in a shard, the budget and the checks that hold it.
- [Species layers](https://format.wildshard.io/docs/creature-layers.md) (`docs/CREATURE-LAYERS.md`): The optional layers a species row may carry: type, body, temperament, senses, abilities.
- [The wire](https://format.wildshard.io/docs/wire.md) (`docs/wire.md`): `@wildshard/wire`: versions, framing and the rules for changing the network protocol.
- [One way](https://format.wildshard.io/docs/one-way.md) (`docs/ONE-WAY.md`): The ceilings that keep one shard format: counted legacy paths may only fall.
