User
pet object
- Pet
- Tag
Pet ID
category Category
Categories this pet belongs to
Category ID
Category name
Possible values: non-empty
sub object
Test Sub Category
Dumb Property
The name given to a pet
Guru
The list of URL to a cute photos featuring pet
Possible values: <= 20
tags Tag[]required
Tags attached to the pet
Possible values: >= 1
Tag ID
Tag name
Possible values: non-empty
Pet status in the store
Enum Value | Description |
---|---|
available | When the pet is available |
pending | When the pet is being sold |
sold | When the pet has been sold. These descriptions can contain line breaks and also links |
Possible values: [available
, pending
, sold
]
Type of a pet
Possible values: [cat
, dog
, bee
]
- cat
- dog
- bee
The measured skill for hunting
Possible values: [clueless
, lazy
, adventurous
, aggressive
]
lazy
adventurous
The size of the pack the dog is from
Possible values: >= 1
1
Average amount of honey produced per day in ounces
0
3.14
Tag ID
Tag name
Possible values: non-empty
User supplied username
Possible values: >= 4 characters
John78
User first name
Possible values: non-empty
John
User last name
Possible values: non-empty
Smith
User email address
john.smith@example.com
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])/
drowssaP123
User phone number in international format
Possible values: Value must match regular expression /^\+(?:[0-9]-?){6,14}[0-9]$/
+1-202-555-0192
User status
{
"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
}