I think you can - any String is still allowed (xsd:string). It just provides some additional hint to STS to provide code completion.