Diagram
|
|
Type
|
object |
Properties
|
Name |
Occurrence |
id category name photoUrls tags status
|
optional optional required required optional optional
|
|
Used by
|
|
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
|
|
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
|
|
Type
|
number |
Used by
|
Schema |
Pet/properties/id |
Pet/properties/id/0 |
|
Source
|
"#/properties/Pet/properties/id/0": {"type": "integer"}
|
|
Diagram
|
|
Type
|
string |
Used by
|
Schema |
Pet/properties/id |
Pet/properties/id/1 |
|
Source
|
"#/properties/Pet/properties/id/1": {}
|
|
Diagram
|
|
Type
|
empty schema |
Used by
|
Schema |
Pet |
Pet/properties/category |
|
Source
|
"category": {"ref": "#/components/schemas/Category"}
|
|
Diagram
|
|
Type
|
string |
Used by
|
Schema |
Pet |
Pet/properties/name |
|
Source
|
"name": {
"type": "string",
"example": "doggie"
}
|
|
Diagram
|
|
Type
|
array |
Constraints
|
|
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
|
|
Type
|
string |
Used by
|
Schema |
Pet/properties/photoUrls |
Pet/properties/photoUrls/items |
|
Source
|
"items": {"type": "string"}
|
|
Diagram
|
|
Type
|
array |
Constraints
|
|
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
|
|
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
|
|
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"
]
}
|
|