code: public LambdaDslObject maxArrayLike(String name, Integer size, Consumer<LambdaDslObject> nestedObject) {
          final PactDslJsonBody maxArrayLike = object.maxArrayLike(name, size);
          final LambdaDslObject dslObject = new LambdaDslObject(maxArrayLike);
          nestedObject.accept(dslObject);
          maxArrayLike.closeArray();
          return this;
      }
docs: Attribute that is an array with a maximum size where each item must match the following example
  
  @param name field name
  @param size maximum size of the array