Getting started
Requirements
- Python 3.11 or newer.
- A VAO Standard checkout containing the validator for the document version.
- HTTPS access to Zenodo for remote commands.
Install
git clone --branch v0.6.0 https://github.com/modavis-project/vao-standard.git
git clone --branch v0.4.1 https://github.com/modavis-project/vao-cli.git
cd vao-cli
python3 -m venv .venv
. .venv/bin/activate
python -m pip install -e .
export VAO_STANDARD_ROOT="$(cd ../vao-standard && pwd)"
vao --version
vao doctor
The standard checkout supplies the normative schemas and reference implementation.
VAO CLI accepts --standard-root for a single command when an environment variable is
not appropriate.
The reference validator runs from the signed v0.6.0 checkout shown above. This tag
includes the older validators. Record the exact commit when reproducing a result.
Do not point VAO_STANDARD_ROOT at an untrusted directory.
Validate the released fixture
vao validate "$VAO_STANDARD_ROOT/Fixtures/VAO04/carriers/minimal.vao"
vao --json validate "$VAO_STANDARD_ROOT/Fixtures/MMIC/1.0.0/roll/preservation-closure.vao"
Successful output distinguishes local bounded checks from full, version-matched
reference conformance. --structural-only deliberately omits the second layer and makes
no conformance claim.
Resolve and inspect a record
Set VAO_DOI to an exact Zenodo version DOI for a published VAO:
export VAO_DOI=10.5281/zenodo.12345678
vao resolve "$VAO_DOI" --exact
vao inspect "$VAO_DOI" --exact --assets --groups --archive
Concept DOI input resolves to the current version and reports both identities. --exact
rejects concept DOI input when a reproducible operation requires a fixed version.
Select and acquire
vao select "$VAO_DOI" \
--kind geometry --quality low --max-bytes 100MiB
vao fetch "$VAO_DOI" urn:example:realization:model:mobile \
--output model.glb --dry-run
vao fetch "$VAO_DOI" urn:example:realization:model:mobile \
--output model.glb
vao materialize "$VAO_DOI" --kind audio --quality mobile \
--output mobile-audio.vao
The dry run reports the delivery type, member, compressed extent, and HTTP byte range. The real operation writes a temporary output, verifies its declared identity, and then commits it atomically. Existing outputs are refused.
On a two-carrier VAO 0.5.0 or 0.6.0 record, inspection starts with the release-declared bootstrap.
If a requested realization lives only in the preservation closure, fetch follows its
exact carrier-member binding and reads only the necessary carrier ranges.
Friendly quality terms map to the standard tiers:
| Input | VAO tier |
|---|---|
preview |
bootstrap |
low |
mobile |
medium |
production |
high |
production-spatial |
full, archival |
preservation |
Output modes
Global options precede the command:
vao --json inspect "$VAO_DOI" --assets
vao --quiet download "$VAO_DOI" --output-dir Downloads
vao --quiet download "$VAO_DOI" --complete --output-dir Preservation
vao --no-color doctor
--jsonemits machine-readable JSON.--quietsuppresses phase and transfer feedback.--no-colorremoves ANSI colour while retaining readable status text.--instance sandboxselects Zenodo Sandbox for externally assigned DOI searches; native Sandbox DOI prefixes also rebind automatically.
Continue with the command reference, architecture, or security model.