Shouldn't this be `type: Array`?