Skip to content
docs
Arxo ↗

Arxo diagnostic 0.1

For LLMs14 sections

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

No accepted version marker is declared.

nametype-or-$refrequireddescription
codestringyes—
severityenum (4)yes—
messagestringyes—
primarySpan#/$defs/SourceSpanno—
primaryLocation#/$defs/DiagnosticLocationno—
relatedSpansarrayno—
relatedLocationsarrayno—
legalSourceAnchorsarrayno—
explanationstringno—
suggestedFixesarrayno—
machineDataobjectno—
locationvalues
properties/severity"error", "warning", "information", "hint"
allOf/1/if/properties/code"LDC-E5301"
allOf/1/then/properties/severity"error"
$defs/TableCellLocation/properties/kind"table_cell"
$defs/ParameterRowLocation/properties/kind"parameter_row"
$defs/JsonPointerLocation/properties/kind"json_pointer"
$defs/SuggestedFix/properties/applicability"always", "maybe", "manual_review"

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

Type: object. Required: line, character.

nametype-or-$refdescription
lineinteger—
characterinteger—
offsetinteger—

Type: object. Required: uri, start, end.

nametype-or-$refdescription
uristring—
start#/$defs/Position—
end#/$defs/Position—

Type: object. Required: span, message.

nametype-or-$refdescription
span#/$defs/SourceSpan—
messagestring—

Type: object. Required: kind, uri, table, row, column.

nametype-or-$refdescription
kind"table_cell"—
uristring—
tablestring—
rowstring—
columnstring—
jsonPointerstring—
sheetstring—
cellstring—
xpathstring—

Type: object. Required: kind, uri, dataset, row, jsonPointer.

nametype-or-$refdescription
kind"parameter_row"—
uristring—
datasetstring—
rowstring—
jsonPointerstring—

Type: object. Required: kind, uri, jsonPointer.

nametype-or-$refdescription
kind"json_pointer"—
uristring—
jsonPointerstring—

Definition DiagnosticLocation.

Type: object. Required: location, message.

nametype-or-$refdescription
location#/$defs/DiagnosticLocation—
messagestring—

Type: object. Required: span, replacement.

nametype-or-$refdescription
span#/$defs/SourceSpan—
replacementstring—

Type: object. Required: title, applicability, edits.

nametype-or-$refdescription
titlestring—
applicabilityenum (3)—
editsarray—

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

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