mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 11:36:03 +01:00
This continues the work for formalizing our current JSON docs. Note that in the process, a few bugs were caught: - `closureSize` was repeated twice, forgot `closureDownloadSize` - `file*` fields should be `download*`. They are in fact called that in the line-oriented `.narinfo` file, but were renamed in the JSON format.
796 B
796 B
{{#include store-object-info-v1-fixed.md}}
Examples
Minimal store object (content-addressed)
{{#include schema/store-object-info-v1/pure.json}}
Store object with impure fields
{{#include schema/store-object-info-v1/impure.json}}
Minimal store object (empty)
{{#include schema/store-object-info-v1/empty_pure.json}}
Store object with all impure fields
{{#include schema/store-object-info-v1/empty_impure.json}}
NAR info (minimal)
{{#include schema/nar-info-v1/pure.json}}
NAR info (with binary cache fields)
{{#include schema/nar-info-v1/impure.json}}