All docs
API Reference
lsd_package.json
lsd_package.json is the manifest that makes a folder an LSD package. Full field table, the version-spec grammar, sealed and paid fields, and file paths.
lsd_package.json is the manifest that turns a folder into an LSD package. It is manifest v1 — a
flat JSON object at the package root. This page lists every field, the version-spec grammar, and the
sealed-marketplace additions.
Usage#
JSON
{
"_schema_version": 1,
"name": "mim",
"display_name": "Mining",
"version": "1.2.0",
"description": "Mining pipeline steps.",
"min_lsd": "1.0",
"dependencies": { "lsd-spatial": ">=1.0.0" },
"tool": "tool"
}
Where to start#
- Concept: Package anatomy
- Develop: Develop a package
- Dependencies: Dependencies
Fields#
| Field | Type | Required | Meaning |
|---|---|---|---|
_schema_version |
int | yes | Manifest format version — 1. |
name |
string | yes | The package's unique id (import/dist-style name). |
display_name |
string | no | Human name shown in the Package Manager. |
version |
string | yes | The package version, X.Y.Z. |
description |
string | no | One-line summary. |
author |
string | no | Author name. |
publisher |
string | no | Publishing org (used by the store). |
keywords |
string[] | no | Search keywords. |
min_lsd |
string | no | Minimum LSD API/product version required. |
dependencies |
object | no | { name: version-spec } of other packages needed. |
code |
string | no | The import-package subdirectory; defaults to the package root. |
tool |
string | no | Where the Tool object lives: "tool" or "pkg.mod:tool". |
Version-spec grammar#
Values in dependencies (and min_lsd) use a small grammar:
| Spec | Matches |
|---|---|
* |
any version |
X.Y.Z |
exactly that version |
>=X.Y.Z |
that version or newer |
>X.Y.Z |
strictly newer |
JSON
"dependencies": { "lsd-spatial": ">=1.0.0", "lsd-data": "*" }
Sealed & paid fields#
Packages published through the marketplace add signing and licensing fields:
| Field | Type | Meaning |
|---|---|---|
sealed |
bool | The package is sealed (signed, tamper-checked). |
paid |
object | The plan: pricing / delivery (per-seat, subscription, source, or server-exec). |
key_id |
string | Identifies the signing key used to seal it. |
See Plans & licensing and Publish to the store.
File locations#
| Path | What |
|---|---|
~/.lsd/packages/ |
Installed packages. |
~/.lsd/packages/installed.json |
The record of what is installed. |
Related#
Learn — Package anatomy · Dependencies · Publish to the store
API — PackageManager · CLI commands · Tool
Examples — A complete package
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown