Skip to main content

Dog

A representation of a dog

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 ValueDescription
    availableWhen the pet is available
    pendingWhen the pet is being sold
    soldWhen 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]

    huntingSkillstringrequired

    The measured skill for hunting

    Possible values: [clueless, lazy, adventurous, aggressive]

    Default value: lazy
    Example: adventurous
    packSizeint32required

    The size of the pack the dog is from

    Possible values: >= 1

    Default value: 1
    Dog
    {
    "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"
    },
    "packSize": 1
    }