{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "PUT JSON Schema for public IP Addresses v2",
"type": "object",
"definitions": {
"resourceMetadata": {
"properties": {
"client": {
"type": "string"
},
"tenantId": {
"type": "string"
},
"groupId": {
"type": "string"
},
"resourceName": {
"type": "string"
},
"originalHref": {
"type": "string"
}
}
}
},
"properties": {
"resourceMetadata": {
"$ref": "#/definitions/resourceMetadata"
},
"tags": {
"additionalProperties": { "type": "string" }
},
"properties": {
"type": "object",
"properties": {
"ipAddress": {
"type": "string",
"oneOf": [
{"format": "ipv4"},
{"format": "ipv6"}
]
},
"publicIPAllocationMethod": {
"enum": [ "Static", "Dynamic" ]
},
"idleTimeoutInMinutes": {
"type": "integer",
"minimum": 1
},
"publicIPAddressVersion": {
"enum": [ "IPv4", "IPv6" ]
}
},
"required": [
"publicIPAllocationMethod",
"publicIPAddressVersion"
]
}
},
"required": [
"properties"
]
}