Properties
| Name | Type | Description |
|---|---|---|
| Quantity | integer | |
| Name | string | |
| Link | string | |
| Children | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Child",
"title": "Child",
"required": [
"Quantity",
"Name",
"Link",
"Children"
],
"type": "object",
"properties": {
"Quantity": {
"type": "integer",
"format": "int32"
},
"Name": {
"type": "string"
},
"Link": {
"type": "string"
},
"Children": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Child1"
},
"description": ""
}
},
"example": {
"Quantity": 20,
"Name": "TV",
"Link": "/Eletronicos/TV",
"Children": [
{
"Quantity": 6,
"Name": "TV LED",
"Link": "/Eletronicos/TV/TV-LED",
"Children": []
},
{
"Quantity": 14,
"Name": "Smart TV",
"Link": "/Eletronicos/TV/Smart-TV",
"Children": []
}
]
}
}