{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-osfamily-list-result-schema.json",
  "title": "OSFamilyListResult",
  "description": "The list operation result.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-virtual-machines-cloudserviceoperatingsystems-api-openapi.yml#/components/schemas/OSFamilyListResult",
  "type": "object",
  "properties": {
    "value": {
      "description": "The list of resources.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/OSFamily"
      }
    },
    "nextLink": {
      "description": "The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.",
      "type": "string"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "OSFamily": {
      "description": "Describes a cloud service OS family.",
      "type": "object",
      "properties": {
        "id": {
          "description": "Resource Id.",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Resource name.",
          "type": "string",
          "readOnly": true
        },
        "type": {
          "description": "Resource type.",
          "type": "string",
          "readOnly": true
        },
        "location": {
          "description": "Resource location.",
          "type": "string",
          "readOnly": true
        },
        "properties": {
          "$ref": "#/$defs/OSFamilyProperties"
        }
      }
    },
    "OSFamilyProperties": {
      "description": "OS family properties.",
      "type": "object",
      "properties": {
        "name": {
          "description": "The OS family name.",
          "type": "string",
          "readOnly": true
        },
        "label": {
          "description": "The OS family label.",
          "type": "string",
          "readOnly": true
        },
        "versions": {
          "description": "List of OS versions belonging to this family.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/OSVersionPropertiesBase"
          },
          "x-ms-identifiers": [
            "version"
          ],
          "readOnly": true
        }
      }
    },
    "OSVersionPropertiesBase": {
      "description": "Configuration view of an OS version.",
      "type": "object",
      "properties": {
        "version": {
          "description": "The OS version.",
          "type": "string",
          "readOnly": true
        },
        "label": {
          "description": "The OS version label.",
          "type": "string",
          "readOnly": true
        },
        "isDefault": {
          "description": "Specifies whether this is the default OS version for its family.",
          "type": "boolean",
          "readOnly": true
        },
        "isActive": {
          "description": "Specifies whether this OS version is active.",
          "type": "boolean",
          "readOnly": true
        }
      }
    }
  }
}