{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "PUT 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"
}
}
},
"resourceRef": {
"type": "object",
"additionalProperties": false,
"properties": {
"resourceRef": {
"type": "string"
}
},
"required": [
"resourceRef"
]
}
},
"properties": {
"resourceMetadata": {
"$ref": "#/definitions/resourceMetadata"
},
"tags": {
"additionalProperties": { "type": "string" }
},
"properties": {
"type": "object",
"properties": {
"backupPath": {
"type": "string"
},
"credential": {
"$ref": "#/definitions/resourceRef"
}
},
"required": [
"backupPath",
"credential"
]
}
},
"required": [
"properties"
]
}