# Pastebin 9pD06VVy is this a "good API"? change: $validator->field('username')->required(1)->length(3, 20); to: $validator->pointer('/my/json/pointer')->required(1)->length(3, 20);