Skip to main content

User

idinteger<int64>
pet object
petType object

Possible values: [cat, dog, bee]

huntingSkillstringrequired

The measured skill for hunting

Possible values: [clueless, lazy, adventurous, aggressive]

Default value: lazy
Example: adventurous
usernamestring

User supplied username

Possible values: >= 4 characters

Example: John78
firstNamestring

User first name

Possible values: non-empty

Example: John
lastNamestring

User last name

Possible values: non-empty

Example: Smith
emailstring<email>

User email address

Example: john.smith@example.com
passwordstring<password>

User password, MUST contain a mix of upper and lower case letters, as well as digits

Possible values: >= 8 characters, Value must match regular expression /(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])/

Example: drowssaP123
phonestring

User phone number in international format

Possible values: Value must match regular expression /^\+(?:[0-9]-?){6,14}[0-9]$/

Example: +1-202-555-0192
userStatusinteger<int32>

User status

User
{
"id": 0,
"pet": {
"id": 0,
"category": {
"id": 0,
"name": "string",
"sub": {
"prop1": "string"
}
},
"name": "Guru",
"photoUrls": [
"string"
],
"friend": {},
"tags": [
{
"id": 0,
"name": "string"
}
],
"status": "available",
"petType": {
"huntingSkill": "adventurous"
}
},
"username": "John78",
"firstName": "John",
"lastName": "Smith",
"email": "john.smith@example.com",
"password": "drowssaP123",
"phone": "+1-202-555-0192",
"userStatus": 0
}