Metadata and image commands
Metadata and image commands
fossa metadata validate-counter FILE checks the tokenizer bundle against its reference prompts and prints its SHA-256. See exact text counting.
metadata validate KIND FILE validates exact local JSON and reports its hash. Kinds are provider, model, and list. This command requires no configuration, network, or signer.
metadata upload KIND FILE plans an immutable upload. image upload FILE accepts PNG, JPEG, or WebP up to 2 MiB. List profile --icon-file accepts a valid white SVG up to 64 KiB. Execution uses wallet-authenticated hosting.
Uploads return hash, URI, and byte count. They do not update on-chain references. Old immutable URLs keep serving their original bytes. Publish a new commitment separately. Self-hosted document checks require public HTTPS on port 443 without credentials, fragments, or redirects.
The metadata contract defines document and semantic validation.