Diagram
properties_Pet.html#/properties/Pet/properties/id properties_Pet.html#/properties/Pet/properties/category properties_Pet.html#/properties/Pet/properties/name properties_Pet.html#/properties/Pet/properties/photoUrls properties_Pet.html#/properties/Pet/properties/tags properties_Pet.html#/properties/Pet/properties/status diagram
Type object
Properties
Name Occurrence
id
category
name
photoUrls
tags
status
optional
optional
required
required
optional
optional
Used by
Schema
Pet
Source

 "Pet": {
  "type": "object",
  "xml": {"name": "Pet"},
  "required": [
    "name",
    "photoUrls"
  ],
  "properties": {
    "id": {"type": "integer"},
    "category": {"ref": "#/components/schemas/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"
      ]
    }
  }
}

Diagram
diagram
Type object
All of
Choices
id : Schema (#/properties/Pet/properties/id/0)
id : Schema (#/properties/Pet/properties/id/1)
Used by
Schema
Pet
Pet/properties/id
Source

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

Diagram
diagram
Type number
Used by
Schema
Pet/properties/id
Pet/properties/id/0
Source

 "#/properties/Pet/properties/id/0": {"type": "integer"}

Diagram
diagram
Type string
Used by
Schema
Pet/properties/id
Pet/properties/id/1
Source

 "#/properties/Pet/properties/id/1": {}

Diagram
diagram
Type empty schema
Used by
Schema
Pet
Pet/properties/category
Source

 "category": {"ref": "#/components/schemas/Category"}

Diagram
diagram
Type string
Used by
Schema
Pet
Pet/properties/name
Source

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

Diagram
properties_Pet.html#/properties/Pet/properties/photoUrls/items diagram
Type array
Constraints
Unique Items : false

Array Items
Items
properties_Pet.html#/properties/Pet/properties/photoUrls/items
Used by
Schema
Pet
Pet/properties/photoUrls
Source

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

Diagram
diagram
Type string
Used by
Schema
Pet/properties/photoUrls
Pet/properties/photoUrls/items
Source

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

Diagram
properties_Pet.html#/properties/Pet/properties/tags/items diagram
Type array
Constraints
Unique Items : false

Array Items
Items
properties_Pet.html#/properties/Pet/properties/tags/items
Used by
Schema
Pet
Pet/properties/tags
Source

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

Diagram
diagram
Type empty schema
Used by
Schema
Pet/properties/tags
Pet/properties/tags/items
Source

 "items": {"ref": "#/components/schemas/Tag"}

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

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