{
    "type": "object",
    "properties": {
        "contacts": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "cdate": {
                        "type": "string"
                    },
                    "email": {
                        "type": "string"
                    },
                    "phone": {
                        "type": "string"
                    },
                    "firstName": {
                        "type": "string"
                    },
                    "lastName": {
                        "type": "string"
                    },
                    "orgid": {
                        "type": "string"
                    },
                    "orgname": {
                        "type": "string"
                    },
                    "segmentio_id": {
                        "type": "string"
                    },
                    "bounced_hard": {
                        "type": "string"
                    },
                    "bounced_soft": {
                        "type": "string"
                    },
                    "bounced_date": {
                        "type": "null"
                    },
                    "ip": {
                        "type": "string"
                    },
                    "hash": {
                        "type": "string"
                    },
                    "socialdata_lastcheck": {
                        "type": "null"
                    },
                    "email_local": {
                        "type": "string"
                    },
                    "email_domain": {
                        "type": "string"
                    },
                    "sentcnt": {
                        "type": "string"
                    },
                    "gravatar": {
                        "type": "string"
                    },
                    "deleted": {
                        "type": "string"
                    },
                    "anonymized": {
                        "type": "string"
                    },
                    "udate": {
                        "type": "string"
                    },
                    "deleted_at": {
                        "type": "null"
                    },
                    "created_utc_timestamp": {
                        "type": "string"
                    },
                    "updated_utc_timestamp": {
                        "type": "string"
                    },
                    "created_timestamp": {
                        "type": "string"
                    },
                    "updated_timestamp": {
                        "type": "string"
                    },
                    "mpp_tracking": {
                        "type": "string"
                    },
                    "last_mpp_open_date": {
                        "type": "null"
                    },
                    "links": {
                        "type": "object",
                        "properties": {
                            "bounceLogs": {
                                "type": "string"
                            },
                            "contactAutomations": {
                                "type": "string"
                            },
                            "contactData": {
                                "type": "string"
                            },
                            "contactGoals": {
                                "type": "string"
                            },
                            "contactLists": {
                                "type": "string"
                            },
                            "contactLogs": {
                                "type": "string"
                            },
                            "contactTags": {
                                "type": "string"
                            },
                            "contactDeals": {
                                "type": "string"
                            },
                            "deals": {
                                "type": "string"
                            },
                            "fieldValues": {
                                "type": "string"
                            },
                            "geoIps": {
                                "type": "string"
                            },
                            "notes": {
                                "type": "string"
                            },
                            "organization": {
                                "type": "string"
                            },
                            "plusAppend": {
                                "type": "string"
                            },
                            "trackingLogs": {
                                "type": "string"
                            },
                            "scoreValues": {
                                "type": "string"
                            },
                            "accountContacts": {
                                "type": "string"
                            },
                            "automationEntryCounts": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "bounceLogs",
                            "contactAutomations",
                            "contactData",
                            "contactGoals",
                            "contactLists",
                            "contactLogs",
                            "contactTags",
                            "contactDeals",
                            "deals",
                            "fieldValues",
                            "geoIps",
                            "notes",
                            "organization",
                            "plusAppend",
                            "trackingLogs",
                            "scoreValues",
                            "accountContacts",
                            "automationEntryCounts"
                        ]
                    },
                    "id": {
                        "type": "string"
                    },
                    "organization": {
                        "type": "null"
                    }
                },
                "required": [
                    "cdate",
                    "email",
                    "phone",
                    "firstName",
                    "lastName",
                    "orgid",
                    "orgname",
                    "segmentio_id",
                    "bounced_hard",
                    "bounced_soft",
                    "bounced_date",
                    "ip",
                    "ua",
                    "hash",
                    "socialdata_lastcheck",
                    "email_local",
                    "email_domain",
                    "sentcnt",
                    "rating_tstamp",
                    "gravatar",
                    "deleted",
                    "anonymized",
                    "adate",
                    "udate",
                    "edate",
                    "deleted_at",
                    "created_utc_timestamp",
                    "updated_utc_timestamp",
                    "created_timestamp",
                    "updated_timestamp",
                    "created_by",
                    "updated_by",
                    "mpp_tracking",
                    "last_click_date",
                    "last_open_date",
                    "last_mpp_open_date",
                    "links",
                    "id",
                    "organization"
                ]
            }
        },
        "dealGroups": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "currency": {
                        "type": "string"
                    },
                    "autoassign": {
                        "type": "string"
                    },
                    "allusers": {
                        "type": "string"
                    },
                    "allgroups": {
                        "type": "string"
                    },
                    "win_probability_initialize_date": {
                        "type": "null"
                    },
                    "cdate": {
                        "type": "string"
                    },
                    "udate": {
                        "type": "string"
                    },
                    "links": {
                        "type": "object",
                        "properties": {
                            "stages": {
                                "type": "string"
                            },
                            "dealGroupUsers": {
                                "type": "string"
                            },
                            "dealGroupGroups": {
                                "type": "string"
                            },
                            "winProbabilityFeatures": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "stages",
                            "dealGroupUsers",
                            "dealGroupGroups",
                            "winProbabilityFeatures"
                        ]
                    },
                    "id": {
                        "type": "string"
                    }
                },
                "required": [
                    "title",
                    "currency",
                    "autoassign",
                    "allusers",
                    "allgroups",
                    "win_probability_initialize_date",
                    "cdate",
                    "udate",
                    "links",
                    "id"
                ]
            }
        },
        "dealStages": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "group": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "color": {
                        "type": "string"
                    },
                    "order": {
                        "type": "string"
                    },
                    "width": {
                        "type": "string"
                    },
                    "dealOrder": {
                        "type": "string"
                    },
                    "cardRegion1": {
                        "type": "string"
                    },
                    "cardRegion2": {
                        "type": "string"
                    },
                    "cardRegion3": {
                        "type": "string"
                    },
                    "cardRegion4": {
                        "type": "string"
                    },
                    "cardRegion5": {
                        "type": "string"
                    },
                    "cdate": {
                        "type": "null"
                    },
                    "links": {
                        "type": "object",
                        "properties": {
                            "group": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "group"
                        ]
                    },
                    "id": {
                        "type": "string"
                    }
                },
                "required": [
                    "group",
                    "title",
                    "color",
                    "order",
                    "width",
                    "dealOrder",
                    "cardRegion1",
                    "cardRegion2",
                    "cardRegion3",
                    "cardRegion4",
                    "cardRegion5",
                    "cdate",
                    "udate",
                    "links",
                    "id"
                ]
            }
        },
        "deal": {
            "type": "object",
            "properties": {
                "title": {
                    "type": "string"
                },
                "currency": {
                    "type": "string"
                },
                "contact": {
                    "type": "string"
                },
                "cdate": {
                    "type": "string"
                },
                "mdate": {
                    "type": "string"
                },
                "description": {
                    "type": "string"
                },
                "organization": {
                    "type": "null"
                },
                "status": {
                    "type": "integer"
                },
                "nextdate": {
                    "type": "null"
                },
                "nextdealid": {
                    "type": "string"
                },
                "hash": {
                    "type": "string"
                },
                "winProbability": {
                    "type": "null"
                },
                "winProbabilityMdate": {
                    "type": "null"
                },
                "links": {
                    "type": "object",
                    "properties": {
                        "dealActivities": {
                            "type": "string"
                        },
                        "contact": {
                            "type": "string"
                        },
                        "contactDeals": {
                            "type": "string"
                        },
                        "group": {
                            "type": "string"
                        },
                        "nextTask": {
                            "type": "string"
                        },
                        "notes": {
                            "type": "string"
                        },
                        "account": {
                            "type": "string"
                        },
                        "customerAccount": {
                            "type": "string"
                        },
                        "organization": {
                            "type": "string"
                        },
                        "owner": {
                            "type": "string"
                        },
                        "scoreValues": {
                            "type": "string"
                        },
                        "stage": {
                            "type": "string"
                        },
                        "tasks": {
                            "type": "string"
                        },
                        "dealCustomFieldData": {
                            "type": "string"
                        }
                    },
                    "required": [
                        "dealActivities",
                        "contact",
                        "contactDeals",
                        "group",
                        "nextTask",
                        "notes",
                        "account",
                        "customerAccount",
                        "organization",
                        "owner",
                        "scoreValues",
                        "stage",
                        "tasks",
                        "dealCustomFieldData"
                    ]
                },
                "id": {
                    "type": "string"
                },
                "isDisabled": {
                    "type": "boolean"
                },
                "account": {
                    "type": "null"
                },
                "customerAccount": {
                    "type": "null"
                }
            },
            "required": [
                "title",
                "value",
                "currency",
                "contact",
                "group",
                "owner",
                "stage",
                "cdate",
                "mdate",
                "description",
                "organization",
                "status",
                "nextdate",
                "nextdealid",
                "hash",
                "winProbability",
                "winProbabilityMdate",
                "links",
                "fields",
                "id",
                "isDisabled",
                "account",
                "customerAccount"
            ]
        }
    },
    "required": [
        "contacts",
        "dealGroups",
        "dealStages",
        "deal"
    ],
    "version": 1
}
