6.13.6 GET ALL schema v1

 {
   "$schema": "http://json-schema.org/draft-04/schema#",
   "title": "GET ALL JSON Schema for servers",
   "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" ]
     },
     "server": {
       "type": "object",
       "propertes": {
         "resourceRef": {
           "type": "string"
         },
         "resourceId": {
           "type": "string"
         },
         "resourceMetadata": {
           "$ref": "#/definitions/resourceMetadata"
         },
         "etag": {
           "type": "string"
         },
         "instanceId": {
           "$ref": "#/definitions/GUID"
         },
         "properties": {
           "provisioningState": {
             "$ref": "#/definitions/provisioningState"
           },
           "connections": {
             "type": "array",
             "items": {
               "type": "object",
               "properties": {
                 "managementAddresses": {
                   "type": "array",
                   "items": {
                     "type": "string"
                   }
                 },
                 "credential": {
                   "type": "object",
                   "properties": {
                     "resourceRef": {
                       "type": "string"
                     }
                   },
                   "required": [
                     "resourceRef"
                   ]
                 },
                 "credentialType": {
                   "type": "string"
                 }
               },
               "required": [
                 "managementAddresses",
                 "credential",
                 "credentialType"
               ]
             }
           },
           "virtualServers": {
             "type": "array",
             "items": {
               "type": "object",
               "properties": {
                 "resourceRef": {
                   "type": "string"
                 }
               },
               "required": [
                 "resourceRef"
               ]
             }
           },
           "virtualSwitches": {
             "type": "array",
             "items": {
               "type": "object",
               "properties": {
                 "resourceRef": {
                   "type": "string"
                 }
               },
               "required": [
                 "resourceRef"
               ]
             }
           }
         },
         "certificate": {
           "type": "string"
         },
         "rackSlot": {
           "type": "string"
         },
         "os": {
           "type": "string"
         },
         "model": {
           "type": "string"
         },
         "vendor": {
           "type": "string"
         },
         "serial": {
           "type": "string"
         },
         "configurationState": {
           "type": "object",
           "properties": {
             "status": {
               "type": "string"
             },
             "detailedInfo": {
               "type": "array",
               "items": {
                 "type": "object",
                 "properties": {
                   "source": {
                     "type": "string"
                   },
                   "message": {
                     "type": "string"
                   },
                   "code": {
                     "type": "string"
                   }
                 },
                 "required": [
                   "source",
                   "message",
                   "code"
                 ]
               }
             },
             "lastUpdatedTime": {
               "type": "string"
             }
           },
           "required": [
             "status",
             "detailedInfo",
             "lastUpdatedTime"
           ]
         },
         "networkInterfaces": {
           "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"
                   },
                   "interfaceName": {
                     "type": "string"
                   },
                   "mac": {
                     "type": "string"
                   },
                   "ipConfiguration": {
                     "type": "array",
                     "items": {
                       "type": "object",
                       "properties": {
                         "ipAddress": {
                           "type": "string"
                         },
                         "networkPrefix": {
                           "type": "string"
                         },
                         "isDhcpEnabled": {
                           "type": "string"
                         }
                       }
                     }
                   },
                   "vlanIds": {
                     "type": "array",
                     "items": {
                       "type": "string"
                     }
                   },
                   "adminStatus": {
                     "type": "string"
                   },
                   "operationalStatus": {
                     "type": "string"
                   },
                   "interfaceIndex": {
                     "type": "string"
                   },
                   "interfaceSpeed": {
                     "type": "string"
                   },
                   "isBMC": {
                     "type": "string"
                   },
                   "logicalSubnets": {
                     "type": "array",
                     "items": {
                       "type": "object",
                       "properties": {
                         "resourceRef": {
                           "type": "string"
                         }
                       },
                       "required": [
                         "resourceRef"
                       ]
                     }
                   }
                 }
               },
               "required": [
                 "provisioningState",
                 "mac",
                 "ipConfiguration",
                 "vlanIds",
                 "interfaceIndex",
                 "isBMC",
                 "logicalSubnets"
               ]
             }
           },
           "required": [
             "resourceRef",
             "resourceId",
             "etag",
             "instanceId",
             "properties"
           ]
         },
         "required": [
           "provisioningState",
           "connections",
           "configurationState",
           "networkInterfaces"
         ],
         "tags": {
           "additionalProperties": { "type": "string" }
         }
       },
       "required": [
         "resourceRef",
         "resourceId",
         "etag",
         "instanceId",
         "properties",
       ]
     },
     "serverArray": {
       "type": "array",
       "minItems": 0,
       "uniqueItems": true,
       "items": { "$ref": "#/definitions/server" }
     }
   },
   "properties": {
     "value": { "$ref": "#/definitions/serverArray" },
     "nextLink": {
       "type": "string",
       "format": "uri",
       "default": ""
     }
   },
   "required": ["nextLink"] 
 }