{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-site-recovery/json-schema/microsoft-azure-site-recovery-supported-operating-systems-schema.json",
  "title": "SupportedOperatingSystems",
  "description": "Supported operating systems.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-site-recovery-supportedoperatingsystems-api-openapi.yml#/components/schemas/SupportedOperatingSystems",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/SupportedOSProperties",
      "description": "The supported operating systems properties."
    },
    "location": {
      "type": "string",
      "description": "Resource Location"
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/Resource"
    }
  ],
  "$defs": {
    "OSVersionWrapper": {
      "type": "object",
      "description": "Wrapper model for OSVersion to include version and service pack info.",
      "properties": {
        "version": {
          "type": "string",
          "description": "The version."
        },
        "servicePack": {
          "type": "string",
          "description": "The service pack."
        }
      }
    },
    "Resource": {
      "type": "object",
      "title": "Resource",
      "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
      "properties": {
        "id": {
          "type": "string",
          "format": "arm-id",
          "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The name of the resource",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
          "readOnly": true
        },
        "systemData": {
          "$ref": "#/$defs/systemData",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    },
    "SupportedOSDetails": {
      "type": "object",
      "description": "Supported operating system details.",
      "properties": {
        "osName": {
          "type": "string",
          "description": "The name."
        },
        "osType": {
          "type": "string",
          "description": "The type."
        },
        "osVersions": {
          "type": "array",
          "description": "The list of version for operating system.",
          "items": {
            "$ref": "#/$defs/OSVersionWrapper"
          }
        }
      }
    },
    "SupportedOSProperties": {
      "type": "object",
      "description": "Supported operating systems properties.",
      "properties": {
        "supportedOsList": {
          "type": "array",
          "description": "The supported operating systems property list.",
          "items": {
            "$ref": "#/$defs/SupportedOSProperty"
          }
        }
      }
    },
    "SupportedOSProperty": {
      "type": "object",
      "description": "Supported operating systems property.",
      "properties": {
        "instanceType": {
          "type": "string",
          "description": "The replication provider type."
        },
        "supportedOs": {
          "type": "array",
          "description": "The list of supported operating systems.",
          "items": {
            "$ref": "#/$defs/SupportedOSDetails"
          }
        }
      }
    },
    "systemData": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    }
  }
}