Skip to content
docs
Arxo ↗

Arxo canonical law.lock 0.3

For LLMs13 sections

Reference page for the lockfile.schema.json JSON schema.

No accepted version marker is declared.

nametype-or-$refrequireddescription
lockVersionenum (3)yes—
languageSemanticsstringyes—
root#/$defs/LockedPackageRefyes—
packagesarrayyes—
dependencyEdgesarrayyes—
editionsAsPresentedevaluation.schema.json#/$defs/LegalTimenoRoot [editions] as_presented of a dated world. Included in the resolution hash; case preparation passes it as the transport field editions_as_presented.
resolutionHash#/$defs/Digestyes—
resourcesarrayno—
expansionsarraynoPinned expansion-definition packages. A compile-time dependency of the consumer: included in the resolution hash, never becomes a semantic import of the compiled form.
semanticLayerenum (4)noSemantic layer of the build. The field is named semanticLayer, not layer, because the short name is taken by the package profile of ontological packages. The layer is a ceiling: declaring higher than the inferred value is allowed, lower is rejected (LDC-E8101). In the lockfile it is the EFFECTIVE build layer: the maximum over the root and all pinned dependencies.
profileobjectnoPinned canon profile: packages is the full expansion of profile B; the resolution hash covers the block.
locationvalues
properties/lockVersion"0.1", "0.2", "0.3"
properties/semanticLayer"L0", "L1", "L2", "L3"
allOf/0/if/properties/lockVersion"0.2"
allOf/1/if/properties/lockVersion"0.3"
$defs/LockedExpansion/properties/expansionProfile"law.expansion/0.1", "law.expansion/0.2"
$defs/LockedResource/properties/kind"parameter-dataset", "decision-table", "label-overlay", "calendar-dataset", "document", "case-snapshot"
$defs/LockedResource/properties/capability"compile_time", "presentation", "law.calendar/0.1", "evidence", "law.case-export/0.1"

https://law.arxo.io/schema/lockfile.schema.json

Type: object. Required: consumer, alias, name, version, entry, expansionProfile, contentHash.

nametype-or-$refdescription
consumer#/$defs/PackageName—
aliasstring—
name#/$defs/PackageName—
version#/$defs/Version—
entrystring—
expansionProfileenum (2)—
contentHash#/$defs/Digest—

Type: string.

Type: string.

Type: string.

Type: string.

Type: object. Required: id, kind, path, contentHash, capability.

nametype-or-$refdescription
idstring—
kindenum (6)—
pathstring—
contentHash#/$defs/Digest—
capabilityenum (5)Resource roles. A3 resources participate in compilation (compile_time); label overlays are a presentation layer outside the compiled form (presentation); calendar datasets are resolved at execution time (calendar form); case documents are evidence support whose bytes are checked against content_hash (evidence).

Type: object. Required: name, version, namespace, contentHash.

nametype-or-$refdescription
name#/$defs/PackageName—
version#/$defs/Version—
namespacestringPackage namespace, a URN. The format keyword of Draft 2020-12 is only an annotation, so the shape is enforced by pattern.
contentHash#/$defs/Digest—

Type: object. Required: name, version, namespace, contentHash, features.

nametype-or-$refdescription
name#/$defs/PackageName—
version#/$defs/Version—
namespacestringPackage namespace, a URN. The format keyword of Draft 2020-12 is only an annotation, so the shape is enforced by pattern.
contentHash#/$defs/Digest—
editorSourceMapHash#/$defs/DigestOptional editor-only source-map sidecar for this pinned dependency. Its bytes are delivered as deps/.editor-source-map.json and must identify this exact CLIR package before an editor may expose authored locations.
questionCatalogHash#/$defs/DigestOptional pinned questions-catalog sidecar, installed as deps/.questions.json for case cards.
taskGuideCatalogHash#/$defs/DigestOptional pinned task-guides catalog sidecar, installed as deps/.task-guides.json for task guides of the dependency. Metadata only: it does not affect CLIR or evaluation semantics; the resolution hash covers the pin.
registryIdstring—
resolverUristringWhere the package was resolved from. pattern requires at least a URI scheme; it is not a full URI parser.
featuresarray—
signatureobject—

Type: object. Required: from, to, requested, resolved, features.

nametype-or-$refdescription
from#/$defs/PackageName—
to#/$defs/PackageName—
requested#/$defs/Version—
resolved#/$defs/Version—
featuresarray—

Documentation for Arxo. Writings — blog.arxo.io.

Anonymous visit counts on stats.arxo.io, no cookies.