Skip to content

Schemas ​

This is a list of all the schemas used in the API.

Pet ​

Type: object

NameTypeDescriptionRequiredEnumFormat
idintegerUnique identifier for the petYesint64
namestringName of the petYes
typestringType of animalNo[cat, dog, bird]
statusstringPet status in the storeNo[available, pending, sold]

NewPet ​

Type: object

NameTypeDescriptionRequiredEnumFormat
namestringName of the petYes
typestringType of animalNo[cat, dog, bird]

Error ​

Type: object

NameTypeDescriptionRequiredEnumFormat
codeintegerYesint32
messagestringYes