{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GET JSON Schema for networkControllerBackup",
"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" ]
},
"resourceRef": {
"type": "object",
"additionalProperties": false,
"properties": {
"resourceRef": {
"type": "string"
}
},
"required": [
"resourceRef"
]
}
},
"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"
},
"backupPath": {
"type": "string"
},
"credential": {
"$ref": "#/definitions/resourceRef"
},
"errorMessage": {
"type": "string"
},
"failedResourcesList": {
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": { "type": "string" }
},
"successfulResourcesList": {
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": { "type": "string" }
},
"inProgressResourcesList": {
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": { "type": "string" }
}
},
"required": [
"provisioningState",
"backupPath",
"credential",
"errorMessage",
"failedResourcesList",
"successfulResourcesList",
"inProgressResourcesList"
]
}
},
"required": [
"resourceRef",
"resourceId",
"etag",
"instanceId",
"properties"
]
}