{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/LogicalDevice", "title": "LogicalDevice", "type": "object", "properties": { "id": { "type": "string", "format": "uuid" }, "label": { "type": "string" }, "panels": { "type": "array", "items": { "type": "object", "properties": { "panel_layout": { "type": "object", "properties": { "row_count": { "type": "integer" }, "column_count": { "type": "integer" } } }, "port_indexing": { "type": "object" }, "port_groups": { "type": "array", "items": { "type": "object", "properties": { "count": { "type": "integer" }, "speed": { "type": "string" }, "roles": { "type": "array", "items": { "type": "string", "enum": [ "superspine", "spine", "leaf", "peer", "access", "generic", "unused" ] } } } } } } } } } }