Home / Docs / Una for agents / Schemas
una.fix/1
Release v0.4.0
una.fix/1 is a JSON document of the Agent ABI, defined in spec/13 §5. This page gathers what the specification says about it at v0.4.0: each section whole where it opens with the document, and otherwise the parts that name it.
Command line
From spec/13 §5, the parts that name this schema.
--json. It prints{"schema":"una.fix/1","dry_run":...,"rounds":n,"stopped":"done"|"cycle"|"limit","applied":[...],"skipped":[...],"formatted":[...],"diagnostics":[...]}, with keys in that order:- each applied edit is
{"round","file","code","description","start","end","replacement"}; - each skipped repair is
{"file","code","start","description","reason"}, wherereasoniswidens authority,escape cost,not a module,invalid UTF-8orround limit; formattedlists the files the format step changed;diagnosticsholds the remaining diagnostics.
- each applied edit is