- !StreamStart

- !DocumentStart
- !SequenceStart
- !SequenceEnd
- !DocumentEnd

- !DocumentStart
- !SequenceStart { tag: '!mytag', implicit: false }
- !SequenceEnd
- !DocumentEnd

- !DocumentStart
- !SequenceStart
- !SequenceStart
- !SequenceEnd
- !SequenceStart { tag: '!mytag', implicit: false }
- !SequenceEnd
- !SequenceStart
- !Scalar
- !Scalar { value: 'data' }
- !Scalar { tag: '!mytag', implicit: [false,false], value: 'data' }
- !SequenceEnd
- !SequenceStart
- !SequenceStart
- !SequenceStart
- !Scalar
- !SequenceEnd
- !SequenceEnd
- !SequenceEnd
- !SequenceStart
- !SequenceStart { tag: '!mytag', implicit: false }
- !SequenceStart
- !Scalar { value: 'data' }
- !SequenceEnd
- !SequenceEnd
- !SequenceEnd
- !SequenceEnd
- !DocumentEnd

- !DocumentStart
- !SequenceStart
- !MappingStart
- !Scalar { value: 'key1' }
- !SequenceStart
- !Scalar { value: 'data1' }
- !Scalar { value: 'data2' }
- !SequenceEnd
- !Scalar { value: 'key2' }
- !SequenceStart { tag: '!mytag1', implicit: false }
- !Scalar { value: 'data3' }
- !SequenceStart
- !Scalar { value: 'data4' }
- !Scalar { value: 'data5' }
- !SequenceEnd
- !SequenceStart { tag: '!mytag2', implicit: false }
- !Scalar { value: 'data6' }
- !Scalar { value: 'data7' }
- !SequenceEnd
- !SequenceEnd
- !MappingEnd
- !SequenceEnd
- !DocumentEnd

- !DocumentStart
- !SequenceStart
- !SequenceStart { flow_style: true }
- !SequenceStart
- !SequenceEnd
- !Scalar
- !Scalar { value: 'data' }
- !Scalar { tag: '!mytag', implicit: [false,false], value: 'data' }
- !SequenceStart { tag: '!mytag', implicit: false }
- !Scalar { value: 'data' }
- !Scalar { value: 'data' }
- !SequenceEnd
- !SequenceEnd
- !SequenceEnd
- !DocumentEnd

- !StreamEnd
