je_load_density.utils.schema.action_schema

JSON Schema export for LoadDensity action JSON.

Produces a Draft 2020-12 schema describing the action list shape so IDEs (VS Code, JetBrains) can offer completion and validation.

Functions

action_json_schema([known_commands])

Build the JSON Schema dict describing an action JSON document.

export_schema(path[, known_commands])

Write the schema to disk.

je_load_density.utils.schema.action_schema.action_json_schema(known_commands: Iterable[str] | None = None) Dict[str, Any]

Build the JSON Schema dict describing an action JSON document.

je_load_density.utils.schema.action_schema.export_schema(path: str, known_commands: Iterable[str] | None = None) str

Write the schema to disk. Returns the absolute path written.