User
idinteger<int64>
pet object
petType object
Possible values: [cat, dog, bee]
- cat
- dog
- bee
huntingSkillstringrequired
The measured skill for hunting
Possible values: [clueless, lazy, adventurous, aggressive]
Default value:
lazyExample:
adventurouspackSizeinteger<int32>required
The size of the pack the dog is from
Possible values: >= 1
Default value:
1honeyPerDaynumberrequired
Average amount of honey produced per day in ounces
Default value:
0Example:
3.14usernamestring
User supplied username
Possible values: >= 4 characters
Example:
John78firstNamestring
User first name
Possible values: non-empty
Example:
JohnlastNamestring
User last name
Possible values: non-empty
Example:
Smithemailstring<email>
User email address
Example:
john.smith@example.compasswordstring<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:
drowssaP123phonestring
User phone number in international format
Possible values: Value must match regular expression /^\+(?:[0-9]-?){6,14}[0-9]$/
Example:
+1-202-555-0192userStatusinteger<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
}