{
    "type": "object",
    "properties": {
        "deal": {
            "type": "object",
            "properties": {
                "activitycount": {
                    "type": "string"
                },
                "cdate": {
                    "type": "string"
                },
                "contact": {
                    "type": "string"
                },
                "currency": {
                    "type": "string"
                },
                "description": {
                    "type": "string"
                },
                "group": {
                    "type": "string"
                },
                "hash": {
                    "type": "string"
                },
                "id": {
                    "type": "string"
                },
                "isDisabled": {
                    "type": "boolean"
                },
                "links": {
                    "type": "object",
                    "properties": {
                        "account": {
                            "type": "string"
                        },
                        "contact": {
                            "type": "string"
                        },
                        "contactDeals": {
                            "type": "string"
                        },
                        "customerAccount": {
                            "type": "string"
                        },
                        "dealActivities": {
                            "type": "string"
                        },
                        "dealCustomFieldData": {
                            "type": "string"
                        },
                        "group": {
                            "type": "string"
                        },
                        "nextTask": {
                            "type": "string"
                        },
                        "notes": {
                            "type": "string"
                        },
                        "organization": {
                            "type": "string"
                        },
                        "owner": {
                            "type": "string"
                        },
                        "scoreValues": {
                            "type": "string"
                        },
                        "stage": {
                            "type": "string"
                        },
                        "tasks": {
                            "type": "string"
                        }
                    }
                },
                "mdate": {
                    "type": "string"
                },
                "nextdealid": {
                    "type": "string"
                },
                "owner": {
                    "type": "string"
                },
                "percent": {
                    "type": "string"
                },
                "stage": {
                    "type": "string"
                },
                "title": {
                    "type": "string"
                }
            }
        },
        "dealStages": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "cardRegion1": {
                        "type": "string"
                    },
                    "cardRegion2": {
                        "type": "string"
                    },
                    "cardRegion3": {
                        "type": "string"
                    },
                    "cardRegion4": {
                        "type": "string"
                    },
                    "cardRegion5": {
                        "type": "string"
                    },
                    "color": {
                        "type": "string"
                    },
                    "dealOrder": {
                        "type": "string"
                    },
                    "group": {
                        "type": "string"
                    },
                    "id": {
                        "type": "string"
                    },
                    "links": {
                        "type": "object",
                        "properties": {
                            "group": {
                                "type": "string"
                            }
                        }
                    },
                    "order": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "udate": {
                        "type": "string"
                    },
                    "width": {
                        "type": "string"
                    }
                }
            }
        }
    },
    "version": 1
}
