{
    "additionalProperties": false,
    "description": "Schema for a PagerDuty incident event",
    "properties": {
        "created_on": {
            "_format": "date-time",
            "type": "string"
        },
        "data": {
            "additionalProperties": false,
            "properties": {
                "incident": {
                    "additionalProperties": false,
                    "properties": {
                        "assigned_to": {
                            "items": {
                                "additionalProperties": false,
                                "properties": {
                                    "at": {
                                        "type": "string"
                                    },
                                    "object": {
                                        "additionalProperties": false,
                                        "properties": {
                                            "email": {
                                                "type": "string"
                                            },
                                            "html_url": {
                                                "type": "string"
                                            },
                                            "id": {
                                                "type": "string"
                                            },
                                            "name": {
                                                "type": "string"
                                            },
                                            "type": {
                                                "type": "string"
                                            }
                                        },
                                        "type": "object"
                                    }
                                },
                                "type": "object"
                            },
                            "type": "array"
                        },
                        "assigned_to_user": {
                            "additionalProperties": false,
                            "properties": {
                                "email": {
                                    "type": "string"
                                },
                                "html_url": {
                                    "type": "string"
                                },
                                "id": {
                                    "type": "string"
                                },
                                "name": {
                                    "type": "string"
                                }
                            },
                            "type": [
                                "object",
                                "null"
                            ]
                        },
                        "created_on": {
                            "_format": "date-time",
                            "type": "string"
                        },
                        "escalation_policy": {
                            "additionalProperties": false,
                            "properties": {
                                "deleted_at": {
                                    "type": "null"
                                },
                                "id": {
                                    "type": "string"
                                },
                                "name": {
                                    "type": "string"
                                }
                            },
                            "type": "object"
                        },
                        "html_url": {
                            "type": "string"
                        },
                        "id": {
                            "type": "string"
                        },
                        "incident_key": {
                            "type": [
                                "string",
                                "null"
                            ]
                        },
                        "incident_number": {
                            "type": "integer"
                        },
                        "last_status_change_by": {
                            "additionalProperties": false,
                            "properties": {
                                "email": {
                                    "type": "string"
                                },
                                "html_url": {
                                    "type": "string"
                                },
                                "id": {
                                    "type": "string"
                                },
                                "name": {
                                    "type": "string"
                                }
                            },
                            "type": [
                                "object",
                                "null"
                            ]
                        },
                        "last_status_change_on": {
                            "_format": "date-time",
                            "type": "string"
                        },
                        "number_of_escalations": {
                            "type": "integer"
                        },
                        "pending_actions": {
                            "type": "array"
                        },
                        "resolved_by_user": {
                            "additionalProperties": false,
                            "properties": {
                                "email": {
                                    "type": "string"
                                },
                                "html_url": {
                                    "type": "string"
                                },
                                "id": {
                                    "type": "string"
                                },
                                "name": {
                                    "type": "string"
                                }
                            },
                            "type": "object"
                        },
                        "service": {
                            "additionalProperties": false,
                            "properties": {
                                "deleted_at": {
                                    "type": "null"
                                },
                                "html_url": {
                                    "type": "string"
                                },
                                "id": {
                                    "type": "string"
                                },
                                "name": {
                                    "type": "string"
                                }
                            },
                            "type": "object"
                        },
                        "status": {
                            "type": "string"
                        },
                        "trigger_details_html_url": {
                            "type": "string"
                        },
                        "trigger_summary_data": {
                            "additionalProperties": false,
                            "properties": {
                                "client": {
                                    "type": "string"
                                },
                                "description": {
                                    "type": "string"
                                },
                                "subject": {
                                    "type": "string"
                                }
                            },
                            "type": "object"
                        },
                        "trigger_type": {
                            "type": "string"
                        }
                    },
                    "type": "object"
                }
            },
            "type": "object"
        },
        "id": {
            "type": "string"
        },
        "type": {
            "type": "string"
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "incident",
        "vendor": "com.pagerduty",
        "version": "1-0-0"
    },
    "type": "object"
}