{
    "$schema": "http://json-schema.org/schema#",
    "$id": "https://ris-live.ripe.net/schemas/v1/ris_message-NOTIFICATION.schema.json",
    "type": "object",
    "examples": [
	{
	    "timestamp": 1568365292.84,
	    "peer": "192.0.2.1",
	    "peer_asn": "64496",
	    "id": "00-192-0-2-0-180513",
	    "host": "rrc00",
	    "type": "NOTIFICATION",
	    "notification": {
                "code": 6,
                "subcode": 7,
                "data": "0605"
            }
	}        
    ],
    "required": ["type", "notification"],
    "properties": {
        "type": {
            "const": "NOTIFICATION",
            "type": "string"
        },
        "notification": {
            "type": "object",
            "additionalProperties": false,
            "required": ["code"],
            "properties": {
                "code": {
                    "type": "integer"
                },
                "subcode": {
                    "type": "integer"
                },
                "data": {
                    "type": "string"
                }
            }
        }
    },
    "title": "BGP NOTIFICATION Message"
}
