#%RAML 1.0 DataType # UserDTO type: object properties: username: pattern: [0-9a-zA-Z]{4,16} description: 用户名 role: type: UserIdentity description: 用户角色 email: pattern: ^.+@.+\..+$ description: 邮箱 nickname: type: string description: 昵称