{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"resourceRef": {
"type": "string"
},
"resourceId": {
"type": "string"
},
"etag": {
"type": "string"
},
"instanceId": {
"type": "string"
},
"properties": {
"type": "object",
"properties": {
"provisioningState": {
"type": "string"
},
"asNumber": {
"type": "string"
},
"extAsNumber": {
"type": "string"
},
"peerIpAddress": {
"type": "string"
},
"connectionState": {
"type": "string"
},
"statistics": {
"type": "object",
"properties": {
"tcpConnectionClosed": {
"type": "string"
},
"openMessageStats": {
"type": "object",
"properties": {
"sentCount": {
"type": "integer"
},
"receivedCount": {
"type": "integer"
}
},
"required": [
"sentCount",
"receivedCount"
]
},
"notificationMessageStats": {
"type": "object",
"properties": {
"sentCount": {
"type": "integer"
},
"receivedCount": {
"type": "integer"
}
},
"required": [
"sentCount",
"receivedCount"
]
},
"keepAliveMessageStats": {
"type": "object",
"properties": {
"sentCount": {
"type": "integer"
},
"receivedCount": {
"type": "integer"
}
},
"required": [
"sentCount",
"receivedCount"
]
},
"routeRefreshMessageStats": {
"type": "object",
"properties": {
"sentCount": {
"type": "integer"
},
"receivedCount": {
"type": "integer"
}
},
"required": [
"sentCount",
"receivedCount"
]
},
"updateMessageStats": {
"type": "object",
"properties": {
"sentCount": {
"type": "integer"
},
"receivedCount": {
"type": "integer"
}
},
"required": [
"sentCount",
"receivedCount"
]
},
"ipv4Route": {
"type": "object",
"properties": {
"updateSentCount": {
"type": "integer"
},
"updateReceivedCount": {
"type": "integer"
},
"withdrawlSentCount": {
"type": "integer"
},
"withdrawlReceivedCount": {
"type": "integer"
}
},
"required": [
"updateSentCount",
"updateReceivedCount",
"withdrawlSentCount",
"withdrawlReceivedCount"
]
},
"ipv6Route": {
"type": "object",
"properties": {
"updateSentCount": {
"type": "integer"
},
"updateReceivedCount": {
"type": "integer"
},
"withdrawlSentCount": {
"type": "integer"
},
"withdrawlReceivedCount": {
"type": "integer"
}
},
"required": [
"updateSentCount",
"updateReceivedCount",
"withdrawlSentCount",
"withdrawlReceivedCount"
]
},
"lastUpdated": {
"type": "string"
}
},
"required": [
"tcpConnectionClosed",
"openMessageStats",
"notificationMessageStats",
"keepAliveMessageStats",
"routeRefreshMessageStats",
"updateMessageStats",
"ipv4Route",
"ipv6Route",
"lastUpdated"
]
},
"isGenerated": {
"type": "boolean"
}
},
"required": [
"provisioningState",
"asNumber",
"extAsNumber",
"peerIpAddress",
"connectionState",
"statistics",
"isGenerated"
]
}
},
"required": [
"resourceRef",
"resourceId",
"etag",
"instanceId",
"properties"
]
}