Named Example of a Collection

I’m trying to define a simple response and reference a named example. This is fine for the member endpoint, where I simply list the properties, as so:

#%RAML 1.0 NamedExample
example-1:
  Id: "1"
  testName: "Test1"
  testDate: "2020-07-09"

But I am struggling to adapt this for a collection

#%RAML 1.0 NamedExample
examples-1:
  tests:
    Id: "1"
    testName: "Test1"
    testDate: "2020-07-09"
    Id: "2"
    testName: "Test2"
    testDate: "2020-07-09"

How do I specify that I want the first three properties to be one object, and the second three to be a second object, in an array?

As you may know RAML is based on YAML 1.2 and there are different ways to express arrays (aka “sequences”) in YAML. Something like this should work:

#%RAML 1.0 NamedExample
examples-1:
  -
    Id: "1"
    testName: "Test1"
    testDate: "2020-07-09"
  -
    Id: "2"
    testName: "Test2"
    testDate: "2020-07-09"