{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-nexus/json-schema/cisco-nexus-svi-interface-response-schema.json",
  "title": "SviInterfaceResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-nexus-vlans-api-openapi.yml#/components/schemas/SviInterfaceResponse",
  "type": "object",
  "properties": {
    "totalCount": {
      "type": "string"
    },
    "imdata": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "sviIf": {
            "$ref": "#/$defs/SviIf"
          }
        }
      }
    }
  },
  "$defs": {
    "SviIf": {
      "type": "object",
      "description": "Switch Virtual Interface managed object for Layer 3 VLAN routing. DN format is sys/intf/svi-[{id}].",
      "properties": {
        "attributes": {
          "type": "object",
          "properties": {
            "dn": {
              "type": "string",
              "description": "Distinguished name (e.g., sys/intf/svi-[vlan100])"
            },
            "id": {
              "type": "string",
              "description": "SVI identifier in the format vlan{id}",
              "pattern": "^vlan\\d+$"
            },
            "adminSt": {
              "type": "string",
              "description": "Administrative state",
              "enum": [
                "up",
                "down"
              ]
            },
            "operSt": {
              "type": "string",
              "description": "Operational state (read-only)"
            },
            "descr": {
              "type": "string",
              "description": "Interface description (max 254 characters)",
              "maxLength": 254
            },
            "mtu": {
              "type": "string",
              "description": "Maximum transmission unit (64-9216 bytes)"
            },
            "bw": {
              "type": "string",
              "description": "Administrative bandwidth (1-400000000 kbps)"
            },
            "mac": {
              "type": "string",
              "description": "MAC address override in MM:MM:MM:SS:SS:SS format"
            },
            "medium": {
              "type": "string",
              "description": "Port medium type",
              "enum": [
                "broadcast",
                "p2p"
              ]
            },
            "autostate": {
              "type": "string",
              "description": "Whether autostate is enabled",
              "enum": [
                "true",
                "false"
              ]
            },
            "modTs": {
              "type": "string",
              "format": "date-time",
              "description": "Last modification timestamp (read-only)"
            }
          }
        }
      }
    }
  }
}