Support maxItems keyword