Skip to main content

Diagnostic

messagestringrequired

The message of the diagnostic.

Example: Incorrect blueprint version
levelintegerrequired

The level of the diagnostic.

Example: 1
range object
start object

The start position of the range.

lineinteger

The line number of the source position.

Example: 1
columninteger

The column number of the source position.

Example: 1
endPosition objectnullable

An optional end position for the location where the location represents a range that identifies a particular item in a document.

lineinteger

The line number of the source position.

Example: 1
columninteger

The column number of the source position.

Example: 1
end object

The end position of the range.

lineinteger

The line number of the source position.

Example: 1
columninteger

The column number of the source position.

Example: 1
endPosition objectnullable

An optional end position for the location where the location represents a range that identifies a particular item in a document.

lineinteger

The line number of the source position.

Example: 1
columninteger

The column number of the source position.

Example: 1
columnAccuracyinteger

The column accuracy of the range in the host document.

Possible values: [1, 2]

Example: 1
Diagnostic
{
"message": "Incorrect blueprint version",
"level": 1,
"range": {
"start": {
"line": 1,
"column": 1,
"endPosition": {
"line": 1,
"column": 1
}
},
"end": {
"line": 1,
"column": 1,
"endPosition": {
"line": 1,
"column": 1
}
},
"columnAccuracy": 1
}
}