Cat
A representation of a cat
idint64
Pet ID
category Category
Categories this pet belongs to
idint64
Category ID
namestring
Category name
Possible values: non-empty
sub object
Test Sub Category
prop1string
Dumb Property
namestringrequired
The name given to a pet
Example:
Guru
photoUrlsurl[]required
The list of URL to a cute photos featuring pet
Possible values: <= 20
friend
tags Tag[]required
Tags attached to the pet
Possible values: >= 1
Array [
idint64
Tag ID
namestring
Tag name
Possible values: non-empty
]
statusstring
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
]
petType object
Type of a pet
Possible values: [cat
, dog
, bee
]
- cat
- dog
- bee
packSizeint32required
The size of the pack the dog is from
Possible values: >= 1
Default value:
1
honeyPerDaynumberrequired
Average amount of honey produced per day in ounces
Default value:
0
Example:
3.14
huntingSkillstringrequired
The measured skill for hunting
Possible values: [clueless
, lazy
, adventurous
, aggressive
]
Default value:
lazy
Example:
adventurous
Cat
{
"id": 0,
"category": {
"id": 0,
"name": "string",
"sub": {
"prop1": "string"
}
},
"name": "Guru",
"photoUrls": [
"string"
],
"friend": {},
"tags": [
{
"id": 0,
"name": "string"
}
],
"status": "available",
"huntingSkill": "adventurous"
}