Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

JSON

Filepack uses JSON for command input and output. This chapter includes the schemas of all filepack types which have JSON representations, including Manifest, which is read by filepack archive and written by filepack manifest.

Schemas

schemadescription
AudioProperties of an audio file.
AudioCodecAudio file codec.
AudioFormatAudio file container format.
BooleanTrue or false.
BytesByte string, encoded as lowercase hexadecimal.
CheckedUrlhttp:// or https:// URL.
ChromaSubsamplingRatio of image chroma to luma samples.
ColorTypeHow an image’s pixels encode color.
ComponentBufPath component.
DimensionsImage dimensions in pixels.
DirectoryTreeDirectory tree of subdirectories and file content.
DirectoryTreeEntryEntry in a directory tree.
FileHashed file.
HashBLAKE3 hash.
ImageProperties of an image file.
ImageFormatFormat of an image file.
InfoLocal configuration.
Item<Audio>Media file.
Item<Image>Media file.
Item<Video>Media file.
KeyNameName of a key in the keychain.
LanguageISO 639-1 language code.
LintCheck applied to a package by filepack lint.
LintGroupNamed group of lints.
ManifestPackage manifest unpacked from a package archive.
MediaPackage media content metadata.
MetadataMetadata describing a package’s content.
OrientationTransformation to apply when displaying an image.
PackageMetadataMetadata describing a package itself as opposed to its content.
PublicKeyEd25519 public key.
RelativePathRelative forward-slash-separated path.
RotationRotation in degrees, one of 0, 90, 180, or 270.
Signature<Statement>Ed25519 signature over an enveloped message.
SignatureEntrySignature details.
StringString.
TextNon-empty single line of text.
TimePoint in time with varying precision.
TotalsDirectory totals.
TrackTrack in a video file.
TrackCodecCodec of a video file track.
TrackInfoTrack-type specific information.
UnsignedIntegerUnsigned 64-bit integer.
Utf8PathBufUTF-8 filesystem path.
VideoProperties of a video file.
VideoFormatContainer format of a video file.