{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-arc/json-schema/microsoft-azure-arc-network-profile-schema.json",
  "title": "NetworkProfile",
  "description": "Describes the network information on this machine.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-arc-machinenetworkprofile-api-openapi.yml#/components/schemas/NetworkProfile",
  "type": "object",
  "properties": {
    "networkInterfaces": {
      "type": "array",
      "description": "The list of network interfaces.",
      "items": {
        "$ref": "#/$defs/NetworkInterface"
      },
      "readOnly": true,
      "x-ms-identifiers": []
    }
  },
  "$defs": {
    "IpAddress": {
      "type": "object",
      "description": "Describes properties of the IP address.",
      "properties": {
        "address": {
          "type": "string",
          "description": "Represents the IP Address."
        },
        "ipAddressVersion": {
          "type": "string",
          "description": "Represents the Ip Address Version."
        },
        "subnet": {
          "$ref": "#/$defs/Subnet",
          "description": "The subnet to which this IP address belongs.",
          "readOnly": true
        }
      }
    },
    "NetworkInterface": {
      "type": "object",
      "description": "Describes a network interface.",
      "properties": {
        "macAddress": {
          "type": "string",
          "description": "Represents MAC address of the network interface."
        },
        "id": {
          "type": "string",
          "description": "Represents the ID of the network interface."
        },
        "name": {
          "type": "string",
          "description": "Represents the name of the network interface."
        },
        "ipAddresses": {
          "type": "array",
          "description": "The list of IP addresses in this interface.",
          "items": {
            "$ref": "#/$defs/IpAddress"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        }
      }
    },
    "Subnet": {
      "type": "object",
      "description": "Describes the subnet.",
      "properties": {
        "addressPrefix": {
          "type": "string",
          "description": "Represents address prefix."
        }
      }
    }
  }
}