Skip to main content

BlueprintValidationEvent

messagestringrequired

The message of the diagnostic event.

Example: Incorrect blueprint version
levelintegerrequired

The level of the diagnostic.

Example: 1
timestampintegerrequired

The unix timestamp of the event in seconds.

Example: 1678901234
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
endbooleanrequired

Indicates whether or not the diagnostic event is the last event in the stream. This will be true if the event is the last event in the stream. This will be false if the event is not the last event in the stream.

Example: false
BlueprintValidationEvent
{
"message": "Incorrect blueprint version",
"level": 1,
"timestamp": 1678901234,
"range": {
"start": {
"line": 1,
"column": 1,
"endPosition": {
"line": 1,
"column": 1
}
},
"end": {
"line": 1,
"column": 1,
"endPosition": {
"line": 1,
"column": 1
}
},
"columnAccuracy": 1
},
"end": false
}