{
    "additionalProperties": false,
    "description": "Webhook event for creating a new deal.",
    "properties": {
        "appId": {
            "description": "The ID of your application. (In case you have multiple applications pointing to the same webhook URL.)",
            "maximum": 2147483647,
            "minimum": 0,
            "type": "integer"
        },
        "attemptNumber": {
            "description": "Which attempt this is to notify your service of this event (starting at 0). If your service times-out or throws an error as described in 'Retries' below, we will attempt to send the notification to your service again.",
            "maximum": 2147483647,
            "minimum": 0,
            "type": "integer"
        },
        "changeFlag": {
            "maxLength": 128,
            "type": "string"
        },
        "changeSource": {
            "description": "The source of this change. Can be any of the change sources that you find on contact property histories.",
            "maxLength": 128,
            "type": "string"
        },
        "eventId": {
            "description": "The unique ID of the event that triggered this notification.",
            "maximum": 2147483647,
            "minimum": 0,
            "type": "integer"
        },
        "objectId": {
            "description": "The ID of the object that was created/changed/deleted. For contacts this is the vid; for companies, the companyId; and for deals the dealId.",
            "maximum": 2147483647,
            "minimum": 0,
            "type": "integer"
        },
        "occurredAt": {
            "_format": "date-time",
            "description": "When this event occurred.",
            "type": "string"
        },
        "portalId": {
            "description": "The customer's portalId that this event came from.",
            "maximum": 2147483647,
            "minimum": 0,
            "type": "integer"
        },
        "subscriptionId": {
            "description": "The ID of the subscription that caused us to send you a notification of this event.",
            "maximum": 2147483647,
            "minimum": 0,
            "type": "integer"
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "deal_creation",
        "vendor": "com.hubspot",
        "version": "1-0-0"
    },
    "type": "object"
}