Appearance
Reference
Reference pages distill the schemas and CLI surface that the preceding sections describe. Every entry here is sourced from code and lists the file you would read for the authoritative definition.
Pages
- Manifest schema —
matrix.jsonshape, enforced byvalidateManifestForMxCli - Package metadata schema —
IPackageDiscoveryMetadatashape used bymx publish - Config contract schema — the optional
configblock plus.matrix/<env>.environment.jsonschema - Deployment profile schema —
host.json,runtime-env/<id>.json, runtime records - CLI reference — every
mx/matrixandhivecastsubcommand grouped by lifecycle stage
How these schemas are kept honest
The schemas here are not a separate document. They are descriptions of what the code's validators and type definitions enforce. When the code changes, this site changes too — that's why every page links back to the files in projects/matrix-3/packages/mx-cli/src/utils/ and projects/matrix-3/packages/host-service/src/types.ts.
If a field documented here is no longer in the validator or type definition, the code is the source of truth and this site is wrong; file the discrepancy.
See also
- Each section's pages link individual fields back to the source.
- Overview → What is a Matrix package?
- Authoring → Package manifest