Schemas
ApiResponse
- objectExample:{"code":0,"type":"string","message":"string"}Properties:- codeinteger:int32Example:- 0
- typestringExample:- "string"
- messagestringExample:- "string"
 
Cat
A representation of a cat
- objectExample:{"id":0,"category":{"id":0,"name":"string"},"name":"doggie","photoUrls":["string"],"tags":[{"id":0,"name":"string"}],"status":"available","huntingSkill":"clueless"}Properties:- idinteger:int64RequiredExample:- 0
- categoryobjectCategoryExample:- {"id":0,"name":"string"}
- namestringRequiredExample:- "doggie"
- photoUrlsarray<string>RequiredExample:- ["string"]Items:- stringExample:"string"
 
- tagsarrayExample:- [{"id":0,"name":"string"}]Items:- objectTagExample:{"id":0,"name":"string"}
 
- statusstringpet status in the storeExample:- "available"Enum:- available- pending- sold
- huntingSkillstringRequiredThe measured skill for huntingExample:- "clueless"Enum:- clueless- lazy- adventurous- aggressive
 
Category
- objectExample:{"id":0,"name":"string","sub":{"prop1":"string"}}Properties:- idinteger:int64IdCategory IDExample:- 0ReadOnly
- namestringCategory nameExample:- "string"Minimum string length:- 1
- subobjectTest Sub CategoryExample:- {"prop1":"string"}
 
Dog
A representation of a dog
- objectExample:{"id":0,"category":{"id":0,"name":"string"},"name":"doggie","photoUrls":["string"],"tags":[{"id":0,"name":"string"}],"status":"available","packSize":1}Properties:- idinteger:int64RequiredExample:- 0
- categoryobjectCategoryExample:- {"id":0,"name":"string"}
- namestringRequiredExample:- "doggie"
- photoUrlsarray<string>RequiredExample:- ["string"]Items:- stringExample:"string"
 
- tagsarrayExample:- [{"id":0,"name":"string"}]Items:- objectTagExample:{"id":0,"name":"string"}
 
- statusstringpet status in the storeExample:- "available"Enum:- available- pending- sold
- packSizeinteger:int32RequiredThe size of the pack the dog is fromExample:- 1- >= 1
 
HoneyBee
A representation of a honey bee
- objectExample:{"id":0,"category":{"id":0,"name":"string"},"name":"doggie","photoUrls":["string"],"tags":[{"id":0,"name":"string"}],"status":"available","honeyPerDay":3.14}Properties:- idinteger:int64RequiredExample:- 0
- categoryobjectCategoryExample:- {"id":0,"name":"string"}
- namestringRequiredExample:- "doggie"
- photoUrlsarray<string>RequiredExample:- ["string"]Items:- stringExample:"string"
 
- tagsarrayExample:- [{"id":0,"name":"string"}]Items:- objectTagExample:{"id":0,"name":"string"}
 
- statusstringpet status in the storeExample:- "available"Enum:- available- pending- sold
- honeyPerDaynumberRequiredAverage amount of honey produced per day in ouncesExample:- 3.14
 
Id
Id
- integer:int64Example:0ReadOnly
Order
- objectExample:{"id":0,"petId":0,"quantity":1,"shipDate":"2019-08-24T14:15:22Z","status":"placed","complete":false,"rqeuestId":"string"}Properties:- idinteger:int64IdOrder IDExample:- 0ReadOnly
- petIdinteger:int64IdPet IDExample:- 0ReadOnly
- quantityinteger:int32Example:- 1- >= 1
- shipDatestring:date-timeEstimated ship dateExample:- "2019-08-24T14:15:22Z"
- statusstringOrder StatusExample:- "placed"Enum:- placed- approved- delivered
- completebooleanIndicates whenever order was completed or notExample:- falseReadOnly
- rqeuestIdstringUnique Request IdExample:- "string"WriteOnly
 
Pet
- objectExample:{"id":0,"category":{"id":0,"name":"string"},"name":"Guru","photoUrls":["string"],"friend":{"id":0,"category":{"id":0,"name":"string"},"name":"doggie","photoUrls":["string"],"tags":[{"id":0,"name":"string"}],"status":"available"},"tags":[{"id":0,"name":"string"}],"status":"available","petType":"string"}Properties:- idinteger:int64
- categoryobjectCategoryCategories this pet belongs toExample:- {"id":0,"name":"string"}
- namestringRequiredThe name given to a petExample:- "Guru"
- photoUrlsarray<string:url>RequiredThe list of URL to a cute photos featuring petExample:- ["string"]Maximum number of items:- 20Items:- string:urlExample:"string"
 
- friendobjectPetExample:- {"id":0,"category":{"id":0,"name":"string"},"name":"doggie","photoUrls":["string"],"tags":[{"id":0,"name":"string"}],"status":"available"}
- tagsarrayTags attached to the petExample:- [{"id":0,"name":"string"}]Maximum number of items:- 1Items:- objectTagExample:{"id":0,"name":"string"}
 
- statusstringPet status in the storeExample:- "available"Enum:- available- pending- sold
- petTypestringType of a petExample:- "string"
 
Tag
- objectExample:{"id":0,"name":"string"}Properties:- idinteger:int64IdTag IDExample:- 0ReadOnly
- namestringTag nameExample:- "string"Minimum string length:- 1
 
User
- objectExample:{"id":0,"pet":{"id":0,"category":{"id":0,"name":"string"},"name":"doggie","photoUrls":["string"],"tags":[{"id":0,"name":"string"}],"status":"available"},"username":"John78","firstName":"John","lastName":"Smith","email":"john.smith@example.com","password":"drowssaP123","phone":"+1-202-555-0192","userStatus":0}Properties:- idinteger:int64IdExample:- 0ReadOnly
- petobjectExample:- {"id":0,"category":{"id":0,"name":"string"},"name":"doggie","photoUrls":["string"],"tags":[{"id":0,"name":"string"}],"status":"available"}One Of:- objectPetExample:{"id":0,"category":{"id":0,"name":"string"},"name":"doggie","photoUrls":["string"],"tags":[{"id":0,"name":"string"}],"status":"available"}
- objectTagExample:{"id":0,"name":"string"}
 
- usernamestringUser supplied usernameExample:- "John78"Minimum string length:- 4
- firstNamestringUser first nameExample:- "John"Minimum string length:- 1
- lastNamestringUser last nameExample:- "Smith"Minimum string length:- 1
- emailstring:emailUser email addressExample:- "john.smith@example.com"
- passwordstring:passwordUser password, MUST contain a mix of upper and lower case letters, as well as digitsExample:- "drowssaP123"Minimum string length:- 8Pattern:- /(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])/
- phonestring or nullUser phone number in international formatExample:- "+1-202-555-0192"Pattern:- /^\+(?:[0-9]-?){6,14}[0-9]$/
- userStatusinteger:int32User statusExample:- 0
 
Examples
Order
{
  "quantity": "1,",
  "shipDate": "2018-10-19T16:46:45Z,",
  "status": "placed,",
  "complete": false
}Request Bodies
Pet
Required
Pet object that needs to be added to the store
Content Type: 
application/json
- Schema
- objectPetMy PetExample:{"id":0,"category":{"id":0,"name":"string"},"name":"doggie","photoUrls":["string"],"tags":[{"id":0,"name":"string"}],"status":"available"}Properties:- idinteger:int64RequiredExample:- 0
- categoryobjectCategoryExample:- {"id":0,"name":"string"}
- namestringRequiredExample:- "doggie"
- photoUrlsarray<string>RequiredExample:- ["string"]Items:- stringExample:"string"
 
- tagsarrayExample:- [{"id":0,"name":"string"}]Items:- objectTagExample:{"id":0,"name":"string"}
 
- statusstringpet status in the storeExample:- "available"Enum:- available- pending- sold
 
UserArray
Required
List of user object
Content Type: 
application/json
- Schema
- arrayExample:[{"id":0,"username":"string","firstName":"string","lastName":"string","email":"string","password":"string","phone":"string","userStatus":0}]Items:- objectUserExample:{"id":0,"username":"string","firstName":"string","lastName":"string","email":"string","password":"string","phone":"string","userStatus":0}