# New pet

Webhook: the API sends this request to you.

Operation ID: `newPet`

Tags: `pet`

OpenAPI specification: https://raw.githubusercontent.com/PaloAltoNetworks/docusaurus-openapi-docs/main/demo/examples/petstore.yaml

Information about a new pet in the systems

## Request body

### Content type: `application/json`

Schema: `Pet`

A pet

- `id` (integer<int64>, read-only)
  Pet ID
  More information: Find more info here https://example.com
- `category` (Category)
  Categories this pet belongs to
  - `category.id` (integer<int64>, read-only)
    Category ID
  - `category.name` (string, non-empty)
    Category name
  - `category.sub` (object)
    Test Sub Category
    - `category.sub.prop1` (string)
      Dumb Property
- `name` (string, required, example: `Guru`)
  The name given to a pet
- `photoUrls` (string<url>[], required, max items: 20)
  The list of URL to a cute photos featuring pet
- `friend` (circular reference to Pet)
- `tags` (Tag[], required, min items: 1)
  Tags attached to the pet
  - `tags[].id` (integer<int64>, read-only)
    Tag ID
  - `tags[].name` (string, non-empty)
    Tag name
- `status` (string, possible values: `available`, `pending`, `sold`)
  Pet status in the store
  - `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](https://docusaurus.io/)
- `petType` (string, discriminator)
  Type of a pet
  - The value selects one of these schemas:
    - `cat`: Cat (object)
      A representation of a cat
      Also includes all fields of Pet (circular reference, not repeated here).
      - `huntingSkill` (string, required, possible values: `clueless`, `lazy`, `adventurous`, `aggressive`, default: `lazy`, example: `adventurous`)
        The measured skill for hunting
    - `dog`: Dog (object)
      A representation of a dog
      Also includes all fields of Pet (circular reference, not repeated here).
      - `packSize` (integer<int32>, required, >= 1, default: `1`)
        The size of the pack the dog is from
    - `bee`: HoneyBee (object)
      A representation of a honey bee
      Also includes all fields of Pet (circular reference, not repeated here).
      - `honeyPerDay` (number, required, multiple of 0.01, default: `0`, example: `3.14`)
        Average amount of honey produced per day in ounces

## Responses

### 200

Return a 200 status to indicate that the data was received successfully
