{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"type": "object",
	"required": ["name", "photoUrls"],
	"title": "Pet",
	"description": "Pet",
	"properties": {
		"id": {
			"description": "id",
			"type": "integer",
			"format": "int64"
		},
		"category": {
			"$ref": "#/definitions/Category"
		},
		"name": {
			"description": "name",
			"type": "string"
		},
		"photoUrls": {
			"description": "photoUrls",
			"type": "array",
			"items": {
				"description": "photoUrls items",
				"type": "string"
			}
		},
		"tags": {
			"description": "tags",
			"type": "array",
			"items": {
				"$ref": "#/definitions/Tag"
			}
		},
		"status": {
			"description": "status",
			"type": "string",
			"enum": ["available", "pending", "sold"]
		}
	},
	"definitions": {
		"Category": {
			"type": "object",
			"description": "Category",
			"properties": {
				"id": {
					"description": "id",
					"type": "integer",
					"format": "int64"
				},
				"name": {
					"description": "name",
					"type": "string"
				}
			}
		},
		"Tag": {
			"type": "object",
			"description": "Tag",
			"properties": {
				"id": {
					"description": "id",
					"type": "integer",
					"format": "int64"
				},
				"name": {
					"description": "name",
					"type": "string"
				}
			}
		}
	}
}