6.16.11.3 GET ALL schema

 {
   "$schema": "http://json-schema.org/draft-04/schema#",
   "title": "GET ALL JSON Schema for subnets",
   "type": "object",
   "definitions": {
     "resourceMetadata": {
       "properties": {
         "client": {
           "type": "string"
         },
         "tenantId": {
           "type": "string"
         },
         "groupId": {
           "type": "string"
         },
         "resourceName": {
           "type": "string"
         },
         "originalHref": {
           "type": "string"
         }
       }
     },
     "resourceRef": {
       "type": "object",
       "additionalProperties": false,
       "properties": {
         "resourceRef": {
           "type": "string"
         }
       },
       "required": [
         "resourceRef"
       ]
     },
     "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}$"
     },
     "provisioningState": {
       "enum": [ "Succeeded", "Updating", "Deleting", "Failed" ]
     },
     "peerings": {
       "type": "array",
       "items": {
         "type": "object",
         "properties": {
           "resourceMetadata": {
             "$ref": "#/definitions/resourceMetadata"
           },
           "resourceRef": {
             "type": "string"
           },
           "resourceId": {
             "type": "string"
           },
           "etag": {
             "type": "string"
           },
           "instanceId": {
             "$ref": "#/definitions/GUID"
           },
           "properties": {
             "type": "object",
             "properties": {
               "provisioningState": {
                 "$ref": "#/definitions/provisioningState"
               },
               "remoteVirtualNetwork": {
                 "$ref": "#/definitions/resourceRef"
               },
               "allowVirtualNetworkAccess": {
                 "type": "boolean",
                 "default": true
               },
               "allowForwardedTraffic": {
                 "type": "boolean",
                 "default": false
               },
               "allowGatewayTransit": {
                 "type": "boolean",
                 "default": false
               },
               "useRemoteGateways": {
                 "type": "boolean",
                 "default": false
               },
               "remoteAddressSpace": {
                 "type": "object",
                 "properties": {
                   "addressPrefixes": {
                     "type": "array",
                     "items": {
                       "type": "string"
                     },
                     "minItems": 1
                   }
                 },
                 "required": [
                   "addressPrefixes"
                 ]
               },
               "peeringState": {
                 "enum": [ "Initiated", "Connected", "Disconnected", "Disconnecting" ]
               }
             },
             "required": [
               "remoteVirtualNetwork",
               "provisioningState",
               "allowVirtualNetworkAccess",
               "allowForwardedTraffic",
               "allowGatewayTransit",
               "useRemoteGateways",
               "remoteAddressSpace",
               "peeringState"
             ]
           }
         },
         "required": [
           "resourceRef",
           "resourceId",
           "etag",
           "instanceId",
           "properties"
         ]
       }
     }
   },
   "properties": {
     "value": { "$ref": "#/definitions/peerings" },
     "nextLink": {
       "type": "string",
       "format": "uri",
       "default": ""
     }
   },
   "required": ["nextLink"]
 }