{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GET JSON Schema for public IP Addresses",
"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" ]
}
},
"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"
},
"ipAddress": {
"type": "string",
"format": "ipv4"
},
"publicIPAllocationMethod": {
"enum": [ "Static", "Dynamic" ]
},
"idleTimeoutInMinutes": {
"type": "integer",
"minimum": 1
}
},
"required": [
"ipAddress",
"publicIPAllocationMethod",
"idleTimeoutInMinutes"
]
}
},
"required": [
"resourceRef",
"resourceId",
"etag",
"instanceId",
"properties"
]
}