ParserTestCaseAssertionsForOutput is a datatype for assertions on the shape of the given output event. It's a key-value pair, where the index of the output event is the key, and the assertions are the value.

This datatype is used by ParserTestCase — which is used by both UnsavedParser, which is used by the generateParserFromTemplate() query field, and Parser, which is used by several mutation and query fields.

Table: ParserTestCaseAssertionsForOutput

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
assertionsParserTestCaseOutputAssertionsyes Long-Term Assertions on the shape of a given test case output event. See ParserTestCaseOutputAssertions.
outputEventIndexIntyes Long-Term The index of the output event to which the assertions should apply.