6.16.7 GET ALL schema v1

 {
   "$schema": "http://json-schema.org/draft-04/schema#",
   "title": "GET ALL JSON Schema for virtualNetworks",
   "type": "object",
   "definitions": {
     "GUID": {
       "type": "string",
       "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
     },
     "resourceMetadata": {
       "properties": {
         "client": {
           "type": "string"
         },
         "tenantId": {
           "type": "string"
         },
         "groupId": {
           "type": "string"
         },
         "resourceName": {
           "type": "string"
         },
         "originalHref": {
           "type": "string"
         }
       }
     },
     "provisioningState": {
       "enum": [ "Succeeded", "Updating", "Deleting", "Failed" ]
     },
     "detailedInfo": {
       "type": "array",
       "items": {
         "additionalProperties": false,
         "properties": {
           "status": {
             "enum": [ "Success", "Failure" ]
           },
           "id": {
             "$ref": "#/definitions/GUID"
           },
           "lastUpdatedTime": {
             "type": "string"
           },
           "detailedInfo": {
             "type": "array",
             "items": {
               "type": "object",
               "properties": {
                 "source": {
                   "type": "string"
                 },
                 "message": {
                   "type": "string"
                 },
                 "code": {
                   "type": "string"
                 }
               }
             }
           }
         },
         "required": [ "status", "id", "lastUpdatedTime" ]
       }
     },
     "configurationState":
     {
       "type": "object",
       "additionalProperties": false,
       "properties": {
         "status": {
           "enum": [ "Success", "Failure" ]
         },
         "id": {
           "$ref": "#/definitions/GUID"
         },
         "lastUpdatedTime": {
           "type": "string"
         },
         "virtualNetworkInterfaceErrors": {
           "$ref": "#/definitions/detailedInfo"
         },
         "hostErrors": {
           "$ref": "#/definitions/detailedInfo"
         }
       },
       "required": [
         "status",
         "id",
         "lastUpdatedTime"
       ]
     },
     "resourceRef": {
       "type": "object",
       "additionalProperties": false,
       "properties": {
         "resourceRef": {
           "type": "string"
         }
       },
       "required": [
         "resourceRef"
       ]
     },
     "subnets": {
       "type": "array",
       "items": {
         "type": "object",
         "properties": {
           "resourceRef": {
             "type": "string"
           },
           "resourceId": {
             "type": "string"
           },
           "resourceMetadata": {
             "$ref": "#/definitions/resourceMetadata"
           },
           "etag": {
             "type": "string"
           },
           "instanceId": {
             "$ref": "#/definitions/GUID"
           },
           "properties": {
             "type": "object",
             "properties": {
               "provisioningState": {
                 "$ref": "#/definitions/provisioningState"
               },
               "addressPrefix": {
                 "type": "string"
               },
               "accessControlList": {
                 "$ref": "#/definitions/resourceRef"
               },
               "ipConfigurations": {
                 "type": "array",
                 "uniqueItems": true,
                 "items": { "$ref": "#/definitions/resourceRef" }
               },
               "routeTable": {
                 "type": "object",
                 "properties": {
                   "resourceRef": {
                     "type": "string"
                   }
                 },
                 "required": [
                   "resourceRef"
                 ]
               }
             },
             "required": [
               "provisioningState",
               "addressPrefix"
             ]
           }
         },
         "required": [
           "resourceRef",
           "resourceId",
           "etag",
           "instanceId",
           "properties"
         ]
       }
     },
     "virtualNetwork": {
       "type": "object",
       "properties": {
         "resourceRef": {
           "type": "string"
         },
         "resourceId": {
           "type": "string"
         },
         "etag": {
           "type": "string"
         },
         "instanceId": {
           "$ref": "#/definitions/GUID"
         },
         "resourceMetadata": {
           "$ref": "#/definitions/resourceMetadata"
         },
         "tags": {
           "additionalProperties": { "type": "string" }
         },
         "properties": {
           "type": "object",
           "properties": {
             "provisioningState": {
               "$ref": "#/definitions/provisioningState"
             },
             "addressSpace": {
               "type": "object",
               "properties": {
                 "addressPrefixes": {
                   "type": "array",
                   "items": {
                     "type": "string"
                   },
                   "minItems": 1
                 }
               },
               "required": [
                 "addressPrefixes"
               ]
             },
             "dhcpOptions": {
               "type": "object",
               "properties": {
                 "DnsServers": {
                   "type": "array",
                   "items": {
                     "type": "string",
                     "format": "ipv4"
                   }
                 }
               }
             },
             "subnets": {
               "$ref": "#/definitions/subnets"
             },
             "logicalNetwork": {
               "$ref": "#/definitions/resourceRef"
             },
             "configurationState": {
               "$ref": "#/definitions/configurationState"
             }
           },
           "required": [
             "addressSpace"
           ]
         }
       },
       "required": [
         "resourceRef",
         "resourceId",
         "etag",
         "instanceId",
         "properties"
       ]
     },
     "virtualNetworkArray": {
       "type": "array",
       "minItems": 0,
       "uniqueItems": true,
       "items": { "$ref": "#/definitions/virtualNetwork" }
     }
   },
  
   "properties": {
     "value": { "$ref": "#/definitions/virtualNetworkArray" },
     "nextLink": {
       "type": "string",
       "format": "uri",
       "default": ""
     }
   },
   "required": ["nextLink"]
 }