[doc] Correct validation rule in model

In the example 'length' is still mentioned in docs. This is not working anymore and should be changed to 'string'