AGPL-3.0-or-later · forever.

the standard library

nika:uuid

Generate a UUID · v7 (default · sortable) or v4 (random). One of 28 builtins in the closed nika: namespace: pure JSON/data transforms, no I/O.

  • datafamily9 tools
  • 1argsdeclared contract
  • 0requiredall optional
  • craftedusage filecheck-green below

the contract

1 args · 0 required

A missing required arg is a nika check finding before anything runs; the vocabulary below comes from the binary itself (nika catalog --tools --json), not from prose.

version
stringv7 (default) | v4

in a real file

a complete workflow
uuid.nika.yaml
nika: v1workflow:  id: stamp-the-run  description: "a sortable v7 id — minted once, threaded through the file"tasks:  mint:    invoke:      tool: "nika:uuid"      args: { version: v7 }  stamp:    with:      mint: ${{ tasks.mint.output }}    invoke:      tool: "nika:write"      args:        path: "./run-id.txt"        content: "${{ with.mint }}"outputs:  run_id: ${{ tasks.mint.output }}

a complete file, nika check green; the drift gate re-validates this copy against the schema on every test run. open it in the playground →

cross-references

ships in skeletons

no skeleton ships it; the crafted file above is the reference.

the check gates

the data family

9 tools

pure JSON/data transforms, no I/O.

Machines read the same vocabulary at /tools/catalog.json; the contract lives in spec 06 · stdlib. Install and ask the binary itself: nika catalog --tools. Read the spec →