Definition Pet
definitions_Pet.html#/definitions/Pet/properties/id definitions_Pet.html#/definitions/Pet/properties/category definitions_Pet.html#/definitions/Pet/properties/name definitions_Pet.html#/definitions/Pet/properties/photoUrls definitions_Pet.html#/definitions/Pet/properties/tags definitions_Pet.html#/definitions/Pet/properties/status
Diagram
Type object
Properties
Name Occurrence
id
category
name
photoUrls
tags
status
optional
optional
required
required
optional
optional
Additional Properties true
Used by
Source

 "Pet": {
  "type": "object",
  "xml": {"name": "Pet"},
  "required": [
    "name",
    "photoUrls"
  ],
  "properties": {
    "id": {"type": "integer"},
    "category": {"$ref": "#/definitions/Category"},
    "name": {
      "type": "string",
      "example": "doggie"
    },
    "photoUrls": {
      "type": "array",
      "xml": {
        "name": "photoUrl",
        "wrapped": true
      },
      "items": {}
    },
    "tags": {
      "type": "array",
      "xml": {
        "name": "tag",
        "wrapped": true
      },
      "items": {}
    },
    "status": {
      "description": "pet status in the store",
      "type": "string",
      "enum": [
        "sold",
        "pending",
        "available"
      ]
    }
  }
}


Definition id
Diagram
Type object
All of
Additional Properties false
Used by
Schema
Pet
Source

 "id": {"type": "integer"}


Definition category
definitions_Category.html#/definitions/Category
Diagram
Type reference
Refers Category
Used by
Schema
Pet
Source

 "category": {"$ref": "#/definitions/Category"}


Definition name
Diagram
Type string
Used by
Schema
Pet
Source

 "name": {
  "type": "string",
  "example": "doggie"
}


Definition photoUrls
definitions_Pet.html#/definitions/Pet/properties/photoUrls/items
Diagram
Type array
Constraints
Unique Items : false

Array Items
Additional Items true
Used by
Schema
Pet
Source

 "photoUrls": {
  "type": "array",
  "xml": {
    "name": "photoUrl",
    "wrapped": true
  },
  "items": {"type": "string"}
}


Definition photoUrls/items
Diagram
Type string
Used by
Source

 "items": {"type": "string"}


Definition tags
definitions_Pet.html#/definitions/Pet/properties/tags/items
Diagram
Type array
Constraints
Unique Items : false

Array Items
Additional Items true
Used by
Schema
Pet
Source

 "tags": {
  "type": "array",
  "xml": {
    "name": "tag",
    "wrapped": true
  },
  "items": {"$ref": "#/definitions/Tag"}
}


Definition tags/items
definitions_Tag.html#/definitions/Tag
Diagram
Type reference
Refers Tag
Used by
Source

 "items": {"$ref": "#/definitions/Tag"}


Definition status
Annotations
Description  pet status in the store
Diagram
Type string
Enumeration
Values
sold
pending
available
Used by
Schema
Pet
Source

 "status": {
  "description": "pet status in the store",
  "type": "string",
  "enum": [
    "sold",
    "pending",
    "available"
  ]
}