{
    "tags": [
        "pet"
    ],
    "summary": "Add a new pet to the store",
    "description": "",
    "operationId": "addPet",
    "responses": {
        "405": {
            "description": "Invalid input"
        }
    },
    "security": [
        {
            "petstore_auth": [
                "write:pets",
                "read:pets"
            ]
        }
    ],
    "requestBody": {
        "content": {
            "application/json": {
                "schema": {
                    "type": "object",
                    "required": [
                        "name",
                        "photoUrls"
                    ],
                    "properties": {
                        "id": {
                            "type": "integer",
                            "format": "int64"
                        },
                        "category": false,
                        "name": {
                            "type": "string",
                            "example": "doggie"
                        },
                        "photoUrls": {
                            "type": "array",
                            "xml": {
                                "name": "photoUrl",
                                "wrapped": true
                            },
                            "items": {
                                "type": "string"
                            }
                        },
                        "tags": {
                            "type": "array",
                            "xml": {
                                "name": "tag",
                                "wrapped": true
                            },
                            "items": false
                        },
                        "status": {
                            "type": "string",
                            "description": "pet status in the store",
                            "enum": [
                                "available",
                                "pending",
                                "sold"
                            ]
                        }
                    },
                    "xml": {
                        "name": "Pet"
                    },
                    "x-widdershins-oldRef": "#/components/schemas/Pet"
                }
            },
            "application/xml": {
                "schema": {
                    "type": "object",
                    "required": [
                        "name",
                        "photoUrls"
                    ],
                    "properties": {
                        "id": {
                            "type": "integer",
                            "format": "int64"
                        },
                        "category": false,
                        "name": {
                            "type": "string",
                            "example": "doggie"
                        },
                        "photoUrls": {
                            "type": "array",
                            "xml": {
                                "name": "photoUrl",
                                "wrapped": true
                            },
                            "items": {
                                "type": "string"
                            }
                        },
                        "tags": {
                            "type": "array",
                            "xml": {
                                "name": "tag",
                                "wrapped": true
                            },
                            "items": false
                        },
                        "status": {
                            "type": "string",
                            "description": "pet status in the store",
                            "enum": [
                                "available",
                                "pending",
                                "sold"
                            ]
                        }
                    },
                    "xml": {
                        "name": "Pet"
                    },
                    "x-widdershins-oldRef": "#/components/schemas/Pet"
                }
            }
        },
        "description": "Pet object that needs to be added to the store",
        "required": true
    }
}
